/* Landing page and guide pages. Legal pages keep their own inline styles. System fonts, per DESIGN.md. */
:root {
  --bg: #121210; --text: #F4F4F0; --muted: #CFCDC6; --line: rgba(244, 244, 240, .1);
  --orange: #FF5C1A; --hot: #FF7A3D; --peach: #FFD9C4; --amber: #FFB547; --ink: #1A0E08;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); }
body {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.55; font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
ul { list-style: none; }
a { color: var(--hot); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--peach); outline-offset: 4px; border-radius: 8px; }
p, li { color: var(--muted); font-size: 18px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--peach); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* page: soft glows down the whole length, clipped so nothing scrolls sideways */
.page {
  position: relative; overflow: hidden; overflow: clip;
  background:
    radial-gradient(55% 1400px at 85% 0, rgba(255, 92, 26, .30), transparent 70%),
    radial-gradient(60% 1400px at 0 20%, rgba(255, 140, 50, .16), transparent 70%),
    radial-gradient(55% 1400px at 100% 42%, rgba(255, 92, 26, .2), transparent 70%),
    radial-gradient(60% 1400px at 0 64%, rgba(180, 60, 20, .26), transparent 70%),
    radial-gradient(55% 1400px at 100% 84%, rgba(255, 181, 71, .12), transparent 70%),
    radial-gradient(70% 1200px at 50% 100%, rgba(255, 92, 26, .28), transparent 70%),
    var(--bg);
}

/* the streak */
.streak { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.streak use { fill: none; stroke: url(#sg); vector-effect: non-scaling-stroke; stroke-linecap: round; }
.s-halo { stroke-width: 90px; opacity: .07; }
.s-glow { stroke-width: 22px; opacity: .22; }
.s-core { stroke-width: 4px; opacity: .95; }
@media (max-width: 700px) {
  .s-halo { stroke-width: 50px; }
  .s-glow { stroke-width: 14px; }
  .s-core { stroke-width: 3px; }
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(18, 18, 16, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 23%; }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--text); font-size: 15px; }

main, .foot { position: relative; z-index: 1; }

/* the one headline pattern: verb-led, huge, heavy, key phrase in orange */
.hl {
  font-weight: 900; text-transform: uppercase; color: var(--text);
  font-size: clamp(42px, 4vw + 18px, 76px); line-height: .9; letter-spacing: -.04em;
  text-wrap: balance;
}
.hl em { display: block; font-style: normal; color: var(--orange); text-shadow: 0 0 60px rgba(255, 92, 26, .45); }
/* keyword line that sits on top of each headline */
.kick { display: block; margin-bottom: 18px; color: var(--peach); font-size: 13px; line-height: 1.4; font-weight: 800; letter-spacing: .16em; text-shadow: none; }

/* CTA: official badge, unmodified, with clear space; QR on desktop */
.cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; }
.badge { display: inline-block; padding: 12px; line-height: 0; transition: transform 160ms var(--ease-out); }
.badge:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .badge:hover { transform: translateY(-2px); } .badge:hover:active { transform: translateY(-2px) scale(.97); } }
.badge img { width: 150px; height: 50px; }
.qr { display: flex; align-items: center; gap: 12px; text-align: left; }
.qr img { width: 88px; height: 88px; background: #fff; padding: 6px; border-radius: 12px; image-rendering: pixelated; }
.qr p { font-size: 14px; line-height: 1.35; max-width: 13ch; color: var(--muted); }

/* phone frame drawn around raw captures */
.phone {
  position: relative; width: 300px; max-width: 70vw; padding: 10px;
  background: #0A0A08; border-radius: 50px;
  box-shadow: inset 0 0 0 1.5px #3A3732, 0 0 0 1px #24221F, 0 60px 100px -30px rgba(0, 0, 0, .85);
}
.screen { position: relative; display: block; border-radius: 40px; overflow: hidden; }
.screen::after { /* Dynamic Island */
  content: ""; position: absolute; top: 1.6%; left: 50%; transform: translateX(-50%);
  width: 30%; height: 3.4%; border-radius: 99px; background: #000;
}
.phone.crop { padding-bottom: 0; border-radius: 50px 50px 0 0; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.phone.crop .screen { aspect-ratio: 640 / 900; border-radius: 40px 40px 0 0; }
.tilt-r { transform: rotate(6deg); }
.tilt-l { transform: rotate(-6deg); }

/* pieces cut from real screens and widget renders */
.fly, .out { position: absolute; z-index: 3; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .06); }
.fly img, .out img { width: 100%; }

/* hero */
.hero { text-align: center; padding: clamp(40px, 6vw, 80px) 20px 0; }
.hero-icon { margin: 0 auto 26px; width: clamp(84px, 9vw, 112px); border-radius: 23%; box-shadow: 0 0 0 8px rgba(255, 92, 26, .12), 0 20px 60px -10px rgba(255, 92, 26, .6); }
.hero .hl { font-size: clamp(60px, 6vw + 24px, 112px); max-width: 15ch; margin-inline: auto; }
html:is([lang="ja"], [lang="zh-Hans"]) .hero .hl { max-width: none; } /* CJK phrases do not wrap by ch; the cap orphaned "タップ。" */
.hero .kick { font-size: clamp(13px, 1.3vw, 16px); }
.lede { max-width: 33em; margin: 26px auto 0; font-size: clamp(18px, 1.6vw, 21px); color: #E6E3DC; }

.stage { position: relative; max-width: 1180px; height: 720px; margin: 50px auto 0; }
.hero-phone { position: absolute; left: 50%; top: 20px; width: 320px; transform: translateX(-50%); z-index: 2; }
.far { z-index: 1; filter: blur(3px) saturate(.9); opacity: .7; }
.mid { z-index: 2; filter: blur(.8px); }
.near { z-index: 3; }
.f-kettle { width: 190px; left: 6%;  top: 40px;  transform: rotate(-12deg); border-radius: 22%; }
.f-today  { width: 170px; right: 6%; top: 20px;  transform: rotate(10deg); border-radius: 22%; }
.f-plants { width: 230px; left: 16%; top: 230px; transform: rotate(-6deg); border-radius: 22%; }
.f-oil    { width: 250px; right: 14%; top: 300px; transform: rotate(7deg); border-radius: 22%; z-index: 4; }
.f-undo   { width: 420px; left: 3%; top: 560px; transform: rotate(3deg); border-radius: 99px; }
.f-litter { width: 330px; right: 3%; top: 590px; transform: rotate(-4deg); }
.js .fly { animation: pop 600ms var(--ease-out) backwards; }
.js .f-plants { animation-delay: 80ms; } .js .f-oil { animation-delay: 140ms; } .js .f-undo { animation-delay: 200ms; }
.js .f-litter { animation-delay: 240ms; } .js .f-kettle, .js .f-today { animation-delay: 320ms; }

/* feature sections */
.sec {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
  max-width: 1220px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 64px);
}
.sec.flip .copy { order: 2; }
.copy p { margin-top: 26px; max-width: 30em; text-shadow: 0 0 10px var(--bg), 0 0 4px var(--bg); }
.copy.center { text-align: center; grid-column: 1 / -1; }
.copy.center p { margin-left: auto; margin-right: auto; }
.art { position: relative; display: grid; place-items: center; min-height: 600px; }

.pill {
  position: absolute; z-index: 5; top: 10px; right: 0; padding: 16px 28px; border-radius: 999px;
  font-size: clamp(20px, 2.4vw, 30px); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase;
  background: #fff; color: var(--ink); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6); transform: rotate(5deg);
}
.pill span { color: #C43D05; }

/* widget: the medium widget is the frame, the small one breaks out of it */
.wbig { width: 108%; max-width: 560px; border-radius: 42px; overflow: hidden; transform: rotate(-5deg) translateY(30px); box-shadow: 0 60px 100px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.wbig img { width: 100%; }
.out-wsmall { width: 40%; max-width: 230px; right: -2%; top: 40px; transform: rotate(9deg); border-radius: 22%; z-index: 4; }
.s-widget .pill { top: auto; bottom: 40px; right: auto; left: 0; transform: rotate(-4deg); }
.tap { /* a finger-tap ring on the widget */
  position: absolute; z-index: 5; left: 46%; top: 44%; width: 86px; height: 86px; border-radius: 50%;
  border: 4px solid var(--peach); background: rgba(255, 217, 196, .16); box-shadow: 0 0 40px rgba(255, 92, 26, .7);
}
.js .tap { animation: tap 2.6s ease-out infinite; }

/* detail */
.bubble {
  position: absolute; z-index: 4; top: 40px; left: 0; padding: 18px 24px; border-radius: 28px 28px 28px 6px;
  background: var(--orange); color: var(--ink); font-weight: 900; font-size: 22px; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6); transform: rotate(-4deg);
}
.s-detail .art { isolation: isolate; }
.giant { /* the unit label, blown up behind the phone */
  position: absolute; z-index: -1; bottom: 30px; right: -6%; color: transparent; -webkit-text-stroke: 2px rgba(255, 92, 26, .55);
  font-size: clamp(90px, 12vw, 170px); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; line-height: 1;
}

/* reset */
.s-reset .art { grid-column: 1 / -1; min-height: 0; padding-top: 30px; }
.s-reset .phone { width: 360px; }
.banner {
  position: absolute; z-index: 4; top: 80%; left: 50%; width: min(1100px, 130vw); transform: translateX(-50%) rotate(-4deg);
  display: flex; justify-content: center; flex-wrap: nowrap; gap: 0 28px; padding: 18px 20px;
  background: var(--orange); color: var(--ink); font-weight: 900; font-size: clamp(18px, 2.4vw, 32px);
  text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.banner span + span::before { content: "•"; margin-right: 28px; opacity: .55; }
.out-undo { width: 440px; left: calc(50% - 470px); top: 140px; transform: rotate(-6deg); border-radius: 99px; z-index: 5; }
.out-bar { width: 300px; right: calc(50% - 450px); top: 70px; transform: rotate(7deg); border-radius: 28px; z-index: 5; }

/* overdue */
.wmed { width: 108%; max-width: 560px; border-radius: 42px; overflow: hidden; transform: rotate(4deg); box-shadow: 0 60px 100px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.wmed img { width: 100%; }
.pill-remind { top: 30px; left: 0; right: auto; transform: rotate(-5deg); background: var(--peach); }
.out-oil { width: 70%; max-width: 380px; left: 4%; bottom: 0; transform: rotate(-5deg); }

/* photo */
.sheet { width: 330px; max-width: 76vw; border-radius: 34px; overflow: hidden; box-shadow: 0 60px 100px -30px rgba(0, 0, 0, .85); -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.out-litter { width: 84%; max-width: 420px; right: -6%; bottom: 120px; transform: rotate(5deg); }
.sources { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sources li { padding: 12px 22px; border-radius: 999px; font-weight: 900; font-size: clamp(16px, 1.7vw, 20px); text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); }
.sources li:nth-child(1) { background: #F4EFE4; transform: rotate(-3deg); }
.sources li:nth-child(2) { background: var(--amber); transform: rotate(2deg); }
.sources li:nth-child(3) { background: var(--orange); transform: rotate(-2deg); }

/* tiles: bento with icon chips */
.s-more { gap: 56px; }
.tiles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tiles li {
  display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 28px; font-size: 16px;
  background: rgba(32, 30, 27, .85); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tiles .t-wide { grid-column: span 2; }
.tiles .t-private { grid-column: 1 / -1; }
.tiles b { color: var(--text); font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.tiles .t-hot { background: var(--orange); border-color: transparent; color: var(--ink); font-size: 18px; }
.t-hot b { color: #120700; font-size: clamp(26px, 3vw, 38px); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; }
.t-private { background: linear-gradient(135deg, rgba(90, 36, 12, .9), rgba(32, 30, 27, .85)); }
.t-private a { color: var(--peach); text-decoration: underline; }
.chip { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 15px; background: var(--orange); box-shadow: 0 10px 24px -8px rgba(255, 92, 26, .7); }
.chip svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.t-hot .chip { background: var(--ink); box-shadow: none; }
.t-hot .chip svg { stroke: var(--peach); }

/* faq */
.s-faq { gap: 50px; }
.faq { grid-column: 1 / -1; max-width: 820px; width: 100%; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: rgba(32, 30, 27, .88); border: 1px solid var(--line); border-radius: 22px; padding: 0 24px; }
.faq details[open] { border-color: rgba(255, 92, 26, .45); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; color: var(--text); font-weight: 800; font-size: 19px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 30px; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; font-size: 17px; }

/* closing */
.final { position: relative; text-align: center; padding: clamp(90px, 12vw, 170px) 20px 90px; }
.final-icon { margin: 0 auto 30px; width: clamp(110px, 12vw, 140px); border-radius: 23%; box-shadow: 0 0 0 10px rgba(255, 92, 26, .12), 0 30px 90px -10px rgba(255, 92, 26, .75); }
.final .hl { font-size: clamp(54px, 4vw + 30px, 92px); }
.req { margin-top: 22px; font-size: 14px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px clamp(20px, 5vw, 64px) 44px; display: grid; gap: 12px; justify-items: center; text-align: center; background: rgba(18, 18, 16, .6); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.foot nav a { color: var(--text); font-size: 15px; }
.foot p { font-size: 12px; max-width: 46em; }
.foot .langs { gap: 6px 16px; }
.foot .langs a { color: var(--muted); font-size: 13px; }
.foot .langs a[aria-current] { color: var(--peach); font-weight: 700; }

/* localized pages: a word longer than the line breaks instead of overflowing; Japanese breaks between phrases;
   a long nav label wraps instead of squeezing the logo */
.hl { overflow-wrap: break-word; }
:lang(ja) .hl { word-break: auto-phrase; }
.nav .brand { flex-shrink: 0; }
.nav nav { text-align: right; }
html:not([lang="en"]) .badge img { width: auto; } /* localized badges keep their own aspect ratio */

/* motion: one curve, small distances, each thing once (Emil Kowalski's rules) */
/* sections: copy, then art, rise 16px as they come into view; tiles stagger */
.js .reveal > :not(.tiles), .js .tiles > li { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal > :nth-child(2), .js .tiles > li:nth-child(1) { transition-delay: 80ms; }
.js .final > :nth-child(3), .js .tiles > li:nth-child(2) { transition-delay: 140ms; }
.js .final > :nth-child(4), .js .tiles > li:nth-child(3) { transition-delay: 200ms; } .js .tiles > li:nth-child(4) { transition-delay: 260ms; }
.js .tiles > li:nth-child(5) { transition-delay: 320ms; } .js .tiles > li:nth-child(6) { transition-delay: 380ms; }
.js .reveal.in > :not(.tiles), .js .reveal.in .tiles > li { opacity: 1; transform: none; }
/* the pills, bubble and banner land a beat after their section */
.js .reveal .pill, .js .reveal .bubble, .js .reveal .banner { opacity: 0; scale: .96; transition: opacity 400ms var(--ease-out) 240ms, scale 400ms var(--ease-out) 240ms; }
.js .reveal.in .pill, .js .reveal.in .bubble, .js .reveal.in .banner { opacity: 1; scale: 1; }
@keyframes pop { from { opacity: 0; scale: .96; } }
@keyframes tap { 0% { scale: .6; opacity: 0; } 15% { scale: 1; opacity: 1; } 60%, 100% { scale: 1.5; opacity: 0; } }
/* scroll-linked, no JS: the streak draws itself down the page just ahead of the reader,
   and the hero widgets drift up at depth-based rates. Browsers without scroll timelines get the static page. */
@supports (animation-timeline: scroll()) {
  .js .streak {
    -webkit-mask: linear-gradient(#000 calc(100% - 300px), transparent) top / 100% 100% no-repeat;
    mask: linear-gradient(#000 calc(100% - 300px), transparent) top / 100% 100% no-repeat;
    animation: draw linear both; animation-timeline: scroll(root);
    /* own layer: the mask repaints every scroll frame, and without this it dragged the page's
       full-height glow gradients into a GPU re-raster each frame (Treato dropped ~50 of 500 frames) */
    will-change: transform;
  }
  .js .near, .js .mid, .js .far { animation: pop 600ms var(--ease-out) backwards, drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 800px; }
  .js .f-plants { animation-delay: 80ms, 0s; } .js .f-oil { animation-delay: 140ms, 0s; } .js .f-undo { animation-delay: 200ms, 0s; }
  .js .f-litter { animation-delay: 240ms, 0s; } .js .f-kettle, .js .f-today { animation-delay: 320ms, 0s; }
  .near { --d: -56px; } .mid { --d: -32px; } .far { --d: -14px; }
}
@keyframes draw { from { -webkit-mask-size: 100% calc(100vh + 120px); mask-size: 100% calc(100vh + 120px); } to { -webkit-mask-size: 100% calc(100% + 300px); mask-size: 100% calc(100% + 300px); } }
@keyframes drift { to { translate: 0 var(--d); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal > *, .js .tiles > li, .js .reveal .pill, .js .reveal .bubble, .js .reveal .banner { opacity: 1; transform: none; scale: none; }
}

/* tablet */
@media (max-width: 960px) {
  .sec { grid-template-columns: 1fr; gap: 30px; }
  .sec.flip .copy { order: 0; }
  .copy { text-align: center; }
  .copy p { margin-left: auto; margin-right: auto; }
  .sources { justify-content: center; }
  .stage { height: 660px; }
  /* fade the streak behind paragraphs where it crosses centred copy */
  .lede, .copy p, .req { position: relative; z-index: 0; }
  .lede::before, .copy p::before, .req::before {
    content: ""; position: absolute; inset: -14px -16px; z-index: -1; border-radius: 30px;
    background: rgba(18, 18, 16, .84); filter: blur(14px);
  }
  .f-kettle { left: 0; } .f-plants { left: 2%; } .f-undo { left: 0; }
  .f-today { right: 0; } .f-oil { right: 2%; } .f-litter { right: 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .t-wide { grid-column: 1 / -1; }
  .qr { display: none; }
}

/* phone width */
@media (max-width: 640px) {
  p, li { font-size: 17px; }
  .hl { font-size: 12vw; }
  .hero .hl { font-size: 17vw; }
  .stage { height: 640px; margin-top: 40px; }
  .hero-phone { width: 230px; top: 40px; }
  .f-kettle, .f-today { display: none; }
  .f-plants { width: 40%; left: -2%; top: 20px; }
  .f-oil    { width: 42%; right: -2%; top: 210px; }
  .f-undo   { width: 88%; left: 6%; top: 560px; }
  .f-litter { display: none; }
  .art { min-height: 0; padding: 20px 0 40px; }
  .phone { width: 250px; }
  .s-reset .phone { width: 270px; }
  .pill { font-size: 18px; padding: 12px 20px; top: 0; }
  .wbig, .wmed { width: 96%; border-radius: 28px; }
  .s-widget .art { padding: 60px 0 90px; }
  .out-wsmall { width: 36%; right: -1%; top: 10px; }
  .s-widget .pill { bottom: 10px; }
  .tap { width: 60px; height: 60px; }
  .bubble { font-size: 17px; padding: 14px 18px; top: 0; }
  .giant { right: 0; bottom: 10px; }
  .banner { top: 84%; gap: 0 14px; padding: 12px; font-size: 17px; }
  .banner span + span::before { margin-right: 14px; }
  .banner span:last-child { display: none; }
  .out-undo { width: 92%; left: 4%; top: 40px; }
  .out-bar { display: none; }
  .s-overdue .art { padding: 70px 0 150px; }
  .out-oil { width: 70%; left: 2%; bottom: 10px; }
  .out-litter { width: 72%; right: 0; bottom: 60px; }
  .tiles { gap: 12px; }
  .tiles li { padding: 20px 18px; font-size: 15px; border-radius: 24px; }
  .tiles b { font-size: 18px; }
  .chip { width: 42px; height: 42px; border-radius: 13px; margin-bottom: 6px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 17px; }
}

/* card strips: homepage guides, related guides, more apps */
.strip { max-width: 1220px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 64px); }
.strip-h { margin-bottom: 26px; color: var(--text); font-size: clamp(28px, 1.2vw + 18px, 38px); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px 56px 24px 24px;
  border-radius: 24px; background: rgba(32, 30, 27, .88); border: 1px solid var(--line); color: var(--text);
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.card:hover { text-decoration: none; border-color: rgba(255, 92, 26, .55); background: rgba(44, 38, 33, .94); }
.card:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-2px); } }
a.card:focus-visible { border-radius: 24px; }
.card b { font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.card-d { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; }
.card-go { position: absolute; right: 22px; top: 22px; color: var(--orange); font-size: 22px; font-weight: 800; line-height: 1; transition: translate 160ms var(--ease-out); }
.card:hover .card-go { translate: 3px 0; }
.app { padding-right: 24px; }
.app img { width: 56px; height: 56px; margin-bottom: 10px; border-radius: 23%; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7); }
.tag { align-self: flex-start; justify-self: start; margin-top: auto; padding: 4px 12px; border-radius: 999px; background: rgba(255, 92, 26, .14); color: var(--peach); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.app .card-d { margin-bottom: 12px; }
.also { margin-top: 22px; text-align: center; font-size: 15px; }

/* guide pages: same nav, footer and cards as the homepage; ~680px reading column */
.g-hero, .prose, .g-end { max-width: 728px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.g-hero { padding-top: clamp(40px, 6vw, 72px); }
.guide .hl { font-size: clamp(40px, 2.4vw + 26px, 60px); line-height: .95; }
.updated { margin-top: 16px; color: var(--muted); font-size: 14px; }
.guide .lede {
  max-width: none; margin: 26px 0 0; padding: 22px 24px; border-radius: 22px; color: var(--text); font-size: 19px; line-height: 1.5;
  background: rgba(32, 30, 27, .9); border: 1px solid rgba(255, 92, 26, .4); border-left: 5px solid var(--orange);
}
.guide .lede::before { content: none; }
.prose { padding-top: 34px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 54px; color: var(--text); font-size: clamp(24px, 3vw, 30px); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.prose h3 { margin-top: 30px; color: var(--text); font-size: 20px; font-weight: 800; }
.prose h2 + *, .prose h3 + * { margin-top: 14px; }
.prose .list { padding-left: 24px; }
.prose ul.list { list-style: disc; }
.prose ol.list { list-style: decimal; }
.prose .list li + li { margin-top: 8px; }
.prose .list li::marker { color: var(--orange); font-weight: 800; }
.prose strong { color: var(--text); }
.prose p a, .prose li a { text-decoration: underline; text-underline-offset: 3px; }
.note { font-size: 14px; }
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: rgba(32, 30, 27, .9); }
.table-wrap table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.table-wrap th, .table-wrap td { padding: 14px 16px; text-align: left; vertical-align: top; color: var(--muted); border-bottom: 1px solid var(--line); }
.table-wrap th { color: var(--peach); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 92, 26, .08); }
.table-wrap td:first-child { color: var(--text); font-weight: 800; }
.table-wrap tr:last-child td { border-bottom: 0; }
.prose .contact-card {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: center; margin: 34px 0; padding: 22px;
  border-radius: 24px; background: linear-gradient(135deg, rgba(90, 36, 12, .9), rgba(32, 30, 27, .88)); border: 1px solid rgba(255, 92, 26, .35);
}
.contact-card img { grid-row: span 3; width: 64px; height: 64px; border-radius: 23%; }
.contact-card .label { color: var(--peach); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-card a { justify-self: start; padding: 6px 0; color: var(--text); font-size: 21px; font-weight: 800; }
.contact-card .hint { color: var(--muted); font-size: 14px; }
.prose .faq { margin-top: 18px; }
.g-end { display: grid; justify-items: center; gap: 8px; margin-top: 80px; text-align: center; }
.g-end > img { width: 88px; height: 88px; margin-bottom: 16px; border-radius: 23%; box-shadow: 0 0 0 8px rgba(255, 92, 26, .12), 0 20px 60px -10px rgba(255, 92, 26, .6); }
.g-end-h { color: var(--text); font-size: clamp(22px, 3vw, 28px); font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
.g-end .req { margin-top: 0; }

@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 20px 52px 20px 20px; border-radius: 22px; }
  .app { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding-right: 20px; }
  .app img { grid-row: span 3; margin: 0; align-self: start; }
  .app .card-d { margin-bottom: 8px; }
  .tag { margin-top: 0; }
  .g-hero, .prose, .g-end { padding-left: 20px; padding-right: 20px; }
  .guide .lede { padding: 18px 18px; font-size: 18px; }
  .prose .contact-card { grid-template-columns: 52px 1fr; column-gap: 14px; padding: 18px; }
  .contact-card img { width: 52px; height: 52px; }
}
.g-hero .kick { text-transform: uppercase; }
.g-end .req::before { content: none; }
.strip + .strip { padding-top: 0; }
@media (min-width: 641px) { #h-related + .cards { grid-template-columns: 1fr 1fr; } }
