/* Tocktoy site. Neutral shell (shadcn zinc tokens), content first; colour
   lives in the app captures and the outlined sticker shapes behind them
   (the app's own light blue / yellow / purple with black outlines). */
:root{
  --bg:#ffffff;--fg:#09090b;--muted:#f4f4f5;--muted-fg:#71717a;--border:#e4e4e7;
  --card:#ffffff;--ring:#a1a1aa;--primary:#09090b;--primary-fg:#fafafa;
  --blue:#9bc2fd;--yellow:#fde18c;--purple:#b5a1eb;--peach:#ffbd80;--ink:#0a0a0c;
  --radius:16px;--wrap:1120px;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue","PingFang SC","Hiragino Sans GB","Noto Sans CJK SC",sans-serif;
  color-scheme:light dark;
}
@media (prefers-color-scheme:dark){
  :root{--bg:#09090b;--fg:#fafafa;--muted:#18181b;--muted-fg:#a1a1aa;--border:#27272a;--card:#0f0f12;--ring:#52525b;--primary:#fafafa;--primary-fg:#09090b}
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-999px}.skip:focus{left:16px;top:12px;z-index:99;background:var(--bg);padding:8px 12px;border-radius:8px}

/* Header */
header.site{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:saturate(180%) blur(14px);-webkit-backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid var(--border)}
header.site .wrap{display:flex;align-items:center;gap:24px;height:64px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;font-size:17px;letter-spacing:-.01em}
.brand img{width:32px;height:32px;border-radius:8px;box-shadow:0 0 0 1px var(--border)}
nav.links{display:flex;gap:4px;margin-left:8px}
nav.links a{text-decoration:none;color:var(--muted-fg);font-size:14px;padding:6px 10px;border-radius:999px}
nav.links a:hover,nav.links a[aria-current=page]{color:var(--fg);background:var(--muted)}
.spacer{flex:1}
.lang{font-size:14px;color:var(--muted-fg);text-decoration:none;padding:6px 10px;border-radius:999px;border:1px solid var(--border)}
.lang:hover{color:var(--fg);border-color:var(--ring)}

/* Buttons: one wide capsule for the main action, an outlined one beside it. */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 24px;border-radius:999px;font-weight:600;font-size:15px;text-decoration:none;border:1px solid transparent;transition:transform .15s ease,opacity .15s ease,background .15s ease}
.btn:active{transform:scale(.98)}
.btn.primary{background:var(--primary);color:var(--primary-fg)}
.btn.primary:hover{opacity:.88}
.btn.outline{border-color:var(--border);background:var(--card)}
.btn.outline:hover{background:var(--muted)}
.btn.small{height:36px;padding:0 16px;font-size:14px}
.btn svg{width:18px;height:18px}
.soon{font-size:13px;color:var(--muted-fg);margin-top:12px}

/* Hero */
.hero{padding:72px 0 40px;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}
.badge{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted-fg);border:1px solid var(--border);border-radius:999px;padding:4px 12px 4px 6px;background:var(--card)}
.badge b{background:var(--fg);color:var(--bg);border-radius:999px;padding:1px 8px;font-size:12px;font-weight:600}
h1{text-wrap:balance;font-size:clamp(40px,6vw,68px);line-height:1.04;letter-spacing:-.035em;margin:20px 0 18px;font-weight:800}
.lead{font-size:clamp(17px,2vw,20px);color:var(--muted-fg);max-width:34em;margin:0 0 28px}
.cta{display:flex;flex-wrap:wrap;gap:12px}
.stage{position:relative;height:560px}
.stage .blob{position:absolute;border:2.5px solid var(--ink);border-radius:46% 54% 42% 58%/55% 45% 55% 45%}
.stage .b1{width:250px;height:250px;background:var(--blue);left:-14px;top:250px}
.stage .b2{width:180px;height:180px;background:var(--yellow);right:-6px;top:0;border-radius:50%}
.stage .b3{width:190px;height:150px;background:var(--purple);right:6%;bottom:0}
.phone{position:absolute;width:206px;border-radius:40px;border:9px solid #0b0b0d;background:#0b0b0d;box-shadow:0 30px 60px -20px rgba(0,0,0,.35),0 0 0 1px rgba(255,255,255,.06) inset;overflow:hidden}
.phone img{border-radius:31px;width:100%;height:auto;aspect-ratio:1320/2868;object-fit:cover}
.stage .p1{left:6%;top:64px;transform:rotate(-7deg)}
.stage .p2{left:calc(50% - 114px);top:12px;z-index:2;width:228px}
.stage .p3{right:6%;top:76px;transform:rotate(7deg)}

/* Sections */
section{padding:88px 0}
section.tint{background:var(--muted);border-block:1px solid var(--border)}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-fg)}
h2{text-wrap:balance;font-size:clamp(30px,4vw,44px);line-height:1.1;letter-spacing:-.03em;margin:10px 0 14px;font-weight:800}
.sub{color:var(--muted-fg);font-size:18px;max-width:40em;margin:0}
.head{margin-bottom:40px}

/* Face shelf: equal cards, the capture is the content. */
.shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.face{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:12px 12px 16px;transition:transform .2s ease,box-shadow .2s ease}
.face:hover{transform:translateY(-3px);box-shadow:0 18px 40px -24px rgba(0,0,0,.35)}
.face .shot{border-radius:12px;overflow:hidden;background:var(--muted);aspect-ratio:3/4}
.face .shot img{width:100%;height:100%;object-fit:cover;object-position:center 42%}
.face h3{font-size:16px;margin:14px 4px 2px;letter-spacing:-.01em}
.face p{font-size:14px;color:var(--muted-fg);margin:0 4px;line-height:1.45}

/* Feature rows */
.row{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:24px 0}
.row+.row{margin-top:48px}
.row.flip .art{order:2}
.art{position:relative;display:flex;justify-content:center;padding:28px 0}
.art .blob{position:absolute;inset:8% 14%;border:2.5px solid var(--ink);border-radius:44% 56% 50% 50%/52% 46% 54% 48%}
.art .phone{position:relative;width:250px}
.row h3{font-size:clamp(24px,3vw,32px);letter-spacing:-.025em;line-height:1.15;margin:8px 0 12px}
.row p{color:var(--muted-fg);font-size:17px;margin:0 0 18px}
.ticks{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.ticks li{display:flex;gap:10px;align-items:flex-start;font-size:15px}
.ticks li::before{content:"";flex:none;width:20px;height:20px;margin-top:2px;border-radius:999px;background:var(--fg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
@media (prefers-color-scheme:dark){.ticks li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}}

/* Cards */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:24px}
.card .icon{width:44px;height:44px;border-radius:12px;border:2px solid var(--ink);display:grid;place-items:center;margin-bottom:16px;color:var(--ink)}
.card .icon svg{width:22px;height:22px}
.card h3{margin:0 0 6px;font-size:18px;letter-spacing:-.01em}
.card p{margin:0;color:var(--muted-fg);font-size:15px}
.plans{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:860px}
.plan{background:var(--card);border:1px solid var(--border);border-radius:20px;padding:28px}
.plan.pro{border:2px solid var(--fg)}
.plan .tag{display:inline-block;font-size:12px;font-weight:600;border-radius:999px;padding:2px 10px;background:var(--muted);color:var(--muted-fg)}
.plan.pro .tag{background:var(--fg);color:var(--bg)}
.plan h3{font-size:24px;margin:12px 0 4px;letter-spacing:-.02em}
.plan p{color:var(--muted-fg);margin:0 0 18px}

/* Closing band */
.band{border:1px solid var(--border);border-radius:28px;padding:56px 32px;text-align:center;background:
  radial-gradient(60% 80% at 15% 20%,color-mix(in srgb,var(--blue) 45%,transparent),transparent 70%),
  radial-gradient(50% 70% at 90% 85%,color-mix(in srgb,var(--yellow) 55%,transparent),transparent 70%),var(--card)}
.band img{width:88px;height:88px;border-radius:22px;margin:0 auto 18px;box-shadow:0 12px 30px -12px rgba(0,0,0,.4)}
.band .cta{justify-content:center}

/* Text pages (support, privacy) */
.page{padding:56px 0 96px}
.page .wrap{max-width:760px}
.page h1{font-size:clamp(34px,5vw,48px);margin:8px 0 10px}
.page .meta{color:var(--muted-fg);font-size:14px;margin:0 0 36px}
.page h2{font-size:22px;letter-spacing:-.015em;margin:44px 0 10px}
.page p,.page li{color:color-mix(in srgb,var(--fg) 82%,var(--muted-fg))}
.page ul{padding-left:20px}.page li{margin:6px 0}
.summary{border:1px solid var(--border);background:var(--muted);border-radius:var(--radius);padding:20px 22px;margin:0 0 8px}
.summary p{margin:0}
details{border:1px solid var(--border);border-radius:14px;background:var(--card);margin:10px 0;overflow:hidden}
details summary{cursor:pointer;list-style:none;padding:16px 48px 16px 18px;font-weight:600;position:relative}
details summary::-webkit-details-marker{display:none}
details summary::after{content:"";position:absolute;right:18px;top:50%;width:9px;height:9px;border-right:2px solid var(--muted-fg);border-bottom:2px solid var(--muted-fg);transform:translateY(-70%) rotate(45deg);transition:transform .2s ease}
details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
details .body{padding:0 18px 16px;color:var(--muted-fg)}
details .body p{margin:0 0 8px}
.contact{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;border:1px solid var(--border);border-radius:20px;padding:24px;margin-top:36px;background:var(--card)}
.contact h2{margin:0 0 4px;font-size:20px}.contact p{margin:0;color:var(--muted-fg)}
kbd{font:inherit;font-size:.92em;border:1px solid var(--border);border-bottom-width:2px;border-radius:6px;padding:0 6px;background:var(--muted)}

/* Footer */
footer.site{border-top:1px solid var(--border);padding:32px 0 48px;color:var(--muted-fg);font-size:14px}
footer.site .wrap{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center}
footer.site a{text-decoration:none}footer.site a:hover{color:var(--fg)}

/* Dark: the outlines stay visible on the dark page. */
@media (prefers-color-scheme:dark){.card .icon{border-color:var(--fg);color:var(--fg)}.stage .blob,.art .blob{border-color:#fafafa}}

/* Smaller screens */
@media (max-width:960px){
  .hero .wrap{grid-template-columns:1fr}
  .stage{height:520px;max-width:560px;margin:0 auto;width:100%}
  .shelf{grid-template-columns:repeat(2,1fr)}
  .row,.row.flip{grid-template-columns:1fr;gap:16px}
  .row.flip .art{order:0}
  .cards{grid-template-columns:1fr}
}
@media (max-width:640px){
  nav.links{display:none}
  header.site .wrap{gap:12px}
  .hero{padding:40px 0 16px}
  .stage{height:430px}
  .phone{width:180px;border-width:7px;border-radius:32px}.phone img{border-radius:25px}
  .stage .p2{width:196px;left:calc(50% - 98px)}
  .stage .p1{left:-4px}.stage .p3{right:-4px}
  .stage .b1{width:220px;height:220px}.stage .b2{width:150px;height:150px}.stage .b3{width:150px;height:130px}
  section{padding:64px 0}
  .plans{grid-template-columns:1fr}
  .band{padding:40px 20px}
  .header-cta{display:none}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
