/* Kinlora website (redesigned 2026-11-27). A dusk-indigo hero and header, paper-white sections, and the app icon's
   orange-to-pink as the one bright colour. The page does not copy the app's look: the app's own screens sit on
   colour stages. System fonts only (ui-rounded on Apple devices). Light and dark follow the visitor's setting. */
:root{
  --ink:#17143A; --paper:#F8F7FC; --text:#1B1838; --subtle:#55527A; --line:#E2DFF0; --card:#FFFFFF;
  --accent:#C2275F; --focus:#C2275F; --bezel:#0B0A1E; --shot:#E9E8F2;
  --ember:linear-gradient(135deg,#FF8A3C,#F0508A);
  --g-ocean:linear-gradient(135deg,#2E6EE6,#5C4DE6); --g-lagoon:linear-gradient(135deg,#088088,#1F8557);
  --g-forest:linear-gradient(135deg,#218547,#0A8275); --g-sunset:linear-gradient(135deg,#C24D0D,#C74A4A);
  --g-coral:linear-gradient(135deg,#B55947,#C94070); --g-citrus:linear-gradient(135deg,#B35900,#C24D0D);
  --g-grape:linear-gradient(135deg,#9652D9,#BD4A8F); --g-slate:linear-gradient(135deg,#667589,#4D5C75);
  --display:ui-rounded,"SF Pro Rounded",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --body:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
@media (prefers-color-scheme:dark){:root{
  --paper:#100E26; --text:#F2F1FA; --subtle:#BCB9D8; --line:#2B2850; --card:#1B1840; --accent:#FF8AA8; --focus:#FF8AA8; --shot:#26234A; color-scheme:dark}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{overflow-x:clip;margin:0;background:var(--paper);color:var(--text);font:400 1.125rem/1.6 var(--body);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
figure{margin:0}
p{margin:0}
h1,h2,h3{font-family:var(--display);margin:0;text-wrap:balance}
h1{font-weight:900;font-size:clamp(2.6rem,6.4vw,4.8rem);line-height:1.02;letter-spacing:-.025em}
h2{font-weight:800;font-size:clamp(1.9rem,4.2vw,3rem);line-height:1.08;letter-spacing:-.02em}
h3{font-weight:800;font-size:1.25rem;line-height:1.2}
a{color:var(--accent)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:6px}
.wrap{max-width:1160px;margin-inline:auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
.stack{display:flex;flex-direction:column;gap:18px}
.lede{font-size:1.25rem;color:var(--subtle);max-width:34em}
.fine{font-size:1rem;color:var(--subtle)}
section{padding-block:clamp(56px,9vw,112px)}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,6vw,80px);align-items:center}
.skip{position:absolute;left:12px;top:-60px;z-index:20;background:#fff;color:var(--ink);padding:12px 18px;border-radius:12px;font-weight:700}
.skip:focus{top:12px}

/* buttons and the sign-up form */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border-radius:999px;border:0;
  background:var(--ember);color:var(--ink);font:800 1.05rem var(--body);text-decoration:none;cursor:pointer;white-space:nowrap}
/* Hover: the gradient slides to a deeper pink, the button lifts 2px and glows; pressing pushes it back down.
   Ink text stays above 4.5:1 on every stop of the gradient. */
.btn{background:linear-gradient(135deg,#FF8A3C,#F0508A 50%,#E8467F) 0 0/200% 100%;
  box-shadow:0 6px 18px -10px rgba(240,80,138,.8);transition:background-position .3s ease,transform .15s ease,box-shadow .15s ease}
.btn:hover{background-position:100% 0;transform:translateY(-2px);box-shadow:0 14px 30px -10px rgba(240,80,138,.95)}
.btn:active{transform:translateY(0);box-shadow:0 4px 12px -8px rgba(240,80,138,.8)}
form.join{display:flex;gap:10px;flex-wrap:wrap;max-width:560px;width:100%}
form.join label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
form.join input{flex:1 1 240px;min-width:0;min-height:56px;border-radius:999px;border:2px solid transparent;background:#fff;color:#17143A;padding:0 22px;font:400 1.05rem var(--body)}
/* hidden field that only bots fill in */
form.join .trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
form.join button:disabled{opacity:.7;cursor:wait}
form.join input[aria-invalid="true"]{border-color:#C2275F}
form.join .btn{min-height:56px}
.status{font-weight:700;color:#fff}

/* header */
header.top{--focus:#FFB35C;position:sticky;top:0;z-index:10;background:rgba(23,20,58,.92);backdrop-filter:blur(14px);padding-block:12px}
header.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:10px;font:900 1.4rem var(--display);color:#fff;text-decoration:none}
.brand img{width:38px;height:38px;border-radius:10px}
nav.main{display:flex;gap:4px 22px;align-items:center}
nav.main a{color:#fff;text-decoration:none;font-weight:600;padding:10px 0}
nav.main a:hover{color:#FFB35C}
nav.main .btn{min-height:44px;padding:0 20px;color:var(--ink)}
details.menu{display:none;position:relative}
details.menu summary{list-style:none;cursor:pointer;min-height:44px;min-width:44px;padding:0 6px;display:flex;align-items:center;color:#fff;font:700 1rem var(--body)}
details.menu summary::-webkit-details-marker{display:none}
details.menu[open] summary{color:#FFB35C}
.menu-list{position:absolute;right:0;top:100%;min-width:230px;background:#241F55;border-radius:20px;padding:8px;box-shadow:0 20px 50px -20px rgba(0,0,0,.6);display:flex;flex-direction:column}
nav.main .menu-list a{padding:0 14px;min-height:48px;display:flex;align-items:center;border-radius:12px}

/* device frames: the screenshots are real, the frames are drawn */
.phone{width:min(100%,290px);background:var(--bezel);border-radius:44px;padding:9px;box-shadow:0 30px 70px -30px rgba(0,0,0,.6);flex:none}
.phone img{border-radius:36px;width:100%;aspect-ratio:660/1435;background:var(--shot)}
.pad{width:min(100%,520px);background:var(--bezel);border-radius:30px;padding:12px;box-shadow:0 30px 70px -30px rgba(0,0,0,.6)}
.pad img{border-radius:20px;width:100%;aspect-ratio:1100/1596;background:var(--shot)}
.tv{background:var(--bezel);border-radius:18px;padding:8px 8px 10px;box-shadow:0 30px 70px -30px rgba(0,0,0,.6)}
.tv img{border-radius:10px;width:100%;aspect-ratio:16/9;background:var(--shot)}
.watch{width:150px;background:var(--bezel);border-radius:38px;padding:12px;flex:none;box-shadow:0 18px 40px -22px rgba(0,0,0,.6)}
.watch img{border-radius:26px;width:100%;aspect-ratio:416/496;background:var(--shot)}
figure.missing img{opacity:0}

/* hero */
.hero{--focus:#FFB35C;background:radial-gradient(55% 70% at 78% 38%,rgba(240,80,138,.5),transparent 70%),radial-gradient(40% 50% at 100% 100%,rgba(255,138,60,.4),transparent),var(--ink);color:#fff;padding-block:clamp(40px,7vw,88px) 0;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(24px,4vw,56px);align-items:center}
.hero-copy{display:flex;flex-direction:column;gap:22px;padding-bottom:clamp(32px,6vw,80px)}
.hero .lede{color:#D8D5F2;max-width:30em}
.hero .fine{color:#BDB9E4}
/* The phones hang from the top of the stage and the section's bottom edge crops them. Each note card sits inside
   its phone's frame, so it stays on that phone at every width. */
.hero-stage{position:relative;height:clamp(440px,46vw,580px);align-self:end}
.hero-stage .phone{position:absolute}
.hero-stage .front{width:min(300px,56%);right:6%;top:0;z-index:2}
.hero-stage .back{width:min(250px,46%);left:4%;top:90px;transform:rotate(-5deg)}
.note-card{position:absolute;z-index:3;display:flex;flex-direction:column;background:#fff;color:#17143A;border-radius:16px;
  padding:10px 16px 10px 40px;font:600 .92rem/1.3 var(--body);box-shadow:0 16px 40px -14px rgba(0,0,0,.55);white-space:nowrap}
.note-card b{font:800 1rem/1.2 var(--display)}
.note-card::before{content:"";position:absolute;left:14px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:var(--ember)}
.n1{right:-14%;top:62%}
.n2{left:-12%;top:30%;transform:rotate(5deg)}
.facts{display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:6px 0 0;list-style:none}
.facts li{border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:8px 16px;font-weight:600;font-size:1rem}

/* beyond the grocery list */
.beyond .wrap{display:flex;flex-direction:column;gap:18px}
.four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(20px,3vw,40px);margin-top:clamp(24px,4vw,40px)}
.four>div{border-top:4px solid #F0508A;padding-top:18px;display:flex;flex-direction:column;gap:10px}
.four p{color:var(--subtle)}
.four a{margin-top:auto;font-weight:700;color:var(--text);text-underline-offset:4px;min-height:44px;display:flex;align-items:center}
.four a:hover{color:var(--accent)}

/* the handover */
.stage{border-radius:36px;overflow:hidden;height:clamp(440px,48vw,580px);padding-top:44px;display:flex;justify-content:center;gap:16px;align-items:flex-start}
.stage .phone{width:min(44%,250px)}
.stage .phone+.phone{margin-top:70px}
.stage .phone:only-child{width:min(56%,290px)}
.g-ocean{background:var(--g-ocean)}.g-lagoon{background:var(--g-lagoon)}.g-forest{background:var(--g-forest)}.g-sunset{background:var(--g-sunset)}
.g-coral{background:var(--g-coral)}.g-citrus{background:var(--g-citrus)}.g-grape{background:var(--g-grape)}.g-slate{background:var(--g-slate)}
.story{font-size:1.15rem;max-width:34em}
.steps{list-style:none;margin:6px 0 0;padding:0;counter-reset:s}
.steps li{padding:16px 0 16px 60px;border-top:1px solid var(--line);position:relative;counter-increment:s}
.steps li::before{content:counter(s);position:absolute;left:0;top:14px;width:38px;height:38px;border-radius:50%;background:var(--ember);color:var(--ink);display:grid;place-items:center;font:900 1.05rem var(--display)}
.steps b{display:block;font:800 1.15rem var(--display);margin-bottom:2px}
.trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,4vw,48px);margin-top:clamp(40px,6vw,72px)}
.trio>div{border-top:3px solid var(--text);padding-top:16px;display:flex;flex-direction:column;gap:8px}
.trio p,.plainlist p{color:var(--subtle)}

/* the feature carousel */
.features{background:var(--card)}
.features h2{max-width:16em}
.features .lede{margin-top:14px}
.tabbar{display:none;align-items:center;gap:12px;margin-top:36px}
.js .tabbar{display:flex}
.tabs{flex:1;display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px;margin:-4px;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:none;scroll-snap-align:start;min-height:48px;padding:0 20px;border-radius:999px;border:2px solid var(--line);background:transparent;color:var(--text);font:800 1rem var(--display);cursor:pointer}
.tab:hover{border-color:var(--text)}
.play{flex:none;min-height:48px;padding:0 18px;border-radius:999px;border:2px solid var(--line);background:transparent;color:var(--text);font:800 1rem var(--display);cursor:pointer}
.play:hover{border-color:var(--text)}
.tab[aria-selected="true"]{background:var(--text);border-color:var(--text);color:var(--paper)}
.step{flex:none;width:48px;height:48px;border-radius:50%;border:2px solid var(--line);background:transparent;color:var(--text);font:800 1.2rem var(--display);cursor:pointer}
.step:hover{border-color:var(--text)}
.panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(28px,5vw,72px);align-items:center;margin-top:clamp(28px,4vw,48px)}
.js .panel[hidden]{display:none}
html:not(.js) .panel+.panel{margin-top:clamp(56px,8vw,96px)}
.panel h3{font-size:clamp(1.5rem,2.8vw,2.1rem);letter-spacing:-.01em}
.ticks{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.ticks li{padding-left:30px;position:relative}
.ticks li::before{content:"";position:absolute;left:0;top:.32em;width:18px;height:18px;border-radius:50%;background:var(--ember)}
.ticks li::after{content:"";position:absolute;left:6px;top:.5em;width:5px;height:9px;border:solid var(--ink);border-width:0 2px 2px 0;transform:rotate(45deg)}

/* around the house: the dark band */
.around{--focus:#FFB35C;background:var(--ink);color:#fff}
.around .wrap{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,5vw,72px);align-items:center}
.around .lede{color:#D8D5F2}
.around .fine{color:#BDB9E4}
.screens{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(20px,3vw,36px);align-items:center}
.screens .pad{justify-self:center}
.screens .side{display:flex;flex-direction:column;gap:22px}
.screens .small{display:flex;gap:20px;align-items:center;justify-content:center}

/* privacy, ages, questions: plain text with rules, not cards */
.privacy .wrap{display:flex;flex-direction:column;gap:clamp(28px,4vw,48px)}
dl.ledger{margin:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 clamp(24px,5vw,64px)}
dl.ledger div{padding:16px 0;border-top:1px solid var(--line)}
dl.ledger dt{font:800 1.1rem var(--display)}
dl.ledger dd{margin:4px 0 0;color:var(--subtle)}
.plainlist{gap:26px}
.plainlist>div{border-left:4px solid #F0508A;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.questions .split{align-items:start}
.questions h2{position:sticky;top:96px}
#faq details{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font:800 1.15rem/1.3 var(--display);padding:20px 0;min-height:44px}
#faq details p{padding:0 0 20px;max-width:65ch;color:var(--subtle)}

/* closing call to action */
.final{--focus:#17143A;background:var(--ember);color:var(--ink)}
.final-inner{max-width:680px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.final-inner img{width:72px;height:72px;border-radius:18px;box-shadow:0 12px 30px -12px rgba(0,0,0,.5)}
.final h2{font-size:clamp(2.1rem,5vw,3.6rem)}
.final p{font-size:1.15rem}
.final .fine,.final .status{color:var(--ink)}
.final .btn{background:var(--ink);color:#fff}
.final .btn{box-shadow:0 6px 18px -10px rgba(23,20,58,.8)}
.final .btn:hover{background:#2F2878;box-shadow:0 14px 30px -10px rgba(23,20,58,.9)}
footer{padding-block:36px 48px;color:var(--subtle);font-size:1rem}
footer .wrap{display:flex;flex-wrap:wrap;gap:12px 28px;justify-content:space-between}
footer a{color:var(--subtle)}
footer nav{display:flex;gap:8px 20px;flex-wrap:wrap}

@media (max-width:900px){
  .four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero .wrap,.split,.panel,.around .wrap,.screens,dl.ledger,.trio{grid-template-columns:minmax(0,1fr)}
  nav.main .nl{display:none}
  details.menu{display:block}
  .hero-stage{height:400px}
  .facts li{font-size:.92rem;padding:6px 12px}
  .hero-stage .front{width:min(230px,54%)}
  .hero-stage .back{width:min(190px,44%);top:70px}
  .hero-stage .back{left:0;z-index:3}
  .hero-stage .front{right:0}
  .n1{right:-4%}
  .n2{left:2%}
  /* phones: the tabs get their own row, the arrows and Pause sit under them */
  .tabbar{flex-wrap:wrap}
  .tabbar .tabs{order:-1;flex:1 1 100%}
  .questions h2{position:static}
  .stage{height:clamp(380px,100vw,520px)}
}
@media (max-width:420px){
  .brand span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .stage .phone+.phone{display:none}
  .four{grid-template-columns:minmax(0,1fr)}
  .stage .phone,.stage .phone:only-child{width:min(66%,240px)}
}
@media (prefers-reduced-motion:reduce){.btn,.btn:hover,.btn:active{transition:none;transform:none}}
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  .panel:not([hidden]){animation:in .35s ease-out}
  @keyframes in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
}
