/* The landing, Rankoon's own: Willow's calm craft (warm paper, a badge over a centred headline, an ink pill with a
   coloured arrow coin, a quiet logo row, a node diagram of how it works, a bento with one deep-coloured tile) in his
   orange: the amber-to-tangerine of his hoodie and logo tile, on cream, with espresso ink. The hero's film is his
   golden-hour studio in a wide rounded card under the words. */
.landing {
  --paper: #fbf6ef;
  --paper-2: #f4ebdf;
  --card: #ffffff;
  --ink: #231a12;
  --ink-2: #5e5248;
  --ink-3: #958878;
  --line: #ece1d2;
  --line-2: #e2d4c1;
  --sk: #efe7dc;
  --orange: #f7931e;
  --orange-hi: #ffb04a;
  --orange-lo: #ea7c0c;
  --orange-ink: #b25700;
  --orange-soft: #fff1de;
  --dark: #25180e;
  --good: #1d8457;
  --mint: #e2f3e9;
  --bad: #c0392b;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--sans);
}
.landing h1, .landing h2, .landing h3 { font-family: var(--sans); color: inherit; text-wrap: balance; font-weight: 600; }
.landing a { color: inherit; }
.landing main { overflow: clip; }
.bm { width: 18px; height: 18px; flex: none; }
.bm-openai { color: #0d0d0d; }
.bm-googlegemini { color: #8e75b2; }
.bm-claude { color: #d97757; }
.bm-shopify { color: #5e8e3e; }

/* ---------- the ink pill with an orange coin (and the orange pill with an ink coin) */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 44px; padding: 0 7px 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff !important; font: 600 15px var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, transform .15s var(--ease); }
.cta:hover { background: #3a2c20; }
.cta:active { transform: scale(.98); }
.cta:disabled { opacity: .7; cursor: default; }
.cta i { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--orange); color: var(--ink); transition: transform .25s var(--ease); }
.cta i::before { content: ''; width: 13px; height: 13px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.cta:hover i { transform: translateX(2px); }
.cta.big { height: 54px; padding: 0 8px 0 24px; font-size: 16px; }
.cta.big i { width: 38px; height: 38px; }
.cta.orange { background: var(--orange); color: var(--ink) !important; }
.cta.orange:hover { background: var(--orange-hi); }
.cta.orange i { background: var(--ink); color: #fff; }

/* ---------- the news line and the bar */
.news { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 8px 16px; background: var(--orange); color: var(--ink); font-size: 14.5px; font-weight: 550; text-decoration: none; text-align: center; }
.news b { flex: none; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: #fff; }
.news svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .2s var(--ease); }
.news:hover svg { transform: translateX(2px); }
.bar { position: sticky; top: 0; z-index: 30; background: rgba(251, 246, 239, .86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s; }
.bar.stuck { border-bottom-color: var(--line); }
.bar-in { max-width: 1240px; margin: 0 auto; height: 72px; padding: 0 24px; display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 650 21px var(--sans); letter-spacing: -0.035em; }
.logo img { border-radius: 9px; box-shadow: 0 3px 10px -4px rgba(170, 80, 0, .5); }
.bar-nav { display: flex; gap: 4px; }
.bar-nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s, background .2s; }
.bar-nav a:hover { color: var(--ink); background: var(--paper-2); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.bar-sign { font-size: 15px; font-weight: 600; text-decoration: none; }

/* ---------- the hero: the one line and the address on the left, Rankoon waving from his floating desk on the right. The
   film has no frame: its cream backdrop is the hero's own colour, and its edges melt away, so nothing looks cut */
.hero { --glow: #f4e7d5; max-width: 1240px; margin: 0 auto; padding: 24px 24px 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 32px; align-items: center; min-height: calc(100svh - 112px); position: relative; }
.hero::before { content: ''; position: absolute; z-index: -1; right: -10%; top: 50%; width: min(980px, 80vw); aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(closest-side, var(--glow) 0%, var(--glow) 42%, rgba(244, 231, 213, 0) 100%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(38px, 3.9vw, 60px); line-height: 1.06; letter-spacing: -0.042em; max-width: 15.5ch; }
/* the AI as one brand chip: its app tile and its name in a white pill, turning to the next AI by itself (or on a tap) */
.eng { all: unset; box-sizing: border-box; display: inline-block; position: relative; height: 1.1em; padding: 0; vertical-align: -0.17em; border-radius: .26em; background: #fff; box-shadow: 0 0 0 .025em rgba(35, 26, 18, .09), 0 .16em .4em -.2em rgba(90, 50, 10, .45); overflow: hidden; cursor: pointer; transition: width .5s var(--ease), box-shadow .2s; white-space: nowrap; }
@media (hover: hover) { .eng:hover { box-shadow: 0 0 0 .03em var(--orange), 0 .16em .4em -.2em rgba(90, 50, 10, .45); } }
.eng:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.eng-in { display: inline-flex; align-items: center; gap: .15em; height: 100%; padding: 0 .24em 0 .11em; transition: transform .5s var(--ease), opacity .35s; }
.eng-in b, .eng-m b { font-weight: 600; letter-spacing: -0.045em; }
.eng .bm, .eng-m .bm { width: .8em; height: .8em; padding: .14em; box-sizing: border-box; border-radius: .2em; flex: none; }
.eng[data-k="chatgpt"] .bm, .eng-m [data-k="chatgpt"] .bm { background: #0d0d0d; color: #fff; }
.eng[data-k="gemini"] .bm, .eng-m [data-k="gemini"] .bm { background: #efeafb; color: #7b5fc4; }
.eng[data-k="claude"] .bm, .eng-m [data-k="claude"] .bm { background: #d97757; color: #fff; }
.eng.out .eng-in { transform: translateY(-105%); opacity: 0; transition: transform .22s cubic-bezier(.5, 0, .9, .4), opacity .18s; }
.eng.from .eng-in { transform: translateY(105%); opacity: 0; transition: none; }
.eng-m { position: absolute; visibility: hidden; pointer-events: none; white-space: nowrap; }
.eng-m > span { display: inline-flex; align-items: center; gap: .15em; padding: 0 .24em 0 .11em; }
/* "you": underlined in orange, and once an address is typed, the store itself in a white pill */
.you { background: linear-gradient(var(--orange), var(--orange)) 0 94% / 100% .09em no-repeat; transition: background-color .3s; }
.you.typed { background: #fff; padding: 0 .16em; border-radius: .22em; box-shadow: 0 0 0 .025em rgba(35, 26, 18, .09), 0 .16em .4em -.2em rgba(90, 50, 10, .45); overflow-wrap: anywhere; }
.rivals { color: var(--orange-lo); }

.check { margin: 32px 0 0; width: min(560px, 100%); height: 64px; padding: 5px; display: flex; align-items: center; gap: 6px; background: var(--card); border-radius: 999px; box-shadow: 0 0 0 1px var(--line-2), 0 14px 34px -20px rgba(90, 50, 10, .45); transition: box-shadow .2s; }
.check:focus-within { box-shadow: 0 0 0 2px var(--orange), 0 14px 34px -20px rgba(90, 50, 10, .45); }
.check-field { flex: 1; min-width: 0; display: flex; }
.check input { width: 100%; border: 0; background: transparent; font: 500 17.5px var(--sans); padding: 0 8px 0 22px; height: 54px; color: var(--ink); }
.check input::placeholder { color: #ad9f90; }
.check input:focus { outline: none; }
.check .cta { flex: none; }
.check-note { margin-top: 12px; padding-left: 22px; font-size: 14px; color: var(--ink-3); min-height: 1.5em; }
.check-note.bad { color: var(--bad); }
.check-note a { color: var(--ink); font-weight: 650; }

/* the film: square, the whole floating desk inside it, its edges dissolving into the glow behind */
.stage { position: relative; margin: 0; width: 100%; max-width: min(640px, calc(100svh - 150px)); aspect-ratio: 1; justify-self: center; }
.stage::before { content: ''; position: absolute; inset: 0; background: var(--glow) url('/media/cream-desk.webp') 50% 50% / cover no-repeat; -webkit-mask: radial-gradient(closest-side, #000 70%, transparent 100%); mask: radial-gradient(closest-side, #000 70%, transparent 100%); }
.film-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0; transition: opacity .8s; -webkit-mask: radial-gradient(closest-side, #000 70%, transparent 100%); mask: radial-gradient(closest-side, #000 70%, transparent 100%); }
.film-v.on { opacity: 1; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px rgba(90, 50, 10, .06), 0 20px 40px -20px rgba(90, 50, 10, .45); text-align: left; }
.f-pick { left: 2%; bottom: 14%; }
.f-logo { display: grid; }
.f-pick .bm { width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: #0d0d0d; color: #fff; }
.f-pick[data-k="gemini"] .bm { background: #efeafb; color: #7b5fc4; }
.f-pick[data-k="claude"] .bm { background: #d97757; color: #fff; }
.f-pick span { display: grid; line-height: 1.25; }
.f-pick em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.f-pick b { font-size: 15.5px; font-weight: 650; }
.ok { width: 22px; height: 22px; flex: none; }
.ok circle { fill: var(--good); }
.ok path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the first screen's one moment: the words, then the address, then Rankoon */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .check, .hero .check-note, .stage { opacity: 0; transform: translateY(12px); animation: up .9s var(--ease) forwards; }
  .hero .check { animation-delay: .2s; }
  .hero .check-note { animation-delay: .3s; }
  .stage { animation-delay: .35s; }
}
@keyframes up { to { opacity: 1; transform: none; } }

/* ---------- the engines, quiet, like a "trusted by" row */
.engines { max-width: 1200px; margin: 0 auto; padding: 72px 24px 0; text-align: center; }
.engines p { font-size: 14.5px; color: var(--ink-3); }
.engines ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.engines li { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: #8c7f71; }
.engines .bm { width: 24px; height: 24px; color: #8c7f71; }

/* ---------- sections */
.sec { max-width: 1200px; margin: 0 auto; padding: 136px 24px 0; }
.landing h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.04em; }
.head { text-align: center; }
.head p { margin: 16px auto 0; max-width: 46ch; font-size: 18.5px; color: var(--ink-2); }

/* how it works: a node diagram, the lines drawn by landing.mjs between the cards */
.flow { position: relative; margin-top: 56px; display: grid; grid-template-columns: 1.15fr .8fr 1fr 1.25fr 1fr; gap: 56px; align-items: center; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.flow-lines path { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.flow-lines path.run { stroke: var(--orange); stroke-width: 2; stroke-dasharray: 3 14; stroke-linecap: round; animation: run 1.6s linear infinite; }
@keyframes run { to { stroke-dashoffset: -34; } }
.node { position: relative; z-index: 1; background: var(--card); border-radius: 18px; padding: 14px 16px; box-shadow: 0 0 0 1px var(--line), 0 12px 28px -20px rgba(90, 50, 10, .4); display: grid; gap: 4px; text-align: left; }
.node b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.n-k { font-size: 13px; color: var(--ink-3); }
.n-r { justify-items: center; text-align: center; padding: 18px 14px; border-radius: 24px; box-shadow: 0 0 0 1.5px var(--orange), 0 16px 34px -18px rgba(200, 100, 0, .55); }
.n-r img { width: 56px; height: 56px; border-radius: 15px; margin-bottom: 6px; }
.n-eng { position: relative; z-index: 1; display: grid; gap: 12px; }
.n-e { grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 12px 11px 14px; border-radius: 14px; }
.n-e .bm { width: 18px; height: 18px; }
.n-e b { font-size: 15px; }
.tag { font-size: 12px; font-weight: 650; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tag.no { background: #fbebe8; color: var(--bad); }
.tag.yes { background: var(--mint); color: var(--good); }
.n-f .diff, .did .diff { display: grid; gap: 3px; margin-top: 8px; background: var(--paper); border-radius: 12px; padding: 9px 11px; font-size: 13.5px; width: fit-content; }
.diff s { color: var(--ink-3); text-decoration-color: #cbbfb1; }
.diff em { font-style: normal; color: var(--good); font-weight: 600; }
.n-s { grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.n-s .bm { grid-row: 1 / 3; width: 22px; height: 22px; }

/* the example */
.example { text-align: center; }
.flip { margin-top: 30px; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); gap: 2px; }
.flip button { appearance: none; border: 0; background: transparent; font: 600 15px var(--sans); color: var(--ink-2); padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.flip button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(90, 50, 10, .15); }
.flip button[data-flip="after"].on { background: var(--orange); color: var(--ink); }
.ex { margin-top: 36px; text-align: left; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.chat { background: var(--card); border-radius: 24px; padding: 22px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(90, 50, 10, .5); display: grid; gap: 14px; }
.chat-top { display: flex; align-items: center; gap: 9px; font-size: 15px; }
.chat-top b { font-weight: 650; }
.chat-top .bm { width: 20px; height: 20px; }
.chat-ask { justify-self: end; max-width: 85%; background: var(--paper-2); padding: 11px 16px; border-radius: 18px 18px 4px 18px; font-size: 16px; }
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pk { display: grid; grid-template-columns: 22px 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 12px 8px 6px; border-radius: 16px; animation: pk-in .45s var(--ease) both; }
.pk:nth-child(2) { animation-delay: .06s; }
.pk:nth-child(3) { animation-delay: .12s; }
@keyframes pk-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pk-n { font-size: 15px; font-weight: 650; color: var(--ink-3); text-align: center; }
.pk img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; background: var(--paper-2); }
.pk-t { display: grid; gap: 1px; min-width: 0; }
.pk-t b { font-size: 16px; font-weight: 650; display: flex; align-items: center; gap: 8px; min-width: 0; }
.pk-t span { font-size: 14px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-p { font-size: 15px; font-weight: 600; }
.pk.you { background: var(--orange-soft); box-shadow: inset 0 0 0 1.5px var(--orange); }
.pk.you .pk-n { color: var(--orange-ink); }
.pk-t .pk-tag { overflow: visible; white-space: nowrap; flex: none; padding: 2px 8px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 11.5px; font-weight: 700; line-height: 1.4; }
.chat-verdict { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; font-size: 15px; font-weight: 600; }
.chat-verdict svg { width: 18px; height: 18px; flex: none; }
.chat[data-state="before"] .chat-verdict { background: #fbebe8; color: var(--bad); }
.chat[data-state="after"] .chat-verdict { background: var(--mint); color: var(--good); }
.did-wrap { display: grid; gap: 22px; }
.did-head { display: flex; align-items: center; gap: 14px; }
.did-head img { width: 64px; height: auto; filter: drop-shadow(0 8px 10px rgba(90, 50, 10, .2)); }
.did-head b { font-size: 22px; font-weight: 650; letter-spacing: -0.03em; }
.did { list-style: none; margin: 0; padding: 0; display: grid; position: relative; }
.did li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 18px; padding: 0 0 26px; position: relative; transition: opacity .4s; }
.did li:last-child { padding-bottom: 0; }
.did li:not(:last-child)::before { content: ''; position: absolute; left: 16px; top: 36px; bottom: 4px; width: 2px; background: var(--line); }
.did-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 650; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); transition: background .3s, color .3s, box-shadow .3s; }
.ex[data-state="after"] .did-n { background: var(--orange); box-shadow: none; }
.did b { display: block; font-size: 18px; font-weight: 650; letter-spacing: -0.015em; padding-top: 4px; }
.did span { font-size: 15.5px; color: var(--ink-2); }
.did .diff { background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 15px; }
.ex[data-state="before"] .did li { opacity: .5; }

/* ---------- the bento: one orange tile, one espresso tile, two white */
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.box { border-radius: 26px; padding: 26px; background: var(--card); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 22px; align-content: space-between; overflow: hidden; }
.box h3 { font-size: 21px; letter-spacing: -0.025em; line-height: 1.2; }
.box p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); max-width: 36ch; }
.b-orange, .b-dark { grid-column: span 2; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 28px; padding: 34px; }
.b-orange { background: radial-gradient(90% 120% at 0% 0%, #ffc66b 0%, rgba(255, 198, 107, 0) 60%), linear-gradient(150deg, #ffad45 0%, #f7931e 55%, #ec7f0d 100%); box-shadow: 0 30px 60px -40px rgba(200, 100, 0, .6); }
.b-orange h3 { font-size: 28px; }
.b-orange p { color: rgba(35, 20, 5, .78); font-size: 16.5px; }
.b-dark { background: radial-gradient(80% 100% at 100% 0%, rgba(247, 147, 30, .28), rgba(247, 147, 30, 0) 60%), var(--dark); color: #fff; box-shadow: none; }
.b-dark h3 { font-size: 28px; }
.b-dark p { color: rgba(255, 255, 255, .66); font-size: 16.5px; }
.screen { width: 100%; justify-self: center; background: #fff; color: var(--ink); border-radius: 16px; padding: 16px; box-shadow: 0 0 0 1px rgba(90, 50, 10, .07), 0 22px 44px -22px rgba(60, 30, 5, .45); display: grid; }
.box:not(.b-orange):not(.b-dark) .screen { background: var(--paper); box-shadow: none; }
.sk { display: block; height: 8px; border-radius: 99px; background: var(--sk); }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.d-grid { gap: 8px; }
.dg-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 30px); gap: 10px; align-items: center; justify-items: center; }
.dg-row > .sk { justify-self: start; }
.dg-head .bm { width: 16px; height: 16px; }
.t { width: 30px; height: 30px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px #e3d8ca; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--good); background: #fff; }
.t.in { box-shadow: inset 0 0 0 1.5px var(--good); background: var(--mint); }
.t.pick { background: var(--ink); box-shadow: none; }
.t.pick::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.d-fix { padding: 14px; }
.df-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 0 0 1px var(--line); }
.df-card img { width: 48px; height: 48px; border-radius: 10px; }
.df-card div { display: grid; gap: 4px; min-width: 0; }
.df-card s { font-size: 12px; color: var(--ink-3); text-decoration-color: #cbbfb1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.df-card em { font-style: normal; font-size: 12.5px; font-weight: 650; color: var(--good); line-height: 1.25; }
.df-card .sk { height: 6px; margin-top: 2px; }
.d-pub { gap: 8px; padding: 14px; }
.dp-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) 34px; gap: 10px; align-items: center; background: #fff; border-radius: 10px; padding: 9px 10px; box-shadow: 0 0 0 1px var(--line); }
.dp-row .bm { width: 16px; height: 16px; }
.dp-row.dim { opacity: .55; }
.dp-switch { width: 34px; height: 20px; border-radius: 99px; background: #ddd2c5; position: relative; }
.dp-switch i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .3s var(--ease); }
.dp-switch.on { background: var(--orange); }
.dp-switch.on i { left: 16px; }
.d-week { position: relative; align-content: end; height: 170px; }
.dw-bars { height: 128px; display: flex; align-items: flex-end; gap: 9px; }
.dw-bars i { flex: 1; height: 8%; border-radius: 6px 6px 3px 3px; background: #eadfd1; transition: height 1s var(--ease); }
.in .dw-bars i { height: var(--h); }
.dw-bars i.now { background: var(--orange); }
.dw-pill { position: absolute; top: 14px; right: 14px; font-size: 12.5px; font-weight: 650; color: var(--good); background: var(--mint); padding: 4px 10px; border-radius: 99px; }

/* ---------- pricing: the words left, the plan on espresso */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: center; }
.price-l h2 { max-width: 13ch; }
.price-l p { margin-top: 18px; max-width: 38ch; font-size: 18px; color: var(--ink-2); }
.price-l .price-more { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 16px; }
.price-more b { font-weight: 650; }
.plan { position: relative; overflow: hidden; border-radius: 28px; padding: 32px; color: #fff; background: radial-gradient(90% 70% at 100% 0%, rgba(247, 147, 30, .38), rgba(247, 147, 30, 0) 65%), var(--dark); display: grid; gap: 14px; box-shadow: 0 40px 80px -50px rgba(60, 30, 5, .7); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18px; font-weight: 600; }
.plan-tag { font-size: 12.5px; font-weight: 650; padding: 4px 10px; border-radius: 99px; background: var(--orange); color: var(--ink); }
.plan .price { font-size: 72px; font-weight: 650; letter-spacing: -0.055em; line-height: 1; }
.plan .price small { font-size: 18px; font-weight: 500; letter-spacing: 0; margin-left: 4px; color: rgba(255, 255, 255, .6); }
.plan ul { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; gap: 11px; font-size: 16px; }
.plan li { padding-left: 28px; position: relative; color: rgba(255, 255, 255, .88); }
.plan li::before { content: ''; position: absolute; left: 0; top: .15em; width: 19px; height: 19px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2 8.6 13l5.9-6' fill='none' stroke='%23231a12' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan .cta { justify-self: start; }

/* ---------- questions: the title left, the list right */
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 10v10M10 15h10' stroke='%23231a12' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; box-shadow: 0 0 0 1px var(--line-2); transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange); box-shadow: none; }
.faq details p { padding: 0 48px 22px 0; color: var(--ink-2); font-size: 16.5px; }

/* ---------- the last word: espresso, an orange glow, Rankoon cheering out of the top */
.end { max-width: 1240px; margin: 0 auto; padding: 170px 24px 40px; }
.end-in { position: relative; border-radius: 32px; padding: 64px 64px; min-height: 380px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; color: #fff; background: radial-gradient(60% 90% at 85% 100%, rgba(247, 147, 30, .55), rgba(247, 147, 30, 0) 70%), radial-gradient(50% 70% at 0% 0%, rgba(255, 176, 74, .16), rgba(255, 176, 74, 0) 70%), var(--dark); }
.end h2 { font-size: clamp(36px, 4.2vw, 60px); max-width: 11ch; }
.end .check { margin: 28px 0 0; box-shadow: none; }
.end .check-note { color: rgba(255, 255, 255, .6); padding-left: 22px; }
.end-rankoon { position: absolute; right: 40px; bottom: 0; width: 340px; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }

.foot { max-width: 1240px; margin: 0 auto; padding: 36px 24px 48px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 14.5px; }
.foot .logo { font-size: 19px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot p { margin-left: auto; color: var(--ink-3); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* a short laptop window: a tighter bar */
@media (min-width: 901px) and (max-height: 820px) {
  .news { min-height: 36px; padding: 6px 16px; font-size: 14px; }
  .bar-in { height: 64px; }
  .hero { min-height: calc(100svh - 100px); padding-top: 8px; }
  .hero h1 { font-size: clamp(38px, 3.9vw, 56px); }
  .check { margin-top: 26px; height: 60px; }
  .check input { height: 50px; }
  .check .cta.big { height: 50px; }
  .check .cta.big i { width: 36px; height: 36px; }
  .check-note { margin-top: 9px; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .flow { grid-template-columns: 1fr .8fr 1fr 1.15fr 1fr; gap: 36px; }
}

/* ---------- phones and narrow windows */
@media (max-width: 900px) {
  .landing { font-size: 16px; }
  .news { font-size: 13px; gap: 8px; padding: 8px 14px; }
  .news svg, .news-more { display: none; }
  .bar-in { height: 62px; padding: 0 16px; gap: 12px; }
  .bar-nav { display: none; }
  .bar-end { gap: 12px; }
  .bar-end .cta { height: 40px; padding: 0 6px 0 14px; font-size: 14px; gap: 8px; }
  .bar-end .cta i { width: 28px; height: 28px; }
  .logo { font-size: 19px; gap: 8px; }
  .logo img { width: 30px; height: 30px; border-radius: 8px; }
  .bar-sign { font-size: 14.5px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 4px; min-height: 0; padding: 30px 16px 0; text-align: center; }
  .hero::before { right: 50%; top: auto; bottom: -6%; transform: translateX(50%); width: 130vw; }
  .hero h1 { margin: 0 auto; font-size: clamp(30px, 8.9vw, 44px); letter-spacing: -0.045em; max-width: none; }
  /* "Find out if" and the AI chip stay on one line (a phone narrower than 360 px may break them) */
  .h1-lead { white-space: nowrap; }
  .check { margin: 22px auto 0; height: 58px; padding: 4px; }
  .check input { height: 50px; font-size: 16.5px; padding: 0 4px 0 16px; }
  .check .cta.big { height: 50px; padding: 0 6px 0 16px; font-size: 15px; gap: 8px; }
  .check .cta.big i { width: 36px; height: 36px; }
  .check-note { font-size: 13px; margin-top: 8px; padding-left: 0; }
  .stage { max-width: 100%; width: 112%; margin: -10px -6% 0; }
  .f-pick { left: 8%; bottom: 4%; padding: 8px 12px 8px 10px; }
  .f-pick b { font-size: 14.5px; }
  .engines { padding-top: 56px; }
  .engines ul { gap: 14px 28px; }
  .engines li { font-size: 17px; gap: 8px; }
  .engines .bm { width: 20px; height: 20px; }
  .sec { padding: 96px 16px 0; }
  .head p { font-size: 16.5px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 36px; justify-items: center; }
  .flow > .node, .n-eng { width: min(340px, 100%); }
  .n-r { width: auto !important; min-width: 180px; }
  .n-eng { grid-template-columns: 1fr 1fr; gap: 10px; }
  .n-e { padding: 10px; grid-template-columns: 18px minmax(0, 1fr); }
  .n-e .tag { grid-column: 1 / -1; justify-self: start; }
  .flip { margin-top: 22px; }
  .flip button { padding: 10px 16px; font-size: 14.5px; }
  .ex { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 22px; }
  .chat { padding: 14px; border-radius: 20px; }
  .pk { grid-template-columns: 18px 52px minmax(0, 1fr) auto; gap: 10px; padding: 6px 10px 6px 4px; }
  .pk img { width: 52px; height: 52px; }
  .pk-t b { font-size: 15px; }
  .pk-t .pk-tag { display: none; }
  .did-head img { width: 52px; }
  .did-head b { font-size: 19px; }
  .did b { font-size: 16.5px; }
  .ex[data-state="before"] .did li { opacity: 1; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .box, .b-orange, .b-dark { grid-column: auto; grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 18px; border-radius: 22px; }
  .box h3, .b-orange h3, .b-dark h3 { font-size: 20px; }
  .box p, .b-orange p, .b-dark p { font-size: 15px; }
  .dg-row { grid-template-columns: minmax(0, 1fr) repeat(3, 26px); gap: 8px; }
  .t { width: 26px; height: 26px; }
  .d-week { height: 140px; }
  .dw-bars { height: 100px; }
  .pricing { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .price-l p { font-size: 16.5px; }
  .plan { padding: 24px 22px; }
  .plan .price { font-size: 60px; }
  .plan .cta { justify-self: stretch; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .faq summary { font-size: 16.5px; padding: 18px 44px 18px 0; }
  .end { padding: 150px 12px 32px; }
  .end-in { grid-template-columns: minmax(0, 1fr); padding: 150px 22px 34px; min-height: 0; text-align: center; border-radius: 26px; }
  .end h2 { margin: 0 auto; }
  .end .check { margin: 22px auto 0; }
  .end .check-note { padding-left: 0; }
  .end-rankoon { right: 50%; transform: translateX(50%); top: -120px; bottom: auto; width: 230px; }
  .foot { padding: 28px 16px 40px; gap: 16px; }
  .foot p { margin-left: 0; width: 100%; }
}
@media (max-width: 359px) {
  .h1-lead { white-space: normal; }
  .send-t { display: none; }
  .check .cta.big { padding: 0 6px; }
  .bar-sign { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pk { animation: none; }
  .dw-bars i { transition: none; height: var(--h); }
  .flow-lines path.run { animation: none; }
}
