/* tchin.ai — palette Android (Material 3) + Bricolage Grotesque / Manrope */
:root {
  --hero: #381E72;
  --on-hero: #FFFFFF;
  --on-hero-muted: #E8DEF8;
  --hero-accent: #FFD8E4;
  --on-hero-accent: #31111D;
  --background: #FEF7FF;
  --surface: #F3EDF7;
  --card-soft: #EADDFF;
  --on-card-soft: #21005D;
  --accent: #6750A4;
  --text: #1D1B20;
  --text-muted: #49454F;
  --divider: #E7E0EC;
  --footer: #141218;
  --on-footer: #E6E0E9;
  --on-footer-muted: #CAC4D0;
  --footer-link: #D0BCFF;
  --display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--hero); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; }
p { margin: 0; }
.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--hero); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--hero-accent); outline-offset: 3px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.wordmark .dot { color: var(--hero-accent); }

/* Header */
.site-header { background: var(--hero); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.site-header .wordmark { font-size: 28px; color: var(--on-hero); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav a { color: var(--on-hero); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 0; }
.nav a:hover { color: var(--hero-accent); }
.nav a.lang { color: var(--on-hero-muted); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px; padding: 16px 24px; border-radius: 999px; line-height: 1.2; }
.btn-sm { font-size: 15px; padding: 12px 20px; }
.btn-accent { background: var(--hero-accent); color: var(--on-hero-accent); }
.btn-accent:hover { background: #FFC2D4; color: var(--on-hero-accent); }
.btn-outline { color: var(--on-hero); border: 2px solid var(--on-hero-muted); padding: 14px 22px; }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--on-hero); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--hero); color: #fff; }
.nav a.btn-accent { color: var(--on-hero-accent); padding: 12px 20px; }

/* Hero */
.hero { background: var(--hero); color: var(--on-hero); }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 96px; }
.hero-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero .eyebrow { color: var(--on-hero-muted); background: rgba(255,255,255,0.12); padding: 8px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -0.03em; color: var(--on-hero); }
.hero h1 span { color: var(--hero-accent); }
.hero .lead { font-size: 19px; line-height: 1.55; color: var(--on-hero-muted); max-width: 560px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-link { color: var(--hero-accent); font-weight: 600; font-size: 16px; }
.hero-link:hover { color: #fff; }

/* Phone mockup */
.phone { flex: 0 0 300px; width: 300px; height: 610px; border-radius: 46px; background: #1D192B; padding: 12px; margin: 0 auto; }
.phone-screen { height: 100%; border-radius: 36px; background: var(--background); padding: 26px 18px 14px; display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.phone-top { display: flex; align-items: center; justify-content: space-between; }
.phone-top .logo { gap: 6px; }
.phone-top .wordmark { font-size: 18px; color: var(--text); }
.phone-top .wordmark .dot { color: var(--accent); }
.phone-label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.chip-soft { color: var(--on-card-soft); background: var(--card-soft); }
.chip-pink { color: var(--on-hero-accent); background: var(--hero-accent); }
.chip-off { color: var(--text-muted); background: #fff; text-decoration: line-through; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.reco { background: var(--hero); color: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.hero .reco .eyebrow { font-size: 11px; color: var(--on-hero-muted); background: none; padding: 0; border-radius: 0; }
.reco-name { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.1; }
.reco-meta { font-size: 12px; color: var(--on-hero-muted); }
.reco .chips { margin-top: 6px; }
.profile { background: var(--surface); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.profile-note { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-muted); }
.tabbar { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 8px 6px 0; border-top: 1px solid var(--divider); font-size: 10px; font-weight: 600; color: var(--text-muted); }
.tab-center { width: 48px; height: 44px; border-radius: 16px; background: var(--card-soft); display: flex; align-items: center; justify-content: center; }

/* Sections */
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1.05; color: var(--hero); }
.section-head p { font-size: 18px; line-height: 1.55; color: var(--text-muted); }
.uses .container { display: flex; flex-direction: column; gap: 40px; padding-top: 96px; padding-bottom: 72px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--surface); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.card .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-card-soft); background: var(--card-soft); padding: 6px 12px; border-radius: 999px; }
.card h3 { font-size: 24px; color: var(--text); }
.card p { font-size: 16px; line-height: 1.55; color: var(--text-muted); }

.taste .container { padding-top: 24px; padding-bottom: 96px; }
.taste-panel { background: var(--hero); color: #fff; border-radius: 36px; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 36px; }
.taste-panel .section-head h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.taste-panel .section-head p { color: var(--on-hero-muted); }
.taste-panel .eyebrow { color: var(--hero-accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: rgba(255,255,255,0.08); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 40px; height: 40px; border-radius: 999px; background: var(--hero-accent); color: var(--on-hero-accent); font-family: var(--display); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 22px; }
.step p { font-size: 16px; line-height: 1.55; color: var(--on-hero-muted); }

.friends { background: var(--card-soft); }
.friends .container { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 88px; padding-bottom: 88px; }
.friends-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.friends h2 { font-size: clamp(34px, 4.5vw, 56px); letter-spacing: -0.02em; line-height: 1; color: var(--on-card-soft); }
.friends p { font-size: 18px; line-height: 1.55; max-width: 540px; }
.join-card { flex: 1 1 320px; max-width: 380px; background: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.join-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.join-url { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--hero); }
.code { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.code span { height: 64px; background: var(--surface); border: 2px solid var(--accent); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 28px; }
.join-note { font-size: 14px; color: var(--text-muted); }

/* Footer */
.site-footer { background: var(--footer); color: var(--on-footer); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer .wordmark { font-size: 24px; color: var(--on-footer); }
.site-footer .wordmark .dot { color: var(--footer-link); }
.legal { font-size: 14px; color: var(--on-footer-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-nav a { color: var(--footer-link); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

/* Coming soon */
.soon { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--hero); color: var(--on-hero); }
.soon .site-header { background: transparent; }
.soon-main { flex: 1; display: flex; align-items: center; }
.soon-main .container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-top: 48px; padding-bottom: 96px; }
.app-icon { width: 128px; height: 128px; border-radius: 30px; background: var(--hero-accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.soon .eyebrow { color: var(--on-hero-muted); background: rgba(255,255,255,0.12); padding: 8px 14px; border-radius: 999px; }
.soon h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; max-width: 860px; }
.soon h1 span { color: var(--hero-accent); }
.soon .lead { font-size: 19px; line-height: 1.55; color: var(--on-hero-muted); max-width: 620px; }
.soon .chips { justify-content: center; }
.soon .chip { font-size: 14px; padding: 8px 14px; background: rgba(255,255,255,0.12); color: #fff; }
.soon-footer { padding: 24px; text-align: center; font-size: 14px; color: var(--on-hero-muted); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
