:root {
  --paper: #f5f7fb;
  --paper-2: #e7edf5;
  --card: #ffffff;
  --ink: #0a2540;
  --ink-soft: #3d4f66;
  --navy: #0a2540;
  --navy-2: #13345a;
  --red: #c8102e;
  --red-hot: #e01838;
  --line: rgba(10, 37, 64, 0.12);
  --font: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --serif: "Libre Baskerville", "Palatino Linotype", Palatino, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
}

::selection {
  background: var(--navy);
  color: var(--card);
}

a {
  color: var(--navy);
}

a:hover {
  color: var(--red);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  background: var(--navy);
  color: var(--card);
  padding: 8px 12px;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon,
.icon-inline,
.brand-mark {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  flex-shrink: 0;
}

.icon-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.08);
  color: var(--red);
  flex-shrink: 0;
  transition: background 0.22s ease, transform 0.22s ease;
}

.icon-badge .icon {
  width: 21px;
  height: 21px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: var(--card);
  border-bottom: 3px solid var(--red);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--card);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 22px;
  height: 22px;
  color: var(--red-hot);
}

.brand:hover {
  color: #fff;
}

.tld {
  color: var(--red-hot);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--card);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nav a:hover {
  color: #fff;
}

.nav-cta {
  border: 1px solid var(--red);
  background: var(--red);
  padding: 8px 14px;
  color: #fff !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--red-hot);
  border-color: var(--red-hot);
  color: #fff !important;
}

.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 26, 51, 0.04), transparent 42%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cpath fill='%230a2540' d='M48 28l4.2 9.8 10.6.7-8.2 6.7 2.8 10.2L48 49.6l-9.4 5.8 2.8-10.2-8.2-6.7 10.6-.7L48 28z'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.lede,
.lede-sub,
.section-lede {
  max-width: 58ch;
}

.lede {
  margin: 0 0 12px;
  color: var(--ink);
}

.lede-sub,
.section-lede {
  margin: 0;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-hot);
  border-color: var(--red-hot);
  color: #fff;
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--card);
}

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.phone {
  position: relative;
  width: 278px;
  margin: 8px 0 0;
  transform: rotate(-7deg);
  filter: drop-shadow(0 28px 40px rgba(10, 37, 64, 0.28));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.phone-frame {
  background: #1c1c1e;
  border-radius: 44px;
  padding: 11px;
  box-shadow:
    inset 0 0 0 1px #3a3a3c,
    inset 0 0 0 3px #111;
}

.phone-screen {
  position: relative;
  background: #fff;
  border-radius: 34px;
  overflow: hidden;
  height: 548px;
  display: flex;
  flex-direction: column;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 92px;
  height: 26px;
  transform: translateX(-50%);
  background: #0a0a0a;
  border-radius: 20px;
}

.phone-btn {
  position: absolute;
  background: #2a2a2c;
  border-radius: 2px;
}

.phone-btn-silent {
  left: -3px;
  top: 92px;
  width: 3px;
  height: 22px;
}

.phone-btn-vol-up {
  left: -3px;
  top: 132px;
  width: 3px;
  height: 36px;
}

.phone-btn-vol-down {
  left: -3px;
  top: 176px;
  width: 3px;
  height: 36px;
}

.phone-btn-power {
  right: -3px;
  top: 150px;
  width: 3px;
  height: 72px;
}

.ios-status {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 46px;
  padding: 0 18px 4px 26px;
  font-size: 12px;
  font-weight: 700;
  box-sizing: border-box;
}

.ios-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ios-appbar {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  padding: 10px 12px 2px;
}

.ios-back {
  color: #007aff;
  font-size: 28px;
  line-height: 1;
  padding-left: 4px;
}

.ios-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
}

.ios-contact strong {
  font-size: 12px;
  font-weight: 600;
}

.ios-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.ios-video {
  justify-self: end;
}

.ios-stamp {
  margin: 2px 0 8px;
  text-align: center;
  font-size: 11px;
  color: #8e8e93;
}

.ios-thread {
  flex: 1;
  padding: 0 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.bubble {
  max-width: 86%;
  padding: 8px 11px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.35;
}

.bubble p {
  margin: 0;
}

.bubble.in {
  align-self: flex-start;
  background: #e9e9eb;
  border-bottom-left-radius: 5px;
}

.bubble.out {
  align-self: flex-end;
  color: #fff;
  border-bottom-right-radius: 5px;
}

.bubble.sms {
  background: #34c759;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mms-art {
  display: grid;
  place-items: center;
  gap: 2px;
  margin: -2px -4px 8px;
  padding: 18px 10px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #0a2540, #13345a);
  color: #fff;
  text-align: center;
}

.mms-art span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5b4bb;
}

.mms-art strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.ios-composer {
  margin: 4px 12px 6px;
  padding: 8px 14px;
  border: 1px solid #d1d1d6;
  border-radius: 18px;
  color: #8e8e93;
  font-size: 13px;
}

.phone-home {
  width: 108px;
  height: 5px;
  margin: 4px auto 8px;
  background: #1c1c1e;
  border-radius: 4px;
}

.phone-caption {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.message-card,
.card,
.audience article,
.access-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(12, 26, 51, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-copy {
  animation: fade 0.5s ease both;
}

.hero-side {
  animation: fade 0.65s ease 0.08s both;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .audience article:hover {
    transform: translateY(-5px);
    border-color: rgba(10, 37, 64, 0.22);
    box-shadow: 0 18px 40px rgba(12, 26, 51, 0.12);
  }

  .card:hover .icon-badge,
  .audience article:hover .icon-badge {
    background: rgba(200, 16, 46, 0.16);
    transform: scale(1.08);
  }

  .btn:hover,
  .nav-cta:hover {
    transform: translateY(-1px);
  }

  .btn-primary:hover {
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.28);
  }

  .phone:hover {
    transform: rotate(-3.5deg) translateY(-8px);
    filter: drop-shadow(0 36px 50px rgba(10, 37, 64, 0.34));
  }

  .access-form:focus-within {
    border-color: rgba(10, 37, 64, 0.22);
    box-shadow: 0 16px 36px rgba(12, 26, 51, 0.08);
  }
}

.message-card {
  border-top: 3px solid var(--red);
}

.message-card header,
.message-card footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.message-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.message-label .icon-inline {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.message-card header {
  border-bottom: 1px solid var(--line);
}

.message-card footer {
  border-top: 1px solid var(--line);
}

.message-card p {
  margin: 0;
  padding: 18px 16px;
  font-size: 1rem;
}

.how,
.who,
.access {
  padding: 64px 0;
}

.how {
  background: var(--paper-2);
}

.section-head {
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (min-width: 1100px) {
  .card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    flex: 0 1 calc((100% - 32px) / 3);
  }
}

.card {
  padding: 22px 22px 20px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-num {
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.card p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.audience article {
  padding: 22px;
  border-top: 3px solid var(--red);
}

.audience .icon-badge {
  margin-bottom: 14px;
}

h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title-icon {
  width: 0.85em;
  height: 0.85em;
  color: var(--red);
}

.audience p {
  margin: 0;
  color: var(--ink-soft);
}

.access {
  padding-bottom: 88px;
}

.access-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.access-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-top: 3px solid var(--red);
}

.field {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field em {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(12, 26, 51, 0.12);
}

.cf-turnstile {
  max-width: 100%;
  overflow: hidden;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.form-aside {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.linkish {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.linkish:hover {
  color: var(--red);
}

.form-ack {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--navy);
  background: var(--paper);
  color: var(--ink);
}

.form-ack-error {
  border-color: var(--red);
}

.site-footer {
  background: var(--navy);
  color: #c5d0de;
  padding: 28px 0;
  font-size: 0.9rem;
  border-top: 3px solid var(--red);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.site-footer p {
  margin: 0;
}

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

  .hero-copy,
  .hero-side {
    animation: none;
  }

  .phone {
    transform: none;
    transition: none;
  }

  .card,
  .audience article,
  .access-form,
  .btn,
  .nav a,
  .icon-badge {
    transition: none;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .access-grid,
  .audience {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .phone {
    transform: none;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(1120px, calc(100% - 28px));
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .brand {
    font-size: 1.15rem;
    gap: 8px;
  }

  .nav-cta {
    padding: 7px 11px;
    font-size: 0.85rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 64px;
  }
}
