:root {
  color-scheme: light;
  --ink: #102a43;
  --muted: #52677a;
  --line: #dbe5ec;
  --paper: #f7fafc;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b5c56;
  --teal-pale: #dff5f1;
  --blue-pale: #e9f2f8;
  --shadow: 0 24px 70px rgba(16, 42, 67, 0.13);
  --radius-large: 28px;
  --radius: 18px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.76rem;
  letter-spacing: -0.04em;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-header nav a,
.back-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:hover,
.back-link:hover,
.site-footer a:hover {
  color: var(--teal);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 690px;
  margin: 0 auto;
  padding: 86px 0 108px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  position: relative;
}

.hero::before {
  content: "";
  width: 480px;
  height: 480px;
  position: absolute;
  z-index: -1;
  top: 40px;
  right: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, #d9f4ef 0, rgba(217, 244, 239, 0) 70%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 6vw, 5.45rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.hero-description {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 720;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--teal);
}

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

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

.hero-points {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: var(--muted);
  font-size: 0.86rem;
  list-style: none;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--teal);
}

.case-preview {
  overflow: hidden;
  border: 1px solid rgba(219, 229, 236, 0.9);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  backdrop-filter: blur(14px);
}

.preview-header,
.preview-footer {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-header {
  border-bottom: 1px solid var(--line);
  font-weight: 730;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e7a63b;
  box-shadow: 0 0 0 5px #fff3db;
}

.status-pill,
.status-badge {
  padding: 5px 10px;
  border-radius: 999px;
  color: #7a4d06;
  background: #fff3db;
  font-size: 0.72rem;
  font-weight: 760;
}

.status-pill {
  margin-left: auto;
}

.preview-body {
  padding: 32px 24px;
}

.preview-line {
  width: 84%;
  height: 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--blue-pale);
}

.preview-line-title {
  width: 58%;
  height: 16px;
  background: #c5dce9;
}

.preview-line-short {
  width: 70%;
}

.preview-divider {
  height: 1px;
  margin: 30px 0 20px;
  background: var(--line);
}

.preview-row {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.84rem;
}

.preview-row strong {
  color: var(--ink);
}

.preview-footer {
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-size: 0.82rem;
  font-weight: 710;
}

.section {
  padding: 110px max(20px, calc((100% - 1180px) / 2));
}

.section-heading {
  max-width: 730px;
  margin-bottom: 54px;
}

.section-heading > p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
}

.steps li {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-number {
  margin-bottom: 55px;
  display: block;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 790;
  letter-spacing: 0.12em;
}

.steps p,
.principle-grid p,
.status-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.section-heading-light .eyebrow {
  color: #75d9cb;
}

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

.principle-grid article {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.principle-grid p {
  color: #b9c8d4;
}

.principle-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 70px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #75d9cb;
  background: rgba(117, 217, 203, 0.1);
  font-size: 0.7rem;
  font-weight: 800;
}

.project-status {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 8vw, 110px);
}

.status-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.status-badge {
  display: inline-flex;
  color: var(--teal-dark);
  background: var(--teal-pale);
}

.site-footer {
  padding: 52px max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  font-size: 0.86rem;
}

.brand-footer {
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-page {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 120px;
}

.legal-header {
  margin-bottom: 42px;
}

.legal-header h1 {
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.legal-header > p:last-child {
  color: var(--muted);
}

.legal-notice {
  margin-bottom: 46px;
  padding: 20px 22px;
  border: 1px solid #b9dfd9;
  border-radius: 14px;
  color: var(--teal-dark);
  background: var(--teal-pale);
}

.legal-page section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-page section h2 {
  font-size: 1.42rem;
}

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

.legal-page section li + li {
  margin-top: 10px;
}

.legal-page section a {
  color: var(--teal-dark);
  font-weight: 680;
}

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

@media (max-width: 820px) {
  .site-header nav {
    display: none;
  }

  .hero::before {
    display: none;
  }

  .hero {
    padding-top: 58px;
    grid-template-columns: 1fr;
  }

  .case-preview {
    max-width: 520px;
    transform: none;
  }

  .steps,
  .principle-grid,
  .project-status {
    grid-template-columns: 1fr;
  }

  .steps li {
    min-height: 0;
  }

  .step-number,
  .principle-icon {
    margin-bottom: 34px;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .section {
    padding: 80px 14px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .preview-row {
    flex-direction: column;
    gap: 3px;
  }

  .site-footer,
  .legal-footer {
    padding-inline: 20px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .copyright {
    grid-column: 1;
  }

  .legal-page {
    width: min(100% - 28px, 820px);
    padding-top: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
