:root {
  --ink: #10202f;
  --muted: #5d6b78;
  --line: #d8e2e9;
  --paper: #ffffff;
  --cloud: #f3f8fb;
  --mint: #0d8f7d;
  --mint-dark: #086d62;
  --blue: #1d6fa3;
  --amber: #f2b44b;
  --rose: #d95b68;
  --shadow: 0 24px 70px rgba(16, 32, 47, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cloud);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f8fbfd;
  padding: 2px 6px;
  font-size: 0.92em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 16px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 226, 233, 0.86);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: #000 url("icon-192.png") center / cover no-repeat;
  box-shadow: 0 6px 18px rgba(16, 32, 47, 0.2);
  color: transparent;
  font-size: 0;
  overflow: hidden;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a,
.header-cta {
  min-height: 38px;
  border-radius: 7px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a:hover,
.header-cta:hover {
  background: #edf5f8;
  color: var(--ink);
}

.header-cta {
  border: 1px solid var(--line);
  color: var(--ink);
}

.section-band,
.section {
  padding-inline: clamp(20px, 5vw, 72px);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(820px, calc(100vh - 92px));
  align-items: center;
  overflow: hidden;
  padding-top: 54px;
  padding-bottom: 54px;
  background:
    linear-gradient(135deg, rgba(13, 143, 125, 0.11), rgba(29, 111, 163, 0.07) 48%, rgba(242, 180, 75, 0.11)),
    var(--cloud);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(243, 248, 251, 0.98) 0%, rgba(243, 248, 251, 0.88) 38%, rgba(243, 248, 251, 0.12) 75%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(740px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 5.7rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.hero-lede,
.section-heading p,
.split-section > div > p,
.faq-list p,
.site-footer p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 28px;
  font-size: 1.22rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--mint);
  color: #fff;
  box-shadow: 0 12px 28px rgba(13, 143, 125, 0.25);
}

.button.primary:hover {
  background: var(--mint-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button.light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-proof span {
  border: 1px solid rgba(13, 143, 125, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 11px;
  color: var(--mint-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.product-stage {
  position: absolute;
  top: 44px;
  right: clamp(18px, 5vw, 82px);
  bottom: 38px;
  z-index: 0;
  width: min(880px, 62vw);
}

.dashboard-window {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 47, 0.12);
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: var(--shadow);
}

.window-top {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 0 16px;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dce6ec;
}

.window-top strong {
  justify-self: end;
  color: var(--muted);
  font-size: 0.82rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}

.stats-grid div,
.feature-card,
.plan-card,
.settings-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.stats-grid div {
  padding: 16px;
}

.stats-grid small,
.email-card small,
.template-box small,
.panel-header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stats-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.8rem;
}

.visual-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  min-height: 0;
  padding: 0 18px 18px;
}

.message-stack {
  display: grid;
  gap: 12px;
}

.email-card {
  border: 1px solid var(--line);
  border-left: 6px solid var(--amber);
  border-radius: 8px;
  background: #fff;
  padding: 15px;
}

.email-card.delivered {
  border-left-color: var(--mint);
}

.email-card.rejected {
  border-left-color: var(--rose);
}

.email-card p {
  margin: 7px 0 10px;
  font-weight: 800;
}

.email-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.inbox-preview {
  min-height: min(340px, 44vh);
  border: 8px solid var(--ink);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 248, 251, 0.94)),
    #fff;
  padding: 18px 14px;
}

.phone-speaker {
  width: 64px;
  height: 6px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #d2dee6;
}

.email-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.email-app-header span {
  font-size: 1.1rem;
  font-weight: 900;
}

.email-app-header strong {
  display: grid;
  min-width: 26px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  font-size: 0.78rem;
}

.mobile-email {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.mobile-email:first-of-type {
  padding-top: 0;
}

.mobile-email:last-child {
  border-bottom: 0;
}

.mobile-email small {
  color: var(--mint-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-email strong {
  font-size: 0.9rem;
  line-height: 1.18;
}

.mobile-email p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.mobile-email.active {
  border-radius: 8px;
  background: #edf6f5;
  margin-bottom: 2px;
  padding: 11px;
}

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

.trust-strip div {
  background: #fff;
  padding: 24px clamp(20px, 4vw, 54px);
}

.trust-strip strong {
  display: block;
  margin-bottom: 4px;
}

.trust-strip span {
  color: var(--muted);
}

.instant-setup {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 72px);
}

.instant-copy {
  max-width: 720px;
}

.instant-copy h2 {
  max-width: 760px;
  font-size: 3.25rem;
  line-height: 1.03;
}

.instant-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.12rem;
}

.instant-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.instant-step {
  min-height: 222px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fbfd;
  padding: 20px;
}

.instant-step span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--mint);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}

.instant-step:nth-child(2) span {
  background: var(--blue);
}

.instant-step:nth-child(3) span {
  background: var(--amber);
  color: #2d2414;
}

.instant-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: clamp(72px, 10vw, 132px);
  background: #fff;
}

.section:nth-of-type(odd) {
  background: #f7fbfd;
}

#features,
.faq-section {
  background: #f7fbfd;
}

#how-it-works,
#free {
  background: #fff;
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.narrow {
  max-width: 760px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.plan-card {
  padding: 22px;
}

.feature-card p,
.plan-card p,
.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon {
  display: inline-block;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #000 url("icon-192.png") center / cover no-repeat;
  box-shadow: 0 10px 24px rgba(16, 32, 47, 0.14);
  position: relative;
}

.icon::after {
  content: "";
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  border-left: 3px solid var(--line);
  padding: 0 0 0 18px;
}

.step.active {
  border-left-color: var(--mint);
}

.step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.settings-panel {
  padding: 22px;
  box-shadow: 0 20px 55px rgba(16, 32, 47, 0.12);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.settings-panel label {
  display: flex;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  color: var(--muted);
  font-weight: 700;
}

.settings-panel input {
  accent-color: var(--mint);
}

.template-box {
  margin-top: 12px;
  border-radius: 8px;
  background: #edf6f5;
  padding: 16px;
}

.template-box p {
  margin: 6px 0 0;
  font-weight: 800;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.plan-card strong {
  display: block;
  margin: 16px 0 8px;
  font-size: 2.05rem;
  line-height: 1;
}

.plan-card strong small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.plan-card .plan-highlight {
  margin: 0 0 18px;
  color: var(--mint-dark);
  font-weight: 800;
}

.plan-card .button {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

.plan-card.featured {
  border-color: rgba(13, 143, 125, 0.34);
  box-shadow: 0 24px 70px rgba(13, 143, 125, 0.14);
}

.plan-card-loading {
  grid-column: 1 / -1;
  min-height: 180px;
}

.free-note {
  max-width: 820px;
  margin: 24px auto 0;
  color: var(--muted);
  text-align: center;
}

.free-error {
  grid-column: 1 / -1;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  background: #e0f6f2;
  padding: 6px 9px;
  color: var(--mint-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.faq-section {
  background: #f7fbfd;
}

.faq-list {
  display: grid;
  max-width: 920px;
  margin: 0 auto;
  gap: 12px;
}

.faq-list details {
  padding: 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.supported-country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.supported-country-list span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d4e7ea;
  border-radius: 999px;
  background: #fff;
  padding: 6px 9px;
  color: #31424a;
  font-size: 0.78rem;
  font-weight: 700;
}

.supported-country-note {
  font-weight: 800;
  color: var(--mint-dark);
}

.install-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.install-section .eyebrow {
  color: #b7e7df;
}

.install-section h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: #fff;
}

.install-section h3 {
  color: #fff;
}

.install-section > div > p,
.install-steps p {
  color: #d8e8ef;
}

.install-panel {
  display: grid;
  gap: 20px;
  align-content: start;
}

.install-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.install-steps span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.install-steps p {
  margin-bottom: 0;
}

.install-download {
  justify-self: start;
}

.install-fallback {
  margin: 8px 0 0;
  color: #d8e8ef;
  font-size: 0.9rem;
}

.install-fallback a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.install-fallback a:hover {
  color: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--mint-dark);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.legal-main {
  background: #fff;
}

.legal-hero {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 54px);
  background: var(--cloud);
}

.legal-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: 4.2rem;
  line-height: 1;
}

.legal-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
}

.legal-content {
  display: grid;
  max-width: 980px;
  gap: 24px;
  padding: clamp(38px, 6vw, 72px) clamp(20px, 5vw, 72px);
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: clamp(20px, 4vw, 34px);
}

.legal-card h2 {
  font-size: 1.7rem;
  line-height: 1.12;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.download-main {
  display: grid;
  min-height: calc(100vh - 72px);
  place-items: center;
  padding: clamp(34px, 6vw, 72px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(13, 143, 125, 0.11), rgba(29, 111, 163, 0.07) 48%, rgba(242, 180, 75, 0.11)),
    var(--cloud);
}

.download-panel {
  width: min(680px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: clamp(26px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.download-panel h1 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 0.96;
}

.download-panel p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

.download-status {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-card a {
  color: var(--mint-dark);
  font-weight: 800;
}

.legal-updated {
  margin: 0;
  color: var(--mint-dark);
  font-weight: 800;
}

@media (max-width: 1090px) {
  .split-section,
  .instant-setup,
  .install-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 48px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(243, 248, 251, 0.98) 0%, rgba(243, 248, 251, 0.92) 54%, rgba(243, 248, 251, 0.18) 100%);
  }

  .hero-copy,
  .product-stage {
    z-index: 2;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 3rem;
  }

  .instant-copy h2 {
    font-size: 2.85rem;
  }

  .product-stage {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    order: 2;
    width: min(100%, 920px);
    height: 390px;
    margin-top: 34px;
    opacity: 0.92;
  }

  .hero-copy {
    order: 1;
  }

  .product-stage .stats-grid {
    gap: 10px;
    padding: 14px;
  }

  .product-stage .stats-grid div {
    padding: 12px;
  }

  .product-stage .stats-grid strong {
    font-size: 1.45rem;
  }

  .product-stage .visual-row {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 12px;
    padding: 0 14px 14px;
  }

  .product-stage .email-card {
    padding: 12px;
  }

  .product-stage .email-card p {
    margin-bottom: 8px;
    font-size: 0.92rem;
  }

  .product-stage .inbox-preview {
    min-height: 230px;
    border-width: 7px;
    border-radius: 28px;
    padding: 14px 12px;
  }

  .product-stage .phone-speaker {
    margin-bottom: 24px;
  }

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

}

@media (max-width: 821px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 11px 18px;
  }

  .main-nav {
    justify-content: flex-end;
    overflow-x: auto;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 7px 9px;
    white-space: nowrap;
    font-size: 0.86rem;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 16px 8px;
  }

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

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 0.68rem;
  }

  .main-nav {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 6px 8px;
    white-space: nowrap;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 34px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(243, 248, 251, 0.98) 0%, rgba(243, 248, 251, 0.94) 45%, rgba(243, 248, 251, 0.2) 100%);
  }

  .product-stage {
    height: 386px;
    margin-top: 28px;
  }

  h1 {
    max-width: 100%;
    font-size: 2.68rem;
    line-height: 1;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 2.25rem;
  }

  .legal-hero h1 {
    font-size: 2.68rem;
  }

  .instant-copy h2 {
    font-size: 2.12rem;
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .stats-grid strong,
  .plan-card strong {
    font-size: 1.55rem;
  }

  .feature-grid,
  .instant-flow,
  .plan-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .instant-step {
    min-height: auto;
  }

  .dashboard-window .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  .dashboard-window .stats-grid div {
    min-width: 0;
    padding: 10px 8px;
  }

  .dashboard-window .stats-grid small,
  .window-top strong {
    font-size: 0.66rem;
  }

  .dashboard-window .stats-grid strong {
    margin-top: 6px;
    font-size: 1.16rem;
  }

  .product-stage .visual-row {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 32%);
    gap: 12px;
    padding: 0 12px 12px;
  }

  .product-stage .message-stack {
    gap: 10px;
  }

  .product-stage .email-card {
    padding: 12px;
  }

  .product-stage .email-card.rejected {
    display: none;
  }

  .product-stage .email-card p {
    margin-bottom: 8px;
    font-size: 0.9rem;
  }

  .product-stage .inbox-preview {
    display: block;
    min-height: 204px;
    border-width: 6px;
    border-radius: 24px;
    padding: 12px 9px;
  }

  .product-stage .phone-speaker {
    width: 46px;
    height: 5px;
    margin-bottom: 14px;
  }

  .product-stage .email-app-header {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .product-stage .email-app-header span {
    font-size: 0.92rem;
  }

  .product-stage .mobile-email {
    padding: 8px 0;
  }

  .product-stage .mobile-email.active {
    padding: 9px;
  }

  .product-stage .mobile-email small {
    font-size: 0.62rem;
  }

  .product-stage .mobile-email strong {
    font-size: 0.78rem;
  }

  .product-stage .mobile-email p {
    font-size: 0.68rem;
  }

  .button {
    width: 100%;
  }

  .hero-proof span {
    width: 100%;
  }
}

@media (max-width: 530px) {
  .site-header {
    padding-block: 9px;
  }

  .main-nav {
    display: none;
  }

  h1 {
    font-size: 2.34rem;
  }

  .legal-hero h1 {
    font-size: 2.34rem;
  }

  .product-stage {
    height: 360px;
  }

  .product-stage .visual-row {
    grid-template-columns: 1fr;
  }

  .product-stage .message-stack {
    display: none;
  }

  .product-stage .inbox-preview {
    width: min(220px, 72vw);
    min-height: 230px;
    justify-self: center;
    border-width: 7px;
    border-radius: 28px;
    padding: 14px 12px;
  }

  .product-stage .phone-speaker {
    margin-bottom: 18px;
  }

  .product-stage .mobile-email strong {
    font-size: 0.84rem;
  }
}

/* =========================================================
 * Developer + dashboard pages (added 2026-07-13)
 * ========================================================= */

/* --- Hero sub-link + developer callout band (added to index.html) --- */

.hero-sub-link {
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-sub-link a {
  color: var(--mint-dark);
  font-weight: 600;
  border-bottom: 1px solid rgba(13, 143, 125, 0.35);
}

.hero-sub-link a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.developer-callout {
  padding: 44px clamp(20px, 5vw, 72px);
  background: linear-gradient(120deg, rgba(13, 143, 125, 0.08), rgba(29, 111, 163, 0.06));
  border-block: 1px solid rgba(13, 143, 125, 0.16);
}

.developer-callout-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 32px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.developer-callout-inner h2 {
  margin: 6px 0 10px;
  font-size: 1.9rem;
}

.developer-callout-inner p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  max-width: 640px;
}

.developer-callout-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .developer-callout-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- Dev hero: two-column with code preview on the right --- */

.dev-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 56px;
  background: linear-gradient(180deg, rgba(13, 143, 125, 0.06), rgba(255, 255, 255, 0));
}

.dev-hero-copy .hero-lede {
  max-width: 560px;
}

/* --- Code windows (used on dev-hero, dev-quick-panel, samples) --- */

.code-window {
  background: #0f1d2a;
  color: #e8f1f7;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(16, 32, 47, 0.28);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color: rgba(232, 241, 247, 0.72);
}

.code-window-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.code-window-top span:first-child { background: #ff5f56; }
.code-window-top span:nth-child(2) { background: #ffbd2e; }
.code-window-top span:nth-child(3) { background: #27c93f; }

.code-window-top strong {
  margin-left: 6px;
  color: rgba(232, 241, 247, 0.88);
  font-weight: 600;
}

.code-window-top .copy-btn {
  margin-left: auto;
}

.code-block {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.62;
  color: #e8f1f7;
  background: transparent;
}

.code-block code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
}

.code-response {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  padding-top: 4px;
}

.code-response small {
  display: block;
  padding: 10px 22px 0;
  color: rgba(232, 241, 247, 0.55);
  font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Copy button (used on code windows + apikey box) --- */

.copy-btn {
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 241, 247, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.08s ease;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: none;
}

.copy-btn.copy-ok {
  background: rgba(13, 143, 125, 0.22);
  border-color: rgba(13, 143, 125, 0.5);
  color: #b8f3e6;
}

/* --- Signup panel (developers page inline OTP flow) --- */

.signup-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 30px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(16, 32, 47, 0.08);
}

.signup-form,
.signup-form-otp {
  display: grid;
  gap: 14px;
}

.signup-form label,
.signup-form-otp label,
.dashboard-login label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.signup-form label span,
.signup-form-otp label span,
.dashboard-login label span {
  color: var(--ink);
}

.signup-form input,
.signup-form-otp input,
.dashboard-login input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.signup-form input:focus,
.signup-form-otp input:focus,
.dashboard-login input:focus {
  outline: none;
  border-color: var(--mint);
  background: #ffffff;
}

.signup-form button[type="submit"],
.signup-form-otp button[type="submit"],
.dashboard-login button[type="submit"] {
  justify-self: start;
  margin-top: 4px;
}

.signup-form-otp .button.secondary {
  justify-self: start;
}

.signup-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.signup-otp-hint {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(13, 143, 125, 0.08);
  color: var(--mint-dark);
  font-size: 0.9rem;
}

.signup-result h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.signup-result p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.apikey-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1d2a;
  color: #b8f3e6;
  font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  overflow: hidden;
}

.apikey-box code {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: 0.82rem;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.apikey-box .copy-btn {
  flex-shrink: 0;
}

.signup-summary {
  list-style: none;
  margin: 18px 0 6px;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}

.signup-summary li strong {
  color: var(--ink);
}

.signup-cta {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.signup-error {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(217, 91, 104, 0.08);
  border: 1px solid rgba(217, 91, 104, 0.3);
  color: #a13641;
  font-size: 0.92rem;
}

/* --- Endpoint reference tables --- */

.endpoint-panel {
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(16, 32, 47, 0.06);
}

.endpoint-table {
  width: 100%;
  border-collapse: collapse;
  color: #d8e6ee;
}

.dev-quick-panel .endpoint-table {
  color: #d8e6ee;
}

.endpoint-panel .endpoint-table {
  color: var(--ink);
}

.endpoint-table th,
.endpoint-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 0.94rem;
  border-bottom: 1px solid rgba(216, 226, 233, 0.6);
}

.dev-quick-panel .endpoint-table th,
.dev-quick-panel .endpoint-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.endpoint-table th {
  background: rgba(13, 143, 125, 0.06);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.dev-quick-panel .endpoint-table th {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 241, 247, 0.6);
}

.endpoint-table tr:last-child td {
  border-bottom: 0;
}

.endpoint-table-wide th:nth-child(1) { width: 90px; }
.endpoint-table-wide th:nth-child(2) { width: 250px; }

.http-method {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 0;
}

.http-post { background: rgba(13, 143, 125, 0.15); color: var(--mint-dark); }
.http-get  { background: rgba(29, 111, 163, 0.15); color: var(--blue); }

/* --- Code sample tabs --- */

.samples-tabs {
  display: flex;
  gap: 6px;
  margin: 0 auto 18px;
  max-width: 1080px;
  border-bottom: 1px solid var(--line);
}

.samples-tab {
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.samples-tab:hover { color: var(--ink); }

.samples-tab.active {
  color: var(--mint-dark);
  border-bottom-color: var(--mint);
}

.samples-panels {
  max-width: 1080px;
  margin: 0 auto;
}

.samples-panel { display: none; }
.samples-panel.active { display: block; }

/* --- Topup pricing tiles --- */

.topup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.topup-card {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  display: grid;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.topup-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(16, 32, 47, 0.1);
}

.topup-card strong {
  font-size: 2rem;
  color: var(--ink);
}

.topup-card > span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mint-dark);
}

.topup-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.topup-card.featured {
  border-color: var(--mint);
  box-shadow: 0 20px 45px rgba(13, 143, 125, 0.18);
}

.topup-notes {
  max-width: 1080px;
  margin: 24px auto 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 143, 125, 0.04);
}

.topup-notes ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--ink);
}

.topup-notes li strong {
  font-weight: 700;
}

/* --- Dashboard --- */

.dashboard-header {
  padding: 56px clamp(20px, 5vw, 72px) 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.dashboard-header h1 {
  margin: 8px 0 12px;
}

.dashboard-header .lede {
  color: var(--muted);
  max-width: 620px;
}

.dashboard-banner {
  max-width: 1080px;
  margin: 0 auto 8px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.dashboard-banner-ok {
  background: rgba(13, 143, 125, 0.1);
  color: var(--mint-dark);
  border: 1px solid rgba(13, 143, 125, 0.3);
}

.dashboard-banner-warn {
  background: rgba(242, 180, 75, 0.12);
  color: #7c5b16;
  border: 1px solid rgba(242, 180, 75, 0.35);
}

.dashboard-login {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 30px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(16, 32, 47, 0.08);
}

.dashboard-login h2 {
  margin: 0 0 8px;
}

.dashboard-login p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.dashboard-login form {
  display: grid;
  gap: 14px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.dashboard-card {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(16, 32, 47, 0.05);
}

.dashboard-card .eyebrow {
  margin: 0 0 10px;
}

.dashboard-card.dashboard-full {
  grid-column: 1 / -1;
}

.dashboard-balance strong {
  font-size: 2.6rem;
  color: var(--mint-dark);
  font-weight: 800;
  display: block;
  line-height: 1;
}

.dashboard-balance > span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.dashboard-balance-note {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.dashboard-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}

.dashboard-stats-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
}

.dashboard-stats li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}

.dashboard-stats li span {
  color: var(--muted);
}

.dashboard-stats li strong,
.dashboard-stats li code {
  color: var(--ink);
  text-align: right;
  word-break: break-word;
  max-width: 60%;
}

.dashboard-stats li code {
  background: #f8fbfd;
  border: 1px solid var(--line);
}

.dashboard-account-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* --- Topup picker (dashboard) --- */

.topup-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.topup-tier {
  display: grid !important;
  gap: 4px;
  padding: 16px 12px !important;
  border-radius: 12px !important;
  text-align: center;
  min-height: 92px !important;
}

.topup-tier strong {
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 800;
}

.topup-tier span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.topup-tier:hover strong { color: var(--mint-dark); }

.topup-tier:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.topup-fineprint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* --- Credit ledger table --- */

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.ledger-table th,
.ledger-table td {
  padding: 10px 12px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(216, 226, 233, 0.7);
}

.ledger-table th {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.ledger-table tr:last-child td { border-bottom: 0; }

.ledger-plus  { color: var(--mint-dark); font-weight: 700; }
.ledger-minus { color: var(--rose);       font-weight: 700; }

/* --- Responsive: dev + dashboard --- */

@media (max-width: 960px) {
  .dev-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }
  .topup-grid,
  .topup-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .endpoint-table-wide th:nth-child(1) { width: 74px; }
  .endpoint-table-wide th:nth-child(2) { width: 180px; }
  .endpoint-table th,
  .endpoint-table td {
    font-size: 0.88rem;
    padding: 10px 12px;
  }
}

@media (max-width: 530px) {
  .dashboard-stats-two {
    grid-template-columns: 1fr;
  }
  .topup-grid,
  .topup-picker {
    grid-template-columns: 1fr;
  }
  .samples-tab {
    padding: 8px 12px;
    font-size: 0.88rem;
  }
  .apikey-box code {
    font-size: 0.72rem;
  }
  .code-block {
    font-size: 0.78rem;
  }
}
