/* ============================================
   CTC Tracker - Brand Stylesheet
   Blue: #1B6FC2 | Navy: #0E2A4F | Green: #5FA831
   ============================================ */

:root {
  --blue: #1B6FC2;
  --blue-dark: #155A9E;
  --blue-light: #4D9FE8;
  --blue-tint: #EAF3FC;
  --navy: #0E2A4F;
  --navy-deep: #081C38;
  --green: #5FA831;
  --green-tint: #EEF6E7;
  --red: #D94B3F;
  --red-tint: #FBEDEB;
  --yellow: #E8A823;
  --yellow-tint: #FBF4E2;
  --ink: #1A2333;
  --ink-soft: #4A5568;
  --ink-faint: #8A94A6;
  --bg: #FFFFFF;
  --bg-soft: #F6F9FC;
  --line: #E3EAF2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(14, 42, 79, 0.10);
  --shadow-lg: 0 20px 60px rgba(14, 42, 79, 0.16);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 760px; }
.center { text-align: center; }

.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;
}

/* ============ TYPOGRAPHY ============ */

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow.center { display: block; text-align: center; }

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 14px;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(27, 111, 194, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(27, 111, 194, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-nav { padding: 10px 22px; font-size: 0.95rem; }

/* ============ HEADER / NAV ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark { width: 40px; height: 40px; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-blue { color: var(--blue); }
.brand-blue-light { color: var(--blue-light); }
.brand-green { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.97rem;
  transition: color 0.15s ease;
}

.nav-links a:not(.btn):hover { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============ HERO ============ */

.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(27, 111, 194, 0.10), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(95, 168, 49, 0.07), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 22px 0 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 500;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--green-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%235FA831' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Hero mockup */

.hero-visual { position: relative; }

.mockup {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.mockup-bar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #D6DEE8;
}

.mockup-url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--ink-faint);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 12px;
}

.mockup-body { padding: 20px; display: flex; flex-direction: column; gap: 18px; }

.mockup-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.mockup-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.mockup-alert .light {
  flex-shrink: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
}

.mockup-alert.red .light { background: var(--red); box-shadow: 0 0 0 4px var(--red-tint); }
.mockup-alert.yellow .light { background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-tint); }
.mockup-alert.green .light { background: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }

.mockup-alert strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  line-height: 1.3;
}

.mockup-alert span:not(.light) {
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.mockup-cards { display: block; }

.mockup-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 8px;
  background: #fff;
}

.mockup-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-card strong { font-size: 0.88rem; color: var(--navy); }

.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.red { background: var(--red); }
.status-dot.yellow { background: var(--yellow); }
.status-dot.green { background: var(--green); }

.mockup-addr {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.mockup-close {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 2px 10px;
  border-radius: 999px;
}

/* Floating chips */

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  animation: floaty 5s ease-in-out infinite;
}

.float-1 { top: -22px; right: -10px; }
.float-2 { bottom: -20px; left: -16px; animation-delay: 2.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============ TRUST STRIP ============ */

.trust-strip {
  background: var(--navy);
  padding: 34px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-item { text-align: center; }

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 2px;
}

.trust-item span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ============ SECTIONS ============ */

.section { padding: 76px 0; }

.problem { padding-bottom: 60px; }
.problem .lead { margin-bottom: 18px; }

/* ============ FEATURES ============ */

.features { background: var(--bg-soft); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: 18px;
}

.feature-card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ============ SPLIT SECTIONS ============ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split.reverse .split-copy { order: 2; }
.split.reverse .split-visual { order: 1; }

.split-copy > p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 24px; }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 500;
  color: var(--ink);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%235FA831' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Timeline visual */

.timeline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

.timeline-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.timeline { position: relative; }

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.t-step {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 10px 0;
}

.t-dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--line);
  margin-top: 2px;
}

.t-step.done .t-dot {
  background: var(--green);
  border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.t-step.active .t-dot {
  border-color: var(--blue);
  box-shadow: 0 0 0 5px var(--blue-tint);
}

.t-step strong { display: block; font-size: 0.92rem; color: var(--navy); line-height: 1.3; }

.t-step em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.t-step.active em { color: var(--blue); font-weight: 600; }
.t-step.done em { color: var(--green); }

/* ============ HOW IT WORKS ============ */

.how { background: var(--bg-soft); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.step p { color: var(--ink-soft); font-size: 0.97rem; }

/* ============ SECURITY ============ */

.security { background: #E4EEF7; }

.shield-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.shield-card p { color: var(--ink-soft); font-size: 1rem; }
.shield-card strong { color: var(--navy); }

.sec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #EAF3FC;
  color: #0F2D52;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1px solid #C4D9EF;
}

.wire-fraud-card {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 16px;
}

.wire-fraud-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.wire-fraud-head strong {
  color: #92400E;
  font-size: 0.95rem;
}

.wire-fraud-card p {
  font-size: 0.88rem;
  color: #78350F;
  line-height: 1.6;
  margin: 0;
}

.sec-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.sec-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 28px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sec-trust-item strong {
  font-size: 0.95rem;
  color: var(--navy);
  display: block;
}

.sec-trust-item span {
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .sec-trust-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .sec-trust-row { grid-template-columns: 1fr; }
}

/* ============ QUOTE BAND ============ */

.quote-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 52px 0;
}

.quote-band blockquote { text-align: center; }

.quote-band p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 18px;
}

.quote-band cite {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
}

/* ============ FAQ ============ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.faq-card:hover { box-shadow: var(--shadow); border-color: var(--blue); transform: translateY(-2px); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 19px 22px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.4;
}

.faq-q-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-card:hover .faq-q-icon { background: var(--blue); color: #fff; }

/* FAQ floating answer panel */
.faq-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.faq-modal[hidden] { display: none; }

.faq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 42, 79, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.faq-modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 540px;
  width: 100%;
  padding: 38px 34px 32px;
  animation: faqPop 0.22s ease;
}

@keyframes faqPop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.faq-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 4px 8px;
}

.faq-modal-close:hover { color: var(--navy); }

.faq-modal-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.faq-modal-card h3 { font-size: 1.35rem; margin-bottom: 12px; }

.faq-modal-text { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }

.faq-modal-cta { margin-top: 24px; }

/* ============ FINAL CTA ============ */

.cta-final {
  background:
    radial-gradient(700px 400px at 50% 120%, rgba(27, 111, 194, 0.10), transparent 60%),
    var(--bg-soft);
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 30px auto 16px;
}

.cta-form input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 15px 22px;
  border: 2px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.15s ease;
}

.cta-form input:focus { border-color: var(--blue); }

.cta-note { font-size: 0.88rem; color: var(--ink-faint); }

/* ============ FOOTER ============ */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 340px;
}

.footer-brand-name { font-size: 1.2rem; }

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============ SCROLL REVEAL ============ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float { animation: none; }
}

/* ============ TEXT REMINDERS FEATURE ============ */

.text-feature {
  background: linear-gradient(180deg, var(--blue-tint) 0%, var(--bg) 100%);
}

.text-feature-actions { margin-top: 30px; }

.sms-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.sms-phone {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sms-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.sms-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.sms-contact { display: flex; flex-direction: column; line-height: 1.25; }
.sms-contact strong { color: var(--navy); font-size: 0.98rem; }
.sms-contact span { color: var(--ink-faint); font-size: 0.78rem; }

.sms-thread {
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(circle at 20% 0%, rgba(27, 111, 194, 0.04), transparent 60%);
}

.sms-day {
  text-align: center;
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.sms-status {
  align-self: flex-end;
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-top: 2px;
  padding-right: 4px;
}

.sms-bubble {
  max-width: 82%;
  padding: 11px 15px;
  font-size: 0.9rem;
  line-height: 1.45;
  border-radius: 18px;
}

.sms-bubble.out {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.sms-bubble.in {
  align-self: flex-start;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.sms-float {
  position: absolute;
  right: -14px;
  bottom: -28px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  max-width: 290px;
}

.sms-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-tint);
  flex-shrink: 0;
}

.sms-float strong { display: block; color: var(--navy); font-size: 0.9rem; }
.sms-float span { color: var(--ink-soft); font-size: 0.82rem; }

/* ============ ASSISTANT / DRAFT EMAIL FEATURE ============ */

.assistant-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.assistant-mock {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.assistant-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.assistant-spark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-tint);
  flex-shrink: 0;
}

.assistant-head-text { display: flex; flex-direction: column; line-height: 1.25; }
.assistant-head-text strong { color: var(--navy); font-size: 0.98rem; }
.assistant-head-text span { color: var(--ink-faint); font-size: 0.78rem; }

.assistant-body { padding: 18px 20px 20px; }

.assistant-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.assistant-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.assistant-to { color: var(--navy); font-weight: 600; font-size: 0.9rem; }

.assistant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.a-pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
}

.a-pill.on {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-color: transparent;
  color: #fff;
}

.assistant-email {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.assistant-subject {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.assistant-line {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.assistant-line:last-child { margin-bottom: 0; }

.assistant-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.a-btn {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
}

.a-btn.primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-color: transparent;
  color: #fff;
}

.assistant-float {
  position: absolute;
  left: -14px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  max-width: 270px;
}

.assistant-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green-tint);
  flex-shrink: 0;
}

.assistant-float strong { display: block; color: var(--navy); font-size: 0.9rem; }
.assistant-float span { color: var(--ink-soft); font-size: 0.82rem; }

/* ============ RESPONSIVE ============ */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 56px 0 80px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-copy { order: 1; }
  .split.reverse .split-visual { order: 2; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Touch devices: comfortable tap targets, no zoom on input focus */
@media (pointer: coarse) {
  .nav-links a:not(.btn) { padding: 6px 0; }
  input, select, textarea { font-size: 16px !important; }
}

/* Notched phones: respect safe areas */
.site-header { padding-top: env(safe-area-inset-top); }

.container {
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

.site-footer { padding-bottom: env(safe-area-inset-bottom); }

@media (max-width: 720px) {
  .section { padding: 68px 0; }

  .sms-float { right: 0; bottom: -22px; max-width: 260px; }
  .assistant-float { left: 0; bottom: -18px; max-width: 250px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 24px 20px;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links li { padding: 10px 0; }

  .nav-links .btn-nav {
    margin-top: 8px;
    width: 100%;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .feature-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-modal-card { padding: 32px 22px 26px; }
  .trust-grid { grid-template-columns: 1fr; gap: 20px; }
  .cta-form { flex-direction: column; }
  .hero-float { display: none; }
  .hero-actions .btn { width: 100%; }
}
