/* rekky.ai home. Tokens mirror apps/rekky_flutter/lib/rekky_theme.dart and design.md;
   change them there first. No scripts, inline styles or remote assets (page CSP). */
@font-face{font-family:Fraunces;font-weight:400;src:url('/site/Fraunces-Regular.woff2') format('woff2');font-display:swap}
@font-face{font-family:Fraunces;font-weight:600;src:url('/site/Fraunces-SemiBold.woff2') format('woff2');font-display:swap}
@font-face{font-family:'DM Sans';font-weight:400;src:url('/site/DMSans-Regular.woff2') format('woff2');font-display:swap}
@font-face{font-family:'DM Sans';font-weight:500;src:url('/site/DMSans-Medium.woff2') format('woff2');font-display:swap}
@font-face{font-family:'DM Sans';font-weight:600;src:url('/site/DMSans-SemiBold.woff2') format('woff2');font-display:swap}

:root{
  --bg:#F7F7F5;--card:#FFFFFF;--container:#EDEDEA;--highest:#DEDEDA;
  --ink:#202020;--muted:#62625E;--line:#DEDED9;
  --inverse:#252525;--on-inverse:#F2F2F0;--inverse-muted:#B9B9B5;--inverse-red:#FF6B62;
  --ask:#2856D8;--capture:#F34F47;--on-capture:#17110F;--library:#795700;
  --tier-s:#C2352E;--tier-a:#B4501F;--tier-b:#8D590A;--tier-c:#6E6526;--tier-d:#4F6F2A;
  --tier-wash:14%;--tier-rim:40%;--tier-on:#FFFFFF;
  --k-places:#B43E27;--k-people:#744092;--k-activities:#4F6F2A;
  --band:#EDEDEA;--band-card:#FFFFFF;
  --lift:0 1px 2px rgb(0 0 0/.04),0 18px 48px -18px rgb(0 0 0/.18);
  --display:Fraunces,Georgia,'Times New Roman',serif;
  --body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#0C0C0C;--card:#1B1B1B;--container:#232323;--highest:#343434;
    --ink:#F2F2F0;--muted:#B9B9B5;--line:#363636;
    --inverse:#EDEDEB;--on-inverse:#202020;--inverse-muted:#62625E;--inverse-red:#C2352E;
    --ask:#6C92FF;--library:#FFD43B;
    --tier-s:#FF6B62;--tier-a:#F0875A;--tier-b:#F0B95A;--tier-c:#CFC483;--tier-d:#9FC77E;
    --tier-wash:16%;--tier-rim:32%;--tier-on:#17110F;
    --k-places:#F0785A;--k-people:#C497F0;--k-activities:#A6D37B;
    --band:#121212;--band-card:#232323;
    --lift:none;
    color-scheme:dark;
  }
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
html,body{overflow-x:clip}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.5 var(--body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,p,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit}
a:focus-visible,.btn:focus-visible{outline:3px solid var(--ask);outline-offset:3px;border-radius:8px}
.skip{position:absolute;left:16px;top:-80px;padding:12px 16px;background:var(--card);border-radius:12px;z-index:10}
.skip:focus{top:12px}
.wrap{width:min(100% - 32px,1200px);margin-inline:auto}

/* Type */
h1,h2,h3{font-family:var(--display);font-weight:600;letter-spacing:-.02em;text-wrap:balance}
h1{font-size:clamp(48px,6.6vw,96px);line-height:1;letter-spacing:-.035em}
h2{font-size:clamp(34px,4.8vw,62px);line-height:1.04;letter-spacing:-.03em;max-width:18ch}
h3{font-size:21px;line-height:1.25}
.eyebrow{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--muted);margin-bottom:16px}
.eyebrow::before{content:'';width:18px;height:3px;border-radius:2px;background:currentColor}
.section-lede{font-size:clamp(18px,1.6vw,21px);line-height:1.45;color:var(--muted);margin-top:18px;max-width:40ch}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:999px;background:var(--capture);color:var(--on-capture);font:600 17px/1 var(--body);text-decoration:none;white-space:nowrap;transition:transform .19s ease-out,background-color .19s ease-out}
.btn:hover{background:color-mix(in srgb,var(--capture) 90%,#000)}
.btn:active{transform:scale(.96);transition-duration:.1s}
.btn-sm{min-height:44px;padding:0 18px;font-size:15px}
.btn-lg{min-height:62px;padding:0 36px;font-size:19px}

/* Header */
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:18px}
.brand{display:inline-flex;min-height:48px;align-items:center}
.brand img{width:120px}
.top-nav{display:flex;align-items:center;gap:8px}
.top-nav>a:not(.btn){display:inline-flex;align-items:center;min-height:48px;padding:0 12px;font-size:15px;font-weight:500;color:var(--muted);text-decoration:none}
.top-nav>a:not(.btn):hover{color:var(--ink)}

/* Grades: tonal tile in feeds, solid tile for the scale (design.md tier tiles) */
.t-s{--t:var(--tier-s)}.t-a{--t:var(--tier-a)}.t-b{--t:var(--tier-b)}.t-c{--t:var(--tier-c)}.t-d{--t:var(--tier-d)}
.tier{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;border-radius:30%;vertical-align:middle;margin-left:8px;font:600 17px/1 var(--display);letter-spacing:0;color:var(--t);background:color-mix(in srgb,var(--t) var(--tier-wash),transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--t) var(--tier-rim),transparent)}
.tile{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:30%;background:var(--t);color:var(--tier-on);font:600 20px/1 var(--display)}

/* People and art */
.art{display:block;flex:none}
.art img{width:100%}
.art-40{width:40px}.art-48{width:48px}.art-56{width:64px}
.by{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;line-height:1.3}
.by img,.faces img,.said img,.suggest img,.chip img{flex:none;border-radius:50%;object-fit:cover;background:var(--highest)}
.by img{width:24px;height:24px}
.faces{display:flex}
.faces img{width:30px;height:30px;box-shadow:0 0 0 2px var(--card)}
.faces img+img{margin-left:-8px}

/* Hero */
.hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(32px,5vw,72px);align-items:center;padding-block:clamp(28px,6vw,88px) clamp(64px,9vw,128px)}
.hero h1{margin-bottom:24px}
.mark{position:relative;white-space:nowrap;z-index:0}
.mark::after{content:'';position:absolute;z-index:-1;left:-.02em;right:.18em;bottom:-.1em;height:.34em;border-bottom:.085em solid var(--capture);border-radius:0 0 50% 50%/0 0 100% 100%;rotate:-1.5deg}
.lede{font-size:clamp(19px,1.9vw,23px);line-height:1.45;color:var(--muted);max-width:28ch}
.cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:32px}
.cta-note{font-size:14px;color:var(--muted)}

.hero-demo{position:relative;justify-self:center;width:min(100%,420px);padding:34px 0}
.hero-demo::before{content:'';position:absolute;inset:50px -14px 18px 22px;border-radius:30px;background:var(--container);rotate:4deg}
.phone{position:relative;background:var(--card);border-radius:28px;padding:20px;box-shadow:var(--lift),inset 0 0 0 1px color-mix(in srgb,var(--line) 70%,transparent)}
.ask-field{display:flex;align-items:center;gap:12px;min-height:56px;padding:6px 6px 6px 18px;border-radius:22px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line)}
.ask-q{flex:1;font-size:16px}
.ask-send{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--ask);color:#fff}
.ask-answer{font:400 21px/1.36 var(--display);letter-spacing:-.01em;margin:20px 4px 16px}
.ask-answer b{font-weight:600}
.row{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding-top:14px;border-top:1px solid var(--line)}
.row .art{margin-top:2px}
.row-title{font:400 20px/1.25 var(--display)}
.row-meta{font-size:13px;color:var(--muted);margin:2px 0 8px}
.chip{position:absolute;z-index:1;display:flex;align-items:center;gap:9px;padding:6px 14px 6px 6px;border-radius:999px;background:var(--card);box-shadow:var(--lift),inset 0 0 0 1px var(--line);font-size:13px;color:var(--muted);white-space:nowrap}
.chip b{color:var(--ink);font-weight:600}
.chip img{width:28px;height:28px}
.chip-top{top:0;left:-28px;rotate:-3deg}
.chip-bottom{bottom:0;right:-20px;rotate:2deg}

/* How it works */
.how{padding-block:clamp(64px,8vw,112px);background:var(--band)}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:clamp(36px,5vw,60px)}
.step{position:relative;display:flex;flex-direction:column;padding:22px 20px 20px;border-radius:20px;background:var(--band-card)}
.step:not(:last-child)::after{content:'';position:absolute;top:46px;right:-17px;width:18px;height:3px;border-radius:2px;background:var(--highest);z-index:1}
.s-red{--s:var(--capture)}.s-blue{--s:var(--ask)}.s-yellow{--s:var(--library)}
.step-n{font:600 56px/1 var(--display);color:var(--s);letter-spacing:-.04em;margin-bottom:12px}
.step h3{font-size:22px;margin-bottom:8px}
.step-text{font-size:15px;line-height:1.45;color:var(--muted);margin-bottom:18px}
.vignette{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:14px;background:var(--bg)}
.said{display:flex;align-items:flex-start;gap:10px;font:400 16px/1.4 var(--display)}
.said img{width:32px;height:32px}
.mini{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;background:var(--band-card)}
.mini p{flex:1;min-width:0;display:flex;flex-direction:column}
.mini b{font:400 17px/1.25 var(--display)}
.mini .tier{margin-left:0}
.mini span{font-size:12px;color:var(--muted)}
.bubble-q{align-self:flex-start;padding:9px 14px;border-radius:16px 16px 16px 6px;font-size:15px;line-height:1.35;background:color-mix(in srgb,var(--ask) 13%,var(--card));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ask) 28%,transparent)}
.bubble-a{font:400 16px/1.4 var(--display)}
.bubble-a b{font-weight:600}
.suggest{display:flex;flex-direction:column;gap:6px}
.suggest li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:var(--band-card);font-size:13px;color:var(--muted)}
.suggest img{width:28px;height:28px}
.suggest li>span:nth-child(2){flex:1}
.suggest b{color:var(--ink);font-weight:600;margin-right:4px}
.check{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--ask);color:#fff;font-size:12px;font-weight:600}
.loop-back{display:flex;align-items:center;justify-content:center;gap:12px;width:fit-content;margin:28px auto 0;padding:12px 22px 12px 16px;border-radius:999px;background:var(--band-card);font:600 clamp(18px,2vw,22px)/1.25 var(--display);letter-spacing:-.01em;text-align:left}
.loop-arrow{display:inline-flex;color:var(--ask);flex:none}

/* The good ones aren't on Google */
.known{padding-block:clamp(64px,8vw,112px)}
.wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:clamp(36px,5vw,60px)}
.pick{position:relative;display:flex;flex-direction:column;padding:20px 20px 18px;border-radius:18px;background:var(--card);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--line) 80%,transparent);transition:rotate .22s ease-out,translate .22s ease-out}
.pick .art{position:absolute;top:14px;right:14px}
.pick>.by{margin-bottom:18px;font-size:15px}
.pick>.by img{width:36px;height:36px}
.by i{font-style:normal;font-weight:400;color:var(--muted)}
.pick h3{font-size:23px;line-height:1.2;letter-spacing:-.015em}
.pick-kind{font-size:13px;font-weight:600;color:var(--k);margin-top:4px}
.hook{font-size:16px;line-height:1.45;margin-top:12px}
.k-places{--k:var(--k-places)}.k-people{--k:var(--k-people)}.k-activities{--k:var(--k-activities)}

/* Trust */
.trust{--tcard:color-mix(in srgb,var(--on-inverse) 7%,var(--inverse));--trule:color-mix(in srgb,var(--on-inverse) 14%,transparent);padding-block:clamp(64px,8vw,112px);background:var(--inverse);color:var(--on-inverse)}
.trust h2{font-size:clamp(38px,5.6vw,72px)}
.trust-lede{font-size:clamp(18px,1.6vw,21px);line-height:1.45;color:var(--inverse-muted);margin-top:16px;max-width:40ch}
.trust-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:clamp(32px,4.5vw,56px)}
.trust-points li{display:flex;flex-direction:column;padding:24px;border-radius:22px;background:var(--tcard);box-shadow:inset 0 0 0 1px var(--trule)}
.trust-points h3{font-size:24px;margin-top:22px}
.trust-points p{font-size:16px;line-height:1.45;color:var(--inverse-muted);margin-top:6px}
.tp-art{display:flex;align-items:center;min-height:48px}
.faces-lg img{width:44px;height:44px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px var(--tcard)}
.faces-lg img+img{margin-left:-12px}
.nopes{flex-wrap:wrap;gap:6px}
.nopes s{padding:5px 11px;border-radius:999px;font-size:13px;font-weight:500;color:var(--inverse-muted);box-shadow:inset 0 0 0 1px var(--trule);text-decoration:line-through 2px var(--inverse-red)}
.tiles{gap:6px}
.trust .tile{--tier-on:var(--inverse)}
.trust .t-s{--t:#FF6B62}.trust .t-a{--t:#F0875A}.trust .t-b{--t:#F0B95A}.trust .t-c{--t:#CFC483}.trust .t-d{--t:#9FC77E}
@media (prefers-color-scheme:dark){.trust .t-s{--t:#C2352E}.trust .t-a{--t:#B4501F}.trust .t-b{--t:#8D590A}.trust .t-c{--t:#6E6526}.trust .t-d{--t:#4F6F2A}}

/* Closing */
.closing{display:flex;flex-direction:column;align-items:center;gap:26px;text-align:center;padding-block:clamp(64px,9vw,128px)}
.closing h2{font-size:clamp(40px,6vw,80px);line-height:1;max-width:14ch}
.closing .cta-note{max-width:34ch;font-size:15px}

/* Footer */
.foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding-block:20px 36px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.foot nav{display:flex;flex-wrap:wrap;gap:0 20px}
.foot a{display:inline-flex;align-items:center;min-height:48px;text-decoration:none}
.foot a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}

/* Desktop flourishes */
@media (min-width:900px){
  .pick:nth-child(3n+1){rotate:-.8deg}
  .pick:nth-child(3n+2){rotate:.6deg}
  .pick:nth-child(3n){rotate:-.3deg}
  .pick:hover{rotate:0deg;translate:0 -3px}
}

/* Tablet */
@media (max-width:1020px){
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .step:nth-child(2)::after{display:none}
  .wall{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .hero{grid-template-columns:minmax(0,1fr)}
  .hero-demo{width:min(100% - 24px,420px)}
  .chip-top{left:-8px}.chip-bottom{right:-8px}
  .trust-points{grid-template-columns:minmax(0,1fr);gap:12px}
  .trust-points li{padding:20px}
}
/* Phone */
@media (max-width:600px){
  body{font-size:16px}
  .top-nav>a:not(.btn){display:none}
  .brand img{width:96px}
  .hero{padding-top:20px}
  .cta-row .btn{width:100%}
  .cta-row{gap:12px}
  .cta-note{width:100%;text-align:center}
  .phone{padding:16px}
  .ask-answer{font-size:19px}
  .steps,.wall{grid-template-columns:minmax(0,1fr)}
  .step::after{display:none}
  .loop-back{border-radius:20px}
  .foot{flex-direction:column;align-items:flex-start}
}

/* Motion: short, ease-out, finite; none when reduced motion is asked for */
@media (prefers-reduced-motion:no-preference){
  @keyframes rise{from{opacity:0;translate:0 14px}}
  @keyframes fade{from{opacity:0}}
  @keyframes draw{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
  @keyframes pop{from{opacity:0;scale:.85}}
  .hero-copy>*{animation:rise .42s cubic-bezier(.2,.7,.2,1) both}
  .hero-copy>:nth-child(2){animation-delay:.06s}
  .hero-copy>:nth-child(3){animation-delay:.14s}
  .mark::after{animation:draw .6s cubic-bezier(.6,0,.2,1) .55s both}
  .phone{animation:rise .5s cubic-bezier(.2,.7,.2,1) .18s both}
  .hero-demo::before{animation:fade .5s ease-out .3s both}
  .ask-answer{animation:rise .28s ease-out .95s both}
  .row{animation:rise .28s ease-out 1.15s both}
  .chip-top{animation:pop .3s cubic-bezier(.34,1.56,.64,1) 1.45s both}
  .chip-bottom{animation:pop .3s cubic-bezier(.34,1.56,.64,1) 1.7s both}
  @supports (animation-timeline:view()){
    .pick,.step,.trust-points li{animation:rise linear both;animation-timeline:view();animation-range:entry 5% entry 45%}
  }
}
