/* home-v2.css — editorial landing for My Ardie (home-v2.html)
   Brand palette (o_colors) + National Park only. Big type, small pills,
   colour floods per section (body[data-theme]), motion in js/home-v2.js. */

@property --page { syntax: "<color>"; inherits: true; initial-value: #e7f4ff; }
@property --fg   { syntax: "<color>"; inherits: true; initial-value: #2a456d; }

:root{
  --sky:#e7f4ff;        /* blue_light_base */
  --sky-2:#d7e1f7;      /* blue_light_neutral */
  --navy:#2a456d;       /* blue_dark_base */
  --ink:#22334c;
  --leaf:#8fc95d;       /* green_base */
  --green:#5e9636;
  --sun:#f1b650;        /* yellow_tag */
  --white:#fff;
  --gutter:clamp(16px, 3vw, 40px);
  --navh:84px;        /* room at the top for the stuck Sign up button (rule stack starts below it) */
  --ease:cubic-bezier(.16,1,.3,1);
}

body[data-theme="sky"]{ --page:var(--sky);  --fg:var(--navy); --soft:#5f7186; --pill:var(--navy); --pill-fg:var(--sky);  --line:rgba(42,69,109,.22); }
body[data-theme="navy"]{--page:var(--navy); --fg:var(--sky);  --soft:#a9bdd6; --pill:var(--sky);  --pill-fg:var(--navy); --line:rgba(231,244,255,.22); }
body[data-theme="sun"]{ --page:var(--sun);  --fg:var(--navy); --soft:#5b4a2a; --pill:var(--navy); --pill-fg:var(--sun);  --line:rgba(42,69,109,.3); }

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; overflow-x:clip; }
body{
  margin:0; background:var(--page); color:var(--fg);
  font-family:"National Park", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight:400; -webkit-font-smoothing:antialiased; overflow-x:clip;   /* clip, not hidden: hidden would turn body into a scroller and break the sticky rows */
  transition:--page .7s ease, --fg .7s ease;
}
b{ font-weight:800; }
a{ color:inherit; }
img{ max-width:100%; display:block; }
:focus-visible{ outline:3px solid var(--leaf); outline-offset:3px; border-radius:6px; }
.vh{ position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
main, .foot{ position:relative; }
section{ position:relative; padding:clamp(80px, 12vw, 160px) var(--gutter); scroll-margin-top:var(--navh); }

/* ---------- type ---------- */
.giant{
  margin:0; font-weight:800; text-transform:uppercase; letter-spacing:-.025em;
  font-size:clamp(28px, 10.6vw, 200px); line-height:.86;
}
.giant--md{ font-size:clamp(40px, 8vw, 132px); }
.ln{ display:block; overflow:hidden; padding-bottom:.15em; margin-bottom:-.04em; }
.ln > span{ display:inline-block; }
.lbl{ margin:0; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.narrow{ margin:0; max-width:15.5em; font-size:clamp(21px, 1.45vw, 21px); line-height:1.32; }

/* ---------- pills ---------- */
.pill, .tag{
  display:inline-flex; align-items:center; gap:8px; white-space:nowrap;
  font-size:13px; font-weight:800; line-height:1; text-decoration:none;
  padding:9px 14px; border-radius:100px;
  background:var(--page); color:var(--fg); border:1.5px solid var(--fg);
  transition:background-color .7s ease, color .7s ease, border-color .7s ease, transform .2s var(--ease);
}
a.pill:hover{ transform:translateY(-2px); }
.pill--solid, .tag{ background:var(--pill); color:var(--pill-fg); border-color:var(--pill); }
.pill--leaf, .tag--leaf{ background:var(--leaf); color:var(--navy); border-color:var(--leaf); }
.pill--sun,  .tag--sun { background:var(--sun);  color:var(--navy); border-color:var(--sun); }
.pill__dot{ width:16px; height:16px; border-radius:50%; background:var(--leaf); display:inline-block; margin-right:-6px; }

/* "you" bubble = what the resident types (navy, tail bottom-right, like the chat) */
.you{
  display:inline-block; margin:0; padding:12px 18px; border-radius:22px 22px 6px 22px;
  background:var(--pill); color:var(--pill-fg); font-weight:800; font-size:clamp(16px,1.6vw,22px); line-height:1.2;
  transition:background-color .7s ease, color .7s ease;
}

/* Ardie mark */
.mark{ display:block; width:48px; height:48px; flex:none; }

/* ---------- buttons (same bevel as #btn_get_started / chat .cta) ---------- */
.cta{
  display:inline-flex; align-items:center; gap:8px; align-self:flex-start; white-space:nowrap;
  background:#fff; color:var(--navy); font-weight:800; font-size:18px; line-height:20px; letter-spacing:-.025em;
  text-decoration:none; padding:14px 22px; border:5px solid var(--navy); border-radius:50px;
  box-shadow:var(--navy) -10px 5px 0; margin-left:10px;
}
.cta .arw{ transition:transform .2s var(--ease); }
.cta:hover .arw{ transform:translateX(5px); }
.cta--onnavy{ border-color:#fff; box-shadow:var(--leaf) -10px 5px 0; }

/* pinned Sign up: a separate fixed element outside the hero, so nothing that animates on scroll can
   affect it. Only transform and opacity change, which the browser handles without layout.
   The motion is on this wrapper because GSAP writes its own transform on the button when pressed. */
.float-cta{ position:fixed; z-index:60; top:16px; right:var(--gutter);
  transform:translate3d(0,-160%,0); opacity:0; visibility:hidden; will-change:transform;
  transition:transform .45s var(--ease), opacity .25s ease, visibility 0s linear .45s; }
.float-cta.is-on{ transform:translate3d(0,0,0); opacity:1; visibility:visible; transition-delay:0s; }

/* ---------- hero ----------
   Title on top, the photo under it, Ardie's chat overlapping the photo's lower part. As the intro's circle closes,
   each of the three rises smoothly 100px into place, top to bottom. The chat bubble shows "..." until 4.2s, then
   the message bubble pops in with an elastic scale and turn. */
.hero{
  min-height:100svh; padding-top:40px; padding-bottom:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
/* capped at 550px wide: the longest line ("life in Arden.") is ~5.7em, so the font tops out at 96px */
.hero__title{ grid-column:1 / -1; justify-self:center; width:100%; max-width:550px; text-align:center; position:relative; z-index:2; font-size:clamp(30px, 13vw, 96px); line-height:.92; letter-spacing:-.035em; text-transform:none; white-space:nowrap; }
/* page intro: Ardie pops in on a navy cover (0-.6s) and holds, then the cover closes into a circle that travels
   down and lands on the hero's Ardie, while the big Ardie shrinks onto it (2.5-3.25s): the cover becomes the hero
   icon. js/home-v2.js measures the hero icon and sets --ix/--iy/--ir (circle) and --dx/--dy/--s (big Ardie);
   without JS the circle just closes on the middle. 75% reaches the screen's corners from the middle.
   3.25s = when the chat's own rise has settled, so the swap is seamless. */
.intro{ position:fixed; width:100%; height:100%; z-index:100; display:grid; place-items:center; pointer-events:none;
  background-color:var(--navy);
  --ix:50%; --iy:50%; --ir:0px; --dx:0px; --dy:0px; --s:0;
  animation:introClose .75s cubic-bezier(.76,0,.24,1) 2.5s both; }
.intro__icon{ width:clamp(200px, 22vw, 300px); height:auto; aspect-ratio:1;
  animation:introPop .6s cubic-bezier(.34,1.56,.64,1) .1s both, introLand .75s cubic-bezier(.76,0,.24,1) 2.5s both; }
@keyframes introClose{ from{ clip-path:circle(75% at 50% 50%); visibility:visible; } to{ clip-path:circle(var(--ir) at var(--ix) var(--iy)); visibility:hidden; } }
@keyframes introLand{ to{ translate:var(--dx) var(--dy); scale:var(--s); } }
@keyframes introPop{ from{ opacity:0; transform:scale(.4); } to{ opacity:1; transform:none; } }

/* the rise: starts 100px low as the cover begins to lift (2.5s), a little later for each piece down the page */
.hero__title, .hero__stack, .hero__chat{ animation:heroRise 1.4s var(--ease) 2.25s both; }
.hero__stack{ animation-delay:2.35s; }
.hero__chat{ animation-delay:2.45s; }
@keyframes heroRise{ from{ transform:translateY(100px); } to{ transform:none; } }

.tag{ font-size:clamp(12px,1vw,15px); padding:10px 16px; }

/* the chat: icon and bubble share a bottom edge; it sits in the last row, at the bottom of the screen, and pulls
   up over the photo's lower part */
.hero__chat{ --mark:clamp(96px, 13vw, 190px); align-self:center; display:flex; justify-content:center; align-items:flex-end; gap:10px;
  position:relative; z-index:4;   /* in front of the photo (3) */
  margin-top:calc(-30px - clamp(60px, 9vw, 120px)); margin-bottom:30px; padding-bottom:clamp(30px, 5vw, 80px); }
.mark--xl{ width:var(--mark, clamp(96px, 13vw, 190px)); height:auto; aspect-ratio:1; }
.bubble{
  position:relative; isolation:isolate; color:var(--ink);
  padding:18px 24px 26px; font-size:21px; line-height:1.2;
  max-width:min(340px, 100%);
}
.bubble b{ color:var(--navy); }
.bubble__text{ display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
/* the white bubble; its small corner is the bottom left, the one pointing at Ardie */
.bubble::before{ content:""; position:absolute; z-index:-1; inset:0; background:#fff;
  border-radius:30px 30px 30px 5px; box-shadow:0 20px 40px -24px rgba(20,45,80,.45); }
/* "..." first: a small bubble of its own in the message bubble's bottom-left corner, next to Ardie, until 4.2s.
   Then the message bubble pops in from that corner: from scale 0, turned 30deg, with an elastic settle. */
/* .bubble-wrap holds both, so the dots sit at the message bubble's own corner while only the bubble animates */
.bubble-wrap{ position:relative; max-width:min(340px, 100%); }
.bubble__dots{ position:absolute; left:0; bottom:0;
  width:84px; height:56px; display:flex; align-items:center; justify-content:center; gap:7px;
  background:#fff; border-radius:30px 30px 30px 5px; box-shadow:0 20px 40px -24px rgba(20,45,80,.45);
  animation:bubbleDotsOut .15s linear 4.2s both; }
.bubble__dots i{ width:9px; height:9px; border-radius:50%; background:var(--navy); animation:typingDot 1s ease-in-out infinite; }
.bubble__dots i:nth-child(2){ animation-delay:.15s; }
.bubble__dots i:nth-child(3){ animation-delay:.3s; }
.hero__chat .bubble{ transform-origin:0 100%; animation:bubbleIn 1.1s ease-in-out 4.2s both; }
@keyframes bubbleIn{
  0%{ transform:scale(0) rotate(30deg); }
  32%{ transform:scale(1.1) rotate(-8deg); }
  50%{ transform:scale(.94) rotate(4deg); }
  66%{ transform:scale(1.04) rotate(-2deg); }
  82%{ transform:scale(.99) rotate(.6deg); }
  100%{ transform:none; } }
@keyframes bubbleDotsOut{ to{ opacity:0; visibility:hidden; } }
@keyframes typingDot{ 0%, 60%, 100%{ opacity:.3; transform:none; } 30%{ opacity:1; transform:translateY(-4px); } }

.bubble__hi{ margin:0; }
.bubble__note{ margin:0 0 6px; line-height:1.25; }
.bubble .cta{ margin-left:0; }   /* 10px further left than the default .cta offset */

/* the photo sits in the middle row, right above the chat */
.hero__stack{ align-self:center; width:min(500px, 100%); aspect-ratio:31 / 23;
  position:relative; z-index:3; }
.hero__photo{ position:absolute; inset:0; margin:0; border-radius:26px; overflow:hidden;
  box-shadow:0 24px 50px -28px rgba(20,45,80,.55); }
.hero__photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }



/* ---------- idea: slides ----------
   Without JS (or with reduced motion) the slides simply stack. js/home-v2.js adds .js-slides: the slides
   stay in a column, about a screen each; each icon moves through its pill
   and the clouds drift as the page scrolls. Without the script, everything simply rests in place. */
.row-label{ display:flex; justify-content:space-between; gap:16px; padding-bottom:14px; margin-bottom:clamp(30px,5vw,60px); border-bottom:1.5px solid var(--line); }
.slides__track{ display:flex; flex-direction:column; gap:clamp(56px, 8vw, 120px); }
/* one centred column on every screen: the icon card on top, the text under it */
.slide{ display:grid; grid-template-columns:minmax(0, 1fr); justify-items:center; align-content:center; gap:clamp(20px, 3.5vh, 40px); text-align:center; }
.slide__text{ margin:0; max-width:22ch; font-weight:800; font-size:clamp(34px, 4.6vw, 84px); line-height:.98; letter-spacing:-.03em; }
.slide__text .ipill--navy{ font-size:.6em; }

.js-slides{ padding-top:calc(var(--navh) + 8px); overflow:visible; }   /* the clouds spill past the section edges; html clips the sides */
/* one slide per screen, its content centred */
.js-slides .slides__track{ gap:0; }
/* a slide that stops mid-screen while its words swap sits in a holder as tall as the slide plus the stop
   (js/home-v2.js sets the height, and the slide's sticky top) */
.slide-hold{ flex:none; }
.js-slides .slide{ min-height:calc(100svh - var(--navh) - 40px); }

/* clouds: a sky of puffy clouds at different depths (js/home-v2.js builds them). Far ones are small, slow and
   behind the text; near ones are big, soft-edged and fast, along the left and right edges, and a very few of
   them (.puff--front) pass in front of the text.
   Each cloud is two elements: the outer .puff follows the scroll, the image inside it bobs gently on its own.
   They must stay on separate elements: Safari skips and drops clouds when one element runs both animations. */
.js-slides{ position:relative; }
/* the slides' cards and texts sit above the clouds behind (0) and below the few in front (2). They get their
   z-index one by one, not through .slides, so slide 1's Ardie can rise above the hero's photo (3) and chat (4)
   while it flies down from the hero (js/home-v2.js flyArdie). */
.js-slides .slides{ position:relative; }
.js-slides .stage, .js-slides .slide__text{ position:relative; z-index:1; }
.js-slides .slide--chat .stage{ z-index:5; }
.sky{ position:absolute; inset:0; pointer-events:none; }
.puff{ position:absolute; top:0; left:0; will-change:transform; }
.puff > img{ display:block; width:100%; height:auto; animation:puffBob 7s ease-in-out infinite alternate; }
.puff--far{ opacity:.85; z-index:0; }
.puff--mid{ z-index:0; }
.puff--near{ z-index:0; filter:blur(2px); }
.puff--front{ z-index:2; }
@keyframes puffBob{ from{ transform:none; } to{ transform:translateY(-14px); } }
/* where the browser has scroll-driven animations (.sky-css, set by js/home-v2.js), the scroll parallax is CSS,
   tied to the section crossing the screen (its view timeline, "cover": top at the bottom to bottom at the top),
   so it moves in the same frame as the scroll. --py (set by the script) is each cloud's offset at the end. */
.sky-css{ view-timeline-name:--idea; }
.sky-css .puff{ animation:puffPar 1s linear both; animation-timeline:--idea; }
@keyframes puffPar{ from{ transform:none; } to{ transform:translateY(var(--py, 0px)); } }

/* Ardie's flight (js/home-v2.js flyArdie): slide 1's icon flies from the hero icon's spot (--fx/--fy, size --fs)
   to its own, over the page scroll from --fa to --fb. Before --fa it's hidden (the hero icon shows); from --fa on
   the hero icon hides (they sit exactly on top of each other at that moment). */
.gi.fly{ animation:ardieFly 1s linear both, flyHide 1s linear; animation-timeline:scroll(root), scroll(root);
  animation-range:var(--fa) var(--fb), 0px var(--fa); }
.mark.fly-from{ animation:flyHide 1s linear forwards; animation-timeline:scroll(root); animation-range:var(--fa) var(--fb); }
@keyframes ardieFly{ from{ transform:translate(var(--fx), var(--fy)) scale(var(--fs)); } to{ transform:none; } }
@keyframes flyHide{ from, to{ visibility:hidden; } }

/* the card: one giant icon in the middle */
.stage{ display:grid; place-items:center; width:min(40vw, 58svh); aspect-ratio:1; container-type:size; overflow:hidden;
  border-radius:clamp(28px, 4vw, 48px); background:#fff; box-shadow:0 24px 50px -30px rgba(20,45,80,.5); }
.gi{ display:block; width:56cqw; height:auto; border-radius:22%; }
.gi--ardie{ width:100%; border-radius:50%; }
/* the other slides: a wide pill instead of a square, at most 250px wide; the icon is sized by its height */
.stage--pill{ width:min(100%, 250px); aspect-ratio:16 / 10; border-radius:999px; }
.stage--pill .gi{ width:auto; height:64cqh; }
.slide--ladder .gi{ filter:hue-rotate(205deg) saturate(.85); }   /* the red Helping Hand icon, tinted blue */
/* the assistance slide's urgent case brings in the icon in its own red (js/home-v2.js rolls the blue one up and
   out and this one up in from below). The two share the pill's one grid cell; without JS only the blue shows. */
.stage > .gi{ grid-area:1 / 1; }
.slide--ladder .gi--urgent{ display:none; filter:none; }
.js-slides .slide--ladder .gi--urgent{ display:block; }
/* slide 1: Ardie on its own, no card, the same 250px height as the pills */
.stage--bare{ width:min(100%, 250px); background:none; box-shadow:none; overflow:visible; }
/* room for the "chat with me" pill under the sentence: a bit more line height, and the pill sits centred on its
   line instead of raised, so it clears the descenders of the line above */
.slide--chat .slide__text{ line-height:1.2; }
.slide--chat .slide__text .ipill--navy{ transform:none; }

/* each word sits in its own mask and rises out of it with the scroll (js/home-v2.js); the padding keeps descenders */
.wd{ display:inline-block; overflow:hidden; vertical-align:top; padding:.1em 0 .12em; margin:-.1em 0 -.12em; }   /* room for descenders and the raised pill */
.wd > span{ display:inline-block; }

/* slide 2's last line swaps between the things Ardie can find as the page scrolls (js/home-v2.js rolls the
   reel up one line at a time). It looks like the rest of the text; the window is one line tall, as wide as
   the longest one; without the script it shows the first. */
.swap{ display:inline-block; height:1.2em; line-height:1.2; overflow:hidden; vertical-align:top; }
.swap__reel{ display:flex; flex-direction:column; align-items:center; }
.swap__reel > span{ display:block; height:1.2em; white-space:nowrap; }
/* .swap--block: the whole text swaps (the assistance slide: general, then urgent). Each case can run to a few
   lines; js/home-v2.js sets the window and every case to the tallest one's height. */
.swap--block{ display:block; height:auto; line-height:inherit; }
.swap--block .swap__reel > span{ height:auto; white-space:normal; }
/* room for the last line's descenders (the "y" in "Everyone's"): each case and its word mask get .22em more at
   the bottom, and negative margins give it back so the layout doesn't move */
.swap--block{ margin-bottom:-.22em; }
.swap--block .swap__reel > span{ padding-bottom:.22em; }
.wd:has(.swap--block){ padding-bottom:.22em; margin-bottom:-.22em; }
/* the urgent case is red: the assistance icon's own red */
.swap__urgent{ color:#fe6060; }

/* "chat with me" types itself out (js/home-v2.js); the caret blinks while it types */
.type.is-typing::after{ content:""; display:inline-block; width:.07em; height:1em; margin-left:.08em; vertical-align:-.12em; background:currentColor; animation:caret .7s steps(1) infinite; }
@keyframes caret{ 50%{ opacity:0; } }

/* big-text version (.idea--text on the section): a smaller Ardie on slide 1, the other icons in a smaller pill
   (remove the class to go back to the big Ardie and 250px pills) */
.idea--text .stage--bare{ width:min(100%, 200px); }
.idea--text .stage--pill{ width:min(100%, 160px); }
.idea--text .slide__text{ max-width:16ch; font-size:clamp(44px, 7vw, 132px); }   /* the text has the slide to itself */
@media (max-width: 900px){ .idea--text .slide__text{ max-width:none; font-size:clamp(36px, 10.5vw, 84px); } }

/* the icons' motion lives in js/home-v2.js (iconMoves): driven by the scroll, it plays forwards and backwards */

@media (max-width: 900px){
  .slide{ gap:clamp(20px, 3vh, 32px); }
  .slide__text{ max-width:none; font-size:clamp(28px, 7.4vw, 56px); }
}

.ipill{
  display:inline-flex; align-items:center; justify-content:center; vertical-align:middle;
  height:.86em; min-width:1.5em; padding:0 .32em; border-radius:100px; background:#fff;
  font-size:1em; transform:translateY(-.06em);
}
.ipill img{ height:.7em; width:auto; }
.ipill--navy{ background:var(--navy); color:var(--sky); font-size:.42em; height:2.05em; padding:0 .9em; letter-spacing:0; text-transform:none; transform:translateY(-.15em); }

/* ---------- ask: stacked rules ---------- */
.ask__head{ display:flex; flex-direction:column; align-items:flex-end; gap:12px; margin-bottom:clamp(30px,5vw,60px); text-align:right; }
.ask__head .giant{ text-align:left; align-self:stretch; margin-top:20px; text-transform:none; line-height:.92; letter-spacing:-.035em; }
.rules{ position:relative; }
.rule{
  /* bar = 10px gap + .you (24px padding + its line of text) + 10px gap + the next row's 1.5px border, which covers its end */
  --bar:calc(45.5px + 1.2 * clamp(16px, 1.6vw, 22px));
  /* every row ends on this same line, so they all release together at the end of the section and none slides over
     the bar above. 490px leaves room for the last row's content; on short screens the line sits below the fold. */
  --rule-end:max(100svh - 40px, var(--navh) + 4 * var(--bar) + 490px);
  position:sticky; top:calc(var(--navh) + var(--i) * var(--bar));
  min-height:calc(var(--rule-end) - var(--navh) - var(--i) * var(--bar));
  background:var(--page); border-top:1.5px solid var(--line);
  transition:background-color .7s ease;
}
.rule__bar{ height:var(--bar); display:flex; align-items:flex-start; justify-content:flex-end; }
.rule__bar .you{ margin-top:10px; }
.rule__body{ display:grid; grid-template-columns:1fr auto; gap:32px; padding:clamp(16px, 4vh, 48px) 0 60px; }
.rule__title{ margin:0; font-weight:800; letter-spacing:-.035em; font-size:clamp(42px, 9vw, 150px); line-height:.98; color:var(--fg); }   /* roomier than the caps version: Title Case has descenders */
.rule__side{ display:flex; flex-direction:column; gap:20px; padding-top:8px; }
.rule__ico{ width:84px; height:84px; border-radius:24px; background:#fff; padding:10px; }
.rule__ico--ardie{ padding:0; border-radius:50%; background:none; }
.rules::after{ content:""; display:block; height:10vh; }

/* ---------- cloud ---------- */
/* editorial pair: huge, tight headline with a light, much smaller line under it */
.cloud__title{ font-size:clamp(26px, 14vw, 124px); line-height:.92; letter-spacing:-.035em; text-transform:none; }
.cloud__sub{ margin:0; font-weight:400; font-size:clamp(18px, 2.2vw, 32px); line-height:1.05; letter-spacing:-.02em; }
.cloud__pills{
  list-style:none; margin:clamp(40px,6vw,80px) auto 0; padding:0; max-width:1100px;
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px 8px;
}
.cloud__pills li{
  font-weight:800; font-size:clamp(15px, 1.6vw, 24px); line-height:1;
  padding:.7em 1.1em; border-radius:100px; border:2px solid var(--navy); background:#fff; color:var(--navy);
}
.cloud__pills li:nth-child(3n){ rotate:-3deg; } .cloud__pills li:nth-child(4n+1){ rotate:2deg; } .cloud__pills li:nth-child(5n+2){ rotate:-1.5deg; }
.cloud__pills .c-navy{ background:var(--navy); color:var(--sky); }
.cloud__pills .c-leaf{ background:var(--leaf); border-color:var(--leaf); }
.cloud__pills .c-sun{ background:var(--sun); border-color:var(--sun); }

/* ---------- photos ---------- */
.photo{ margin:0; position:relative; border-radius:26px; overflow:hidden; }
.photo img{ width:100%; height:100%; object-fit:cover; }

/* ---------- trust ---------- */
.trust .giant{ text-transform:none; line-height:.92; letter-spacing:-.035em; }
.trust__grid{ display:grid; grid-template-columns:1.25fr 1fr; gap:clamp(24px,5vw,80px); margin-top:clamp(40px,6vw,80px); align-items:start; }
.trust__grid .photo{ aspect-ratio:4/3.2; }
.steps{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.steps li{ display:grid; grid-template-columns:44px 1fr; gap:6px 12px; padding:20px 0; border-top:1.5px solid var(--line); align-items:center; }
.steps li:last-child{ border-bottom:1.5px solid var(--line); }
.step__n{ font-weight:800; font-size:13px; }
.steps .pill{ justify-self:start; font-size:15px; }
.steps p{ grid-column:2; margin:0; font-size:clamp(17px,1.4vw,20px); line-height:1.32; max-width:22em; }

/* ---------- another app ---------- */
.other__grid{ display:grid; grid-template-columns:1fr auto; gap:clamp(24px,5vw,80px); align-items:end; }
.strikes{ text-transform:none; line-height:.92; letter-spacing:-.035em; }
.strikes > span{ display:block; position:relative; width:max-content; max-width:100%; }
.strike{ color:var(--soft); }
.strike::after{
  content:""; position:absolute; left:-2%; right:-2%; top:46%; height:.11em; border-radius:99px;
  background:var(--navy); transform-origin:left center; transform:scaleX(var(--s, 1));
}
.keep{ color:var(--green); }
.other__side{ display:flex; flex-direction:column; gap:24px; width:min(340px, 100%); }
.photo--sm{ aspect-ratio:4/5; }

/* ---------- price ---------- */
.price .giant{ font-size:clamp(56px, 15vw, 260px); }
.price__row{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-top:40px; flex-wrap:wrap; }
.price .tag{ font-size:15px; rotate:-4deg; }

/* ---------- footer ---------- */
.foot{ padding:clamp(80px,12vw,150px) var(--gutter) 0; overflow:hidden; }
.foot__top{ display:grid; grid-template-columns:1.3fr 1fr; gap:48px; }
.foot__say{ margin:0 0 36px; font-weight:800; font-size:clamp(36px, 5vw, 76px); line-height:.95; letter-spacing:-.03em; }
.foot__note{ margin:22px 0 0; color:var(--soft); font-size:15px; }
.foot__cols{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; align-content:start; }
.foot__cols > div{ display:flex; flex-direction:column; gap:10px; font-size:15px; }
.foot__cols .lbl{ color:var(--soft); margin-bottom:4px; }
.foot__cols a{ text-decoration:none; }
.foot__cols a:hover{ text-decoration:underline; }
.foot__cols p{ margin:0; line-height:1.4; }
.foot__legal{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-top:70px; padding-top:18px; border-top:1.5px solid var(--line); font-size:13px; color:var(--soft); }
.foot__legal p{ margin:0; }
.wordmark{
  margin:20px 0 0; display:flex; justify-content:center; white-space:nowrap;
  font-weight:800; font-size:20.5vw; line-height:.78; letter-spacing:-.045em; color:var(--fg);
  transform:translateY(.08em);
}
.wordmark span{ display:inline-block; }

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .rule__body{ grid-template-columns:1fr; }
  .rule__side{ flex-direction:row; align-items:flex-start; }
  .rule__ico{ width:64px; height:64px; border-radius:18px; flex:none; }
  .trust__grid, .other__grid, .foot__top{ grid-template-columns:1fr; }
  .other__side{ width:100%; flex-direction:row; align-items:flex-start; }
  .other__side .photo{ width:42%; flex:none; }
  .foot__cols{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  :root{ --navh:72px; }
  .other__side{ flex-direction:column; }
  .other__side .photo{ width:100%; aspect-ratio:16/10; }
  .foot__cols{ grid-template-columns:1fr; }
  .cta{ font-size:17px; padding:12px 18px; }
  .float-cta{ top:12px; }
}
@media (max-height: 700px){   /* too short for the stack: the stuck bars would leave little room for a row's content */
  .rule{ position:relative; top:auto; min-height:0; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  body{ transition:none; }
  .float-cta{ transition:none; }
  .intro{ display:none; }
  .hero__chat .bubble, .hero__title, .hero__stack, .hero__chat{ animation:none; }
  .bubble__dots{ display:none; }
}
