/* Kinroom — app-first homepage (2026-10-29). Tokens come from the app's Theme.swift (rose, blush, gold, violet, ink). */
:root {
  --ink: #140f1d;          /* text */
  --ink-2: #0d0a14;        /* Theme.ink: darkest band */
  --plum: #3a1834;         /* dark gradient middle */
  --wine: #5b2346;         /* dark gradient end (store screenshots) */
  --primary: #c93d6a;      /* rose, darkened for text on paper */
  --rose: #f56b91;         /* Theme.rose: fills */
  --tint: #fde7ee;         /* soft rose tint */
  --accent: #8c61fa;       /* Theme.violet */
  --highlight: #facc8f;    /* Theme.gold: tags, numbers and accents on dark */
  --paper: #fbf8f5;
  --cream: #f6eee7;
  --white: #fff;
  --muted: #6b6274;
  --line: rgba(20, 15, 29, .1);
  --shadow: 0 30px 80px rgba(20, 15, 29, .18);
  --radius: 32px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --dark: linear-gradient(135deg, var(--ink-2) 0%, var(--plum) 60%, var(--wine) 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
section { padding: 96px 0; }
.band { background: var(--white); }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
h1 { font-size: clamp(44px, 6.6vw, 80px); }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--primary); letter-spacing: -.01em; }
.dark em { color: var(--highlight); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 34em; margin: 20px 0 0; }
.dark .lead { color: rgba(255, 255, 255, .74); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.dark .eyebrow { color: var(--highlight); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.head { max-width: 760px; margin: 0 auto 56px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 245, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.pill.dark-pill { background: var(--ink); color: #fff; }
.pill.dark-pill:hover { background: #2a2033; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; margin: 0 auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }

/* Store buttons (custom pills, no official badge artwork) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; border: 2px solid var(--ink); min-width: 190px; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; letter-spacing: .04em; opacity: .75; line-height: 1.2; }
.store b { display: block; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.store.soon { background: transparent; color: var(--ink); }
.dark .store.soon { color: #fff; border-color: rgba(255, 255, 255, .7); }
.store:hover { transform: translateY(-1px); }
.note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.dark .note { color: rgba(255, 255, 255, .6); }

/* Phone frame */
.phone { position: relative; width: 280px; aspect-ratio: 1030 / 2238; border-radius: 46px; background: #0b0910; padding: 10px; box-shadow: var(--shadow), inset 0 0 0 2px #2b2433; flex: none; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 999px; background: #000; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: #1c1724; }

/* Hero */
.hero { padding: 56px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.hero-art { position: relative; height: 640px; }
.hero-art .phone { position: absolute; }
.hero-art .p1 { left: 4%; top: 30px; z-index: 2; width: 290px; }
.hero-art .p2 { right: 2%; top: 0; width: 262px; transform: rotate(5deg); opacity: .98; }
.callout { position: absolute; z-index: 3; background: var(--white); border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.35; max-width: 250px; }
.callout b { display: block; font-size: 15px; }
.callout span { color: var(--muted); }
.callout i { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--primary); font-style: normal; font-size: 18px; }
.callout.c1 { left: -4%; bottom: 120px; }
.callout.c2 { right: -2%; top: 300px; }
.callout.c2 i { background: #efe8ff; color: var(--accent); }

/* Marquee strip */
.strip { background: var(--dark); color: #fff; padding: 22px 0; overflow: hidden; }
.marquee { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { white-space: nowrap; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-weight: 600; font-size: 15px; }
.marquee span:nth-child(3n) { color: var(--highlight); border-color: rgba(250, 204, 143, .4); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Gallery */
.gallery { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(20px, calc((100vw - 1180px) / 2)) 30px; scrollbar-width: thin; }
.gallery figure { margin: 0; scroll-snap-align: center; width: 250px; flex: none; }
.gallery .phone { width: 250px; border-radius: 42px; }
.gallery .phone img { border-radius: 33px; }
.gallery figcaption { margin-top: 22px; }
.gallery figcaption b { display: block; font-size: 18px; letter-spacing: -.01em; }
.gallery figcaption span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Why cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); }
.card .tile { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--tint); color: var(--primary); margin-bottom: 22px; }
.card:nth-child(2) .tile { background: #efe8ff; color: var(--accent); }
.card:nth-child(3) .tile { background: #fdf0dc; color: #a8691c; }
.card .tile svg { width: 26px; height: 26px; }
.card h3 { font-size: 24px; letter-spacing: -.02em; }
.card p { color: var(--muted); margin: 12px 0 0; }

/* Dark spotlight */
.dark { background: var(--dark); color: #fff; }
.spotlight .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.spotlight .phone { margin: 0 auto; width: 300px; box-shadow: 0 40px 120px rgba(245, 107, 145, .28), inset 0 0 0 2px #3b3044; }
.tag { display: inline-block; background: var(--highlight); color: var(--ink); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c93d6a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.dark .ticks li::before { background-color: rgba(250, 204, 143, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23facc8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Feature rows */
.rows { display: grid; gap: 40px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.row.flip .panel { order: 2; }
.panel { border-radius: 40px; padding: 56px 0; display: grid; place-items: center; }
.panel.p-rose { background: var(--tint); }
.panel.p-gold { background: #fdf0dc; }
.panel.p-violet { background: #efe8ff; }
.row .phone { width: 270px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--highlight); font: italic 24px var(--serif); margin-bottom: 22px; }
.step h3 { font-size: 22px; letter-spacing: -.02em; }
.step p { color: var(--muted); margin: 10px 0 0; }

/* Numbers band */
.numbers { padding: 72px 0; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.nums b { display: block; font: italic 400 clamp(48px, 6vw, 76px)/1 var(--serif); color: var(--highlight); }
.nums span { display: block; margin-top: 10px; color: rgba(255, 255, 255, .75); font-size: 15px; }

/* Pricing */
.price-card { max-width: 980px; margin: 0 auto; background: var(--white); border-radius: 40px; box-shadow: var(--shadow); padding: clamp(28px, 5vw, 56px); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan { border-radius: 28px; padding: 30px; border: 1px solid var(--line); background: var(--paper); }
.plan.best { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan .name { font-weight: 800; font-size: 20px; }
.plan .badge { display: inline-block; margin-left: 8px; background: var(--highlight); color: var(--ink); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; vertical-align: middle; }
.plan .amount { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin-top: 10px; line-height: 1.1; }
.plan .amount small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan.best .amount small, .plan.best .alt { color: rgba(255, 255, 255, .7); }
.plan .alt { color: var(--muted); font-size: 15px; margin-top: 4px; }
.plan .ticks { grid-template-columns: 1fr; font-size: 15px; }
.plan.best .ticks li::before { background-color: rgba(250, 204, 143, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23facc8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.extras { margin: 26px 0 0; color: var(--muted); font-size: 15px; }
.fine { font-size: 13px; color: var(--muted); margin: 22px 0 0; line-height: 1.6; border-top: 1px solid var(--line); padding-top: 20px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 24px; border: 1px solid var(--line); padding: 0 26px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 30px 22px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; color: var(--muted); }
.faq-more { text-align: center; margin-top: 28px; color: var(--muted); }

/* Final CTA */
.final { padding-top: 0; }
.cta { position: relative; overflow: hidden; border-radius: 40px; background: var(--dark); color: #fff; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; min-height: 460px; }
.cta .phone { position: absolute; right: 7%; bottom: -170px; width: 280px; box-shadow: 0 40px 120px rgba(245, 107, 145, .3), inset 0 0 0 2px #3b3044; }

/* Footer */
footer { background: var(--white); border-top: 1px solid var(--line); padding: 64px 0 34px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.care { color: var(--muted); margin: 16px 0 0; max-width: 30em; }
.legal-line { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; }
.staff { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.staff svg { width: 16px; height: 16px; }
.staff:hover { background: var(--paper); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 20px; }
  .marquee [aria-hidden="true"] { display: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .nav, .top .pill { display: none; }
  .menu-btn { display: block; }
  .top.open .nav { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); padding: 12px 20px 22px; gap: 4px; border-bottom: 1px solid var(--line); }
  .top.open .nav a { padding: 10px 0; font-size: 17px; }
  .hero .wrap, .spotlight .wrap, .row, .cta { grid-template-columns: 1fr; }
  .hero-art { height: 600px; max-width: 520px; margin: 0 auto; width: 100%; }
  .row.flip .panel { order: 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .nums { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .plans { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .cta { padding-bottom: 360px; }
  .cta .phone { left: 50%; right: auto; transform: translateX(-50%); bottom: -200px; }
}
@media (max-width: 560px) {
  section { padding: 72px 0; }
  .hero { padding-top: 32px; }
  .hero-art { height: 520px; }
  .hero-art .p1 { width: 236px; left: 0; }
  .hero-art .p2 { width: 210px; right: 0; }
  .callout { max-width: 210px; font-size: 13px; padding: 12px; }
  .callout.c1 { left: 0; bottom: 40px; }
  .callout.c2 { right: 0; top: 250px; }
  .store { min-width: 0; flex: 1 1 180px; }
  .row .phone, .spotlight .phone { width: 240px; }
  .panel { padding: 40px 0; }
}
.nowrap { white-space: nowrap; }
.hero .wrap { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .cta { padding-bottom: 0; } .cta .phone { position: relative; left: auto; right: auto; bottom: auto; transform: none; margin: 18px auto -240px; } }

/* Companions rail: drifts left to right; tap a card for a brief profile and their intro clip */
.meet { overflow: hidden; }
.comp-rail { overflow: hidden; padding: 6px 0 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.comp-track { display: flex; gap: 18px; width: max-content; animation: drift 70s linear infinite; }
.comp-dup { display: flex; gap: 18px; }
.comp-rail:hover .comp-track, .comp-rail:focus-within .comp-track { animation-play-state: paused; }
@keyframes drift { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.comp { flex: none; width: 180px; padding: 0; border: 0; background: var(--white); border-radius: 26px; overflow: hidden; text-align: left; cursor: pointer; box-shadow: 0 14px 40px rgba(20, 15, 29, .1); font: inherit; color: inherit; transition: transform .2s; }
.comp:hover { transform: translateY(-4px); }
.comp img { width: 180px; height: 240px; object-fit: cover; background: var(--cream); }
.comp > span { display: block; padding: 12px 14px 14px; }
.comp b { display: block; font-size: 16px; }
.comp b i { font-style: normal; font-weight: 500; color: var(--muted); }
.comp small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.profile { border: 0; padding: 0; border-radius: 32px; width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.profile::backdrop { background: rgba(13, 10, 20, .6); backdrop-filter: blur(4px); }
.profile-video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #0d0a14; }
.profile-body { padding: 22px 24px 26px; }
.profile-body h3 { font-size: 30px; }
.profile-meta { margin: 6px 0 0; color: var(--muted); }
.profile-note { margin: 14px 0 18px; font-size: 13px; color: var(--muted); }
.profile-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .comp-track { animation: none; width: auto; overflow-x: auto; padding: 0 20px; }
  .comp-dup { display: none; }
}
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.logins { display: inline-flex; flex-wrap: wrap; gap: 10px; }
