:root {
  color-scheme: dark;
  --bg: #101012;
  --surface: #171719;
  --surface-raised: #1c1c20;
  --surface-soft: #212126;
  --border: rgba(250, 250, 250, .09);
  --border-strong: rgba(248, 196, 220, .25);
  --text: #f5f2f5;
  --muted: #a5a0a7;
  --muted-dark: #747078;
  --pink: #e0a8c4;
  --pink-bright: #f8c4dc;
  --pink-deep: #be82a0;
  --mint: #8ce2c3;
  --yellow: #f4d77b;
  --danger: #ff8c9b;
  --mono: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --arabic: 'Cairo', system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 28px 100px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(ellipse at 50% -20%, rgba(224,168,196,.095), transparent 48%),
    linear-gradient(180deg, #141416 0%, var(--bg) 49%, #111113 100%);
  font: 14px/1.65 var(--mono);
  letter-spacing: -.035em;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, select, .note-content, .result-link, .copy-buffer, [data-copy-allowed] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
html[lang="ar"] body { font-family: var(--arabic); letter-spacing: 0; }
html[lang="ar"] * { letter-spacing: 0 !important; }
html[dir="rtl"] .language-select { direction: rtl; }
html[dir="rtl"] .options-panel { border-right: 1px solid rgba(255,255,255,.075); border-left: 0; }
html[dir="rtl"] .checkbox-help { margin-right: 24px; margin-left: 0; }
html[dir="rtl"] .char-count { right: auto; left: 12px; }
html[dir="rtl"] .file-selected { text-align: right; }
html[lang="ar"] .note-content { font-family: var(--arabic); }
body::before {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; content: '';
  opacity: .19;
  background-image: radial-gradient(rgba(255,255,255,.23) .55px, transparent .55px);
  background-size: 6px 6px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--pink-bright); outline-offset: 3px; }
::selection { color: #141216; background: var(--pink-bright); }
.ambient { position: fixed; z-index: -1; width: 380px; height: 380px; border-radius: 50%; filter: blur(110px); opacity: .09; pointer-events: none; }
.ambient-one { top: 18%; left: -270px; background: var(--pink); }
.ambient-two { top: 60%; right: -280px; background: #6f5a76; }

.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  width: min(100% - 64px, 1320px); height: 78px; margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.055); background: rgba(16,16,18,.74); backdrop-filter: blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.08em; }
.brand-wordmark { display: inline-flex; direction: ltr; unicode-bidi: isolate; }
.brand-accent { color: var(--pink); }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(248,196,220,.32); border-radius: 11px; background: linear-gradient(145deg, rgba(248,196,220,.17), rgba(248,196,220,.035)); box-shadow: inset 0 0 16px rgba(248,196,220,.07); }
.brand-mark svg { width: 21px; height: 21px; fill: none; stroke: var(--pink-bright); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.main-nav { display: flex; align-items: center; gap: 35px; color: #b0abb1; font-size: 11px; }
.main-nav a:not(.nav-cta) { transition: color .2s ease; }
.main-nav a:not(.nav-cta):hover { color: var(--pink-bright); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; color: #1a1519; font-weight: 700; background: var(--pink); border-radius: 8px; box-shadow: 0 6px 24px rgba(224,168,196,.12); transition: transform .2s, background .2s; }
.nav-cta:hover { transform: translateY(-2px); background: var(--pink-bright); }
.nav-toggle { display: none; border: 0; background: transparent; }
.main-nav { margin-left: auto; }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.language-trigger { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 11px; border: 1px solid var(--border); border-radius: 9px; color: #ddd7de; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); font-size: 10px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.language-trigger:hover { transform: translateY(-1px); border-color: var(--border-strong); background: rgba(248,196,220,.055); }
.language-trigger-icon { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 7px; color: var(--pink-bright); background: rgba(248,196,220,.11); font-size: 11px; }
.chevron-icon { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.language-trigger[aria-expanded="true"] .chevron-icon { transform: rotate(180deg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.loading-state { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 55vh; color: var(--muted); }
.loader { width: 18px; height: 18px; border: 2px solid rgba(224,168,196,.2); border-top-color: var(--pink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glow { 0%,100% { opacity: .5; transform: scale(.96); } 50% { opacity: .85; transform: scale(1.03); } }

.hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 620px; padding: 94px 24px 76px; text-align: center; overflow: hidden; }
.hero::before { position: absolute; z-index: -1; top: 22%; left: 50%; width: min(740px, 85vw); height: 370px; content: ''; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(224,168,196,.10), transparent 68%); filter: blur(30px); animation: glow 8s ease-in-out infinite; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid rgba(140,226,195,.19); border-radius: 999px; color: #c1c7c3; background: rgba(140,226,195,.035); font-size: 10px; letter-spacing: .02em; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 13px rgba(140,226,195,.7); }
.hero h1 { max-width: 1120px; margin: 35px auto 18px; font-size: clamp(42px, 7.8vw, 100px); line-height: 1.12; letter-spacing: -.105em; font-weight: 600; }
.hero h1 span { color: var(--pink); background: linear-gradient(100deg, #f2c0d7, #d4a3c7 55%, #bfa7da); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy { max-width: 650px; margin: 0 auto; color: #aaa4ac; font-size: clamp(13px, 1.3vw, 16px); line-height: 1.9; letter-spacing: -.04em; }
.hero-copy strong { color: #e5dfe5; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 31px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 45px; padding: 0 19px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: -.04em; transition: transform .2s, border-color .2s, color .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #211820; background: var(--pink); box-shadow: 0 8px 25px rgba(224,168,196,.12); }
.btn-primary:hover { background: var(--pink-bright); box-shadow: 0 12px 32px rgba(224,168,196,.2); }
.btn-secondary { color: #ded9df; border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.025); }
.btn-secondary:hover { border-color: var(--border-strong); color: var(--pink-bright); background: rgba(248,196,220,.05); }
.btn-small { min-height: 38px; padding: 0 13px; font-size: 10px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }

.drop-graphic { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; width: min(570px, 94vw); margin-top: 68px; }
.drop-node { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 116px; color: #9e98a0; font-size: 10px; }
.node-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(248,196,220,.18); border-radius: 14px; color: var(--pink); background: linear-gradient(145deg, rgba(248,196,220,.10), rgba(248,196,220,.02)); box-shadow: 0 0 32px rgba(248,196,220,.035); }
.node-icon.mint { color: var(--mint); border-color: rgba(140,226,195,.2); background: rgba(140,226,195,.06); }
.node-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.node-line { flex: 1; max-width: 81px; height: 1px; margin: 0 7px 21px; background: linear-gradient(90deg, rgba(224,168,196,.08), rgba(224,168,196,.65), rgba(140,226,195,.42)); position: relative; }
.node-line::after { position: absolute; top: -2px; right: 8px; width: 5px; height: 5px; content: ''; border-radius: 50%; background: var(--pink-bright); box-shadow: 0 0 11px var(--pink); animation: drift 2.7s linear infinite; }
.node-line.reverse::after { right: 10px; animation-delay: 1.2s; }
@keyframes drift { 0% { transform: translateX(-24px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(25px); opacity: 0; } }

.trust-strip { display: flex; align-items: center; justify-content: center; gap: 28px; width: min(100% - 48px, 830px); margin: 0 auto 72px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.018); color: #a9a4aa; font-size: 10px; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.trust-item svg { width: 15px; height: 15px; color: var(--mint); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust-separator { width: 3px; height: 3px; border-radius: 50%; background: #514c53; }
.section { width: min(100% - 64px, 1100px); margin: 0 auto; padding: 86px 0; }
.section-heading { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.kicker { color: var(--pink); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.section h2 { margin: 12px 0 10px; font-size: clamp(25px, 4vw, 42px); line-height: 1.25; letter-spacing: -.09em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step-card, .feature-card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(145deg, rgba(255,255,255,.034), rgba(255,255,255,.012)); transition: border-color .25s, transform .25s, background .25s; }
.step-card:hover, .feature-card:hover { transform: translateY(-4px); border-color: rgba(224,168,196,.24); background: linear-gradient(145deg, rgba(248,196,220,.06), rgba(255,255,255,.012)); }
.step-card { min-height: 210px; padding: 24px; }
.step-number { color: var(--pink); font-size: 11px; }
.step-card h3, .feature-card h3 { margin: 30px 0 9px; font-size: 14px; letter-spacing: -.06em; }
.step-card p, .feature-card p { margin: 0; color: #9c969f; font-size: 10px; line-height: 1.9; }
.step-card::after { position: absolute; right: -16px; bottom: -41px; width: 115px; height: 115px; content: ''; border: 1px solid rgba(248,196,220,.055); border-radius: 50%; box-shadow: 0 0 0 18px rgba(248,196,220,.02), 0 0 0 38px rgba(248,196,220,.015); }

.privacy-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; width: min(100% - 64px, 1100px); margin: 30px auto 35px; padding: 38px 42px; border: 1px solid rgba(140,226,195,.17); border-radius: 18px; background: linear-gradient(115deg, rgba(140,226,195,.055), rgba(255,255,255,.018) 60%, rgba(224,168,196,.045)); }
.privacy-band h2 { margin: 10px 0 13px; font-size: clamp(23px, 3vw, 36px); line-height: 1.35; letter-spacing: -.09em; }
.privacy-band p { margin: 0; color: #aaa5ac; font-size: 10px; line-height: 2; }
.privacy-points { display: grid; gap: 13px; }
.privacy-point { display: flex; align-items: flex-start; gap: 12px; color: #d2ced3; font-size: 10px; }
.check-mark { display: grid; place-items: center; flex: 0 0 21px; width: 21px; height: 21px; border: 1px solid rgba(140,226,195,.24); border-radius: 7px; color: var(--mint); background: rgba(140,226,195,.08); font-size: 12px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { min-height: 174px; padding: 21px; }
.feature-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(224,168,196,.18); border-radius: 10px; color: var(--pink); background: rgba(224,168,196,.055); }
.feature-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin: 15px 0 6px; }
.feature-card p { font-size: 9px; }

.cta-panel { position: relative; display: flex; flex-direction: column; align-items: center; margin: 50px auto 95px; width: min(100% - 64px, 1100px); padding: 58px 22px; overflow: hidden; text-align: center; border: 1px solid rgba(248,196,220,.16); border-radius: 18px; background: linear-gradient(135deg, rgba(224,168,196,.075), rgba(255,255,255,.018) 58%, rgba(125,43,82,.08)); }
.cta-panel::before { position: absolute; inset: 0; content: ''; pointer-events: none; opacity: .34; background: radial-gradient(ellipse at 50% 120%, rgba(248,196,220,.16), transparent 55%); }
.cta-panel > * { position: relative; }
.cta-panel h2 { margin: 0 0 11px; font-size: clamp(27px, 4vw, 43px); letter-spacing: -.09em; }
.cta-panel p { max-width: 530px; margin: 0; color: #aaa5ac; font-size: 11px; }
.cta-panel .btn { margin-top: 24px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(100% - 64px, 1320px); min-height: 90px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.07); color: #77727a; font-size: 9px; }
.site-footer p { margin: 0; }
.footer-brand { font-size: 14px; color: #d8d2d9; }
.footer-brand .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
.footer-brand .brand-mark svg { width: 18px; height: 18px; }
.footer-right { display: flex; align-items: center; gap: 17px; }
.footer-separator { color: #514c53; }
.developer-credit { color: #8f8992; }
.developer-credit strong { color: #c8c1ca; font-weight: 600; }
.footer-right a { color: #aaa3aa; }
.footer-right a:hover { color: var(--pink); }

/* Anonymous create workspace */
.workspace-shell, .share-shell { width: min(100% - 42px, 1050px); min-height: calc(100vh - 170px); margin: 0 auto; padding: 74px 0 90px; animation: rise .45s ease both; }
.workspace-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.workspace-heading h1, .share-heading h1 { margin: 8px 0 7px; font-size: clamp(27px, 4.5vw, 45px); letter-spacing: -.095em; line-height: 1.25; }
.workspace-heading p, .share-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.no-account { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(140,226,195,.15); border-radius: 8px; color: #b8c8c0; background: rgba(140,226,195,.035); font-size: 9px; white-space: nowrap; }
.no-account .pulse-dot { width: 6px; height: 6px; }
.workspace-card { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(250px, .83fr); overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(24,24,27,.9); box-shadow: var(--shadow); }
.compose-panel { padding: 28px; }
.options-panel { display: flex; flex-direction: column; padding: 28px; border-left: 1px solid rgba(255,255,255,.075); background: rgba(255,255,255,.016); }
.mode-switch { display: inline-flex; gap: 5px; width: fit-content; margin-bottom: 19px; padding: 4px; border: 1px solid var(--border); border-radius: 10px; background: #121214; }
.mode-button { display: inline-flex; align-items: center; gap: 7px; min-height: 35px; padding: 0 12px; border: 1px solid transparent; border-radius: 7px; color: #98929b; background: transparent; cursor: pointer; font-size: 10px; }
.mode-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mode-button.active { border-color: rgba(248,196,220,.12); color: var(--pink-bright); background: rgba(248,196,220,.09); }
.field-label { display: block; margin: 0 0 8px; color: #d8d2da; font-size: 10px; }
.field-hint { color: #77717b; font-size: 9px; }
.textarea-wrap { position: relative; }
.textarea-wrap textarea, .text-input, .select-input, .password-input {
  width: 100%; border: 1px solid rgba(255,255,255,.10); border-radius: 9px; color: var(--text); background: #111113; transition: border-color .2s, box-shadow .2s;
}
.textarea-wrap textarea { min-height: 240px; padding: 15px; resize: vertical; font-size: 11px; line-height: 1.9; }
.textarea-wrap textarea::placeholder, .text-input::placeholder, .password-input::placeholder { color: #625e65; }
.text-input, .password-input { min-height: 42px; padding: 0 12px; font-size: 10px; }
.select-input { min-height: 42px; padding: 0 11px; color: #ddd7de; font-size: 10px; }
.textarea-wrap textarea:focus, .text-input:focus, .select-input:focus, .password-input:focus { outline: none; border-color: rgba(248,196,220,.48); box-shadow: 0 0 0 3px rgba(248,196,220,.065); }
.expiry-trigger { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.10); border-radius: 10px; color: var(--text); text-align: left; background: linear-gradient(140deg, rgba(248,196,220,.055), rgba(255,255,255,.02)); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.expiry-trigger:hover { transform: translateY(-1px); border-color: rgba(248,196,220,.32); background: rgba(248,196,220,.07); }
.expiry-trigger-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid rgba(248,196,220,.15); border-radius: 10px; color: var(--pink); background: rgba(248,196,220,.07); }
.expiry-trigger-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.expiry-trigger-copy { display: grid; flex: 1; gap: 2px; }
.expiry-trigger-copy small { color: #847e88; font-size: 8px; }
.expiry-trigger-copy strong { color: #eee8ef; font-size: 10px; font-weight: 600; }
.expiry-trigger .chevron-icon { color: #938c96; }
html[dir="rtl"] .expiry-trigger { text-align: right; }
.char-count { position: absolute; right: 12px; bottom: 10px; color: #69646d; font-size: 8px; }
.file-dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 240px; padding: 24px; border: 1px dashed rgba(224,168,196,.25); border-radius: 10px; text-align: center; background: rgba(224,168,196,.025); transition: background .2s, border-color .2s; }
.file-dropzone.dragging { border-color: var(--pink-bright); background: rgba(224,168,196,.09); }
.file-dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-drop-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 12px; border: 1px solid rgba(224,168,196,.18); border-radius: 13px; color: var(--pink); background: rgba(224,168,196,.07); }
.file-drop-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.file-dropzone strong { color: #ded8df; font-size: 10px; font-weight: 500; }
.file-dropzone small { margin-top: 7px; color: #79747d; font-size: 8px; }
.file-selected { display: none; align-items: center; gap: 10px; width: 100%; margin-top: 12px; padding: 11px; border: 1px solid rgba(140,226,195,.15); border-radius: 8px; color: #d1dbd5; background: rgba(140,226,195,.04); text-align: left; }
.file-selected.visible { display: flex; }
.file-selected svg { flex: 0 0 17px; width: 17px; color: var(--mint); }
.file-selected span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.hidden { display: none !important; }
.compose-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.compose-bottom .field-hint { font-size: 8px; }
.option-title { margin: 0 0 18px; color: #eee9ef; font-size: 12px; font-weight: 600; }
.option-group { margin-bottom: 19px; }
.option-group .field-hint { display: block; margin-top: 6px; line-height: 1.7; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: #d3ced5; font-size: 9px; line-height: 1.7; }
.checkbox-row input { accent-color: var(--pink); margin: 2px 0 0; }
.checkbox-help { display: block; margin: 4px 0 0 24px; color: #79737c; font-size: 8px; line-height: 1.7; }
.password-field { margin-top: 12px; }
.form-message { display: none; margin-top: 14px; padding: 10px 12px; border: 1px solid rgba(255,140,155,.17); border-radius: 8px; color: #ffbac3; background: rgba(255,140,155,.055); font-size: 9px; }
.form-message.visible { display: block; }
.upload-progress { display: none; margin-top: 15px; }
.upload-progress.visible { display: block; }
.progress-top { display: flex; justify-content: space-between; color: #cfc9d1; font-size: 9px; }
.progress-track { height: 4px; margin-top: 7px; overflow: hidden; border-radius: 9px; background: rgba(255,255,255,.08); }
.progress-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink-deep), var(--pink-bright)); transition: width .15s; }
.workspace-footnote { margin: 17px 0 0; color: #76717a; font-size: 8px; line-height: 1.8; }
.workspace-footnote svg { width: 12px; height: 12px; margin-right: 4px; color: var(--mint); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; }
.workspace-footnote span { color: #b6aeb8; }

.result-card { display: none; grid-template-columns: 1fr auto; align-items: center; gap: 18px; margin-top: 18px; padding: 20px; border: 1px solid rgba(140,226,195,.23); border-radius: 14px; background: linear-gradient(130deg, rgba(140,226,195,.065), rgba(255,255,255,.025)); animation: rise .35s ease both; }
.result-card.visible { display: grid; }
.result-copy h2 { margin: 0 0 4px; color: var(--mint); font-size: 14px; letter-spacing: -.06em; }
.result-copy p { margin: 0 0 12px; color: #a8a3ab; font-size: 9px; }
.result-link-row { display: flex; align-items: center; gap: 9px; min-width: 0; }
.result-link { overflow: hidden; color: #e5dbe3; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.result-actions { display: flex; gap: 8px; margin-top: 13px; }
.qr-box { display: grid; place-items: center; width: 102px; height: 102px; border-radius: 10px; background: white; }
.qr-box img { display: block; width: 84px; height: 84px; }

/* Share view */
.share-shell { display: flex; flex-direction: column; justify-content: center; max-width: 780px; min-height: calc(100vh - 170px); padding-top: 52px; }
.share-shell .back-link { align-self: flex-start; margin-bottom: 20px; color: #a39da6; font-size: 9px; }
.share-shell .back-link:hover { color: var(--pink); }
.share-card { overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(24,24,27,.93); box-shadow: var(--shadow); }
.share-card-head { padding: 27px 30px 21px; border-bottom: 1px solid rgba(255,255,255,.07); }
.share-status { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); font-size: 9px; }
.share-status .pulse-dot { width: 6px; height: 6px; }
.share-heading h1 { margin-top: 10px; font-size: clamp(23px, 4vw, 34px); overflow-wrap: anywhere; }
.share-meta { display: flex; flex-wrap: wrap; gap: 9px 17px; margin-top: 13px; color: #908a94; font-size: 8px; }
.share-meta span { display: inline-flex; align-items: center; gap: 6px; }
.share-card-body { padding: 27px 30px 30px; }
.note-content { min-height: 92px; margin: 0; padding: 17px; overflow-wrap: anywhere; white-space: pre-wrap; border: 1px solid rgba(255,255,255,.075); border-radius: 10px; color: #e3dee4; background: #111113; font: 11px/1.9 var(--mono); }
.file-share-row { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.025); }
.file-type-icon { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border: 1px solid rgba(224,168,196,.18); border-radius: 12px; color: var(--pink); background: rgba(224,168,196,.07); }
.file-type-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.file-info { min-width: 0; flex: 1; }
.file-info strong { display: block; overflow: hidden; color: #e4dfe5; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.file-info small { color: #89838d; font-size: 8px; }
.file-preview { display: block; max-width: 100%; max-height: 420px; margin: 16px auto 0; border: 1px solid var(--border); border-radius: 10px; object-fit: contain; }
.share-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.065); }
.share-bottom small { color: #8f8992; font-size: 8px; }
.share-extra { display: flex; align-items: flex-start; gap: 9px; margin-top: 16px; padding: 11px 12px; border: 1px solid rgba(140,226,195,.12); border-radius: 9px; color: #a9b7af; background: rgba(140,226,195,.028); font-size: 8px; line-height: 1.8; }
.share-extra svg { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 2px; color: var(--mint); fill: none; stroke: currentColor; stroke-width: 1.6; }
.password-gate { max-width: 440px; margin: 0 auto; padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.025); }
.lock-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(224,168,196,.18); border-radius: 12px; color: var(--pink); background: rgba(224,168,196,.07); }
.lock-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.password-gate h2 { margin: 17px 0 7px; font-size: 18px; letter-spacing: -.07em; }
.password-gate p { margin: 0 0 19px; color: var(--muted); font-size: 9px; }
.password-gate .btn { margin-top: 12px; }
.state-card { max-width: 520px; margin: 0 auto; padding: 44px 30px; text-align: center; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.023); }
.state-symbol { display: grid; place-items: center; width: 53px; height: 53px; margin: 0 auto 16px; border: 1px solid rgba(255,140,155,.2); border-radius: 16px; color: var(--danger); background: rgba(255,140,155,.06); font-size: 22px; }
.state-card h1 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.07em; }
.state-card p { max-width: 390px; margin: 0 auto 20px; color: #9e98a2; font-size: 9px; line-height: 1.9; }

/* Animated, accessible preference and expiry pickers */
.picker-dialog { width: min(460px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; overflow: visible; border: 0; color: var(--text); background: transparent; }
.picker-dialog[open] { display: grid; place-items: center; }
.picker-dialog::backdrop { background: rgba(8,8,10,.76); backdrop-filter: blur(8px); animation: picker-backdrop-in .22s ease both; }
.picker-card { position: relative; width: 100%; max-height: calc(100dvh - 32px); padding: 30px; overflow-y: auto; border: 1px solid rgba(248,196,220,.17); border-radius: 20px; background: radial-gradient(ellipse at 100% 0%, rgba(224,168,196,.12), transparent 42%), linear-gradient(150deg, #1d1c20, #151517 72%); box-shadow: 0 32px 100px rgba(0,0,0,.62), inset 0 1px rgba(255,255,255,.035); }
.picker-dialog[open] .picker-card { animation: picker-card-in .28s cubic-bezier(.2,.8,.2,1) both; }
.picker-dialog.closing .picker-card { animation: picker-card-out .16s ease both; }
.picker-dialog.closing::backdrop { animation: picker-backdrop-out .16s ease both; }
.picker-close { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; color: #aaa3ad; background: rgba(255,255,255,.035); cursor: pointer; font: 22px/1 var(--mono); transition: color .2s, border-color .2s, background .2s; }
.picker-close:hover { color: var(--pink-bright); border-color: var(--border-strong); background: rgba(248,196,220,.07); }
html[dir="rtl"] .picker-close { right: auto; left: 15px; }
.picker-overline { display: inline-flex; align-items: center; gap: 7px; color: var(--pink); font-size: 8px; letter-spacing: .13em; }
.picker-overline::before { width: 6px; height: 6px; border-radius: 50%; content: ''; background: var(--pink); box-shadow: 0 0 12px rgba(248,196,220,.65); }
.picker-card h2 { margin: 10px 38px 6px 0; color: #f4eff5; font-size: 21px; font-weight: 600; letter-spacing: -.06em; }
html[dir="rtl"] .picker-card h2 { margin-right: 0; margin-left: 38px; }
.picker-card > p { margin: 0; color: #9b95a0; font-size: 9px; line-height: 1.8; }
.picker-options { display: grid; gap: 9px; margin-top: 21px; }
.picker-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 65px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.075); border-radius: 12px; color: var(--text); text-align: left; background: rgba(255,255,255,.025); cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.picker-option:hover { transform: translateY(-1px); border-color: rgba(248,196,220,.25); background: rgba(248,196,220,.045); }
.picker-option.selected { border-color: rgba(248,196,220,.36); background: linear-gradient(105deg, rgba(248,196,220,.09), rgba(255,255,255,.025)); box-shadow: inset 3px 0 var(--pink); }
html[dir="rtl"] .picker-option.selected { box-shadow: inset -3px 0 var(--pink); }
.picker-option-mark { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border: 1px solid rgba(248,196,220,.15); border-radius: 11px; color: var(--pink-bright); background: rgba(248,196,220,.07); font-size: 10px; font-weight: 600; }
.picker-option-copy { display: grid; flex: 1; gap: 3px; }
.picker-option-copy strong { color: #e8e2e9; font-size: 10px; font-weight: 600; }
.picker-option-copy small { color: #8e8792; font-size: 8px; }
.picker-option-check { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; color: #191519; font-size: 11px; }
.picker-option.selected .picker-option-check { border-color: var(--pink); background: var(--pink); }
.picker-footnote { margin-top: 15px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); color: #807983; font-size: 8px; line-height: 1.8; }
@keyframes picker-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes picker-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes picker-card-in { from { opacity: 0; transform: translateY(14px) scale(.965); filter: blur(5px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes picker-card-out { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(8px) scale(.985); } }

.toast-region { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; gap: 9px; }
.toast { max-width: min(390px, calc(100vw - 44px)); padding: 12px 15px; border: 1px solid rgba(140,226,195,.18); border-radius: 9px; color: #dce7e0; background: rgba(26,34,30,.96); box-shadow: 0 14px 40px rgba(0,0,0,.3); font-size: 9px; animation: rise .25s ease both; }

@media (max-width: 760px) {
  .site-header { width: calc(100% - 36px); height: 68px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; padding: 9px; border: 1px solid var(--border); border-radius: 9px; cursor: pointer; }
  .nav-toggle span { display: block; width: 18px; height: 1px; background: #e2dce3; transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .main-nav { position: absolute; top: 59px; right: 0; left: 0; display: none; align-items: stretch; gap: 4px; margin-left: 0; padding: 11px; border: 1px solid var(--border); border-radius: 12px; background: rgba(23,23,25,.98); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; flex-direction: column; }
  .main-nav a:not(.nav-cta) { padding: 10px; }
  .main-nav .nav-cta { justify-content: center; margin-top: 4px; }
  .header-tools { gap: 8px; margin-left: auto; }
  .language-trigger { min-height: 38px; max-width: 150px; padding: 0 8px; font-size: 9px; }
  .hero { min-height: 590px; padding-top: 92px; }
  .hero h1 { margin-top: 29px; }
  .drop-graphic { margin-top: 54px; }
  .trust-strip { flex-wrap: wrap; gap: 13px 19px; margin-bottom: 42px; }
  .trust-separator { display: none; }
  .section { width: calc(100% - 36px); padding: 63px 0; }
  .steps, .features-grid { display: flex; gap: 14px; overflow-x: auto; padding: 0 2px 12px; scroll-snap-type: x mandatory; scrollbar-color: rgba(224,168,196,.32) transparent; }
  .step-card, .feature-card { flex: 0 0 min(84vw, 350px); scroll-snap-align: start; }
  .step-card { min-height: 210px; }
  .step-card h3 { margin-top: 30px; }
  .privacy-band { grid-template-columns: 1fr; gap: 25px; width: calc(100% - 36px); padding: 26px; }
  .cta-panel { width: calc(100% - 36px); margin: 33px auto 66px; padding: 43px 20px; }
  .site-footer { flex-wrap: wrap; width: calc(100% - 36px); padding: 20px 0; }
  .site-footer p { order: 3; flex-basis: 100%; }
  .footer-right { flex-wrap: wrap; justify-content: flex-end; gap: 8px 10px; }
  .developer-credit { font-size: 8px; }
  .workspace-shell, .share-shell { width: calc(100% - 32px); padding-top: 42px; }
  .workspace-top { display: block; }
  .no-account { margin-top: 14px; }
  .workspace-card { grid-template-columns: 1fr; }
  .compose-panel { padding: 20px; }
  .options-panel { padding: 21px 20px; border-top: 1px solid rgba(255,255,255,.075); border-left: 0; }
  html[dir="rtl"] .options-panel { border-top: 1px solid rgba(255,255,255,.075); border-right: 0; }
  .textarea-wrap textarea, .file-dropzone { min-height: 190px; }
  .result-card { grid-template-columns: 1fr; }
  .qr-box { display: grid; justify-self: center; }
  .share-card-head, .share-card-body { padding: 21px; }
  .share-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 410px) {
  .hero { min-height: 550px; }
  .hero h1 { font-size: 43px; }
  .drop-node { width: 85px; font-size: 8px; }
  .node-line { margin-right: 0; margin-left: 0; }
  .trust-item { font-size: 8px; }
  .compose-bottom { align-items: stretch; flex-direction: column; }
  .compose-bottom .btn { width: 100%; }
  .picker-card { padding: 24px 19px; }
  .picker-card h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
