/* Seitora website. The same look as the app (Mist; docs/style-guide.md): the same colours, Figtree, rounded cards.
   Everything is in this one file: the site's security settings don't allow styles written inside pages. */

@font-face { font-family: Figtree; font-weight: 400; font-display: swap; src: url(/fonts/figtree-400.woff2) format('woff2'); }
@font-face { font-family: Figtree; font-weight: 500; font-display: swap; src: url(/fonts/figtree-500.woff2) format('woff2'); }
@font-face { font-family: Figtree; font-weight: 600; font-display: swap; src: url(/fonts/figtree-600.woff2) format('woff2'); }
@font-face { font-family: Figtree; font-weight: 700; font-display: swap; src: url(/fonts/figtree-700.woff2) format('woff2'); }

:root {
  --bg: #F5F7FA; --side: #ECF0F5; --surface: #FFFFFF; --fg: #1C2530; --muted: #5B6878; --line: #DCE3EB;
  --accent: #3E6FA8; --accent-ink: #2F5F96; --accent-soft: #DCE6F2; --check: #8FA2B8;
  --warn: #9A4A1F; --warn-soft: #FBEDE4; --amber-ink: #8A5517; --amber-soft: #F3E6D6; --shadow: rgba(30, 50, 80, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Figtree, system-ui, sans-serif; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* Shown only on preview links: these pages aren't public yet. */
.draft-note { background: var(--amber-soft); color: var(--amber-ink); font-size: 14px; text-align: center; padding: 8px 16px; }

/* Top bar */
nav.top { display: flex; align-items: center; gap: 28px; height: 72px; font-size: 15px; }
.brand { display: inline-flex; }
.brand img { display: block; height: 28px; width: auto; }
nav.top .links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; }
nav.top .links a { color: var(--muted); text-decoration: none; }
nav.top .links a:hover, nav.top .links a[aria-current] { color: var(--fg); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.line { border: 1px solid var(--line); background: var(--surface); color: var(--fg); }

/* Coming soon */
.soon { min-height: 100vh; display: flex; flex-direction: column; }
.soon main { flex: 1; display: flex; align-items: center; }
.soon .card { max-width: 560px; }
.soon .logo { display: block; height: 40px; width: auto; margin-bottom: 40px; }
.soon h1 { font-size: 44px; line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; }
.soon p { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 14px; }
.soon .pill { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px; }

/* App fragments drawn on the home page (pictures of the app, not the app itself) */
.win { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 70px rgba(10, 25, 50, .14); overflow: hidden; }
.win.small { box-shadow: 0 6px 20px var(--shadow); }
.win.list { padding: 6px 0; }
.task { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; font-size: 15px; }
.task + .task { border-top: 1px solid #EEF2F6; }
.task.sub { padding-left: 44px; }
.ck { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--check); flex: none; }
.ck.done { background: var(--accent); border-color: var(--accent); position: relative; }
.ck.done::after { content: ''; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.t { flex: 1; }
.t small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.t.done { color: var(--muted); text-decoration: line-through; }
.chip { font-size: 12.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.amb { background: var(--amber-soft); color: var(--amber-ink); }
.chip.tag { background: none; border: 1px solid var(--line); }
.gh { font-size: 14px; font-weight: 600; color: var(--accent-ink); padding: 14px 14px 8px; border-bottom: 1px solid var(--line); }

/* Home */
.hero { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 40px; }
h1 { font-size: 54px; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 20px; font-weight: 700; }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0 0 30px; max-width: 30em; }
.ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.fine { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.app { display: grid; grid-template-columns: 170px 1fr; min-height: 420px; }
.side { background: var(--side); padding: 18px 12px; font-size: 13.5px; }
.side .n { display: flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 8px; }
.side .n.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.side .n.area { font-weight: 600; }
.side .lab { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--muted); margin: 16px 10px 6px; }
.side .sub { padding-left: 24px; color: var(--muted); }
.main { padding: 22px; }
.main h3 { font-size: 26px; margin: 4px 0 10px; letter-spacing: -.02em; }
.date { font-size: 13px; color: var(--muted); }
.rows { display: grid; gap: 72px; margin-top: 88px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row h2 { font-size: 30px; letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.15; }
.row p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 28em; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 20px var(--shadow); padding: 14px 16px; font-size: 16px; }
.qa mark { background: var(--accent-soft); color: var(--accent-ink); border-radius: 4px; padding: 0 3px; }
.qa .chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* Plans (home and pricing) */
.price { display: grid; grid-template-columns: 1fr 1fr; margin-top: 96px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.price > div { padding: 28px 30px; }
.price > div + div { border-left: 1px solid var(--line); }
.price h3 { margin: 0 0 4px; font-size: 20px; }
.price .amt { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 2px; }
.price .amt span { font-size: 15px; font-weight: 500; color: var(--muted); }
.price .alt { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.price ul { margin: 16px 0 20px; padding-left: 18px; color: var(--muted); line-height: 1.8; font-size: 15px; }

/* Text pages (pricing, privacy, terms, support) */
.page { max-width: 760px; padding-top: 48px; }
.page h1 { font-size: 42px; margin-bottom: 12px; }
.page .updated { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.page h2 { font-size: 22px; letter-spacing: -.01em; margin: 40px 0 10px; }
.page h3 { font-size: 17px; margin: 24px 0 6px; }
.page p, .page li { font-size: 16.5px; line-height: 1.65; }
.page li + li { margin-top: 6px; }
.page .price { margin-top: 32px; }
.page table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
.page th, .page td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.page th { font-weight: 600; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.callout p { margin: 0; }

/* Footer */
footer.site { border-top: 1px solid var(--line); margin-top: 96px; padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; gap: 12px 24px; align-items: center; flex-wrap: wrap; }
footer.site .r { margin-left: auto; display: flex; gap: 10px 22px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--fg); }
.soon footer.site { margin-top: 0; }

/* Phones and narrow windows */
@media (max-width: 900px) {
  .hero, .row { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 32px; }
  h1 { font-size: 40px; }
  .rows { margin-top: 56px; gap: 56px; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app .side { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  nav.top { gap: 16px; height: 64px; }
  nav.top .links { display: none; }
  nav.top .btn { margin-left: auto; height: 40px; padding: 0 16px; }
  .soon h1 { font-size: 34px; }
  .page h1 { font-size: 34px; }
  .price { grid-template-columns: 1fr; margin-top: 56px; }
  .price > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .task { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  footer.site .r { margin-left: 0; }
}
