/* Finilist design tokens: a garden at dusk. Stone paper, pine ink, moss for
   what you act on, and one ember, kept for the day's slots and the sun. */
@font-face {
  font-family: "Figtree";
  src: url("/static/fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  src: url("/static/fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ecede7;
  --surface: #f7f7f3;
  --surface-2: #e3e6de;
  --fg: #22302a;
  --muted: #5b6861;
  --line: #d3d9cf;
  /* Moss: buttons, the current page, checks. */
  --accent: #4e7a57;
  --accent-ink: #f4f7f1;
  --accent-text: #3b6544;
  /* Strokes that carry meaning (rings, focus) need 3:1 against the page. */
  --accent-line: #4e7a57;
  --accent-soft: #dbe5d6;
  /* Ember: the day's slots, the sun in the logo. Nothing else. */
  --ember: #c97f32;
  --ember-soft: #f1dcc3;
  /* Ember as small text: dark enough to read (4.5:1). */
  --ember-text: #93541a;
  --done: #4e7a57;
  --p1: #c0502f;
  --p3: #4a78a8;
  --danger: #b2442b;
  --tint-project: rgba(74, 120, 168, .16);
  --tint-label: rgba(78, 122, 87, .16);
  --tint-priority: rgba(192, 80, 47, .14);
  --radius: 16px;
  --radius-sm: 12px;
  --font: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Illustration palette: a garden at dusk. */
  --sky1: #eef0ea;
  --sky2: #dfe6d9;
  --boulder: #c97f32;
  --hill-far: #c9d6c3;
  --hill: #94b096;
  --trail: #5f7f64;
  --shadow: rgba(34, 48, 42, .16);
  --boulder-dark: rgba(80, 48, 16, .25);
  --boulder-light: rgba(255, 244, 228, .6);
  --paper: #f7f7f3;
  --paper-ink: #d3d9cf;
  --week: #d6ddd2;
  --week-lived: #dcbf9c;
  --highlight: #dbe5d6;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.13 0 0 0 0 0.19 0 0 0 0 0.16 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a17;
    --surface: #1b231f;
    --surface-2: #222c27;
    --fg: #e3e8e1;
    --muted: #9eaba3;
    --line: #2d3832;
    --accent: #8fbf94;
    --accent-ink: #13201a;
    --accent-text: #9fcca4;
    --accent-line: #8fbf94;
    --accent-soft: #263a2d;
    --ember: #e3a15a;
    --ember-soft: #3d2e1e;
    --ember-text: #e8ae6e;
    --done: #8fbf94;
    --p1: #ec8a68;
    --p3: #8fb3dd;
    --danger: #ec8a68;
    --sky1: #1b231f;
    --sky2: #23302a;
    --boulder: #e3a15a;
    --hill-far: #2b3a32;
    --hill: #38503f;
    --trail: #8fbf94;
    --shadow: rgba(0, 0, 0, .4);
    --boulder-dark: rgba(60, 30, 0, .35);
    --boulder-light: rgba(255, 236, 205, .4);
    --paper: #e3e8e1;
    --paper-ink: #b7c2b9;
    --week: #2d3832;
    --week-lived: #6e5639;
    --highlight: #263a2d;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
/* Rice paper: a grain too fine to notice, felt more than seen. */
body { background-image: var(--grain); background-size: 180px 180px; }
body { margin: 0; background-color: var(--bg); color: var(--fg); font: 16.5px/1.65 var(--font); font-feature-settings: "ss01"; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-weight: 400; letter-spacing: -.02em; }
h2, h3 { font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }

.btn { display: inline-block; padding: 10px 20px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font: 600 1rem var(--font);
  text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
input[type=email] { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; background: var(--bg); color: var(--fg); }
/* Every control shows keyboard focus, in a colour that stands out (3:1). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; }

/* Card pages: sign-in, verify, the stand-in app. */
.auth { max-width: 26rem; margin: 8vh auto; padding: 0 16px; }
.auth-top { max-width: 70rem; margin: 0 auto; padding: 18px 16px; display: flex; align-items: center; justify-content: space-between; }
.auth-top .brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.15rem; color: var(--fg); text-decoration: none; }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 var(--line); }
.card h1 { font-size: 1.5rem; }
.card label { display: block; font-weight: 700; margin-bottom: 4px; }
.card .btn { margin-top: 14px; }
.err { color: var(--danger); margin-top: 8px; }
.auth nav { margin-top: 16px; font-size: .9rem; display: flex; justify-content: space-between; }

/* Landing page. */
.landing .wrap { max-width: 70rem; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.landing .top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 12px; }
.landing .brand { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 1.25rem; color: var(--fg); text-decoration: none; }
.landing .top nav { display: flex; align-items: center; gap: 16px; }

.landing .hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 72px; }
.landing .hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-weight: 350; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 1.25rem; }
.landing .hero h1 .line { display: block; }
.landing .hero p { font-size: 1.15rem; color: var(--muted); max-width: 33rem; }
.landing .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.landing .art-hero { width: 100%; height: auto; display: block; border-radius: 28px; box-shadow: 0 18px 40px -24px var(--shadow); }

/* Cards drifting off the summit: the let-go list, made visible. */
.landing .drift .card { animation: drift 9s ease-in-out infinite alternate; transform-box: fill-box; }
.landing .drift .c2 { animation-delay: -2s; opacity: .85; }
.landing .drift .c3 { animation-delay: -4s; opacity: .62; }
.landing .drift .c4 { animation-delay: -6s; opacity: .4; }
@keyframes drift { from { translate: 0 0; } to { translate: -6px -9px; } }
@media (prefers-reduced-motion: reduce) { .drift .card { animation: none; } }

.landing section { padding: 64px 0; }
.landing section h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 400; letter-spacing: -.025em; margin-bottom: 1.75rem; }
.landing .band { background: var(--surface-2); }

.landing .lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.landing .list-col p { color: var(--muted); margin: 14px 4px 0; }
.landing .col { background: var(--surface); border-radius: var(--radius); padding: 16px; min-width: 0; box-shadow: 0 1px 0 var(--line); }
.landing .col h3 { font-size: .85rem; font-weight: 650; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; margin-bottom: .75rem; }
.landing .col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.landing .col li { background: var(--surface-2); border-radius: 9px; padding: 7px 10px; font-size: .92rem; overflow-wrap: anywhere; }
.landing .col li small { display: block; color: var(--muted); font-size: .78rem; font-style: italic; }
.landing .col.closed { box-shadow: inset 0 0 0 1.5px var(--ember); }
.landing .col.closed li::before { content: "○ "; color: var(--ember); }
.landing .col.letgo li { color: var(--muted); }
.landing .col.letgo ul { padding-right: 10px; }
.landing .col.letgo li:nth-child(1) { opacity: .8; transform: translate(3px, -1px) rotate(-1.2deg); }
.landing .col.letgo li:nth-child(2) { opacity: .55; transform: translate(7px, -3px) rotate(-2.4deg); }
.landing .col .more { background: none; color: var(--muted); padding: 2px 10px; }
.landing .slot { font-weight: 650; color: var(--accent-text); }

.landing .weeks h2 { margin-bottom: 1.25rem; }
.landing .art-weeks { width: 100%; height: auto; display: block; margin-bottom: 1.5rem; }
.landing .art-weeks .here { font: 650 15px var(--font); fill: var(--accent-text); paint-order: stroke; stroke: var(--surface-2); stroke-width: 6px; stroke-linejoin: round; }
.landing .weeks-legend { display: none; color: var(--accent-text); font-weight: 650; margin: -0.75rem 0 1.25rem; }
.landing .weeks-legend::before { content: "◉ "; }
.landing .weeks-text { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.landing .weeks-text > div > p:first-child { font-size: 1.2rem; font-weight: 700; }
.landing .weeks-text blockquote { margin: 0; padding-left: 20px; border-left: 3px solid var(--accent); }
.landing .weeks-text blockquote p { font-size: 1.2rem; font-style: italic; font-weight: 400; margin-bottom: .4rem; }
.landing .weeks-text cite { color: var(--muted); font-style: normal; font-size: .95rem; }

.landing .features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.landing .features li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.landing .features h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.landing .features p { color: var(--muted); margin: 0; max-width: 34rem; }
.landing .features .icon { margin: 2px 0 0; flex: none; }
.landing .tile { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 0 var(--line); }
.landing .tile h3 { font-size: 1.1rem; }
.landing .tile p { color: var(--muted); margin: 0; }
.landing .icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--highlight); margin-bottom: 12px; }
.landing .icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.landing .plans { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.landing .plans th, .landing .plans td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.landing .plans thead th { background: var(--surface-2); }
.landing .plans thead th:last-child { color: var(--accent-text); }
.landing .plans thead small { display: block; font-weight: 600; color: var(--muted); }
.landing .pricing-lead { font-size: 1.15rem; margin: -0.75rem 0 1.5rem; }
.landing .plans tr:last-child td { border-bottom: 0; }
.landing .plans .no { color: var(--muted); }
.landing .table-scroll { overflow-x: auto; }
.landing .note { margin-top: 1rem; }

.landing .final { text-align: center; padding: 72px 0 80px; }
.landing .art-summit { width: 160px; height: auto; display: block; margin: 0 auto 1rem; }
.landing .final blockquote { margin: 0 auto 2.5rem; max-width: 36rem; }
.landing .final blockquote p { font-size: clamp(1.3rem, 3vw, 1.7rem); font-style: italic; margin-bottom: .25rem; }
.landing .final cite { color: var(--muted); font-style: normal; }
.landing .final h2 { margin-bottom: .5rem; }

.landing .foot { color: var(--muted); font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 40px; }

@media (max-width: 980px) and (min-width: 761px) {
  .landing .features { column-gap: 32px; }
}
@media (max-width: 760px) {
  .landing .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; padding-bottom: 48px; }
  .landing .lists, .landing .features, .landing .weeks-text { grid-template-columns: 1fr; gap: 16px; }
  .landing .art-weeks .pointer { display: none; }
  .landing .weeks-legend { display: block; }
  .landing section { padding: 44px 0; }
}

/* Footer: the small print, quiet. */
.landing .foot nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.landing .foot a { color: var(--muted); text-decoration: none; }
.landing .foot a:hover { color: var(--accent-text); text-decoration: underline; }
.landing .top nav a:not(.btn) { color: var(--fg); text-decoration: none; }
.landing .top nav a:not(.btn):hover { color: var(--accent-text); }
.landing .plans .soon { font-style: normal; font-size: .78rem; color: var(--ember); white-space: nowrap; margin-left: 4px; }

/* Pricing page. */
.pricing-page { padding-top: 40px; }
.landing .pricing-page .pricing-lead { margin: 0 0 1.5rem; color: var(--muted); }
.pricing-page h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 350; letter-spacing: -.03em; line-height: 1.1; max-width: 22ch; margin-bottom: 1rem; }
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 32px 0 40px; }
.tier { background: var(--surface); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tier.pro { box-shadow: 0 0 0 1.5px var(--ember); }
.landing .tier h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; margin: 0; }
.tier .amount { font-size: 2.4rem; font-weight: 300; letter-spacing: -.03em; margin: 6px 0 4px; }
.tier .amount small { font-size: 1rem; color: var(--muted); letter-spacing: 0; }
.tier .muted { margin-bottom: 8px; }
.tier .btn { margin-top: auto; }
.faq-title { margin-top: 56px; }
.faq { max-width: 44rem; margin: 0; }
.faq dt { font-weight: 600; margin-top: 22px; }
.faq dd { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 720px) { .tiers { grid-template-columns: 1fr; } }

/* Legal pages: a readable column. */
.doc .prose { max-width: 42rem; padding-top: 40px; padding-bottom: 72px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 350; letter-spacing: -.03em; margin-bottom: .4rem; }
.prose h2 { font-size: 1.15rem; font-weight: 600; margin: 2.2rem 0 .6rem; }
.prose p, .prose li { line-height: 1.75; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .6rem; }
.prose .updated { color: var(--muted); font-size: .92rem; }
.prose .operator { color: var(--muted); font-size: .95rem; padding: 12px 16px; background: var(--surface); border-radius: var(--radius-sm); }

/* The app itself, as it looks. */
.landing .look .shots { display: grid; grid-template-columns: 1.25fr 1.64fr; gap: 28px; align-items: start; }
.landing .look figure { margin: 0; }
.landing .look img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px var(--shadow); }
.landing .look figcaption { color: var(--muted); font-size: .95rem; margin-top: 12px; max-width: 34rem; }
@media (max-width: 760px) { .landing .look .shots { grid-template-columns: 1fr; } }

/* The language switch: the other language's flag, round. */
.flag-link { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease); }
.flag-link:hover { box-shadow: 0 0 0 1.5px var(--accent-line); }
.flag-link .flag { display: block; border-radius: 50%; }
