/* The homepage shares its colour, type and spacing tokens with the member app. */
.th-wrap { width:min(100%,1600px); margin-inline:auto; padding-inline:var(--edge); }
.tl-home main h1,.tl-home main h2,.tl-home main h3,.tl-home main p { margin:0; }
.tl-home main h1,.tl-home main h2,.tl-home main h3 { font-family:var(--display); font-weight:550; text-wrap:balance; }
.tl-home main img { display:block; }
.th-icon { width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.th-label { color:var(--accent); font-size:.9rem; font-weight:650; }
.th-location { display:flex; align-items:center; gap:var(--s3); }
.th-location::before { content:""; width:var(--s6); height:1px; background:currentColor; }
.th-button,.th-text-link { display:inline-flex; min-height:46px; align-items:center; justify-content:center; gap:var(--s3); text-decoration:none; font-size:.97rem; font-weight:650; }
.th-button { align-self:start; padding:var(--s3) var(--s5); border:1px solid var(--accent); border-radius:99px; color:var(--paper); background:var(--accent); transition:transform .18s ease,background .18s; }
.th-button:hover { background:var(--ink); transform:translateY(-2px); }
.th-button:active { transform:translateY(1px); }
.th-text-link { color:var(--accent); width:fit-content; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px; text-decoration-color:transparent; transition:text-decoration-color .18s; }
.th-text-link:hover { text-decoration-color:currentColor; }
.th-text-link .th-icon,.th-path a span { transition:transform .18s ease; }
.th-text-link:hover .th-icon { transform:translateX(3px); }

.th-hero { padding-block:var(--s6) var(--s7); background:color-mix(in srgb,var(--paper) 58%,white); }
.th-hero-grid { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); align-items:stretch; gap:clamp(var(--s6),4.5vw,var(--s8)); }
.th-hero-copy { display:flex; flex-direction:column; justify-content:center; align-items:start; }
.tl-home main h1 { margin-top:var(--s5); font-size:clamp(3.6rem,6.5vw,6.75rem); line-height:1; letter-spacing:-.038em; }
.th-hero-price { color:var(--accent); }
.tl-home .th-lead { max-width:39ch; margin-top:var(--s5); color:var(--muted); font-size:clamp(1.1rem,1.48vw,1.42rem); line-height:1.48; }
.th-actions { display:flex; flex-wrap:wrap; align-items:center; column-gap:var(--s5); row-gap:var(--s2); margin:var(--s6) 0 var(--s3); }
.th-offer {
  max-width:47ch;
  color:var(--muted);
  font-size:.81rem;
  line-height:1.55;
}
.th-offer + .th-offer { margin-top:var(--s2); }
.th-hero-art {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  justify-items:end;
  align-items:center;
  min-height:clamp(475px,44vw,650px);
  padding:clamp(var(--s4),4vw,var(--s8));
  border-radius:var(--round);
  background:var(--tone);
}
.th-hero-image { position:absolute; inset:0; z-index:-1; width:100%; height:100%; object-fit:cover; object-position:78% 48%; }
.th-hero-report {
  display:block;
  width:clamp(180px,18vw,255px);
  overflow:hidden;
  border:5px solid var(--ink);
  border-radius:26px;
  box-shadow:0 14px 36px rgb(36 45 40 / .32);
  transition:transform .2s ease;
}
.th-hero-report img { width:100%; height:auto; }
.th-hero-report:hover { transform:translateY(-3px); }
.th-hero-report:focus-visible { outline-color:var(--paper); }
.th-panel-menu {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--s3);
  margin-top:var(--s5);
}
@media (max-width:1050px) {
  .th-panel-menu { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.th-panel-menu a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--s2);
  min-height:57px;
  padding:var(--s2) var(--s4);
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  text-decoration:none;
}
.th-panel-menu a:hover { background:var(--tone); }
.th-panel-menu a:focus-visible { outline-offset:-4px; }
.th-panel-menu :is(strong,small) { display:block; }
.th-panel-menu strong { font:650 .92rem/1.2 var(--body); color:var(--ink); }
.th-panel-menu small { margin-top:2px; font-size:.72rem; color:var(--muted); }
.th-panel-icon {
  display:grid;
  place-items:center;
  flex:none;
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--accent);
  color:var(--paper);
}
.th-panel-icon .th-icon { width:18px; height:18px; }

.th-focus,.th-product,.th-journey { padding-block:clamp(var(--s7),6.5vw,var(--s9)); }
.th-section-head { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:var(--s7); align-items:end; margin-bottom:var(--s7); }
.tl-home main h2 { margin-top:var(--s3); font-size:clamp(3rem,5.1vw,5.2rem); line-height:.96; letter-spacing:-.064em; }
.th-section-head>p,.th-section-head>div>p:not(.th-label) { justify-self:end; max-width:37ch; color:var(--muted); font-size:clamp(1.06rem,1.25vw,1.25rem); line-height:1.52; }
.th-section-head>div:nth-child(2),.th-section-head>.th-text-link { justify-self:end; }
.th-focus-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:var(--s5);
  margin-bottom:var(--s6);
}
.tl-home .th-focus-head h2 {
  margin:0;
  max-width:17ch;
  text-wrap:pretty;
}
.th-browse-controls { display:flex; flex:none; gap:var(--s2); }
.th-browse-controls button {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  padding:0;
  border:1px solid var(--accent);
  border-radius:50%;
  background:var(--accent);
  color:var(--paper);
}
.th-browse-controls button[aria-disabled="true"] {
  border-color:var(--line);
  background:transparent;
  color:var(--accent);
  cursor:default;
}
.th-browse-controls button:not([aria-disabled="true"]):hover { background:var(--ink); }
.th-option-track {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:37%;
  gap:var(--s5);
  width:min(100%,1600px);
  margin-inline:auto;
  padding:var(--s1) var(--edge);
  overflow-x:auto;
  scroll-padding-inline:var(--edge);
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
}
.th-option-track:focus-visible { outline-offset:-3px; }
.th-option {
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border-radius:var(--round);
  background:var(--tone);
  scroll-snap-align:center;
}
.th-option:first-child { scroll-snap-align:start; }
.th-option:last-child { scroll-snap-align:end; }
.th-option > img {
  width:100%;
  height:auto;
  aspect-ratio:1.75;
  object-fit:cover;
}
.th-option-body {
  display:flex;
  flex-direction:column;
  flex:1;
  padding:var(--s5);
}
.tl-home .th-option h3 {
  color:var(--accent);
  font-size:clamp(1.55rem,2.6vw,2.35rem);
  line-height:1.06;
  letter-spacing:-.045em;
  text-wrap:initial;
}
.tl-home .th-option p {
  margin:var(--s2) 0 var(--s4);
  max-width:40ch;
  color:var(--muted);
  line-height:1.46;
}
.th-option-links { display:flex; flex-wrap:wrap; gap:0 var(--s4); margin-top:auto; border-top:1px solid color-mix(in srgb,var(--accent) 28%,transparent); }
.th-option-links a {
  display:inline-flex;
  align-items:center;
  gap:var(--s1);
  min-height:44px;
  color:var(--accent);
  font-size:.88rem;
  font-weight:650;
  text-underline-offset:4px;
}
.th-option-links a:hover { color:var(--ink); }
.th-question summary { display:flex; align-items:center; justify-content:space-between; gap:var(--s4); list-style:none; }
.th-question summary::-webkit-details-marker { display:none; }
.th-question[open] summary .th-icon { transform:rotate(45deg); }
.th-question summary:hover { color:var(--accent); }
@media (max-width:1050px) {
  .th-option-track { grid-auto-columns:59%; }
}
@media (prefers-reduced-motion:no-preference) {
  .th-option-track { scroll-behavior:smooth; }
}

.th-product { background:var(--accent); color:var(--paper); }
.th-product .th-label,.th-product .th-section-head>div>p:not(.th-label) { color:var(--tone); }
.th-product .th-section-head .th-text-link { margin-top:var(--s2); color:var(--paper); }
.th-product a:focus-visible,.th-product button:focus-visible { outline-color:var(--paper); }
.th-workbench { display:grid; grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr); min-height:500px; overflow:hidden; border-radius:var(--round); background:var(--paper); color:var(--ink); }
.th-device-stage { display:grid; place-items:center; padding:var(--s6); background:var(--tone); }
.th-phone-screen { display:block; overflow:hidden; width:clamp(178px,17vw,235px); aspect-ratio:1206/2622; border:5px solid var(--ink); border-radius:26px; box-shadow:0 15px 30px rgb(36 45 40 / .14); transition:transform .2s ease; }
.th-phone-screen:hover { transform:translateY(-2px); }
.th-phone-screen img { width:100%; height:100%; object-fit:cover; }
.th-reader { align-self:center; width:100%; max-width:720px; padding:var(--s6) clamp(var(--s5),4.7vw,var(--s8)); }
.th-reader-head,.th-reader-head>span { display:flex; align-items:center; justify-content:space-between; gap:var(--s2); }
.th-reader-head>span { font:600 1.2rem/1.2 var(--display); letter-spacing:-.035em; }
.th-reader-head small,.th-metadata { color:var(--muted); font-size:.82rem; }
.th-preview-tabs { display:flex; overflow:auto; gap:clamp(var(--s3),2.1vw,var(--s6)); margin-top:var(--s4); border-bottom:1px solid var(--line); }
.th-preview-tabs button { flex:none; min-height:46px; padding:0; background:transparent; border:0; border-bottom:2px solid transparent; color:var(--muted); font-size:.9rem; font-weight:550; }
.th-preview-tabs button[aria-selected="true"] { color:var(--accent); border-color:var(--accent); font-weight:700; }
.th-preview-tabs button:focus-visible { outline-offset:-4px; }
.th-workbench a:focus-visible,.th-workbench button:focus-visible { outline-color:var(--accent); }
.th-demo-page { padding-top:var(--s5); }
.th-demo-page+.th-demo-page { margin-top:var(--s4); border-top:1px solid var(--line); }
.th-reader:has(.th-preview-tabs:not([hidden])) .th-demo-page { margin-top:0; border-top:0; }
.tl-home .th-demo-page h3 { margin-top:var(--s2); font-size:clamp(1.8rem,3vw,3rem); line-height:1.02; letter-spacing:-.058em; }
.th-metadata span { margin-inline:var(--s1); }
.th-reading { margin:var(--s5) 0 var(--s2); }
.th-reading div { display:flex; justify-content:space-between; flex-wrap:wrap; gap:var(--s2); padding-block:var(--s3); border-bottom:1px solid var(--line); }
.th-reading div:first-child { display:block; padding-top:0; }
.th-reading dd { margin:0; font-variant-numeric:tabular-nums; }
.th-reading div:first-child dd { margin-top:var(--s2); color:var(--accent); }
.th-reading dd strong { font:570 clamp(2.5rem,4.2vw,4.2rem)/1 var(--display); letter-spacing:-.07em; }
.th-reading dt,.th-history th { font-weight:500; }
.th-answer,.th-history,.th-android-detail { margin-top:var(--s5)!important; }
.th-history { border-collapse:collapse; width:100%; }
.th-history th,.th-history td { border-bottom:1px solid var(--line); padding:var(--s3) 0; text-align:left; }
.th-history thead th { font-size:.82rem; font-weight:650; color:var(--muted); }
.th-history td,.th-history th:nth-child(2) { text-align:right; font-variant-numeric:tabular-nums; }
.th-demo-page>.th-text-link { margin-top:var(--s3); }
.th-question { border-block:1px solid var(--line); margin-top:var(--s4); }
.th-question summary { min-height:48px; font-weight:600; font-size:.92rem; }
.th-question>p { padding-bottom:var(--s3); color:var(--muted); }
.th-android-detail { display:flex; align-items:center; gap:var(--s5); text-decoration:none; color:var(--accent); }
.th-android-detail img { width:86px; height:auto; border:1px solid var(--line); border-radius:var(--s2); }
.th-android-detail span { display:inline-flex; align-items:center; gap:var(--s2); font-weight:600; }
.th-android-detail:hover span { text-decoration:underline; }

.th-journey-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(var(--s6),6vw,var(--s9)); align-items:stretch; }
@media(min-width:741px) {
  .th-journey-photo { grid-column:2; grid-row:1; }
  .th-path { grid-column:1; grid-row:1; }
}
.th-journey-photo { min-height:340px; position:relative; overflow:hidden; border-radius:var(--round); }
.th-journey-photo img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.th-path { list-style:none; counter-reset:steps; margin:0; padding:0; }
.th-path li { display:grid; grid-template-columns:auto minmax(0,1fr); gap:var(--s4); padding-block:var(--s5); border-top:1px solid var(--line); counter-increment:steps; }
.th-path li:last-child { padding-bottom:0; }
.th-path li::before { content:counter(steps); display:grid; place-items:center; width:var(--s6); height:var(--s6); background:var(--tone); color:var(--accent); border-radius:50%; font:600 .9rem/1 var(--body); }
.tl-home .th-path h3 { font-size:clamp(1.5rem,2.15vw,2.25rem); letter-spacing:-.045em; line-height:1.12; }
.tl-home .th-path p { margin-top:var(--s2); max-width:42ch; color:var(--muted); }
.th-path a { display:inline-flex; align-items:center; min-height:44px; gap:var(--s2); color:var(--accent); font-size:.9rem; font-weight:600; text-underline-offset:4px; }

@media (min-width:741px) and (max-width:970px) {
  .th-hero-grid { gap:var(--s5); }
  .th-section-head { gap:var(--s5); }
  .th-journey-grid { gap:var(--s6); }
  .th-reader { padding-inline:var(--s5); }
}
@media (max-width:740px) {
  .th-hero { padding-block:var(--s6); }
  .th-hero-grid,.th-section-head,.th-workbench,.th-journey-grid { grid-template-columns:minmax(0,1fr); }
  .th-hero-grid { min-height:auto; gap:var(--s4); }
  .th-hero-copy { display:grid; }
  .tl-home main h1 { margin-top:var(--s4); font-size:clamp(3.45rem,10.4vw,5.4rem); }
  .tl-home .th-lead { margin-top:var(--s4); font-size:1.08rem; line-height:1.43; }
  .th-actions { margin:var(--s4) 0 var(--s2); column-gap:var(--s4); }
  .th-actions a { gap:var(--s2); }
  .th-hero-art { min-height:0; padding:var(--s3); border-radius:var(--smallround); }
  .th-hero-image { object-position:82% 46%; }
  .th-hero-report { width:clamp(124px,43vw,214px); border-width:4px; border-radius:19px; }
  .th-panel-menu a { min-height:52px; gap:6px; padding-inline:10px; }
  .th-panel-icon { width:26px; height:26px; }
  .th-panel-icon .th-icon { width:15px; height:15px; }
  .th-panel-menu strong { font-size:.82rem; }
  .th-panel-menu small { font-size:.68rem; }
  .th-section-head { gap:var(--s4); margin-bottom:var(--s5); }
  .tl-home main h2 { font-size:clamp(2.8rem,9.2vw,4rem); }
  .th-section-head>p,.th-section-head>div:nth-child(2),.th-section-head>.th-text-link { justify-self:start; }
  .th-section-head>p,.th-section-head>div>p:not(.th-label) { max-width:42ch; font-size:1.02rem; }
  .th-focus-head { align-items:center; margin-bottom:var(--s5); gap:var(--s3); }
  .tl-home .th-focus-head h2 { font-size:clamp(2.2rem,8.6vw,4rem); max-width:14ch; }
  .th-browse-controls button { width:44px; height:44px; }
  .th-option-track { grid-auto-columns:86%; gap:var(--s3); }
  .th-option { border-radius:var(--smallround); }
  .th-option > img { aspect-ratio:1.5; }
  .th-option-body { padding:var(--s4); }
  .th-option-links { column-gap:var(--s3); }
  .th-product .th-section-head .th-text-link { margin-top:0; }
  .th-workbench { min-height:0; border-radius:var(--smallround); }
  .th-device-stage { justify-content:center; height:275px; align-content:start; overflow:hidden; padding:var(--s5) 0 0; }
  .th-phone-screen { align-self:start; width:205px; border-radius:22px; }
  .th-reader { padding:var(--s5) var(--s4); }
  .th-preview-tabs { gap:var(--s4); justify-content:space-between; }
  .th-preview-tabs button { font-size:.82rem; }
  .th-journey-grid { gap:var(--s5); }
  .th-journey-photo { min-height:0; aspect-ratio:1.6; border-radius:var(--smallround); }
  .th-path li { padding-block:var(--s4); gap:var(--s3); }
}
@media (max-width:365px) {
  .tl-home main h1 { font-size:clamp(2.35rem,12vw,2.8rem); }
  .th-actions { gap:var(--s1) var(--s2); }
  .th-button { padding-inline:var(--s3); }
  .th-actions a { font-size:.82rem; gap:var(--s1); }
  .th-actions .th-icon { width:16px; height:16px; }
  .th-preview-tabs { gap:var(--s2); }
}
@media (prefers-reduced-motion: no-preference) {
  .th-hero[data-enter] .th-hero-image { animation:th-light .65s ease-out both; }
  @keyframes th-light { from { transform:scale(1.025); } to { transform:scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  .tl-home main *,.tl-home main *::before { animation:none!important; transition:none!important; }
}

.th-option { position:relative; }
.th-option-links a::after { content:""; position:absolute; inset:0; }
.th-option:focus-within { outline:2px solid var(--accent); outline-offset:-3px; }
.th-option-track.is-dragging { scroll-snap-type:none; scroll-behavior:auto; cursor:grabbing; user-select:none; }
.th-option-track.is-dragging a { cursor:grabbing; }

.th-benefits {
  padding-block:clamp(var(--s7),6.5vw,var(--s9));
  background:color-mix(in srgb,var(--paper) 58%,white);
}
.tl-home .th-benefits .th-section-head > p { font-size:1rem; }
.th-benefits-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(var(--s6),5vw,var(--s9));
}
.th-benefits-photo {
  overflow:hidden;
  border-radius:var(--round);
  background:var(--tone);
}
.th-benefits-photo img { width:100%; height:100%; object-fit:cover; object-position:52% center; }
.th-benefit-list { margin:0; padding:0; list-style:none; }
.th-benefit-list li + li { border-top:1px solid var(--line); }
.th-benefit-list a {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:start;
  gap:var(--s3);
  padding:var(--s5) var(--s2);
  text-decoration:none;
}
.th-benefit-icon {
  display:grid;
  place-items:center;
  width:var(--s6);
  height:var(--s6);
  border-radius:50%;
  background:var(--tone);
  color:var(--accent);
}
.th-benefit-arrow { margin-top:var(--s2); color:var(--accent); transition:transform .18s ease; }
.th-benefit-list a:hover .th-benefit-arrow { transform:translateX(3px); }
.tl-home .th-benefit-list h3 { font-size:clamp(1.34rem,2.2vw,2rem); line-height:1.12; text-wrap:pretty; letter-spacing:-.035em; }
.th-benefit-tags {
  display:flex;
  flex-wrap:wrap;
  gap:var(--s1);
  margin-top:var(--s3);
}
.th-benefit-tags span {
  padding:4px var(--s3);
  border-radius:999px;
  background:var(--tone);
  color:var(--accent);
  font-size:.82rem;
  font-weight:650;
}
@media(max-width:740px) {
  .th-benefits-grid { grid-template-columns:minmax(0,1fr); gap:var(--s4); }
  .th-benefits-photo { order:1; aspect-ratio:1.65; border-radius:var(--smallround); }
  .th-benefit-list a { padding:var(--s4) 0; }
}
@media(prefers-reduced-motion:reduce) {
  .th-benefit-arrow { transition:none; }
  .th-benefit-list a:hover .th-benefit-arrow { transform:none; }
}
