:root {
  --bg: #F8FFFE;
  --bg-alt: #F0FDFA;
  --card: #FFFFFF;
  --border: #D1E7E4;
  --text: #0F172A;
  --text-muted: #475569;
  --text-faint: #94A3B8;
  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-soft: #CCFBF1;
  --ink: #0F172A;
  --ink-mid: #1E293B;
  --ink-light: #334155;
  --radius: 20px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-dark); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-weight: 700; font-size: 1.15rem; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(248, 255, 254, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.page-home .site-header { background: rgba(15, 23, 42, .92); border-bottom-color: rgba(255,255,255,.06); }
.page-home .site-header .brand { color: #fff; }
.page-home .site-header .header-nav > a { color: rgba(255,255,255,.6); }
.page-home .site-header .header-nav > a:hover { color: var(--primary-soft); }
.page-home .site-header .lang-switch { background: rgba(255,255,255,.08); }
.page-home .site-header .lang-switch a { color: rgba(255,255,255,.5); }
.page-home .site-header .lang-switch a[aria-current] { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand img { border-radius: 10px; }
.header-nav { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: .95rem; }
.header-nav > a { color: var(--text-muted); text-decoration: none; }
.header-nav > a:hover { color: var(--primary); }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg-alt); }
.lang-switch a { padding: 2px 9px; border-radius: 999px; color: var(--text-muted); text-decoration: none; font-size: .8rem; font-weight: 700; }
.lang-switch a[aria-current] { background: var(--card); color: var(--primary-dark); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 80px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 900px 600px at 65% 30%, rgba(13,148,136,.12), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.brand-hero { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 900; letter-spacing: -0.04em; margin: 0 0 16px; line-height: 1; color: #fff; }
.brand-hero span { color: var(--primary); }
.hero-headline { font-size: clamp(1.2rem, 2.5vw, 1.5rem); color: rgba(255,255,255,.8); margin: 0 0 12px; font-weight: 500; max-width: 28em; line-height: 1.4; }
.hero-sub { color: rgba(255,255,255,.45); font-size: 1rem; margin: 0 0 32px; }
.hero .store-badges { margin-top: 0; }
.hero .store-badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.hero .store-badge:hover { background: rgba(255,255,255,.18); }

/* Chat mock */
.hero-visual { position: relative; }
.chat-mock {
  background: var(--ink-mid);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin-inline: auto;
  position: relative;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
}
.chat-mock::before,
.chat-mock::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 48px;
  pointer-events: none;
  z-index: 1;
}
.chat-mock::before { top: 0; background: linear-gradient(var(--ink-mid), transparent); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.chat-mock::after { bottom: 0; background: linear-gradient(transparent, var(--ink-mid)); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.chat-msg { max-width: 88%; }
.chat-msg span {
  display: block;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: .9rem;
  line-height: 1.5;
}
.chat-msg-user { align-self: flex-end; }
.chat-msg-user span { background: var(--primary); color: #fff; border-bottom-right-radius: 6px; }
.chat-msg-ai { align-self: flex-start; }
.chat-msg-ai span { background: var(--ink-light); color: rgba(255,255,255,.88); border-bottom-left-radius: 6px; }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 16px; border-radius: 14px; background: var(--text); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.store-badge:hover { background: #000; color: #fff; }
.store-badge small { display: block; font-size: .7rem; font-weight: 600; opacity: .8; }

/* Tiers */
.tiers { padding: 72px 0 56px; }
.tiers-heading { text-align: center; margin-bottom: 36px; }
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tier-card { border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--border); background: var(--card); }
.tier-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.tier-desc { color: var(--text-muted); margin: 0 0 24px; }
.tier-badge { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.tier-free .tier-badge { background: var(--primary-soft); color: var(--primary-dark); }
.tier-premium { background: var(--ink); color: #fff; border-color: var(--ink); }
.tier-premium .tier-badge { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.tier-premium .tier-desc { color: rgba(255,255,255,.55); }
.tier-card ul { list-style: none; padding: 0; margin: 0; }
.tier-card li { padding: 10px 0; border-top: 1px solid var(--border); font-weight: 500; font-size: .95rem; display: flex; align-items: baseline; gap: 10px; }
.tier-card li::before { content: '✓'; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.tier-premium li { border-color: rgba(255,255,255,.08); }
.tier-premium li::before { color: var(--primary-soft); }

/* Band cards */
.band { padding: 0 0 56px; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.band-card { border-radius: var(--radius-lg); padding: 32px; }
.band-card h2 { font-size: 1.35rem; }
.band-card p { color: var(--text-muted); margin: 0 0 12px; }
.band-noaccount { background: var(--primary-soft); }
.band-privacy { background: var(--bg-alt); border: 1px solid var(--border); }
.band-privacy a { color: var(--primary-dark); font-weight: 700; text-decoration: none; }
.band-privacy a:hover { color: var(--primary); }

/* CTA */
.cta { padding: 48px 0 72px; text-align: center; }
.cta .store-badges { justify-content: center; }

/* Documents */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2em; }
.doc h3 { margin-top: 1.5em; }
.doc-date { color: var(--text-faint); font-weight: 700; font-size: .9rem; margin-top: -4px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .5em; }
.lead { font-size: 1.15rem; color: var(--text-muted); }

.contact-card { margin: 28px 0 8px; padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border); text-align: center; }
.contact-card p { margin: 0; color: var(--text-muted); font-weight: 600; }
.contact-email { display: inline-block; margin: 6px 0 10px; font-size: clamp(1.2rem, 3.5vw, 1.6rem); font-weight: 800; text-decoration: none; word-break: break-all; }
.contact-hint { font-size: .9rem; color: var(--text-faint) !important; }

.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--primary); font-weight: 700; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 16px; color: var(--text-muted); }

.button { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--primary-dark); color: #fff; }
.notfound { text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 36px; background: var(--bg-alt); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-weight: 700; font-size: .95rem; }
.footer-brand img { border-radius: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; font-size: .95rem; }
.footer-nav a { color: var(--text-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--primary); }
.footer-note { color: var(--text-faint); font-size: .85rem; margin-top: 16px; }

@media (max-width: 860px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .brand-hero { font-size: clamp(3rem, 10vw, 4.5rem); }
  .chat-mock { max-width: 100%; }
  .tier-grid, .band-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-nav > a { display: none; }
  .tier-card { padding: 24px; }
  .band-card { padding: 24px; }
  .hero { padding: 36px 0 32px; }
}
