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

:root {
  --ink: #182235;
  --ink-muted: #586276;
  --ink-soft: #798397;
  --paper: #f7f1e8;
  --paper-strong: #fffaf3;
  --surface: #ffffff;
  --line: rgba(24, 34, 53, 0.12);
  --navy: #26395f;
  --navy-deep: #182947;
  --red: #b63a44;
  --red-soft: #f5d9dc;
  --green: #35735a;
  --green-soft: #dcebe3;
  --gold: #d79a43;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --max: 1180px;
}

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

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(53, 115, 90, 0.14), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(182, 58, 68, 0.12), transparent 26%),
    linear-gradient(180deg, #fff8ef 0%, var(--paper) 48%, #eef4ef 100%);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
strong { color: var(--ink); }

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  color: white;
  background: var(--navy);
  border-radius: 0 0 8px 8px;
}

.skip-link:focus { top: 0; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(24, 34, 53, 0.16);
}

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

.nav-links a {
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover { color: var(--ink); }

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
  border-radius: 1px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 70px 0 0;
  z-index: 90;
  padding: 28px 20px;
  background: rgba(247, 241, 232, 0.98);
  border-bottom: 1px solid var(--line);
}

.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 15px 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  color: white;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(38, 57, 95, 0.22);
}

.button.primary:hover { background: var(--navy-deep); }

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.84fr);
  gap: 44px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

h1, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(52px, 8.6vw, 108px);
}

.hero-lede {
  max-width: 640px;
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  overflow-wrap: break-word;
}

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

.hero-note {
  max-width: 600px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.phone-stage {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  width: 86%;
  height: 74%;
  background:
    linear-gradient(135deg, rgba(182, 58, 68, 0.12), rgba(53, 115, 90, 0.16)),
    var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  transform: rotate(-4deg);
}

.phone {
  position: relative;
  z-index: 1;
  width: min(315px, 74vw);
  padding: 10px;
  background: #111722;
  border-radius: 36px;
  box-shadow: 0 32px 70px rgba(24, 34, 53, 0.32);
}

.phone img {
  width: 100%;
  border-radius: 27px;
}

.floating-metric {
  position: absolute;
  z-index: 2;
  min-width: 164px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 42px rgba(24, 34, 53, 0.15);
}

.floating-metric strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.floating-metric span {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 650;
}

.metric-am { left: 4%; top: 16%; }
.metric-pdf { right: 2%; bottom: 20%; }

section { padding: 78px 0; }

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.section-head p, .legal-lede {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 19px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card, .price-card, .faq details, .contact-panel, .legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(24, 34, 53, 0.06);
}

.feature-card {
  padding: 22px;
  min-height: 190px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 800;
}

.feature-card:nth-child(2) .feature-icon { background: var(--red); }
.feature-card:nth-child(3) .feature-icon { background: var(--green); }
.feature-card:nth-child(4) .feature-icon { background: var(--gold); color: var(--ink); }

.feature-card h3, .price-card h3, .legal-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
}

.feature-card p, .price-card p, .legal-card p {
  color: var(--ink-muted);
  font-size: 15px;
}

.screens {
  background: rgba(255, 250, 243, 0.58);
  border-block: 1px solid var(--line);
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.screen-shot {
  min-width: 190px;
  padding: 8px;
  background: #101722;
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(24, 34, 53, 0.22);
}

.screen-shot img { border-radius: 21px; }

.privacy-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.privacy-statement {
  padding: 30px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
}

.privacy-statement .display {
  font-size: clamp(42px, 5vw, 68px);
}

.privacy-list {
  display: grid;
  gap: 12px;
}

.privacy-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: white;
  background: var(--green);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
}

.privacy-item h3 {
  margin-bottom: 2px;
  font-size: 17px;
}

.privacy-item p {
  color: var(--ink-muted);
  font-size: 15px;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.52fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  padding: 28px;
}

.price {
  margin: 8px 0 16px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
}

.price small {
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
}

.price-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  color: var(--ink-muted);
  font-size: 15px;
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.faq details { overflow: hidden; }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 760;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}

.faq details[open] summary::after { content: "-"; }
.faq details p {
  padding: 0 20px 18px;
  color: var(--ink-muted);
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.footer a:hover { color: var(--ink); }

.page-main {
  padding: 58px 0 92px;
}

.legal-layout {
  max-width: 820px;
  margin: 0 auto;
}

.legal-layout h1 {
  font-size: clamp(48px, 7vw, 82px);
}

.legal-content {
  margin-top: 34px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.legal-content p, .legal-content li {
  margin-bottom: 12px;
  color: var(--ink-muted);
  font-size: 16px;
}

.legal-content ul, .legal-content ol {
  margin: 0 0 18px 22px;
}

.callout {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-panel {
  margin-top: 28px;
  padding: 28px;
}

.contact-panel .email {
  display: inline-flex;
  margin-top: 14px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.legal-card {
  padding: 22px;
  text-decoration: none;
}

.legal-card:hover { border-color: rgba(38, 57, 95, 0.35); }

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

  .phone-stage {
    min-height: auto;
    padding: 24px 0 12px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .container, .nav-inner {
    width: min(100% - 28px, var(--max));
  }

  .nav-links { display: none; }
  .menu-button { display: grid; }
  .hero { padding-top: 48px; }
  h1 {
    max-width: 100%;
    font-size: clamp(42px, 11.8vw, 52px);
  }
  section { padding: 58px 0; }
  .hero-actions .button { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .floating-metric { display: none; }
  .privacy-statement { padding: 24px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
