:root {
  --ink: #13202a;
  --muted: #66717a;
  --paper: #f6fbf7;
  --surface: #ffffff;
  --line: #dce8df;
  --coral: #f0644d;
  --mint: #8fd9bd;
  --blue: #3e86c3;
  --yellow: #ffd66b;
  --shadow: rgba(19, 32, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  line-height: 1.7;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(246, 251, 247, 0.9);
  border-bottom: 1px solid rgba(220, 232, 223, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 4px;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 3px 4px 0 rgba(240, 100, 77, 0.28);
}

.brand-mark span {
  border-radius: 4px;
}

.brand-mark span:nth-child(1) {
  background: var(--coral);
}

.brand-mark span:nth-child(2) {
  background: var(--yellow);
}

.brand-mark span:nth-child(3) {
  background: var(--mint);
}

.brand-mark span:nth-child(4) {
  background: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(19, 32, 42, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover,
.legal-grid a:hover {
  color: var(--coral);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px) clamp(50px, 8vw, 82px);
  background:
    linear-gradient(90deg, rgba(246, 251, 247, 0.98) 0%, rgba(246, 251, 247, 0.9) 44%, rgba(246, 251, 247, 0.18) 78%),
    url("./assets/before-after-showcase.jpg") right clamp(20px, 6vw, 84px) center / auto min(82svh, 760px) no-repeat,
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(19, 32, 42, 0.08) 1.1px, transparent 1.1px);
  background-size: 24px 24px;
  opacity: 0.32;
}

.hero-content {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 4px;
  background: var(--coral);
  border-radius: 999px;
}

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

h1 {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: clamp(30px, 8vw, 68px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  max-width: 500px;
  margin-bottom: 28px;
  color: rgba(19, 32, 42, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 760;
}

.hero-note {
  max-width: 500px;
  margin: 18px 0 0;
  color: rgba(19, 32, 42, 0.62);
  font-size: 13px;
  font-weight: 720;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  box-shadow: 4px 5px 0 var(--shadow);
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  background: white;
  color: var(--ink);
}

.status-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(19, 32, 42, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section.alt {
  background: white;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
}

.section-heading p,
.feature p,
.legal-card p {
  color: var(--muted);
}

.proof-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.proof-layout .section-heading {
  margin-bottom: 0;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(19, 32, 42, 0.08);
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.media-frame figcaption {
  padding: 12px 14px 14px;
  color: rgba(19, 32, 42, 0.62);
  font-size: 13px;
  font-weight: 720;
}

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

.feature,
.legal-card,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(19, 32, 42, 0.06);
}

.feature {
  padding: 24px;
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.24;
  font-weight: 950;
}

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

.step {
  padding: 22px;
}

.step-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 950;
}

.legal-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(143, 217, 189, 0.22), rgba(62, 134, 195, 0.14), rgba(240, 100, 77, 0.16)),
    white;
}

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

.legal-card {
  min-height: 164px;
  padding: 24px;
  text-decoration: none;
}

.legal-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 950;
}

.support-note {
  max-width: 820px;
  margin: 18px 0 0;
  color: rgba(19, 32, 42, 0.68);
  font-size: 14px;
  font-weight: 760;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

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

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(143, 217, 189, 0.2), transparent 340px),
    var(--paper);
}

.legal-main {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0;
}

.legal-title {
  margin-bottom: 26px;
}

.legal-title h1 {
  max-width: 760px;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.05;
}

.legal-title p {
  color: var(--muted);
  font-weight: 760;
}

.legal-document {
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(19, 32, 42, 0.08);
}

.legal-document h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p,
.legal-document li,
.legal-document dd {
  color: rgba(19, 32, 42, 0.78);
}

.legal-document ul {
  padding-left: 1.4em;
}

.legal-document dl {
  display: grid;
  gap: 18px;
}

.legal-document dt {
  font-weight: 950;
}

.legal-document dd {
  margin: 4px 0 0;
}

@media (max-width: 1080px) {
  .steps,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 88svh;
    padding-top: 94px;
    padding-bottom: min(52svh, 430px);
    background:
      linear-gradient(180deg, rgba(246, 251, 247, 0.98) 0%, rgba(246, 251, 247, 0.9) 58%, rgba(246, 251, 247, 0.38) 100%),
      url("./assets/before-after-showcase.jpg") center bottom 24px / auto min(48svh, 400px) no-repeat,
      var(--paper);
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
  }

  .button,
  .status-pill {
    width: 100%;
  }
}
