:root {
  color-scheme: light;
  --ink: #202326;
  --muted: #5f6870;
  --paper: #f7f9f8;
  --surface: #ffffff;
  --surface-soft: #eef2f1;
  --line: #d8dfdd;
  --charcoal: #171b1f;
  --charcoal-2: #23282d;
  --brand: #ab8052;
  --brand-dark: #76614c;
  --blue: #405d6f;
  --green: #55725b;
  --light: #f8faf9;
  --focus: #1a5c7a;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 249, 248, 0.94);
  border-bottom: 1px solid rgba(216, 223, 221, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(220px, 48vw);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--charcoal-2);
  font-size: 0.96rem;
  font-weight: 650;
}

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

.top-nav a:hover {
  color: var(--brand-dark);
}

.hero {
  position: relative;
  min-height: min(760px, 78svh);
  overflow: hidden;
  display: grid;
  align-items: center;
  background: var(--charcoal);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
      linear-gradient(90deg, rgba(13, 16, 19, 0.92) 0%, rgba(13, 16, 19, 0.78) 34%, rgba(13, 16, 19, 0.2) 72%),
      linear-gradient(180deg, rgba(13, 16, 19, 0.15) 0%, rgba(13, 16, 19, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding: 72px 0;
  color: var(--light);
}

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

.hero h1,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(3.3rem, 10vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: #dce4e2;
  font-size: clamp(1.15rem, 2.1vw, 1.52rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: #111417;
  background: #d6b07f;
  border-color: #d6b07f;
}

.button-primary:hover {
  background: #e1bf91;
}

.button-secondary {
  color: var(--light);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: end;
}

.section-copy h2,
.contact-copy h2,
.feature h2,
.legal-content h2 {
  margin: 0 0 18px;
  color: var(--charcoal);
  font-size: clamp(1.65rem, 3.3vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-copy p,
.contact-copy p,
.feature p,
.legal-content p,
.legal-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.metric-strip {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(32, 35, 38, 0.08);
}

.metric-strip div {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.metric-strip div:last-child {
  border-bottom: 0;
}

.metric-strip strong,
.metric-strip span {
  display: block;
}

.metric-strip strong {
  color: var(--charcoal);
  font-size: 1.2rem;
}

.metric-strip span {
  margin-top: 4px;
  color: var(--muted);
}

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

.feature {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--brand-dark);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.feature h2 {
  font-size: 1.36rem;
  line-height: 1.18;
}

.workflow {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.workflow-steps li {
  position: relative;
  min-height: 170px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

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

.workflow-steps strong,
.workflow-steps span {
  display: block;
}

.workflow-steps strong {
  color: var(--charcoal);
  font-size: 1.28rem;
}

.workflow-steps span {
  margin-top: 12px;
  color: var(--muted);
}

.workflow-steps li::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 28px;
  height: 2px;
  background: var(--brand);
}

.workflow-steps li:last-child::after {
  background: var(--green);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.privacy-note {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 3px solid var(--green);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(32, 35, 38, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-weight: 700;
}

.contact-form small {
  color: var(--muted);
  font-size: 0.85em;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #c9d2d0;
  border-radius: 6px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.field-hidden {
  position: absolute;
  left: -9999px;
}

.consent {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.form-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  color: #113c1b;
  background: #e7f1e8;
  border: 1px solid #b9d1bd;
  border-radius: 6px;
  font-weight: 650;
}

.form-status[data-tone="error"] {
  color: #662b16;
  background: #fff0e7;
  border-color: #e6c0ad;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(20px, 5vw, 72px);
  color: #dce4e2;
  background: var(--charcoal);
}

.site-footer img {
  width: min(190px, 42vw);
}

.site-footer p {
  margin: 12px 0 0;
  color: #aeb9b6;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.site-footer a {
  color: #f2f5f4;
  text-decoration-color: rgba(214, 176, 127, 0.65);
  text-underline-offset: 4px;
}

.subpage {
  background: var(--paper);
}

.legal-main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) 0 clamp(64px, 8vw, 104px);
}

.legal-hero {
  margin-bottom: 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  color: var(--charcoal);
  font-size: clamp(2.9rem, 8vw, 6.2rem);
}

.legal-hero p {
  max-width: 720px;
  margin-top: 22px;
}

.legal-content {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.legal-content h2 {
  margin-top: 36px;
  font-size: 1.42rem;
}

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

.detail-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.detail-list div {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-weight: 750;
}

.detail-list dd {
  margin: 0;
}

.status-page .button {
  margin-top: 28px;
}

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

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
        linear-gradient(90deg, rgba(13, 16, 19, 0.94) 0%, rgba(13, 16, 19, 0.76) 58%, rgba(13, 16, 19, 0.34) 100%),
        linear-gradient(180deg, rgba(13, 16, 19, 0.1) 0%, rgba(13, 16, 19, 0.72) 100%);
  }

  .section-intro,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .workflow-steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-steps li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .top-nav {
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    width: min(100% - 32px, 720px);
    margin-left: 16px;
    padding: 52px 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  .hero-copy {
    font-size: 1.06rem;
  }

  .button {
    width: 100%;
  }

  .contact-form,
  .legal-content {
    padding: 22px;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
