/* The landing page.
 *
 * Deliberately its own stylesheet rather than an extension of styles.css: the
 * app is a fixed-height three-pane workspace and this is a long scrolling
 * document, so they share tokens and nothing else. The tokens are the same ones
 * the product uses, which is the whole point — signing up should not feel like
 * walking into a different building.
 */

:root {
  --ink:        #17191d;
  --paper:      #efeeea;
  --surface:    #f7f6f3;
  --surface-2:  #e6e4dd;
  --line:       #d5d2c8;
  --muted:      #6e6b63;
  --steel:      #3c4753;
  --accent:     #e3a81e;
  --accent-ink: #7a5605;

  --ok:      #2c7a54;  --ok-bg:   #dfeee6;
  --warn:    #a6392c;  --warn-bg: #f6e3df;
  --info:    #6e6b63;  --info-bg: #e8e6df;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --r: 3px;
  --shadow: 0 1px 2px rgba(23, 25, 29, .06), 0 6px 18px rgba(23, 25, 29, .05);
  --wrap: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e7e5de; --paper: #141619; --surface: #1c1f24; --surface-2: #262a31;
    --line: #333841; --muted: #939087; --steel: #9fb0c0; --accent: #e8b13a; --accent-ink: #f0c86e;
    --ok: #62b98c; --ok-bg: #163024; --warn: #e0796a; --warn-bg: #341915;
    --info: #939087; --info-bg: #23262c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ================================================================== nav === */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(8px);
}

.nav__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }

.brand__mark {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 2px;
  background: var(--accent);
  position: relative;
}
/* Three lines: a page in a binder, at 22 pixels. */
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 6px 5px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.brand__name { font-weight: 650; letter-spacing: -.01em; font-size: 15px; }

.nav__links { display: flex; gap: 20px; margin-left: 12px; font-size: 14px; }
.nav__links a { color: var(--muted); text-decoration: none; }
.nav__links a:hover { color: var(--ink); }

.nav__acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* =============================================================== buttons === */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }

.btn--solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #17191d;
}
.btn--solid:hover { filter: brightness(1.06); background: var(--accent); }

.btn--quiet { background: none; border-color: transparent; }
.btn--quiet:hover { background: var(--surface-2); }

.btn--lg { font-size: 15.5px; padding: 12px 22px; }

/* ================================================================= hero === */

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.hero { padding: 68px 24px 0; }

.hero__h {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 6.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
/* A marker stripe, stopped at the baseline. Left open-ended it runs on past the
   descenders and reads as a bar sitting under the line rather than through it. */
.hero__h em {
  font-style: normal;
  background-image: linear-gradient(color-mix(in srgb, var(--accent) 55%, transparent), color-mix(in srgb, var(--accent) 55%, transparent));
  background-repeat: no-repeat;
  background-size: 100% .34em;
  background-position: 0 .72em;
}

.hero__sub {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: 17.5px;
  color: var(--muted);
}

.hero__acts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

.hero__trust {
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 13px;
  color: var(--muted);
}

/* --- the picture of the thing ------------------------------------------- */
/* Not a screenshot. A screenshot goes stale the first time the UI moves, and a
   fake one that pretends to be real is a lie on the first thing anyone sees.
   This is an honest diagram of the shape, built from the same tokens. */

.shot {
  margin: 52px 0 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.shot__dots { display: flex; gap: 5px; }
.shot__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.shot__title { font-size: 12.5px; font-weight: 600; color: var(--muted); }

.shot__body { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }

.shot__side {
  padding: 14px 12px 20px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}
.shot__folder {
  margin: 12px 0 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.shot__folder:first-child { margin-top: 0; }
.shot__doc {
  margin: 0;
  padding: 5px 8px;
  font-size: 13px;
  color: var(--muted);
  border-left: 2px solid transparent;
  display: flex; align-items: center; gap: 8px;
}
.shot__doc.is-on {
  color: var(--ink);
  font-weight: 600;
  background: var(--surface-2);
  border-left-color: var(--accent);
}
.shot__tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ok);
  border: 1px solid var(--ok);
  border-radius: 999px;
  padding: 0 5px;
}

.shot__main { padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }

.shot__watch {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 550;
}
.shot__play {
  flex: none;
  width: 0; height: 0;
  border-left: 11px solid var(--accent);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.shot__fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.shot__fact span:first-child { color: var(--muted); min-width: 0; }
.shot__fact b { font-family: var(--mono); font-size: 13px; min-width: 0; overflow-wrap: anywhere; }

/* In the narrow aside the value is a whole sentence ("3.1 L (owner) / 3.3 L
   (manual)") and will not sit beside its own label. Stack it there. */
.shot__fact--flat {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 12px;
  background: var(--paper);
}
.shot__fact--flat > span:first-child { grid-column: 1 / -1; }

.chip {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  white-space: nowrap;
}
.chip--ok  { color: var(--ok);   background: var(--ok-bg); }
.chip--com { color: var(--info); background: var(--info-bg); }
.chip--unv { color: var(--warn); background: var(--warn-bg); }
.chip--con { color: var(--warn); background: var(--warn-bg); }

.shot__note { margin: 4px 0 0; font-size: 12px; color: var(--muted); font-style: italic; }

/* ================================================================ bands === */

.band { padding: 92px 24px 0; }

.band__h {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3.6vw, 38px);
  line-height: 1.14;
  letter-spacing: -.015em;
  text-wrap: balance;
  max-width: 22ch;
}

.band__sub { margin: 16px 0 0; max-width: 62ch; color: var(--muted); font-size: 16px; }

.grid3 {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 16px;
}

.card {
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.card__tag {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__h { margin: 0; font-size: 18.5px; letter-spacing: -.01em; }
.card__p { margin: 0; font-size: 14.5px; color: var(--muted); }
.card__p em { color: var(--ink); font-style: normal; font-weight: 600; }

/* --- steps -------------------------------------------------------------- */

.steps {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 26px 20px;
  counter-reset: none;
}
.steps li { display: flex; flex-direction: column; gap: 7px; border-top: 2px solid var(--accent); padding-top: 14px; }
.steps__n { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--accent-ink); }
.steps h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* --- the notes split ---------------------------------------------------- */

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: start; }

.prose { margin: 16px 0 0; font-size: 16px; color: var(--muted); max-width: 56ch; }
.prose em { color: var(--ink); font-style: normal; font-weight: 600; }
.prose--quiet { font-size: 14.5px; font-style: italic; }

.note-demo {
  margin-top: 46px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.note-demo__h {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.note-demo__body {
  margin: 0;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: var(--paper);
  font-size: 14px;
}
.note-demo__arrow { text-align: center; color: var(--muted); font-size: 18px; margin: 10px 0; }

/* =============================================================== pricing === */

.tiers {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  align-items: start;
}
.tiers__loading { color: var(--muted); font-size: 14px; }

.tier {
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}
.tier--featured { border-color: var(--accent); box-shadow: var(--shadow); }

.tier__flag {
  position: absolute;
  top: -10px; left: 22px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #17191d;
}

.tier__name { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.tier__blurb { margin: 0; font-size: 13px; color: var(--muted); }

.tier__price { margin: 14px 0 2px; display: flex; align-items: baseline; gap: 6px; }
.tier__amount { font-family: var(--serif); font-size: 38px; line-height: 1; letter-spacing: -.02em; }
.tier__from {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}
.tier__per { font-size: 13px; color: var(--muted); }

.tier__list { margin: 16px 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tier__list li { display: flex; gap: 9px; font-size: 14px; align-items: baseline; }
.tier__list li::before { content: "✓"; color: var(--ok); flex: none; font-size: 12px; }

.tier .btn { margin-top: auto; justify-content: center; }

.tier__soon {
  margin-top: auto;
  padding: 9px 12px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.tiers__foot { margin: 20px 0 0; font-size: 13px; color: var(--muted); }

/* =============================================================== closing === */

.closing { padding: 96px 24px 100px; text-align: center; }
.closing__h {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing: -.02em;
  line-height: 1.1;
  text-wrap: balance;
}
.closing__p { margin: 16px auto 26px; max-width: 52ch; color: var(--muted); font-size: 16.5px; }

/* ================================================================ footer === */

.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot__in { display: flex; gap: 34px; justify-content: space-between; padding-top: 30px; padding-bottom: 40px; flex-wrap: wrap; }
.foot__fine { margin: 12px 0 0; max-width: 56ch; font-size: 12.5px; color: var(--muted); }
.foot__links { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.foot__links a { color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--ink); }

/* =============================================================== dialog === */

.sheet { border: 0; padding: 0; background: transparent; max-width: min(420px, calc(100vw - 32px)); }
.sheet::backdrop { background: rgba(10, 11, 13, .55); }

.sheet__card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 24px 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.sheet__h { margin: 0; font-size: 19px; }
.sheet__sub { margin: -6px 0 4px; font-size: 13.5px; color: var(--muted); }
.sheet__actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.sheet__fine { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field > span:first-child {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.field__hint { font-size: 11.5px; color: var(--muted); }

input {
  font: inherit;
  font-size: 15px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
}
input:focus-visible { outline: 2px solid var(--accent); outline-offset: -1px; }

.err { margin: 0; min-height: 1.2em; font-size: 13px; color: var(--warn); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ================================================================ phone === */

@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .note-demo { margin-top: 20px; }
  .shot__body { grid-template-columns: minmax(0, 1fr); }
  .shot__side { display: none; }
}

@media (max-width: 640px) {
  .wrap, .nav__in { padding-left: 16px; padding-right: 16px; }
  .nav__links { display: none; }
  .hero { padding-top: 44px; }
  .band { padding-top: 68px; }
  .closing { padding: 72px 16px 76px; }
  .hero__sub { font-size: 16.5px; }
  .btn--lg { padding: 11px 18px; font-size: 15px; }
  .hero__acts .btn { flex: 1; justify-content: center; }
  .shot { margin-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; scroll-padding-top: 70px; }
