@font-face { font-family: "Post Grotesk"; src: url("../fonts/PostGrotesk-Book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Post Grotesk"; src: url("../fonts/PostGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Post Grotesk"; src: url("../fonts/PostGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #14142b;
  --paper: #ffffff;
  --muted: #5a5c73;
  --line: #e3e4f0;
  --brand: #4f46e5;
  --brand-deep: #3730a3;
  --brand-dark: #1e1b4b;
  --tint: #eef0ff;
  --night: #312e81;
  --amber: #f59e0b;
  --amber-tint: #fef3c7;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --font: "Post Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.mark { display: inline-flex; align-items: center; margin-right: auto; }
.mark img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 0.9375rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { color: #fff; }
.nav a.btn:hover { color: #fff; }

/* buttons */
.btn { display: inline-block; padding: 13px 22px; background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: 3px; font: 500 0.9375rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn.quiet { background: transparent; color: var(--brand-deep); border-color: var(--brand); }
.btn.quiet:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn.on-dark { background: #fff; color: var(--night); border-color: #fff; }
.btn.on-dark:hover { background: var(--tint); border-color: var(--tint); }
.btn.on-dark { color: var(--brand-deep); }
.btn.small { padding: 10px 16px; }

/* type */
h1 { font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.lede { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }

/* hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { background: var(--tint); }
.facts .wrap { display: flex; flex-wrap: wrap; gap: 8px 40px; padding-block: 18px; font-size: 0.9375rem; color: var(--muted); }
.facts b { color: var(--brand-deep); font-weight: 700; }
.facts .wrap { color: #4a4d7a; }

/* notice flow illustration */
.flow { position: relative; background: var(--brand); border-radius: 6px; padding: 22px; display: grid; gap: 14px; }
.flow .doc, .flow .draft { background: #fff; border-radius: 4px; padding: 16px 18px; }
.flow .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 0.875rem; }
.flow .head b { font-weight: 700; color: var(--brand-dark); }
.flow .tag { font-size: 0.75rem; font-weight: 500; padding: 4px 9px; border-radius: 99px; background: var(--tint); color: var(--brand-deep); }
.flow .tag.amber { background: var(--amber-tint); color: #92400e; }
.flow .row { display: grid; grid-template-columns: 6.5em 1fr; align-items: center; gap: 12px; padding: 7px 0; font-size: 0.8125rem; color: var(--muted); border-top: 1px solid var(--line); }
.flow .row:first-of-type { border-top: 0; }
.flow .row i { display: block; height: 8px; width: 0; border-radius: 4px; background: var(--brand); opacity: .85; animation: fill 12s ease-in-out infinite; animation-delay: var(--d, 0s); }
.flow .draft { opacity: 0; transform: translateY(10px); animation: appear 12s ease-in-out infinite; }
.flow .draft .lines i { display: block; height: 7px; border-radius: 4px; background: #dcdff5; margin-bottom: 8px; }
.flow .draft small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.75rem; }
@keyframes fill { 0% { width: 0; } 7%, 88% { width: var(--w, 60%); } 98%, 100% { width: 0; } }
@keyframes appear { 0%, 44% { opacity: 0; transform: translateY(10px); } 54%, 88% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(10px); } }

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 36em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }

.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--brand); }
.group { padding: 24px 24px 8px 0; }
.group + .group { padding-left: 24px; border-left: 1px solid var(--line); }
.group h3 { margin-bottom: 18px; color: var(--brand-deep); }
.group li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.9688rem; line-height: 1.4; }
.group li:first-of-type { border-top: 0; padding-top: 0; }
.group li span { display: block; color: var(--muted); font-size: 0.875rem; margin-top: 2px; }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.rows { border-top: 3px solid var(--brand); }
.rows > div { display: grid; grid-template-columns: 11em 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 700; color: var(--brand-deep); }
.rows dd { color: var(--muted); }

.steps { counter-reset: s; border-top: 3px solid var(--brand); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5em 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font-weight: 700; color: var(--brand); font-size: 1.25rem; line-height: 1.3; }
.steps b { display: block; font-weight: 700; }
.steps span { color: var(--muted); }

.cta { background: var(--night); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta p { color: #c7cbff; margin-top: 12px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 0.9375rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; }
.site-footer .mark { margin: 0 0 10px; }
.site-footer .mark img { height: 34px; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* inner pages */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); }
a:not(.btn):not(.mark):hover { color: var(--brand-deep); }
.page-head h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin-bottom: 20px; }
.feature-block { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 80px); padding: 40px 0; border-top: 1px solid var(--line); }
.feature-block:first-of-type { border-top: 3px solid var(--brand); }
.feature-block h2 { font-size: 1.5rem; }
.feature-block p.intro { color: var(--muted); margin-top: 10px; }
.feature-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 13em 1fr; gap: 24px; }
.feature-list li:first-child { padding-top: 0; }
.feature-list b { font-weight: 700; }
.feature-list span { color: var(--muted); }
.contact-rows { max-width: 40em; }

@media (max-width: 900px) {
  .hero .wrap, .split, .feature-block { grid-template-columns: 1fr; }
  .groups { grid-template-columns: repeat(2, 1fr); }
  .group:nth-child(3) { padding-left: 0; border-left: 0; }
  .group:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 32px; }
}
@media (max-width: 640px) {
  .nav a:not(.btn):not(.keep) { display: none; }
  .nav { gap: 16px; }
  .groups { grid-template-columns: 1fr; }
  .group + .group { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 32px; }
  .rows > div, .feature-list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow .row i, .flow .draft { animation: none; }
  .flow .row i { width: var(--w); }
  .flow .draft { opacity: 1; transform: none; }
}

.tinted { background: var(--tint); }
.tinted + .section { border-top: 0; }
.section.tinted { border-top: 0; }

/* pricing */
.price { background: var(--tint); border-top: 3px solid var(--brand); padding: 28px 28px 24px; margin-bottom: 32px; }
.price-amount { font-weight: 700; font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--brand-deep); }
.price-amount [data-price-amount] { font-size: inherit; }
.price-note { margin-top: 10px; font-size: 1.125rem; }

/* area pages */
.group h3 a { text-decoration: none; }
.group h3 a:hover { text-decoration: underline; }
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--brand); }
.area-grid li { border-bottom: 1px solid var(--line); }
.area-grid li:nth-child(odd) { border-right: 1px solid var(--line); }
.area-grid a { display: block; padding: 32px 32px 32px 0; text-decoration: none; height: 100%; }
.area-grid li:nth-child(even) a { padding-left: 32px; }
.area-grid b { display: block; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--brand-deep); margin-bottom: 8px; }
.area-grid span { color: var(--muted); }
.area-grid a:hover b { text-decoration: underline; }
.area-links { display: flex; flex-wrap: wrap; gap: 12px 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.area-links a { color: var(--brand-deep); font-weight: 500; }
@media (max-width: 640px) { .area-grid { grid-template-columns: 1fr; } .area-grid li:nth-child(odd) { border-right: 0; } .area-grid li:nth-child(even) a { padding-left: 0; } }

/* long-form pages */
.prose > * { max-width: 46em; }
.prose h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul:not(.area-links) { margin: 0 0 14px 1.2em; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--brand-deep); }
.prose .big { font-size: 1.5rem; font-weight: 700; }

/* three pillars */
.groups.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.groups.three .group:nth-child(3) { padding-left: 24px; border-left: 1px solid var(--line); }
.group h3 a { text-decoration: none; }
.group li span { font-size: 0.9rem; line-height: 1.5; }
.section-head p a { color: var(--brand-deep); }
@media (max-width: 900px) {
  .groups.three { grid-template-columns: 1fr; }
  .groups.three .group + .group, .groups.three .group:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 32px; }
}

.split > .price { align-self: start; }
