/* kodekin.com — single-page studio site (V17 layout). No build step. */

:root {
  --night: #1c1d26;
  --charcoal: #282a36;
  --bar: #1f2029;
  --line: #3d4051;
  --on-dark: #f8f8f2;
  --muted: #d2d1dc;
  --cyan: #28b8cf;
  --lilac: #b99bf0;
  --purple: #6b45c4;
  --gutter: clamp(20px, 6vw, 80px);
  --font: 'DM Sans', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--on-dark); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.wrap { max-width: calc(1080px + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.nowrap { white-space: nowrap; }
.text-lilac { color: var(--lilac); }
.text-cyan { color: var(--cyan); }
.text-yellow { color: #f1fa8c; }
.text-green { color: #50fa7b; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 12px 16px; border-radius: 8px; background: var(--on-dark); color: var(--night); font-weight: 700; }
.skip-link:focus { top: 12px; }

.eyebrow { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--cyan); }
.eyebrow span { opacity: .6; }
.eyebrow--on-purple { color: #fff; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 12px; font-size: 18px; font-weight: 700; text-align: center; }
.button:hover { text-decoration: none; filter: brightness(1.06); }
.button--lilac { background: var(--lilac); color: var(--night); }
.button--ghost { background: transparent; color: var(--on-dark); border: 1.5px solid #6a6d80; font-weight: 600; }
.button--night { background: var(--night); color: #fff; font-weight: 600; }
.button--big { min-height: 68px; padding: 0 40px; border-radius: 16px; font-size: clamp(19px, 2.4vw, 24px); }

/* ---------- Header */
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 18px; }
.site-logo { display: flex; align-items: center; gap: 16px; min-height: 44px; }
.site-logo img { height: 32px; width: auto; }
.site-logo__divider { width: 1px; height: 24px; background: #4b4d5c; }
.site-logo__tag { font-family: var(--mono); font-size: 15px; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 17px; font-weight: 500; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav__cta { padding: 0 20px; border-radius: 10px; background: var(--lilac); color: var(--night); font-weight: 700; }

/* ---------- Hero: words on the left, one product scene on the right */
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 40px 48px; align-items: center; padding-block: 48px 56px; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.prompt { font-family: var(--mono); font-size: 15px; color: var(--cyan); }
.prompt span { color: var(--lilac); }
h1 { font-size: clamp(38px, 4.5vw, 62px); line-height: 1; letter-spacing: -.05em; font-weight: 700; color: #fff; }
.caret { display: inline-block; width: .09em; height: .82em; margin-left: .08em; vertical-align: -.04em; background: var(--cyan); border-radius: 3px; animation: blink 1.1s step-end infinite; }
.hero__sub { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: #e6e5ee; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.hero__actions .button { padding: 0 18px; font-size: 17px; }
.hero__stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.4; color: var(--muted); }
.hero__stores > span:first-child { display: flex; gap: 10px; }
.hero__stores strong { color: #fff; }
.hero__play { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; background: #fff; }

.scene { display: block; }
.scene:hover { text-decoration: none; }
.scene__art { position: relative; display: block; width: 100%; aspect-ratio: 1.28 / 1; }
.scene__art > span { position: absolute; display: block; }
.scene__glow { left: -8%; right: -8%; bottom: -4%; height: 50%; background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 70%); }
.scene__shadow { height: 7%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 70%); filter: blur(6px); z-index: 1; }
.scene__shadow--left { left: -2%; width: 38%; bottom: 3%; }
.scene__shadow--right { right: -2%; width: 36%; bottom: 3%; }
.scene__shadow--front { left: 14%; width: 72%; bottom: 0; }
.scene__tools { left: 0; bottom: 7%; width: 31%; z-index: 2; perspective: 1400px; }
.scene__tools-face { position: relative; display: block; transform: rotateY(22deg) rotateX(3deg); transform-origin: left bottom; border-radius: 14px; overflow: hidden; background: #f4f5f8; box-shadow: -7px 7px 0 #b9bdc9, -8px 8px 0 #9ea3b1, 0 34px 44px rgba(0, 0, 0, .55); }
.scene__tools-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 38%); }
.scene__phone--loved { left: 35.5%; width: 29%; bottom: 13%; z-index: 3; }
.scene__phone--comdkit { right: 0; bottom: 7%; width: 27%; z-index: 2; perspective: 1400px; }
.scene__phone--comdkit .phone { transform: rotateY(-20deg) rotateX(3deg); transform-origin: right bottom; box-shadow: 7px 7px 0 #2a2c31, 8px 8px 0 #1b1c20, 0 34px 44px rgba(0, 0, 0, .6); }
.phone { position: relative; display: block; padding: 3.2%; border-radius: 16% / 7.4%; background: linear-gradient(135deg, #8a8d96 0%, #3a3c42 18%, #24262b 45%, #5c5f68 72%, #2a2c31 100%); box-shadow: 0 34px 44px rgba(0, 0, 0, .6); }
.phone__bezel { position: relative; display: block; padding: 3.6%; border-radius: 14.4% / 6.7%; background: #050506; }
.phone__screen { position: relative; display: block; border-radius: 13% / 6.2%; overflow: hidden; aspect-ratio: 786 / 1704; background: #0a1109; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__screen--loved { background: #f7e3da; }
.phone__screen--loved img { height: auto; margin-top: 7%; }
.phone__island { position: absolute; left: 50%; top: 1.2%; width: 30%; height: 3.2%; transform: translateX(-50%); border-radius: 20px; background: #000; }
.phone__glare { position: absolute; inset: 3.6%; border-radius: 13% / 6.2%; background: linear-gradient(118deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 32%); pointer-events: none; }
.scene__pets { left: 13%; right: 13%; bottom: 2%; z-index: 6; display: flex !important; justify-content: center; align-items: flex-end; }
.scene__pets img { width: 14.5%; aspect-ratio: 926 / 1100; margin-left: -2%; filter: drop-shadow(0 8px 7px rgba(0, 0, 0, .6)); }
.scene__pets img:first-child { margin-left: 0; }

/* ---------- Big numbers */
.stats__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 32px; padding-block: 36px; border-block: 1px solid var(--line); }
.stats__row p { display: flex; flex-direction: column; gap: 12px; }
.stats__row strong { font-size: clamp(52px, 6vw, 88px); line-height: 1; letter-spacing: -.06em; font-weight: 700; }
.stats__row span { font-size: 16px; line-height: 1.4; color: var(--muted); }

/* ---------- Sections */
.section { padding-top: clamp(72px, 9vw, 112px); }
h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.work__head, .section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 28px; }
.work__head > div, .section__head > div { display: flex; flex-direction: column; gap: 12px; }
.work__head > p { font-size: 18px; line-height: 1.5; color: var(--muted); max-width: 380px; }

/* ---------- Product window: one product at a time */
.win { background: var(--charcoal); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.win__bar { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--bar); border-bottom: 1px solid var(--line); }
.win__lights { display: flex; align-items: center; gap: 8px; padding: 0 20px; min-height: 50px; }
.win__lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.win__lights i:nth-child(2) { background: #febc2e; }
.win__lights i:nth-child(3) { background: #28c840; }
.win__tabs { display: flex; flex-wrap: wrap; flex: 1; }
.win__tab { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 0; border-top: 3px solid transparent; border-right: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 17px; font-weight: 600; }
.win__tab span { width: 10px; height: 10px; border-radius: 3px; background: var(--tab); }
.win__tab[aria-pressed="true"] { background: var(--charcoal); color: #fff; border-top-color: var(--tab); }
.win__count { display: inline-flex; align-items: center; padding: 0 20px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.win__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 10px 16px; background: var(--bar); border-top: 1px solid var(--line); }
.win__nav .button { min-height: 50px; padding: 0 22px; font-size: 17px; }
.win__dots { display: inline-flex; gap: 8px; }
.win__dots span { width: 28px; height: 6px; border-radius: 3px; background: #4b4d5c; }
.win__dots span.on { background: var(--tab); }

.panel { min-height: 480px; padding: 36px clamp(22px, 3.4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; }
.panel__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.panel__copy > p { font-size: 17px; line-height: 1.5; }
.panel__logo { width: 180px; height: auto; }
.panel__logo--tools { width: 220px; }
.panel h3 { font-size: clamp(30px, 2.9vw, 40px); line-height: 1.06; letter-spacing: -.03em; }
.panel__show { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel__caption { display: flex; flex-direction: column; gap: 4px; min-height: 78px; }
.panel__caption span { font-size: 16px; line-height: 1.45; }
.panel .button { min-height: 50px; margin-top: 4px; font-size: 17px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { min-height: 46px; padding: 0 14px; background: transparent; color: inherit; }

/* Loved Stories, in its watercolour theme */
.panel--loved { background: url("assets/loved-site/backdrop-tile.webp") center top / max(100%, 1100px) auto repeat-y, #fbf4ec; color: #1f3936; font-family: 'Lato', Arial, sans-serif; }
.panel__copy > .loved-hand { font: 400 26px/1 'Gochi Hand', cursive; color: #a14a50; margin-top: 4px; }
.panel--loved h3 { font-family: 'Fredoka', Arial, sans-serif; font-weight: 600; letter-spacing: -.02em; }
.panel--loved .panel__copy > p:not(.loved-hand), .panel--loved .panel__caption span { color: #3d504b; }
.pick--loved { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px 0 6px; border-radius: 23px; border: 2px solid #fffdf8; background: #fffdf8; color: #1f3936; font: 500 15px 'Fredoka', Arial, sans-serif; }
.pick--loved[aria-pressed="true"] { border-color: #db7878; }
.pick__badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 34px; padding-top: 3px; font-weight: 600; background: center / contain no-repeat; }
.pick__badge--1 { background-image: url("assets/loved-site/number-1.webp"); }
.pick__badge--2 { background-image: url("assets/loved-site/number-2.webp"); }
.pick__badge--3 { background-image: url("assets/loved-site/number-3.webp"); }
.button--loved { border-radius: 25px; background: #db7878; color: #1f3936; font-weight: 900; }
.loved-card { align-self: center; width: 100%; max-width: 420px; padding: 10px; border-radius: 20px; background: #fffdf8; box-shadow: 0 12px 26px rgba(31, 57, 54, .14); rotate: 1.5deg; }
.loved-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: #fff; }
.loved-card img[data-fit="contain"] { object-fit: contain; }
.panel--loved .panel__caption strong { font: 600 21px/1.1 'Fredoka', Arial, sans-serif; }

/* ComdKit */
.panel--comdkit { background: #0b140b; color: #f1f3e9; }
.comdkit-logo { display: inline-flex; align-items: center; gap: 10px; font: 400 30px 'Russo One', Impact, sans-serif; }
.comdkit-logo svg { width: 50px; height: auto; }
.comdkit-logo b { font-weight: 400; color: #8db84a; }
.panel--comdkit h3 { font: 800 clamp(40px, 4vw, 56px)/.95 'Barlow Condensed', Impact, sans-serif; letter-spacing: 0; text-transform: uppercase; margin-top: 4px; }
.panel--comdkit h3 span { color: #8db84a; }
.panel--comdkit .panel__copy > p, .panel--comdkit .panel__caption span { color: #d5dac8; }
.pick--comdkit { border-radius: 8px; border: 1.5px solid #8db84a; color: #f1f3e9; font: 700 18px 'Barlow Condensed', Impact, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.pick--comdkit[aria-pressed="true"] { background: #8db84a; color: #10160c; }
.button--comdkit { background: #8db84a; color: #10160c; border-radius: 10px; font: 800 22px 'Barlow Condensed', Impact, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.comdkit-frame { padding: 8px; border: 3px solid #4a5144; border-radius: 24px; background: #171c16; rotate: -1.5deg; box-shadow: 0 24px 50px rgba(0, 0, 0, .6); }
.comdkit-frame img { width: 100%; aspect-ratio: 1350 / 624; object-fit: cover; border-radius: 15px; }
.panel--comdkit .panel__caption strong { font: 800 26px/1 'Barlow Condensed', Impact, sans-serif; text-transform: uppercase; }

/* KodeKin Tools */
.panel--tools { background: #eef1f6; color: #282a36; }
.panel--tools h3 { letter-spacing: -.035em; margin-top: 4px; }
.panel--tools h3 span { color: var(--purple); }
.panel--tools .panel__copy > p { color: #454859; }
.tool-grid { display: grid; grid-template-columns: repeat(5, 48px); gap: 8px; }
.pick--tool { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; min-height: 0; padding: 0; border-radius: 13px; border: 2.5px solid transparent; background: var(--tool); color: #1c1917; }
.pick--tool[aria-pressed="true"] { border-color: #282a36; }
.button--tools { background: var(--purple); color: #fff; border-radius: 10px; font-weight: 600; }
.panel__show--tools { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }
.tools-shot { height: 390px; width: auto; border-radius: 16px; rotate: 2deg; box-shadow: 0 24px 50px rgba(40, 42, 54, .28); }
.tools-card { flex: 1 1 180px; max-width: 260px; min-height: 170px; padding: 20px; border-radius: 16px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.tools-card strong { font-size: 22px; letter-spacing: -.02em; }
.tools-card span { font-size: 16px; line-height: 1.45; color: #454859; }

/* StrAIys */
.panel--straiys { background: #fff8ef; color: #292522; }
.panel--straiys h3 { font-family: 'Fredoka', Arial, sans-serif; font-weight: 600; letter-spacing: 0; margin-top: 4px; }
.panel--straiys h3 span, .straiys-free strong { color: #b44732; }
.panel--straiys .panel__copy > p { color: #4f4842; }
.panel__copy > .straiys-free { padding-left: 14px; border-left: 3px solid #b44732; font-size: 16px; line-height: 1.45; color: #5e5650; }
.straiys-free strong { font: 600 19px 'Fredoka', Arial, sans-serif; }
.button--straiys { background: #b44732; color: #fffaf5; border-radius: 40px; font: 600 19px 'Fredoka', Arial, sans-serif; }
.panel__show--straiys { align-items: center; gap: 12px; }
.pet-card { width: 240px; height: 240px; padding: 16px; border-radius: 24px; background: #fff; display: flex; align-items: center; justify-content: center; rotate: -2deg; box-shadow: 0 20px 44px rgba(120, 70, 40, .18); }
.pet-card img { max-width: 100%; max-height: 100%; width: auto; }
.pet-name { font: 600 23px 'Fredoka', Arial, sans-serif; }
.pet-picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pick--pet { width: 50px; height: 50px; min-height: 0; padding: 4px; border-radius: 50%; border: 2.5px solid #f0dccb; background: #fff; }
.pick--pet[aria-pressed="true"] { border-color: #b44732; }
.pick--pet img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- We take on projects */
.rows { border-bottom: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 40px; align-items: center; padding-block: 30px; border-top: 1px solid var(--line); }
.rows__head { display: flex; align-items: baseline; gap: 20px; }
.rows__n { font-family: var(--mono); font-size: 15px; font-weight: 600; }
.rows__head strong { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.04em; }
.rows__body { display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.rows__proof { font-family: var(--mono); font-size: 14px; color: #50fa7b; }
.rows__proof b { color: var(--on-dark); font-weight: 600; }

/* ---------- App stores */
.stores { display: flex; flex-direction: column; gap: 36px; }
.stores__head { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.stores__head > p:last-child { font-size: 19px; line-height: 1.55; color: var(--muted); }
.store-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.store-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 32px); border-radius: 22px; background: #fff; color: #1d1d1f; }
.store-card--apple { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif; --tint: #f2f2f7; --dot: #0a6fd6; }
.store-card--google { --tint: #e8f5ee; --dot: #0b7a43; }
.store-card__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; min-height: 72px; }
.store-card__logos > span:last-child { display: inline-flex; align-items: center; gap: 14px; }
.apple-dev { display: inline-flex; align-items: center; gap: 6px; font-size: 40px; font-weight: 500; letter-spacing: -.02em; }
.apple-dev svg { width: 33px; height: 40px; margin-top: -6px; fill: currentColor; }
.store-card__play { height: 44px; width: auto; }
.store-card__robot { width: 74px; height: auto; }
.store-card__devices { display: flex; flex-wrap: wrap; gap: 12px; }
.store-card__devices li { flex: 1 1 100px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px; border-radius: 16px; background: var(--tint); font-size: 17px; font-weight: 600; text-align: center; }
.store-card > p { font-size: 18px; line-height: 1.45; color: #48484d; }
.store-card__steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.store-card__steps li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 7px; border-radius: 999px; background: var(--tint); font-size: 14px; font-weight: 600; white-space: nowrap; }
.store-card__steps li span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--dot); color: #fff; }
.store-card__steps .store-card__arrow { padding: 0; min-height: 0; background: none; color: #8e8e93; }
.stores__how { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 12px; }
.stores__how h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.pick--store { padding: 0 22px; border-radius: 999px; border: 1.5px solid #9a9db0; color: var(--on-dark); font-size: 16px; font-weight: 600; }
.pick--store[aria-pressed="true"] { background: var(--on-dark); border-color: var(--on-dark); color: var(--charcoal); }
.store-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.store-steps li { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--charcoal); }
.store-steps__n { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--cyan); }
.store-steps--google .store-steps__n { color: var(--lilac); }
.store-steps strong { font-size: 22px; letter-spacing: -.02em; }
.store-steps li > span:last-child { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* ---------- Team */
.team { border-radius: 28px; overflow: hidden; background: var(--purple); }
.team__wall { position: relative; container-type: inline-size; }
.team__wall img { width: 100%; }
.team__wall p { position: absolute; left: 50%; top: 5.5cqw; width: 36cqw; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .8cqw; text-align: center; color: #3b2614; text-shadow: 0 1px 12px rgba(255, 236, 210, .9); }
.team__wall strong { font-size: 11cqw; line-height: .85; letter-spacing: -.06em; color: var(--purple); }
.team__wall span { font-size: 1.9cqw; font-weight: 700; line-height: 1.25; }
.team__body { padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 64px; align-items: start; }
.team__body > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.team__body h2 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -.035em; }
.team__body p:not(.eyebrow) { font-size: 18px; line-height: 1.55; color: #f1ecfc; }

/* ---------- Contact and footer */
.contact { padding-top: clamp(88px, 11vw, 140px); display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.contact .eyebrow { font-size: 15px; }
.contact h2 { font-size: clamp(46px, 8vw, 124px); line-height: .95; letter-spacing: -.055em; }
.contact > p:not(.eyebrow) { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; color: var(--muted); max-width: 640px; }
.site-footer { padding-top: clamp(72px, 9vw, 120px); padding-bottom: max(36px, env(safe-area-inset-bottom)); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; padding-block: 36px; border-top: 1px solid var(--line); }
.site-footer__grid img { height: 32px; width: auto; }
.site-footer__grid a { display: flex; flex-direction: column; gap: 4px; min-height: 44px; }
.site-footer__grid strong { font-size: 18px; font-weight: 600; }
.site-footer__grid span { font-size: 15px; color: var(--muted); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer__base > span:last-child { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__base a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Motion */
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fadeUp .8s cubic-bezier(.16, 1, .3, 1) both; }
.scene.fade-in { animation-delay: .2s; }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret, .fade-in, .reveal { animation: none !important; }
}

/* ---------- Tablets and phones */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-block: 28px 40px; }
  .scene { max-width: 560px; width: 100%; margin-inline: auto; }
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .rows li { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-logo__divider, .site-logo__tag { display: none; }
  .site-nav { gap: 4px 18px; font-size: 16px; }
  .site-nav a:not(.site-nav__cta) { display: none; }
  .site-nav__cta { padding: 0 16px; }
  .hero__actions .button { flex: 1 1 100%; }
  .stats__row { grid-template-columns: 1fr 1fr; }
  .win { border-radius: 18px; }
  .win__lights, .win__count { display: none; }
  .win__tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .win__tab { justify-content: flex-start; padding: 0 14px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .win__tab:nth-child(2n) { border-right: 0; }
  .win__tab:nth-last-child(-n+2) { border-bottom: 0; }
  .panel { padding: 26px 18px; }
  .panel .button { align-self: stretch; }
  .tools-shot { height: 300px; }
  .tools-card { min-height: 0; max-width: none; flex-basis: 100%; }
  .pet-card { width: 200px; height: 200px; }
  .pick--pet { width: 46px; height: 46px; }
  .win__nav { gap: 8px; padding: 10px; }
  .win__nav .button { flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: 15px; }
  .win__dots { display: none; }
  .section__head .button { width: 100%; }
  .rows__head { gap: 14px; }
  .apple-dev { font-size: 32px; }
  .apple-dev svg { width: 27px; height: 32px; }
  .store-card__play { height: 36px; }
  .store-card__robot { width: 56px; }
  .store-card__steps .store-card__arrow { display: none; }
  .store-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .store-steps li { padding: 16px; }
  .team { border-radius: 20px; }
  .contact .button--big { width: 100%; padding: 0 16px; }
}
