:root {
  color-scheme: light;
  --navy-950: #071722;
  --navy-900: #0b2130;
  --navy-800: #12364a;
  --teal-600: #0f766e;
  --teal-100: #d9f0ed;
  --ink: #102333;
  --muted: #526d7e;
  --line: #dce6eb;
  --surface: #f6f9fa;
  --white: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #60c8c0; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-160%); color: var(--white); background: var(--teal-600); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 76px);
  color: var(--white);
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: var(--teal-600); font-size: 12px; font-weight: 800; }
.brand > span:last-child { display: grid; line-height: 1.1; }
.brand strong { font-size: 14px; letter-spacing: .04em; }
.brand small { color: rgba(255,255,255,.7); font-size: 12px; }
.site-header nav, footer nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 650; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--white); }
.site-header .staff-link { margin-left: 4px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.5); font-size: 11px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  align-items: center;
  gap: clamp(52px, 8vw, 110px);
  min-height: 660px;
  padding: clamp(72px, 10vw, 132px) clamp(24px, 7vw, 110px);
  color: var(--white);
  background: radial-gradient(circle at 78% 24%, rgba(35,126,139,.28), transparent 34%), linear-gradient(145deg, var(--navy-950), var(--navy-900));
}
.hero-copy { max-width: 670px; }
.eyebrow { margin: 0 0 18px; color: #68c9c1; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.hero h1 { max-width: 13ch; margin: 0; font-size: clamp(46px, 6.6vw, 82px); line-height: .98; letter-spacing: -.055em; }
.hero-lede { max-width: 60ch; margin: 28px 0 0; color: rgba(255,255,255,.72); font-size: clamp(17px, 2vw, 20px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; border-radius: 10px; font-size: 14px; font-weight: 750; text-decoration: none; }
.button-primary { color: var(--navy-950); background: var(--white); }
.button-secondary { color: var(--white); border: 1px solid rgba(255,255,255,.24); }
.scope-note { margin: 20px 0 0; color: rgba(255,255,255,.46); font-size: 12px; }
.conversation-card { padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(255,255,255,.07); box-shadow: 0 26px 90px rgba(0,0,0,.22); }
.card-top, .message > div, .card-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-top { padding: 4px 4px 18px; }
.card-top > div { display: grid; }
.card-top small, .message time { color: rgba(255,255,255,.5); font-size: 11px; }
.card-top strong { font-size: 14px; }
.card-top > span { padding: 5px 9px; border-radius: 999px; color: #a6e4df; background: rgba(15,118,110,.25); font-size: 10px; font-weight: 750; }
.message { margin-top: 10px; padding: 18px; border-radius: 15px; color: var(--ink); background: rgba(255,255,255,.96); }
.message > div { justify-content: flex-start; }
.message time { margin-left: auto; color: #78909d; }
.message p { margin: 11px 0 0; color: #3f5968; font-size: 13px; line-height: 1.65; }
.channel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-600); }
.whatsapp { margin-left: 34px; }
.card-status { margin-top: 16px; padding: 12px 4px 2px; color: rgba(255,255,255,.58); font-size: 11px; }
.card-status strong { color: #a6e4df; }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: var(--surface); }
.principles article { padding: 40px clamp(26px, 4vw, 60px); }
.principles article + article { border-left: 1px solid var(--line); }
.principles span { color: var(--teal-600); font-size: 12px; font-weight: 800; }
.principles h2 { margin: 10px 0 8px; font-size: 18px; letter-spacing: -.02em; }
.principles p { margin: 0; color: var(--muted); font-size: 13px; }

.product-section, .trust-section { padding: clamp(74px, 10vw, 132px) clamp(24px, 7vw, 110px); }
.section-heading { max-width: 720px; }
.section-heading h2, .trust-section h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.06; letter-spacing: -.045em; }
.section-heading > p:last-child { max-width: 60ch; margin: 20px 0 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 60px; border: 1px solid var(--line); background: var(--line); }
.feature-grid article { padding: clamp(28px, 4vw, 46px); background: var(--white); }
.feature-grid h3 { margin: 0 0 12px; font-size: 19px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.trust-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: clamp(50px, 9vw, 120px); color: var(--white); background: var(--navy-900); }
.trust-copy p { margin: 0 0 18px; color: rgba(255,255,255,.7); }
.text-link { display: inline-block; margin-top: 9px; color: #83d8d1; font-weight: 750; text-underline-offset: 4px; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 110px; padding: 24px clamp(20px, 5vw, 76px); color: rgba(255,255,255,.64); background: var(--navy-950); font-size: 12px; }
.footer-brand { display: grid; }
.footer-brand strong { color: var(--white); font-size: 14px; }
footer nav a { text-underline-offset: 4px; }
.footer-staff-link { color: rgba(255,255,255,.42); }

.legal-page { background: var(--surface); }
.legal-shell { width: min(100%, 1180px); margin: 0 auto; padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 56px) 90px; }
.legal-intro { max-width: 820px; }
.legal-intro h1 { margin: 0; font-size: clamp(40px, 6vw, 66px); line-height: 1.02; letter-spacing: -.05em; }
.legal-intro > p:not(.eyebrow,.updated) { max-width: 68ch; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.updated { margin: 16px 0 0; color: #758b97; font-size: 12px; }
.legal-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 52px; border-block: 1px solid var(--line); }
.legal-summary article { padding: 25px 26px; }
.legal-summary article + article { border-left: 1px solid var(--line); }
.legal-summary strong { font-size: 14px; }
.legal-summary p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: clamp(42px, 8vw, 90px); margin-top: 62px; }
.legal-toc { position: sticky; top: 28px; display: grid; gap: 9px; padding-top: 16px; border-top: 1px solid #aebfc7; font-size: 12px; }
.legal-toc strong { margin-bottom: 4px; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--teal-600); text-decoration: underline; }
.legal-content { display: grid; gap: 50px; min-width: 0; }
.legal-content section { scroll-margin-top: 28px; }
.legal-content h2 { margin: 0 0 15px; font-size: 23px; letter-spacing: -.025em; }
.legal-content h3 { margin: 0 0 7px; font-size: 15px; }
.legal-content p, .legal-content li, .scope-list dd { max-width: 76ch; color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal-content p { margin: 0 0 15px; }
.legal-content ul { display: grid; gap: 8px; margin: 14px 0; padding-left: 22px; }
.legal-content a { color: var(--teal-600); font-weight: 700; text-underline-offset: 3px; }
.legal-content code { padding: 2px 5px; border-radius: 5px; color: var(--navy-900); background: var(--teal-100); font-size: .9em; }
.scope-list { margin: 20px 0; }
.scope-list > div { padding: 17px 0; border-bottom: 1px solid var(--line); }
.scope-list > div:first-child { border-top: 1px solid var(--line); }
.scope-list dt { margin-bottom: 6px; font-weight: 800; }
.scope-list dd { margin: 0; }
.notice { margin-top: 24px; padding: 23px; border-left: 3px solid var(--teal-600); background: var(--white); }
.notice p { margin: 0; }

@media (max-width: 850px) {
  .site-header { align-items: flex-start; }
  .site-header nav { gap: 14px; }
  .site-header nav a:not(.staff-link) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .conversation-card { max-width: 620px; }
  .principles { grid-template-columns: 1fr; }
  .principles article + article { border-top: 1px solid var(--line); border-left: 0; }
  .trust-section { grid-template-columns: 1fr; }
  .legal-summary { grid-template-columns: 1fr; }
  .legal-summary article + article { border-top: 1px solid var(--line); border-left: 0; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc strong { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  html { scroll-behavior: auto; }
  .site-header { min-height: 68px; }
  .site-header .staff-link { display: none; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: 46px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .whatsapp { margin-left: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
  footer nav { flex-wrap: wrap; gap: 12px 20px; }
  .legal-intro h1 { font-size: 42px; }
  .legal-summary article { padding-inline: 0; }
  .legal-toc { grid-template-columns: 1fr; }
  .legal-toc strong { grid-column: auto; }
}

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