/* CETEChat website. Fonts are served from this site: no third-party requests. */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2'); }

:root {
  --bg: #070a12;
  --surface: #0d1320;
  --surface-2: #151e30;
  --line: #141c2b;
  --line-2: #1b2536;
  --line-3: #26324a;
  --text: #eef2f8;
  --text-strong: #f4f7fc;
  --muted: #a3aec2;
  --soft: #8d99af;
  --dim: #7c889e;
  --body-strong: #c9d2e0;
  --accent: #4a94ff;
  --cyan: #38d6e8;
  --button: #1f6feb;
  --button-hover: #2b7bf5;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1280px;
  --gutter: 80px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: #7fb2ff; text-decoration: none; }
a:hover { color: #b7d3ff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--button); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 16px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent); }
.serif { font-family: var(--serif); font-weight: 400; }
.it { font-style: italic; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 30px; border-radius: 14px; font-size: 17px; font-weight: 700; white-space: nowrap; transition: background-color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--button); color: #fff; }
.btn-primary:hover { background: var(--button-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-3); color: var(--text); font-weight: 600; }
.btn-ghost:hover { border-color: #3a4966; color: #fff; }
.btn-sm { height: 44px; padding: 0 22px; border-radius: 12px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(7, 10, 18, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.site-header .wrap { height: 80px; display: flex; align-items: center; gap: 48px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; gap: 32px; flex: 1; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.signin { color: var(--text); font-weight: 600; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-3); border-radius: 12px; background: transparent; color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { display: none; }

/* Hero */
.hero { padding: 104px 0 0; text-align: center; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.pill .cete { color: #38d6e8; font-weight: 800; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 16px; border: 1px solid #1e2a40; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.hero h1 { margin-top: 36px; max-width: 1080px; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.025em; color: var(--text-strong); }
.lead { margin-top: 32px; max-width: 700px; font-size: 20px; line-height: 1.6; color: var(--muted); }
.cta-row { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.fine { margin-top: 20px; font-size: 14px; color: var(--dim); }
.shot { margin-top: 80px; width: 100%; max-width: 1200px; padding: 12px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0, 0, 0, .55); }
.shot img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border-radius: 12px; }

/* Trust strip */
.trust { margin-top: 88px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid > div { padding: 32px 28px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { font-size: 16px; }
.trust-grid span { font-size: 14.5px; line-height: 1.5; color: var(--soft); }

/* Sections */
.section { margin-top: 170px; scroll-margin-top: 100px; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 80px; margin-bottom: 64px; }
.section-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.section-head p { max-width: 440px; font-size: 18px; line-height: 1.65; color: var(--muted); }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 16px; }
.card .num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--accent); }
.card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.card p { font-size: 16px; line-height: 1.65; color: var(--muted); }

.sees { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sees > div { padding: 36px 40px; border-radius: var(--radius); border: 1px solid var(--line-2); }
.sees h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.sees ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.sees li { display: flex; gap: 12px; align-items: center; }
.sees .never li { color: var(--body-strong); }
.sees .still li { color: var(--muted); }
.sees .still li::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: #4a5670; flex-shrink: 0; }
.sees svg { flex-shrink: 0; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.feature { padding: 40px; background: var(--bg); display: flex; flex-direction: column; gap: 14px; transition: background-color .25s; }
.feature:hover { background: #0a0f1a; }
.feature h3 { font-size: 20px; font-weight: 700; }
.feature p { font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.feature svg { color: var(--accent); }

/* Phones band */
.band { border-radius: 28px; background: var(--surface); border: 1px solid var(--line-2); padding: 80px 88px 0; display: flex; gap: 72px; align-items: flex-end; overflow: hidden; }
.band-copy { flex: 1; display: flex; flex-direction: column; gap: 22px; padding-bottom: 88px; }
.band-copy p { max-width: 480px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.stats { display: flex; gap: 36px; margin-top: 8px; }
.stats b { display: block; font-size: 28px; font-weight: 800; color: var(--text-strong); line-height: 1.2; }
.stats span { color: var(--soft); font-size: 15px; }
.phones { display: flex; gap: 24px; align-items: flex-end; flex-shrink: 0; }
.phone { padding: 10px 10px 0; border-radius: 44px 44px 0 0; background: #1a2233; border: 1px solid #2a3550; border-bottom: 0; }
.phone img { object-fit: cover; object-position: top; border-radius: 36px 36px 0 0; }
.phone.small { width: 280px; height: 453px; }
.phone.small img { width: 260px; height: 443px; }
.phone.big { width: 300px; height: 487px; }
.phone.big img { width: 280px; height: 477px; }

/* Download */
.platform-head { display: flex; align-items: center; gap: 14px; }
.platform-head span { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.platform-head h3 { font-size: 21px; }
.card ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Pricing */
.center-head { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; max-width: 760px; margin: 0 auto 56px; }
.center-head p { font-size: 18px; line-height: 1.65; color: var(--muted); }
.plan { padding: 44px 40px; border-radius: 24px; border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 24px; }
.plan.featured { background: var(--surface); border-color: var(--accent); }
.plan-name { display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 700; }
.badge { height: 26px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: #12254a; color: #9cc3ff; font-size: 12.5px; font-weight: 700; }
.price { font-family: var(--serif); font-size: 60px; line-height: 1; }
.plan-sub { font-size: 15px; color: var(--soft); }
.cards-3 .plan-sub { min-height: 3.2em; }
.plan-note { text-align: center; margin: 28px 0 0; font-size: 14px; color: var(--soft); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; color: var(--body-strong); }
.plan .btn { margin-top: auto; height: 52px; font-size: 16px; }

/* FAQ */
.faq { display: flex; gap: 96px; }
.faq-head { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }
.faq-list { flex: 1; border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; padding: 28px 44px 28px 0; font-size: 19px; font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list details p { padding: 0 44px 28px 0; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Final CTA */
.final { border-radius: 28px; background: var(--surface); border: 1px solid var(--line-2); padding: 96px 80px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.final img { width: 76px; height: 76px; }
.final h2 { max-width: 900px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.02em; }

/* Footer */
.site-footer { margin-top: 110px; border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 64px; display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--dim); }
.footer-brand .brand { font-size: 18px; }
.footer-cete { color: var(--soft); font-weight: 600; letter-spacing: .02em; }
.footer-brand .brand img { width: 28px; height: 28px; }
.footer-cols { display: flex; gap: 72px; font-size: 14.5px; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols strong { font-weight: 700; }
.footer-cols a { color: var(--soft); }
.footer-cols a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 96px 0 40px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal .updated { color: var(--dim); font-size: 14px; }
.legal .draft { margin: 24px 0 8px; padding: 14px 18px; border-radius: 12px; border: 1px solid #4a3a12; background: #1d1708; color: #f5d68a; font-size: 14.5px; }

/* Reveal on scroll (only when JS runs and motion is welcome) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature { transition: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .nav { gap: 22px; }
  .site-header .wrap { gap: 28px; }
  .section { margin-top: 130px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { padding: 56px 48px 0; gap: 40px; }
  .phone.small { display: none; }
  .faq { flex-direction: column; gap: 32px; }
  .faq-head { width: auto; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Phone */
@media (max-width: 760px) {
  :root { --gutter: 20px; --radius: 18px; }
  body { font-size: 15.5px; }
  .site-header .wrap { height: 68px; gap: 10px; }
  .brand { font-size: 18px; }
  .brand img { width: 30px; height: 30px; }
  .nav, .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .signin { padding: 0 8px; height: 44px; display: inline-flex; align-items: center; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { display: none; flex-direction: column; padding: 8px 20px 20px; border-top: 1px solid var(--line); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { color: var(--text); font-size: 17px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 16px; border-bottom: 0; color: #fff; }

  .hero { padding-top: 52px; }
  .pill { font-size: 12.5px; min-height: 32px; }
  .hide-sm { display: none; }
  .hero h1 { margin-top: 26px; font-size: 52px; line-height: 1; }
  .lead { margin-top: 20px; font-size: 16.5px; }
  .cta-row { width: 100%; flex-direction: column; margin-top: 30px; }
  .cta-row .btn { width: 100%; height: 54px; font-size: 16.5px; }
  .shot { margin-top: 44px; padding: 6px; border-radius: 16px; }
  .shot img { border-radius: 10px; }

  .trust { margin-top: 56px; }
  .trust-grid > div { padding: 22px 12px 22px 0; }
  .trust-grid > div:nth-child(even) { padding: 22px 0 22px 12px; }
  .trust-grid strong { font-size: 15px; }
  .trust-grid span { font-size: 13.5px; }

  .section { margin-top: 80px; scroll-margin-top: 80px; }
  .eyebrow { font-size: 12px; }
  .h2 { font-size: 42px; }
  .section-head { margin-bottom: 28px; }
  .section-head p { font-size: 16px; }
  .cards-3, .sees { grid-template-columns: 1fr; gap: 14px; }
  .cards-3 .plan-sub { min-height: 0; }
  .card { padding: 26px; gap: 10px; }
  .card .num { font-size: 34px; }
  .card h3 { font-size: 19px; }
  .card p { font-size: 15px; }
  .sees > div { padding: 26px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 26px; }
  .band { flex-direction: column; align-items: center; padding: 40px 24px 0; gap: 32px; }
  .band-copy { padding-bottom: 0; }
  .band-copy p { font-size: 16px; }
  .phone.big { width: 260px; height: 421px; padding: 9px 9px 0; border-radius: 40px 40px 0 0; }
  .phone.big img { width: 242px; height: 412px; border-radius: 32px 32px 0 0; }
  .plan { padding: 28px; gap: 16px; }
  .price { font-size: 48px; }
  .faq-list summary { font-size: 17px; padding: 22px 36px 22px 0; }
  .faq-list details p { font-size: 15px; padding-bottom: 22px; }
  .final { padding: 48px 24px; gap: 22px; }
  .final img { width: 60px; height: 60px; }
  .final .cta-row { margin-top: 0; }
  .site-footer { margin-top: 60px; }
  .site-footer .wrap { flex-direction: column; padding-top: 36px; padding-bottom: 44px; }
  .footer-cols { gap: 48px; }
  .legal { padding-top: 56px; }
}
