:root {
  --ink: #0a2e36;
  --teal: #0f6e7a;
  --teal-deep: #0f4450;
  --amber: #f4b942;
  --orange: #ff8a3d;
  --paper: #f6f1e7;
  --bg: #fbfaf7;
  --card: #ffffff;
  --text: #14212b;
  --muted: #566972;
  --line: #e6e2d8;
  --radius: 18px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--muted); padding: 8px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--ink); background: var(--paper); }
.nav a.btn--teal, .nav a.btn--teal:hover { color: #fff; background: var(--teal); }
.nav a.btn--teal:hover { background: var(--teal-deep); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; border: 1px solid transparent; transition: transform 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: #f8c65e; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-deep); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn small { display: block; font-size: 0.7rem; font-weight: 500; opacity: 0.75; line-height: 1.1; }
.btn b { display: block; line-height: 1.15; }

/* Hero */
.hero { background: radial-gradient(1100px 520px at 85% 10%, rgba(244, 185, 66, 0.16), transparent 60%), linear-gradient(160deg, #14525e 0%, var(--ink) 100%); color: #fff; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; padding: 72px 24px 80px; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
.hero p.lead { margin-top: 22px; font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 18px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.62); }

/* Phone mock-up */
.phone { width: min(320px, 78vw); margin: 0 auto; background: #08181d; border-radius: 48px; padding: 11px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.phone__screen { background: #f3f5f8; border-radius: 38px; padding: 18px 14px 16px; color: var(--text); min-height: 560px; }
.app-head { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 12px; }
.app-head .avatar { width: 38px; height: 38px; border-radius: 50%; background: #d9ebec; color: var(--teal); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.app-head small { display: block; font-size: 0.68rem; color: var(--teal); line-height: 1.2; }
.app-head b { font-size: 0.95rem; line-height: 1.2; }
.app-hero { position: relative; margin-top: 12px; background: linear-gradient(160deg, #0f4450, #0a2e36); border-radius: 24px; padding: 14px 12px 12px; color: #fff; }
.app-hero svg { width: 100%; height: auto; }
.app-hero__center { position: absolute; left: 0; right: 0; top: 78px; text-align: center; line-height: 1.25; }
.app-hero__center small { display: block; font-size: 0.7rem; color: rgba(255, 255, 255, 0.7); }
.app-hero__center b { display: block; font-size: 1.7rem; letter-spacing: -0.02em; }
.app-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.app-chips div { background: rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 8px 10px; }
.app-chips small { display: block; font-size: 0.65rem; color: rgba(255, 255, 255, 0.7); }
.app-chips b { font-size: 0.85rem; }
.app-list { margin-top: 12px; background: #fff; border-radius: 18px; padding: 4px 12px; }
.app-list div { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 0.82rem; border-bottom: 1px solid #eef0f4; }
.app-list div:last-child { border-bottom: 0; }
.app-list span { color: var(--muted); }
.app-list b.pos { color: #1b9d6b; }
.app-list b.neg { color: #e5584f; }

/* Sections */
section { padding: 84px 0; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; max-width: 18em; }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.08rem; max-width: 40em; }
.strip { background: var(--paper); border-block: 1px solid var(--line); padding: 20px 0; }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-weight: 500; color: var(--teal-deep); font-size: 0.95rem; }
.strip li::before { content: '✓'; color: var(--orange); font-weight: 700; margin-inline-end: 8px; }

.grid { display: grid; gap: 20px; margin-top: 44px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 1.1rem; letter-spacing: -0.01em; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: #e3f0f1; color: var(--teal); display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; list-style: none; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.96rem; }

.band { background: linear-gradient(160deg, #14525e, var(--ink)); color: #fff; }
.band .section-sub { color: rgba(255, 255, 255, 0.78); }
.band .links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.slider { position: relative; margin-top: 40px; }
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 26px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 auto; width: min(250px, 62vw); height: auto; scroll-snap-align: center; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(10, 46, 54, 0.45); }
.slider-btn { position: absolute; top: 45%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--teal-deep); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(10, 46, 54, 0.5); }
.slider-btn--prev { left: -8px; }
.slider-btn--next { right: -8px; }
@media (max-width: 640px) { .slider-btn { display: none; } }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--teal); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); padding: 0 0 18px; }
.faq { max-width: 780px; }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 56px 0 36px; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.footer a:hover { color: #fff; }
.footer li { list-style: none; margin-bottom: 8px; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }

/* Documents (privacy, delete account) */
.doc { padding: 56px 0 96px; }
.doc__in { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -0.03em; line-height: 1.1; }
.doc .updated { color: var(--muted); margin: 10px 0 28px; font-size: 0.92rem; }
.doc h2 { font-size: 1.35rem; letter-spacing: -0.015em; margin: 44px 0 12px; scroll-margin-top: 90px; }
.doc h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.doc p, .doc li { color: #33454d; }
.doc p { margin-bottom: 14px; }
.doc ul, .doc ol { margin: 0 0 16px 22px; }
.doc li { margin-bottom: 8px; }
.doc a:not(.btn) { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.glance { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 8px 0 8px; }
.glance h2 { margin-top: 0; font-size: 1.1rem; }
.glance ul { margin-bottom: 0; }
.notice { background: #fff6e6; border: 1px solid #f3dcae; border-radius: 14px; padding: 16px 20px; margin: 18px 0; color: #5b4310; }
table.data { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.93rem; }
.data th, .data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data th { color: var(--ink); background: var(--paper); font-weight: 600; }

@media (max-width: 880px) {
  .hero__in { grid-template-columns: 1fr; padding: 48px 20px 56px; gap: 36px; }
  .grid--3, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }
