/* GetFiledUp website. Brand: "filed" green on warm paper, deep ink, amber for deadlines. System fonts only (no
   third-party requests, so no cookie banner is needed). */
:root {
  --paper: #fbfaf6;
  --panel: #ffffff;
  --panel-2: #f3f1ea;
  --line: #e6e2d6;
  --ink: #0f1f2e;
  --muted: #5b6673;
  --brand: #0e8a63;
  --brand-strong: #0a6c4d;
  --brand-soft: #e3f4ec;
  --amber: #c9821b;
  --amber-soft: #fbefd9;
  --shadow: 0 1px 2px rgba(15, 31, 46, 0.06), 0 8px 24px rgba(15, 31, 46, 0.06);
  --radius: 14px;
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1620;
    --panel: #142130;
    --panel-2: #1a2a3b;
    --line: #253649;
    --ink: #e8eef3;
    --muted: #9fb0c0;
    --brand: #34c38f;
    --brand-strong: #5dd6a8;
    --brand-soft: #123327;
    --amber: #f0b45a;
    --amber-soft: #33270f;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-strong); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 12px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--panel); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 1.5px solid var(--line);
  color: var(--ink); background: var(--panel); transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.primary { color: #06261b; } }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 0.92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo .up { color: var(--brand); }
.nav { display: none; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav { display: flex; } }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; } .hero { padding: 96px 0 80px; } }
.hero h1 .hl { color: var(--brand); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.ticks li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 8px; }

/* Hero illustration: a deadlines card, drawn in HTML */
.deck { position: relative; }
.card-ui { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; }
.card-ui .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.card-ui .head strong { font-size: 1rem; }
.chip { font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.chip.done { background: var(--brand-soft); color: var(--brand-strong); }
.chip.due { background: var(--amber-soft); color: var(--amber); }
.chip.next { background: var(--panel-2); color: var(--muted); }
.row-ui { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.row-ui .what { display: flex; flex-direction: column; }
.row-ui .what small { color: var(--muted); font-size: 0.8rem; }
.float-ui { position: absolute; right: 20px; bottom: -104px; width: 230px; padding: 14px 16px; display: none; }
.float-ui .big { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
@media (min-width: 560px) { .float-ui { display: block; } .deck { margin-bottom: 104px; } }
.hero .wrap > *, .grid > *, .compare > * { min-width: 0; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.band { background: var(--panel-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid.two, .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.tile .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; margin-bottom: 14px; }
.tile .icon svg { width: 22px; height: 22px; }
.tile ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--amber); background: var(--amber-soft); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: 2px; }

/* Steps */
.steps { counter-reset: step; }
.steps .tile { position: relative; padding-top: 64px; }
.steps .tile::before { counter-increment: step; content: counter(step); position: absolute; top: 22px; left: 24px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 800; display: grid; place-items: center; font-size: 0.95rem; }

/* Before / after */
.compare { display: grid; gap: 18px; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { padding: 10px 0; border-top: 1px solid var(--line); }
.compare li:first-child { border-top: none; }
.compare .without li::before { content: "✕"; color: var(--muted); margin-right: 10px; font-weight: 700; }
.compare .with { border-color: var(--brand); }
.compare .with li::before { content: "✓"; color: var(--brand); margin-right: 10px; font-weight: 800; }

/* Plans */
.plan h3 { display: flex; justify-content: space-between; align-items: baseline; }
.plan .for { color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.plan.featured { border: 2px solid var(--brand); }
.plan ul { padding: 0; list-style: none; }
.plan li { padding: 6px 0; color: var(--ink); }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 10px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 46em; }

/* Closing call to action */
.closing { text-align: center; }
.closing .box { background: var(--ink); color: var(--paper); border-radius: 24px; padding: 56px 24px; }
.closing .box p { color: color-mix(in srgb, var(--paper) 75%, transparent); max-width: 34em; margin: 0 auto 26px; font-size: 1.1rem; }
.closing .btn.primary { background: var(--brand); border-color: var(--brand); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .closing .box { background: var(--panel-2); color: var(--ink); } :root:not([data-theme="light"]) .closing .box p { color: var(--muted); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 0.92rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 20px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }
.legal-note { font-size: 0.85rem; max-width: 52em; }
.legal-note.spaced { margin-top: 14px; }
.not-found { text-align: center; padding-top: 120px; }

/* Early access dialog */
.ea { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--ink); box-shadow: 0 24px 60px rgba(15, 31, 46, 0.25); }
.ea::backdrop { background: rgba(15, 31, 46, 0.55); backdrop-filter: blur(2px); }
.ea-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px 0; }
.ea-head h2 { font-size: 1.4rem; margin: 0; }
.ea-close { border: none; background: none; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.ea-close:hover { background: var(--panel-2); color: var(--ink); }
.ea-body { padding: 12px 24px 4px; }
.ea-body p { font-size: 0.97rem; }
.ea-field { display: block; margin-bottom: 14px; }
.ea-field span { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.ea-field em { font-style: normal; font-weight: 400; color: var(--muted); }
.ea-field input { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.ea-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.ea-field input[aria-invalid="true"] { border-color: #c2412d; }
.ea-error { display: block; color: #c2412d; font-size: 0.85rem; margin-top: 4px; min-height: 0; }
.ea-error:empty { display: none; }
.ea-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); }
.ea-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.ea-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ea-turnstile:not(:empty) { margin-top: 14px; }
.ea-message { color: #c2412d; font-size: 0.92rem; margin: 10px 0 0; }
.ea-message:empty { display: none; }
.ea-foot { padding: 16px 24px 24px; display: flex; justify-content: flex-end; }
.ea-foot .btn { width: 100%; }
.ea-done .ea-foot .btn { width: auto; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 16px 80px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2em; }
.doc li { margin-bottom: 0.4em; }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin-bottom: 1em; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc .updated { color: var(--muted); }
.todo { background: var(--amber-soft); color: var(--amber); padding: 0 4px; border-radius: 4px; font-weight: 650; }
