/* Tidy SMS landing — plain CSS, no build step needed for styles. */
:root {
  --teal: #1E6B72;
  --teal-strong: #155259;
  --teal-soft: #DCEDEE;
  --on-teal: #ffffff;
  --bg: #F6F8F7;
  --surface: #ffffff;
  --surface-2: #EEF3F2;
  --ink: #12201F;
  --ink-2: #4A5B5A;
  --ink-3: #7A8988;
  --line: #DCE4E2;
  --code: #B7791F;  --code-bg: #FCF1DC;
  --bank: #2F6FB0;  --bank-bg: #E1ECF8;
  --bill: #7B4FB5;  --bill-bg: #EEE5F8;
  --promo: #C2477A; --promo-bg: #FAE3EC;
  --spam: #6B7473;  --spam-bg: #E9ECEB;
  --danger: #C2412D;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(18, 32, 31, .06), 0 12px 32px -12px rgba(18, 32, 31, .18);
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --teal: #8ED3D9;
    --teal-strong: #B5E5E9;
    --teal-soft: #17393C;
    --on-teal: #062628;
    --bg: #0E1515;
    --surface: #152020;
    --surface-2: #1B2828;
    --ink: #E6EFEE;
    --ink-2: #A9B9B8;
    --ink-3: #7E8F8E;
    --line: #253534;
    --code: #E9B65A;  --code-bg: #3A2E16;
    --bank: #8DB8E6;  --bank-bg: #1A2C40;
    --bill: #C3A4EA;  --bill-bg: #2C2140;
    --promo: #EE9AC0; --promo-bg: #3D1E2C;
    --spam: #A3ADAC;  --spam-bg: #242E2E;
    --danger: #F08A78;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 21px var(--font-head); letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--on-teal); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: var(--on-teal);
  padding: 12px 20px; border-radius: 999px; text-decoration: none;
  font: 600 15px var(--font-body); border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--teal-strong); transform: translateY(-1px); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0B0F0F; color: #fff; text-decoration: none;
  padding: 10px 22px 10px 16px; border-radius: 14px; border: 1px solid #3a4443;
  transition: transform .15s ease;
}
.play-badge:hover { transform: translateY(-1px); }
.play-badge svg { width: 28px; height: 30px; }
.play-badge small { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; opacity: .8; line-height: 1.2; }
.play-badge strong { display: block; font: 600 20px/1.15 var(--font-body); letter-spacing: -0.01em; }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-soft); color: var(--teal);
  font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; }
.hero h1 span { color: var(--teal); }
.hero .lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 34px; }
.hero-cta .note { color: var(--ink-3); font-size: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

/* Phone mockup */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before {
  content: ""; position: absolute; inset: 8% -10% 4%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--teal) 22%, transparent), transparent);
  z-index: 0;
}
.phone {
  position: relative; z-index: 1; width: 320px; max-width: 100%;
  background: var(--surface); border-radius: 44px; padding: 14px;
  box-shadow: var(--shadow), 0 0 0 10px #10191a, 0 0 0 11px #2b3637;
}
.screen { background: var(--bg); border-radius: 32px; overflow: hidden; padding: 18px 14px 20px; min-height: 560px; }
.screen-top { display: flex; justify-content: space-between; align-items: center; font: 700 22px var(--font-head); padding: 4px 6px 12px; }
.screen-top .dots { display: flex; gap: 4px; }
.screen-top .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.chips { display: flex; gap: 6px; overflow: hidden; padding: 0 4px 12px; }
.chip { flex: none; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.chip.on { background: var(--teal); color: var(--on-teal); }
.msg { display: flex; gap: 10px; align-items: center; padding: 10px 8px; border-radius: 16px; }
.msg + .msg { margin-top: 2px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 15px var(--font-head); }
.avatar svg { width: 20px; height: 20px; }
.msg .body { display: block; min-width: 0; flex: 1; }
.msg .snip { display: block; }
.msg .row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.msg .row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg .row time { color: var(--ink-3); font-size: 12px; flex: none; }
.msg .snip { color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; padding: 1px 7px; border-radius: 6px; margin-right: 4px; vertical-align: 1px; }
.c-code { background: var(--code-bg); color: var(--code); }
.c-bank { background: var(--bank-bg); color: var(--bank); }
.c-bill { background: var(--bill-bg); color: var(--bill); }
.c-promo { background: var(--promo-bg); color: var(--promo); }
.c-spam { background: var(--spam-bg); color: var(--spam); }
.c-contact { background: var(--teal-soft); color: var(--teal); }
.spam-fold { margin: 10px 8px 0; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); color: var(--ink-3); font-size: 13px; display: flex; justify-content: space-between; }

.otp-card {
  position: absolute; z-index: 2; left: -40px; bottom: 70px; width: 248px;
  background: var(--surface); border-radius: 22px; padding: 16px 18px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.otp-card .label { font-size: 12px; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.otp-card .code { font: 800 36px/1.1 var(--font-head); letter-spacing: .14em; margin: 6px 0 12px; }
.otp-card .copy { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--teal); color: var(--on-teal); border-radius: 999px; padding: 8px; font-size: 14px; font-weight: 600; }
.otp-card .copy svg { width: 16px; height: 16px; }
.ghost-card {
  position: absolute; z-index: 2; right: -34px; top: 96px;
  background: var(--surface); border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow);
  border: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
}
.ghost-card svg { width: 22px; height: 22px; color: var(--teal); }
.ghost-card small { display: block; color: var(--ink-3); font-weight: 500; font-size: 12px; }

/* Sections */
section { scroll-margin-top: 80px; }
.band { padding: 88px 0; }
.band-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--teal); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 19px; margin-top: 16px; }

/* Samsung switch banner */
.switch { padding: 0 0 24px; }
.switch-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  background: var(--teal); color: var(--on-teal); border-radius: var(--radius); padding: 24px 28px;
}
.switch-card .ico { width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--on-teal) 16%, transparent); display: grid; place-items: center; }
.switch-card .ico svg { width: 28px; height: 28px; }
.switch-card h2 { font-size: 22px; font-weight: 800; }
.switch-card p { opacity: .88; margin-top: 4px; font-size: 16px; }
.switch-card a { color: var(--on-teal); font-weight: 600; white-space: nowrap; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.band-alt .cat { background: var(--bg); }
.cat .dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.cat .dot svg { width: 22px; height: 22px; }
.cat h3 { font-size: 18px; font-weight: 700; }
.cat p { color: var(--ink-2); font-size: 15px; margin-top: 6px; line-height: 1.5; }
.cat.wide { background: var(--teal-soft); border-color: transparent; }
.cat.wide .dot { background: var(--teal); color: var(--on-teal); }
.otp-card.static { position: static; width: 290px; max-width: 100%; }
.otp-card.static .code { font-size: 42px; }
.otp-note { margin-top: 14px; color: var(--ink-3); font-size: 13px; text-align: center; }

/* Feature splits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.flip .split-text { order: 2; }
.split-text h3 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.split-text > p { color: var(--ink-2); font-size: 18px; margin-top: 16px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.ticks svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 3px; }
.visual {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px;
  min-height: 320px; display: grid; place-items: center; position: relative; overflow: hidden;
}
.band-alt .visual { background: var(--bg); }

/* Visual: phishing */
.bubble { max-width: 300px; background: var(--surface-2); border-radius: 20px 20px 20px 6px; padding: 14px 16px; font-size: 15px; }
.band-alt .bubble { background: var(--surface); }
.bubble .link { color: var(--danger); text-decoration: line-through; word-break: break-all; }
.warn { margin-top: 14px; max-width: 300px; display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--danger); color: var(--ink); border-radius: 16px; padding: 12px 14px; font-size: 14px; background: color-mix(in srgb, var(--danger) 8%, var(--surface)); }
.warn svg { width: 22px; height: 22px; color: var(--danger); flex: none; }
.warn b { display: block; }

/* Visual: ghost */
.ghost-stack { width: 100%; max-width: 320px; display: grid; gap: 10px; }
.g-msg { background: var(--surface-2); border-radius: 18px 18px 18px 6px; padding: 12px 14px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.band-alt .g-msg { background: var(--surface); }
.g-msg span.timer { font-size: 12px; color: var(--teal); font-weight: 700; white-space: nowrap; display: flex; gap: 4px; align-items: center; }
.g-msg span.timer svg { width: 14px; height: 14px; }
.g-msg.fade { opacity: .45; }
.g-msg.fade2 { opacity: .18; filter: blur(.6px); }
.g-head { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 6px; }
.g-head .avatar { width: 34px; height: 34px; font-size: 13px; }

/* Visual: schedule */
.sched { width: 100%; max-width: 320px; }
.sched .bubble-out { margin-left: auto; max-width: 260px; background: var(--teal); color: var(--on-teal); border-radius: 20px 20px 6px 20px; padding: 12px 16px; font-size: 15px; }
.sched .when { margin-top: 8px; text-align: right; font-size: 13px; color: var(--ink-3); display: flex; justify-content: flex-end; gap: 6px; align-items: center; }
.sched .when svg { width: 15px; height: 15px; }
.remind { margin-top: 22px; background: var(--surface-2); border-radius: 16px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.band-alt .remind { background: var(--surface); }
.remind svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.remind small { display: block; color: var(--ink-3); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.band-alt .feat { background: var(--bg); }
.feat .fi { width: 44px; height: 44px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.feat .fi svg { width: 24px; height: 24px; }
.feat h3 { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.feat p { color: var(--ink-2); font-size: 15.5px; margin-top: 8px; line-height: 1.55; }
.pro { font: 700 11px var(--font-body); letter-spacing: .06em; background: var(--teal); color: var(--on-teal); padding: 2px 8px; border-radius: 6px; text-transform: uppercase; }

/* Privacy */
.privacy .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.shield { background: var(--teal); color: var(--on-teal); border-radius: 32px; padding: 36px; position: relative; overflow: hidden; }
.shield .big { width: 64px; height: 64px; }
.shield h3 { font-size: 30px; font-weight: 800; margin-top: 20px; }
.shield p { margin-top: 10px; opacity: .9; }
.shield .stat { display: flex; gap: 28px; margin-top: 28px; }
.shield .stat b { display: block; font: 800 34px var(--font-head); }
.shield .stat span { font-size: 14px; opacity: .85; }
.pv-list { display: grid; gap: 18px; }
.pv { display: flex; gap: 16px; align-items: flex-start; }
.pv .fi { width: 44px; height: 44px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.pv .fi svg { width: 22px; height: 22px; }
.pv h3 { font-size: 18px; font-weight: 700; }
.pv p { color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }

/* Pro */
.pro-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 40px;
}
.pro-card h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.pro-card > div > p { color: var(--ink-2); margin-top: 12px; font-size: 18px; }
.pro-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pro-list li { display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: 14px; padding: 12px 16px; font-weight: 500; }
.pro-list svg { width: 20px; height: 20px; color: var(--teal); flex: none; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.band-alt .faq details { background: var(--bg); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font: 700 18px/1.35 var(--font-head); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { color: var(--ink-2); padding: 0 0 20px; }

/* Final CTA */
.cta { text-align: center; padding: 96px 0; }
.cta img.icon { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 22px; box-shadow: var(--shadow); }
.cta h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.cta p { color: var(--ink-2); font-size: 19px; margin: 16px auto 32px; max-width: 32em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--ink-3); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .brand { font-size: 18px; }
.site-footer .brand img { width: 28px; height: 28px; }

/* Legal page */
.legal { padding: 56px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; }
.legal .updated { color: var(--ink-3); margin-top: 10px; }
.legal .summary { background: var(--teal-soft); border-radius: 18px; padding: 20px 24px; margin: 32px 0 8px; }
.legal .summary ul { margin: 8px 0 0; padding-left: 20px; }
.legal h2 { font-size: 24px; font-weight: 800; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); font-weight: 600; }
.legal td { color: var(--ink-2); }
.legal .table-wrap { overflow-x: auto; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .split, .privacy .wrap, .pro-card { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .phone-stage { margin-top: 12px; }
  .split.flip .split-text { order: 0; }
  .split { gap: 32px; }
  .split + .split { margin-top: 72px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .band { padding: 64px 0; }
  .grid, .cats { grid-template-columns: 1fr; }
  .switch-card { grid-template-columns: 1fr; padding: 22px; }
  .otp-card { left: 0; bottom: 40px; width: 210px; padding: 14px; }
  .otp-card .code { font-size: 30px; }
  .ghost-card { right: 0; top: 70px; }
  .phone { width: 290px; }
  .screen { min-height: 520px; }
  .pro-card { padding: 26px; }
  .shield { padding: 28px; }
  .visual { padding: 20px; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
