/* Winthem landing.
   Editorial on snow: big confident display type, art-directed imagery instead
   of gradients, and hairline structure instead of card stacks.

   The imagery is snow on a snow page, so pictures are not boxed in bordered
   cards. They bleed off the shell and dissolve into the paper with a mask,
   which is only possible because the art was made high-key for this ground.

   That is also why every frame here reads --art-dim: on the dark ground the
   same high-key art is the one thing a token swap cannot re-tone, so it is
   taken down instead, and the mask still has something to dissolve into. */

/* Pictures run off the edge of the shell, so the page must clip rather than
   scroll sideways. clip, not hidden: hidden would make <html> a scroll
   container and break position:sticky further down the page. */
html{overflow-x:clip}

/* Distance from the shell's content edge to the viewport edge. A bleeding
   element pulls itself out by exactly this much. Doing it with 50% would
   measure the grid column instead of the shell and overshoot. */
:root{--gutter:calc((100vw - min(100vw,var(--shell))) / 2 + var(--pad))}

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero{padding-top:clamp(2rem,4.5vw,4rem);padding-bottom:clamp(3rem,7vw,6rem)}
.hero .split{
  display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:clamp(28px,4vw,56px);align-items:center;
}
.hero .copy{position:relative;z-index:1}
.hero h1{margin-bottom:22px}
.hero .lede{max-width:38ch;margin-bottom:32px}
.hero .cta{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
/* Under the pair rather than beside it: a German or Turkish label runs about a
   third longer than the English one, and a note sharing the row with two
   buttons is the first thing that wraps into nonsense.
   ink-3 measures 3.53:1 on paper, under AA for 14px body. */
.hero .note{margin-top:18px;font-size:.875rem;color:var(--ink-2)}

/* The plate escapes the shell to the right so the plain keeps running past the
   edge of the screen. Three of its edges dissolve into the paper and the
   fourth runs off the viewport, so it reads as a window onto the page rather
   than a photograph pasted on it. */
.plate{
  position:relative;
  margin-right:calc(var(--gutter) * -1);
  aspect-ratio:4/3;
  --edge:
    linear-gradient(100deg,transparent 0,#000 24%),
    linear-gradient(#0000 0,#000 14%),
    linear-gradient(#000 82%,#0000 100%);
  -webkit-mask-image:var(--edge);
  -webkit-mask-composite:source-in;
  mask-image:var(--edge);
  mask-composite:intersect;
}
.plate picture{display:block;width:100%;height:100%}
.plate img{width:100%;height:100%;object-fit:cover;object-position:54% 48%;filter:var(--art-dim)}

@media (max-width:920px){
  .hero .split{grid-template-columns:1fr}
  .hero .plate{
    order:-1;aspect-ratio:16/10;
    margin-inline:calc(var(--gutter) * -1);
    --edge:linear-gradient(#000 76%,#0000 100%);
  }
}

.plate .fall{position:absolute;inset:0;pointer-events:none}
@media (prefers-reduced-motion:no-preference){
  .plate .fall span{
    position:absolute;top:-8%;width:3px;height:3px;border-radius:50%;
    background:rgba(255,255,255,.95);
    animation:drift linear infinite;
  }
}
@keyframes drift{
  from{transform:translate3d(0,-10%,0)}
  to{transform:translate3d(14px,760%,0)}
}

/* ── jobs: grouped by cadence, with the art holding the left column ─────── */
.jobs-wrap{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(28px,6vw,80px);align-items:start}
.jobs-aside{position:sticky;top:96px}
.jobs-aside h2{max-width:14ch}
/* Mirrors the hero: the picture leaves the shell on the opposite side, so the
   page has one gesture for imagery instead of a boxed thumbnail here and a
   bleeding plate there. */
.aside-art{
  margin-top:clamp(28px,3.5vw,44px);
  margin-left:calc(var(--gutter) * -1);
  width:calc(100% + var(--gutter));
  aspect-ratio:3/2;
  --edge:
    linear-gradient(260deg,transparent 0,#000 30%),
    linear-gradient(#0000 0,#000 22%),
    linear-gradient(#000 76%,#0000 100%);
  -webkit-mask-image:var(--edge);
  -webkit-mask-composite:source-in;
  mask-image:var(--edge);
  mask-composite:intersect;
}
.aside-art img{width:100%;height:100%;object-fit:cover;object-position:52% 56%;filter:var(--art-dim)}
@media (max-width:900px){
  .jobs-wrap{grid-template-columns:1fr}
  .jobs-aside{position:static}
  .aside-art{display:none}
}

.cadence{padding-block:clamp(22px,3vw,32px);border-top:1px solid var(--line)}
.cadence:first-child{padding-top:0;border-top:0}
.cad{
  font-family:var(--f-mono);font-size:.6875rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-2);margin-bottom:18px;
}
.job{display:grid;grid-template-columns:auto 1fr;gap:clamp(14px,2.5vw,28px);align-items:baseline;padding-block:14px}
.job .no{font-family:var(--f-mono);font-size:.75rem;color:var(--faint);letter-spacing:.08em;padding-top:.4em}
.job h4{font-family:var(--f-display);font-weight:700;font-size:clamp(1.2rem,2.2vw,1.7rem);letter-spacing:-.026em}
.job p{color:var(--ink-2);font-size:.9375rem;max-width:46ch;margin-top:6px}
.job.lead h4{color:var(--ember-ink)}

/* ── band: a full-bleed breath, dissolving at both edges ───────────────── */
.band{
  margin-inline:calc(50% - 50vw);width:100vw;
  height:clamp(180px,26vw,340px);
  -webkit-mask-image:linear-gradient(#0000 0,#000 22%,#000 78%,#0000 100%);
  mask-image:linear-gradient(#0000 0,#000 22%,#000 78%,#0000 100%);
}
.band img{width:100%;height:100%;object-fit:cover;object-position:50% 58%;filter:var(--art-dim)}

/* ── moves: one large plate against a stack of steps ───────────────────── */
.moves{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,6vw,76px);align-items:center}
/* The settlement in this frame is already a disc, so the mask is a disc too:
   the hearth lands dead centre and the picture has no corners to fight the
   page with. */
.moves-art{
  aspect-ratio:1/1;
  -webkit-mask-image:radial-gradient(circle at 50% 50%,#000 53%,transparent 67%);
  mask-image:radial-gradient(circle at 50% 50%,#000 53%,transparent 67%);
}
.moves-art img{width:100%;height:100%;object-fit:cover;filter:var(--art-dim)}
.seq h2{max-width:13ch;margin-bottom:clamp(24px,3vw,38px)}
.step{padding:20px 0 20px 22px;border-left:2px solid var(--line)}
.step:first-of-type{border-left-color:var(--ember)}
.step h3{font-family:var(--f-display);font-weight:700;font-size:1.2rem;letter-spacing:-.02em;margin-bottom:6px}
.step p{font-size:.9375rem;color:var(--ink-2);max-width:42ch}
@media (max-width:820px){
  .moves{grid-template-columns:1fr}
  .moves-art{max-width:420px;margin-inline:auto}
}

/* ── requirements ──────────────────────────────────────────────────────── */
.reqs{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(24px,5vw,64px);align-items:start}
.reqs ul{list-style:none;display:grid;gap:16px}
.reqs li{position:relative;padding-left:26px;color:var(--ink-2);font-size:1rem;line-height:1.55}
.reqs li::before{
  content:"";position:absolute;left:0;top:.5em;width:12px;height:2px;
  background:var(--ember);border-radius:2px;
}
.reqs li b{color:var(--ink);font-weight:600}
@media (max-width:820px){.reqs{grid-template-columns:1fr}}

/* ── faq ───────────────────────────────────────────────────────────────── */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line-soft)}
.faq summary{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:22px 0;cursor:pointer;list-style:none;
  font-family:var(--f-display);font-weight:700;font-size:1.0625rem;letter-spacing:-.018em;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";flex:none;width:11px;height:11px;
  border-right:2px solid var(--ember);border-bottom:2px solid var(--ember);
  transform:rotate(45deg) translateY(-3px);
  transition:transform .22s var(--ease);
}
.faq details[open] summary::after{transform:rotate(225deg) translateY(-3px)}
.faq .answer{padding:0 0 24px;color:var(--ink-2);max-width:62ch}

/* ── closing: type on the open snow beside the lantern ─────────────────── */
.closing-wrap{padding-block:0}
.closing{position:relative;isolation:isolate;min-height:clamp(440px,54vw,620px);display:grid;align-items:center}
/* Layer order is explicit: art, then scrim, then type. Leaving the art and the
   scrim on the same z-index put the scrim underneath, because a ::before still
   paints before a real child at the same level. */
.closing-art{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:50% 44%;z-index:0;
  filter:var(--art-dim);
  -webkit-mask-image:linear-gradient(#0000 0,#000 11%,#000 89%,#0000 100%);
  mask-image:linear-gradient(#0000 0,#000 11%,#000 89%,#0000 100%);
}
/* The type sits on open snow, but the crop moves with the viewport, so a scrim
   guarantees the contrast instead of trusting the composition to hold. */
.closing::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(96deg,
    var(--paper) 0,var(--paper) 25%,
    rgba(var(--paper-rgb),.93) 38%,rgba(var(--paper-rgb),.5) 54%,rgba(var(--paper-rgb),0) 70%);
}
.closing-copy{position:relative;z-index:2;width:100%;display:grid;justify-items:start;gap:16px;padding-block:clamp(48px,7vw,80px)}
.closing-copy h2{max-width:13ch}
.closing-copy p{max-width:33ch}
.closing-copy .btn{margin-top:10px}
/* On a narrow screen there is no open snow left to put type on: a scrim strong
   enough to keep the copy readable erases the lantern, and the lantern is the
   argument. So the picture stops being a background and becomes a band, with
   the copy under it on plain paper. */
@media (max-width:820px){
  .closing{display:block;min-height:0}
  .closing::before{display:none}
  .closing-art{
    position:static;height:clamp(240px,62vw,360px);object-position:50% 46%;
    -webkit-mask-image:linear-gradient(#000 74%,#0000 100%);
    mask-image:linear-gradient(#000 74%,#0000 100%);
  }
  .closing-copy{padding-top:clamp(20px,5vw,36px)}
}

/* ── the cost of not having it ─────────────────────────────────────────────

   Rows under hairlines, not a row of cards: the block is a ledger of what an
   absent evening costs, and a ledger has rows. The heading column holds the
   left third and the ledger runs down the right, which is the same broken grid
   the jobs list uses one section further down. */
.cost{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,6vw,80px);align-items:start}
.cost-lead h2{max-width:15ch}
.cost-lead .prose{margin-top:20px}
@media (max-width:900px){.cost{grid-template-columns:1fr}}

.losses{list-style:none;display:grid}
.loss{padding-block:clamp(18px,2.4vw,26px);border-top:1px solid var(--line)}
.loss:first-child{border-top:0;padding-top:0}
.loss h3{font-family:var(--f-display);font-weight:700;font-size:clamp(1.1rem,1.9vw,1.35rem);letter-spacing:-.022em}
.loss p{margin-top:7px;color:var(--ink-2);font-size:.9375rem;max-width:52ch}

/* The one line the section is written to land on, so it is set in the display
   face and in the accent, and it is the only thing under the last hairline. */
.cost-close{
  margin-top:clamp(22px,3vw,32px);padding-top:clamp(18px,2.4vw,26px);
  border-top:1px solid var(--line);
  font-family:var(--f-display);font-weight:500;line-height:1.25;letter-spacing:-.02em;
  font-size:clamp(1.15rem,2vw,1.5rem);color:var(--ember-ink);max-width:36ch;
}

/* ── jobs: additions to the cadence header ─────────────────────────────── */
.jobs-note{margin-top:14px;max-width:34ch}
.cad-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.cad-row .cad{margin-bottom:0}

/* ── plan cards ────────────────────────────────────────────────────────────

   Shared by the landing teaser and the pricing grid, which is why they live
   here rather than in pricing.css: two pages showing the same three plans in
   two different card designs is one product with two prices as far as a reader
   is concerned.

   Two columns and not three, and the columns are not equal: the featured plan
   gets the wider one. A row of three identical cards is the shape DESIGN.md
   rules out, and the custom tier — which has no number — takes the full width
   on the pricing page instead of pretending to be comparable. */
.tease-head{max-width:56ch;margin-bottom:clamp(28px,4vw,44px)}
.tease-head .prose{margin-top:18px}

.plans{
  display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  gap:clamp(16px,2.2vw,26px);align-items:stretch;
}
@media (max-width:860px){.plans{grid-template-columns:1fr}}

.plan{
  display:flex;flex-direction:column;min-width:0;
  border:1px solid var(--line);border-radius:12px;background:var(--surface);
  padding:clamp(22px,3vw,32px);box-shadow:var(--lift);
}
.plan.on{border-color:var(--ember-edge);background:var(--ember-wash);box-shadow:var(--lift-2)}
/* Name, price and the button in one block, the list under it. The button sits
   at a fixed distance from the number instead of at the foot of the card, so
   two cards whose feature lists translate to different lengths still put their
   two buttons on the same line. */
.plan-side{display:flex;flex-direction:column;min-width:0}
.plan-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.plan .tag{margin-top:10px;color:var(--ink-2);font-size:.9375rem;max-width:40ch}

.plan .amt{
  display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;
  margin-top:clamp(18px,2.4vw,26px);
  font-family:var(--f-display);font-weight:700;line-height:1;letter-spacing:-.03em;
}
.plan .amt .cur{font-size:clamp(1.35rem,2.2vw,1.75rem);color:var(--ink-2)}
.plan .amt .v{font-size:clamp(2.6rem,5vw,3.5rem)}
.plan .amt .talk{font-size:clamp(1.5rem,2.6vw,2rem);letter-spacing:-.025em}
/* The unit is a label on a number, so it is set in the data face and sized
   down to it rather than competing with the figure. */
.plan .amt .per{
  font-family:var(--f-mono);font-weight:400;font-size:.75rem;letter-spacing:.04em;
  line-height:1.4;color:var(--ink-2);
}

.plan .feat{list-style:none;display:grid;gap:11px;margin-top:clamp(22px,3vw,30px)}
.plan .feat li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;font-size:.9375rem;color:var(--ink-2)}
.plan .feat .tk{width:15px;height:15px;margin-top:.3em;color:var(--ember-ink)}
/* Not included: struck through AND named. A rule drawn across a line is a
   colour-only signal to anyone not looking closely, so the label it stands for
   is carried in text for a screen reader — and the text keeps --ink-2 rather
   than dropping to --ink-3, which is under AA at this size. The strike is the
   de-emphasis; the tone does not have to be. */
.plan .feat li.no{color:var(--ink-2)}
.plan .feat li.no > span{text-decoration:line-through}
.plan .feat li.no .tk{color:var(--faint)}
.plan .btn{margin-top:clamp(20px,2.6vw,28px)}

.tease-foot{margin-top:clamp(22px,3vw,32px);color:var(--ink-2);max-width:72ch}
.tease-foot .more{
  color:var(--ember-ink);font-weight:600;
  text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;
}
.tease-foot .more:hover{text-decoration-thickness:2px}

/* ── requirements: what it needs beside what it will not do ────────────── */
.reqcols{display:grid;gap:clamp(24px,4vw,40px)}
@media (min-width:900px){.reqcols{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rgroup h3{margin-bottom:16px}
.reqs .rlist li{font-size:.9375rem}
/* The second list is the honest half, so its marks step back to a rule tone
   while the text stays at full reading contrast. */
.rlist.off li::before{background:var(--faint)}

/* ── faq ───────────────────────────────────────────────────────────────── */
.faq-h2{max-width:22ch;margin-bottom:clamp(24px,3vw,36px)}

/* ── closing: the line under the button ────────────────────────────────── */
.closing-copy .note{color:var(--ink-2);max-width:36ch}

/* ── footer ────────────────────────────────────────────────────────────── */
.foot{border-top:1px solid var(--line);padding-block:36px;margin-top:var(--rhythm)}
.foot .row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.foot .brand .name{font-size:.95rem}
.fnav{display:flex;align-items:center;gap:20px;flex-wrap:wrap;min-width:0}
.fnav a{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;color:var(--ink-2)}
.fnav a:hover{color:var(--ink)}
/* --ink-2 and not --ink-3: --ink-3 measures 3.53:1 on paper, which is under AA
   for text this size, and this line is the one legal sentence on the page. */
.foot .row .legal{flex:1 1 320px;text-align:end;color:var(--ink-2)}
/* text-align:end is a POSITION IN A ROW — the sentence sitting at the far end
   of the bar, opposite the mark. Below ~800px the row wraps and the same
   declaration turns it into a ragged right-hand block standing under the left
   edge of everything else, which is what it looked like on every phone. Once
   it is on its own line it is set like any other line. */
@media (max-width:820px){
  .foot .row .legal{flex-basis:100%;text-align:start}
}

/* ── text carried for assistive tech only ──────────────────────────────── */
.vh{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;
  clip-path:inset(50%);overflow:hidden;white-space:nowrap;
}

/* ── scripts we do not ship fonts for ──────────────────────────────────────

   base.css neutralises the tight display tracking for the d1/d2/d3 scale. The
   elements below are this page's own display and label faces, which sit
   outside that scale and would otherwise close the CJK columns up. */
:root[data-script="jp"] .job h4,:root[data-script="kr"] .job h4,:root[data-script="zh"] .job h4,
:root[data-script="jp"] .step h3,:root[data-script="kr"] .step h3,:root[data-script="zh"] .step h3,
:root[data-script="jp"] .faq summary,:root[data-script="kr"] .faq summary,:root[data-script="zh"] .faq summary,
:root[data-script="jp"] .loss h3,:root[data-script="kr"] .loss h3,:root[data-script="zh"] .loss h3,
:root[data-script="jp"] .cost-close,:root[data-script="kr"] .cost-close,:root[data-script="zh"] .cost-close,
:root[data-script="jp"] .plan .amt,:root[data-script="kr"] .plan .amt,:root[data-script="zh"] .plan .amt{
  letter-spacing:0;line-height:1.4;
}
/* .16em across small caps is a style on Latin and a spaced-out word on CJK,
   the same call base.css makes for .eyebrow. */
:root[data-script="jp"] .cad,:root[data-script="kr"] .cad,:root[data-script="zh"] .cad{letter-spacing:.04em}

/* ── tariffs: first day free, PC or cloud ── */
.trial{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:4px 10px;border-radius:999px;font:600 .8125rem/1.2 var(--f-text);background:var(--ok-wash);color:var(--ok);border:1px solid var(--ok-edge)}
.trial::before{content:"✓"}
/* The switch is two radios before the panes; CSS shows the checked one's pane. */
.tar-r{position:absolute;opacity:0;pointer-events:none}
.ttog{display:inline-grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 22px;border:1px solid var(--line);border-radius:12px;background:var(--sunk)}
.ttog label{padding:10px 18px;border-radius:9px;color:var(--ink-2);font:600 .9375rem/1.2 var(--f-text);cursor:pointer;text-align:center}
.ttog label small{display:block;margin-top:2px;font:500 .75rem/1.3 var(--f-text);color:var(--ink-3)}
#tar-pc:checked ~ .ttog label[for="tar-pc"],#tar-cloud:checked ~ .ttog label[for="tar-cloud"]{background:var(--raised);color:var(--ink);box-shadow:var(--lift)}
#tar-pc:focus-visible ~ .ttog label[for="tar-pc"],#tar-cloud:focus-visible ~ .ttog label[for="tar-cloud"]{outline:2px solid var(--ember)}
#tar-pc:checked ~ .pane-cloud,#tar-cloud:checked ~ .pane-pc{display:none}
.plan .tag.min{margin-top:-4px}
.plan.pay .plan-side{width:100%}
.pay-t{width:100%;border-collapse:collapse;margin-top:14px}
.pay-t td{padding:12px 8px 12px 0;border-top:1px solid var(--line);vertical-align:middle}
.pay-t .tot{font-weight:700;font-size:1.125rem;white-space:nowrap}
.pay-t .note{color:var(--ink-3);font-size:.8125rem}
