@font-face{font-family:Manrope;src:url('/manrope-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('/manrope-bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url('/space-grotesk.ttf') format('truetype');font-weight:500 700;font-display:swap}
:root{color-scheme:dark;--bg:#171a1f;--text:#f6f7f8;--muted:#98a0aa;--line:rgba(255,255,255,.1);--soft:rgba(255,255,255,.065);--green:#31e6a1;font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;color:var(--text);background:radial-gradient(ellipse at 3% 8%,#79304d24,transparent 35%),radial-gradient(ellipse at 95% 5%,#1ccfc121,transparent 38%),linear-gradient(145deg,#15171c,#191d22 48%,#14191b);min-height:100vh}
body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.22;background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(#000,transparent 72%)}
button,input,textarea{font:inherit}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}
.app{min-height:100vh;padding:14px clamp(14px,3.5vw,46px) 30px}.topbar{max-width:1240px;min-height:76px;margin:0 auto 30px;display:flex;align-items:center;gap:18px}.brand{display:inline-flex;align-items:center;font-family:'Space Grotesk',sans-serif;font-size:30px;font-weight:700;letter-spacing:-1.3px}.brand svg{width:31px;height:31px;fill:var(--green);margin-right:10px}.brand-dot{color:var(--green)}.brand-product{border:1px solid var(--line);background:#ffffff08;border-radius:50px;padding:9px 14px;font-size:12px;color:#bbc3ca}.header-actions{display:flex;gap:10px;margin-left:auto}
.button{min-height:46px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:14px;font-size:14px;font-weight:700;color:#ebedef;background:#ffffff0e;transition:transform .16s,background .16s,box-shadow .16s}.button:hover{transform:translateY(-2px);background:#ffffff16}.button.primary{color:#07120d;border-color:transparent;background:linear-gradient(135deg,#4af0af,#18bc7c);box-shadow:0 12px 26px #18bc7c26}.button.primary:hover{background:linear-gradient(135deg,#60f4bb,#20cb89);box-shadow:0 16px 32px #18bc7c40}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--green);outline-offset:4px}
.workspace{max-width:1180px;margin:auto;display:grid;grid-template-columns:minmax(220px,292px) minmax(0,1fr);gap:clamp(20px,3vw,34px);align-items:start}.side-panel{padding:30px 6px 20px 2px}.eyebrow{display:flex;align-items:center;gap:10px;color:var(--green);font-family:'Space Grotesk',sans-serif;font-size:11px;font-weight:700;letter-spacing:.14em}.eyebrow i{width:22px;height:1px;background:currentColor;box-shadow:0 0 14px currentColor}
h1{margin:22px 0 18px;font-family:'Space Grotesk',sans-serif;font-size:clamp(42px,4vw,55px);font-weight:600;line-height:1.04;letter-spacing:-.055em}h1 span{color:var(--green)}.intro-copy{margin:0;color:var(--muted);font-size:14px;line-height:1.85}.features{margin-top:30px;border-top:1px solid var(--soft)}.feature{padding:17px 0;display:grid;grid-template-columns:30px 1fr;gap:10px;border-bottom:1px solid var(--soft)}.feature>span{padding-top:3px;color:var(--green);font-family:'Space Grotesk',sans-serif;font-size:12px}.feature p{margin:0;color:#9099a3;font-size:13px;line-height:1.6}.feature strong{display:block;color:#dfe2e5;font-size:14px;margin-bottom:3px}
.editor-shell{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:28px;background:linear-gradient(160deg,#ffffff0b,#ffffff05);box-shadow:0 30px 90px #0005,inset 0 1px 0 #ffffff0e;backdrop-filter:blur(18px) saturate(112%)}
.editor-toolbar{min-height:68px;padding:14px 22px;display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--soft);background:#ffffff05;font-size:12px;color:var(--muted)}.status{display:inline-flex;align-items:center;gap:9px}.status:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px #31e6a114,0 0 16px #31e6a140;flex:none}.status.is-busy:before{background:#f3bd59;animation:pulse 1s infinite}.status.is-error:before{background:#ff7979}.status.is-error{color:#ffb9b9}.document-label{margin-left:auto;color:#87919b}.tool{border:0;background:transparent;color:#aeb7bf;border-radius:8px;padding:8px;font-size:13px}.tool:hover{background:#ffffff10}
.paper{min-height:590px;padding:clamp(30px,4vw,55px) clamp(26px,4.5vw,62px) 28px;display:flex;flex-direction:column;background:linear-gradient(180deg,#090b0e47,#0d10147a)}
.title-input{width:100%;padding:0 0 24px;color:var(--text);background:transparent;border:0;border-bottom:1px solid var(--soft);outline:0;font-family:'Space Grotesk',sans-serif;font-size:clamp(34px,4.5vw,53px);font-weight:600;line-height:1.08;letter-spacing:-.042em}.title-input:focus{border-bottom-color:#31e6a16b}.title-input::placeholder{color:#7a838d;opacity:1}
.body-input{width:100%;min-height:320px;flex:none;margin:28px 0 0;padding:0;resize:none;overflow:hidden;color:#d9dde1;caret-color:var(--green);background:transparent;border:0;outline:0;font-size:18px;line-height:1.78;letter-spacing:-.008em}.body-input::placeholder{color:#7d8790;opacity:1}
.share-area{margin-top:26px;padding:16px;border:1px solid #31e6a124;border-radius:18px;background:#31e6a10b}.save-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.share-heading{font-size:14px;font-weight:700}.save-row p{font-size:12px;color:#98a5ad;line-height:1.6;margin:5px 0 0}.save-row .button{flex:none}.share-box{display:flex;gap:8px;margin-top:15px}.share-box input{min-width:0;flex:1;border:1px solid var(--line);border-radius:10px;background:#10181a;color:#dce6e2;padding:10px;font-size:13px}.share-box .button{font-size:13px}.editor-footer{border-top:1px solid var(--soft);padding:15px 22px;display:flex;justify-content:space-between;gap:15px;color:#919ba5;font-size:12px}
.poster{display:block;margin-top:22px;padding:18px;border:1px solid #ffffff14;border-radius:18px;background:linear-gradient(135deg,#25463866,#17232966)}.ad-label{display:flex;justify-content:space-between;color:#99aaa2;font-size:11px}.poster-brand{font-family:'Space Grotesk',sans-serif;font-size:13px;letter-spacing:1px;color:#b6efd5;margin:15px 0 10px}.poster h3{font-family:'Space Grotesk',sans-serif;font-size:23px;font-weight:500;line-height:1.15;margin:0 0 10px;letter-spacing:-.5px}.poster p{font-size:12px;line-height:1.6;color:#9aaea3;margin:0}.poster-link{display:flex;justify-content:space-between;color:var(--green);font-size:12px;margin-top:14px}.help{font-size:12px;color:#98a0aa;line-height:1.7;margin-top:22px}.help summary{cursor:pointer;display:flex;justify-content:space-between;list-style:none}.help summary::-webkit-details-marker{display:none}.help a{color:var(--green)}.page-footer{max-width:1180px;margin:25px auto 0;display:flex;justify-content:space-between;align-items:center;color:#a0a8b0;font-size:12px}.page-footer>div{display:flex;align-items:center;gap:22px}.page-footer button{font-size:12px;color:inherit;background:none;border:0;padding:8px 0}.muted{color:#78838d}.language{border:1px solid var(--line);border-radius:6px;padding:4px 6px;font-size:11px}
.cookie-banner{position:fixed;left:24px;bottom:22px;z-index:20;width:min(460px,calc(100% - 48px));padding:20px 22px;border:1px solid #ffffff24;border-radius:20px;color:#e7ebee;background:#22282ff5;box-shadow:0 15px 65px #0006;backdrop-filter:blur(18px)}.cookie-copy strong{font-family:'Space Grotesk',sans-serif;font-size:16px;font-weight:600}.cookie-copy p{font-size:12px;line-height:1.75;color:#b0bac2;margin:8px 0 15px}.cookie-copy a{text-decoration:underline;text-underline-offset:3px}.cookie-actions{display:flex;gap:10px}.cookie-actions .button{flex:1;min-height:40px;font-size:12px;border-radius:10px}.conflict{margin-top:20px;padding:16px;border:1px solid #bf84634a;background:#5f3a232e;border-radius:12px;color:#ffd6bf;font-size:14px}.conflict .button{font-size:12px;margin-top:8px}.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}.focused .workspace{grid-template-columns:1fr;max-width:1080px}.focused .side-panel{display:none}.focused .body-input{min-height:55vh}
.title-input[hidden] ~ .body-input{margin-top:0}
@keyframes pulse{50%{opacity:.35}}
@media(min-width:1500px){.paper{min-height:680px}.body-input{min-height:410px}}
@media(max-width:900px){.workspace{grid-template-columns:1fr;gap:20px}.side-panel{padding:0 5px}.side-panel h1{font-size:34px;margin:13px 0 10px}.side-panel h1 br{display:none}.side-panel h1 br:after{content:" "}.intro-copy,.features,.help,.side-panel .poster{display:none}.side-panel h1 span{margin-left:8px}.paper{min-height:560px}.topbar{margin-bottom:20px}}
@media(max-width:620px){.app{padding:8px 10px 25px}.topbar{min-height:62px;gap:8px;padding:0 5px}.brand{font-size:25px}.brand svg{width:25px;margin-right:7px}.brand-product{display:none}.header-actions{gap:5px}.header-actions .button{min-height:39px;font-size:12px;padding:0 10px}.header-actions .ghost{display:none}.side-panel h1{font-size:28px;letter-spacing:-1px}.eyebrow{font-size:10px;letter-spacing:1px}.editor-shell{border-radius:22px}.editor-toolbar{padding:13px 16px;min-height:56px;gap:8px}.document-label{display:none}.tool{margin-left:auto}.paper{padding:28px 21px 22px;min-height:500px}.title-input{font-size:36px;padding-bottom:18px}.body-input{font-size:16px;min-height:38vh;margin-top:22px}.save-row{align-items:stretch;flex-direction:column}.save-row .button{width:100%}.share-box{flex-direction:column}.editor-footer{padding:14px 16px;font-size:11px}.editor-footer>span:first-child{max-width:55%}.page-footer{padding:0 5px;font-size:11px;gap:10px}.page-footer .muted{display:none}.page-footer>div{gap:14px}.cookie-banner{left:12px;bottom:12px;width:calc(100% - 24px);padding:17px 18px}.cookie-copy p{font-size:12px}.focused .body-input{min-height:60vh}}
@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}

/* Full-width writing surface; help remains available without occupying the editor. */
.workspace{max-width:1080px;grid-template-columns:minmax(0,1fr);gap:15px}.page-footer{max-width:1080px}.faq{padding:0 8px;color:#98a0aa;font-size:12px;line-height:1.75}.faq summary{display:flex;justify-content:space-between;list-style:none;cursor:pointer;padding:10px 0}.faq summary::-webkit-details-marker{display:none}.faq>div{padding:3px 0 10px;border-top:1px solid var(--soft)}.faq p{margin:10px 0}.faq a{color:var(--green)}
@media(max-width:900px){.workspace{gap:12px}.side-panel{display:none}}

/* Responsive writing surface: compact on phones, comfortably bounded on wide displays. */
.app{padding-left:max(clamp(14px,3.5vw,46px),env(safe-area-inset-left));padding-right:max(clamp(14px,3.5vw,46px),env(safe-area-inset-right))}
.topbar,.workspace,.page-footer{width:min(100%,1280px);max-width:1280px}
.header-actions{min-width:0}.new-note-button,.download-tool,.share-box .button,.save-row .button{white-space:nowrap}
.new-note-short,.download-narrow{display:none}
.status{min-width:0;line-height:1.45}
.editor-footer{align-items:center}.editor-footer>span:last-child{text-align:right;white-space:nowrap}
.cookie-banner{max-height:calc(100svh - 32px);overflow:auto;left:max(24px,env(safe-area-inset-left));bottom:max(22px,env(safe-area-inset-bottom))}

@media(min-width:1500px){
  .paper{min-height:min(72vh,820px)}
  .body-input{min-height:460px}
}

@media(max-width:720px){
  .app{padding:8px max(10px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
  .topbar{min-height:62px;margin-bottom:12px;gap:8px;padding:0 5px}
  .brand{font-size:25px;letter-spacing:-1.1px}.brand svg{width:25px;height:25px;margin-right:7px}.brand-product{display:none}
  .header-actions{gap:5px}.header-actions .button{min-height:42px;padding:0 13px;border-radius:12px;font-size:14px}
  .editor-shell{border-radius:20px}
  .editor-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;min-height:56px;padding:11px 14px;gap:9px}
  .status{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.document-label{display:none}
  .tool{margin:0;padding:8px 4px 8px 8px}.download-wide{display:none}.download-narrow{display:inline}
  .paper{min-height:calc(100svh - 150px);padding:24px 16px 18px}
  .body-input{min-height:50svh;margin-top:0;resize:none;font-size:16px;line-height:1.68}
  .share-area{margin-top:20px;padding:13px;border-radius:15px}
  .save-row{align-items:stretch;flex-direction:column}.save-row .button{width:100%;font-size:14px}
  .share-box{flex-direction:column}.share-box input{width:100%;font-size:13px}.share-box .button{width:100%;font-size:14px}
  .editor-footer{padding:12px 14px;align-items:flex-start;flex-direction:column;gap:5px;font-size:12px}
  .editor-footer>span:first-child{max-width:none}.editor-footer>span:last-child{text-align:left;white-space:normal}
  .faq{padding:0 4px}.faq summary{min-height:44px;align-items:center;font-size:13px}
  .page-footer{padding:0 5px;flex-wrap:wrap;gap:10px 16px}.page-footer .muted{display:none}.page-footer>div{gap:12px}
  .cookie-banner{left:max(10px,env(safe-area-inset-left));bottom:max(10px,env(safe-area-inset-bottom));width:calc(100% - 20px);padding:16px;border-radius:16px}
  .cookie-actions .button{font-size:14px}.conflict .button{width:100%;white-space:normal;font-size:14px}
}

@media(max-width:390px){
  .brand{font-size:22px;letter-spacing:-1px}.brand svg{width:23px;height:23px;margin-right:6px}
  .header-actions .button{padding:0 10px}.new-note-long{display:none}.new-note-short{display:inline}
  .editor-toolbar{padding-inline:12px}.status{font-size:11px}.paper{padding-inline:13px}
  .cookie-actions{flex-direction:column-reverse}.cookie-actions .button{width:100%;flex:auto}
  .page-footer>div{width:100%;justify-content:space-between}
}

/* Shared notes open in reading mode so web addresses work with a click or tap. */
.view-toggle{flex:none;color:var(--green);border:1px solid var(--line);white-space:nowrap;min-height:40px}
.note-preview{width:100%;min-height:320px;flex:none;margin:28px 0 0;overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere;color:#d9dde1;font-size:18px;line-height:1.78;letter-spacing:-.008em}
.title-input[hidden] ~ .note-preview{margin-top:0}
.note-preview a{color:var(--green);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.note-preview a:hover{color:#96ffd4}
.note-preview:focus-visible{outline:2px solid var(--green);outline-offset:6px}
.note-preview.is-empty{color:#7d8790}
.paper,.share-area,.save-row>div{min-width:0}
@media(max-width:720px){
  .share-box input{font-size:16px;min-height:48px}
  .share-box .button,.save-row .button{min-height:48px;white-space:normal;text-align:center;line-height:1.45;padding:12px}
  .editor-toolbar .view-toggle,.editor-toolbar .download-tool{min-height:44px}
  .editor-toolbar .status{overflow-wrap:anywhere}
  .title-input{font-size:clamp(26px,7vw,36px)}
  .save-row p,.faq p{overflow-wrap:anywhere}
}
@media(min-width:1500px){.note-preview{min-height:460px}}
@media(max-width:720px){
  .editor-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .editor-toolbar .status{grid-column:1 / -1;white-space:normal}
  .view-toggle{padding:8px;font-size:12px;justify-self:start}
  .note-preview{min-height:50svh;margin-top:0;font-size:16px;line-height:1.68}
}

/* A small consent bar keeps the note visible, including on narrow phones. */
.cookie-banner{left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);padding:10px 14px;border-radius:14px;display:flex;align-items:center;gap:18px}
.cookie-copy{min-width:0}.cookie-copy p{margin:0;font-size:12px;line-height:1.5;color:#c0c8cf}.cookie-copy a{white-space:nowrap}
.cookie-actions{flex:none;gap:8px;flex-direction:row}.cookie-actions .button{flex:none;min-height:44px;padding:0 12px;font-size:12px;white-space:nowrap;border-radius:10px}
@media(max-width:720px){
  .cookie-banner{width:calc(100% - 20px);max-width:480px;padding:10px 12px;gap:6px;flex-direction:column;align-items:stretch}
  .cookie-copy p{font-size:12px;line-height:1.4}
  .cookie-actions{justify-content:flex-end;gap:8px;flex-direction:row}
  .cookie-actions .button{width:auto;min-height:40px;padding:0 12px;font-size:12px;flex:none}
}
