:root {
  --ink: #08152f;
  --ink-soft: #31405d;
  --muted: #60708d;
  --teal: #008c89;
  --teal-deep: #006a69;
  --citron: #b8d900;
  --coral: #f06457;
  --line: #d8e0eb;
  --wash: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(8, 21, 47, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.site-header,
.site-footer,
.hero,
.workflow,
.categories,
.example,
.trust,
.final-cta,
.legal-page {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 820;
  font-size: 1.35rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  color: var(--teal);
  fill: currentColor;
}

.brand-mark rect:first-child {
  color: var(--citron);
}

.brand-mark rect:nth-child(2) {
  color: #38b7aa;
}

.brand-mark.small {
  width: 28px;
  height: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 56px);
  color: var(--ink);
  font-weight: 720;
}

.site-nav a,
.footer-links a,
.text-link,
.source-link {
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover,
.source-link:hover {
  color: var(--teal-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 140, 137, 0.24);
}

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

.button-secondary {
  background: var(--white);
  color: var(--teal-deep);
  border-color: var(--teal);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(44px, 6vw, 86px);
  align-items: center;
  padding: clamp(50px, 6vw, 86px) 0 clamp(46px, 5vw, 64px);
}

.hero-copy h1 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(2.65rem, 5vw, 4.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-lede {
  max-width: 600px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.signal-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.signal-points div {
  min-width: 0;
}

.signal-points svg,
.category-board svg {
  width: 36px;
  height: 36px;
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-points strong {
  display: block;
  margin-top: 14px;
  font-size: 1rem;
}

.signal-points span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-visual {
  min-width: 0;
}

.mail-window {
  max-width: 100%;
  min-width: 0;
  border: 1px solid #c7d3e2;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mail-meta {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
}

.mail-meta div {
  overflow-wrap: anywhere;
}

.mail-meta span {
  display: inline-block;
  width: 70px;
  color: var(--muted);
  font-weight: 760;
}

.mail-body {
  padding: clamp(24px, 4vw, 42px);
  border-left: 4px solid var(--teal);
  margin: 0;
}

.mail-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.mail-brand strong {
  font-size: 1.35rem;
}

.mail-brand time {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.88rem;
}

.mail-body h2 {
  margin: 28px 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.18;
}

.mail-body p,
.mail-body li {
  color: var(--ink-soft);
}

.mail-body h3 {
  margin: 24px 0 8px;
  font-size: 1rem;
}

.mail-body ul {
  margin: 0;
  padding-left: 20px;
}

.source-link,
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-deep);
  font-weight: 820;
}

.workflow,
.categories,
.trust {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 32px;
}

.section-heading h2,
.example-copy h2,
.final-cta h2,
.legal-page h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p,
.example-copy p,
.final-cta p,
.legal-page p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-steps article {
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}

.workflow-steps article:last-child {
  border-right: 0;
}

.step-number {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--teal);
  color: var(--white);
  font-weight: 820;
  font-size: 0.82rem;
}

.workflow-steps h3,
.category-board h3,
.trust-grid h3 {
  margin: 18px 0 8px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.workflow-steps p,
.category-board p,
.trust-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.category-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-board article {
  min-width: 0;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.category-board article:last-child {
  border-right: 0;
}

.category-board article:nth-child(2) svg {
  color: var(--citron);
}

.category-board article:nth-child(5) svg {
  color: var(--coral);
}

.example {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.example-copy p {
  margin-top: 18px;
}

.example-frame {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
  box-shadow: 0 18px 44px rgba(8, 21, 47, 0.1);
}

.example-frame img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid article {
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}

.trust-grid article:last-child {
  border-right: 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.final-cta p {
  margin-top: 10px;
}

.site-footer {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.site-footer .brand {
  font-size: 1.12rem;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-weight: 760;
}

.site-footer p {
  margin: 0;
}

.legal-page {
  max-width: 820px;
  padding: 64px 0 72px;
}

.legal-page h1 {
  margin-bottom: 10px;
}

.legal-page h2 {
  margin: 34px 0 10px;
  font-size: 1.28rem;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    padding: 18px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .example {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .workflow-steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .workflow-steps article,
  .trust-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-steps article:last-child,
  .trust-grid article:last-child {
    border-bottom: 0;
  }

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

  .category-board article:nth-child(2n) {
    border-right: 0;
  }

  .category-board article:last-child {
    grid-column: span 2;
    border-top: 1px solid var(--line);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  .hero,
  .workflow,
  .categories,
  .example,
  .trust,
  .final-cta,
  .legal-page {
    width: calc(100% - 28px);
    max-width: 362px;
    margin-left: 14px;
    margin-right: auto;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 2.45rem);
  }

  .hero-actions,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .signal-points,
  .category-board {
    grid-template-columns: 1fr;
  }

  .signal-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
  }

  .signal-points svg {
    width: 28px;
    height: 28px;
  }

  .signal-points strong {
    margin-top: 10px;
    font-size: 0.88rem;
  }

  .signal-points span {
    display: none;
  }

  .hero-visual {
    display: none;
  }

  .category-board article,
  .category-board article:nth-child(2n),
  .category-board article:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-board article:last-child {
    border-bottom: 0;
  }

  .mail-meta {
    font-size: 0.78rem;
  }

  .mail-meta span {
    width: 58px;
  }

  .mail-brand {
    align-items: flex-start;
  }

  .mail-brand time {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
