:root {
  --bg: #efefec;
  --bg-alt: #e4e4df;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #f8f8f6;
  --text: #111111;
  --muted: #5f6368;
  --line: rgba(17, 17, 17, 0.12);
  --accent: #111111;
  --accent-soft: #f2f2ef;
  --shadow: 0 24px 80px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 26%),
    linear-gradient(180deg, #fafaf8 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  min-height: 72px;
  padding: 14px 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  background: rgba(250, 250, 248, 0.74);
}

.brand,
.eyebrow,
.step span {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
}

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

.site-nav a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  color: var(--muted);
  line-height: 1;
}

.hero,
.contact-layout,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 20px;
  align-items: stretch;
}

.hero {
  margin-bottom: 22px;
  min-height: calc(100vh - 190px);
  align-items: center;
}

.hero-copy,
.hero-card,
.panel,
.legal-page {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 38px;
}

.hero-card,
.panel {
  padding: 28px;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(244, 244, 241, 0.92));
}

.eyebrow,
.card-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2rem, 4.45vw, 3.95rem);
  max-width: 11.2ch;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

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

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

p,
li,
input,
textarea,
button {
  font-size: 1rem;
  line-height: 1.65;
}

.hero-text,
.section-text,
.panel p,
.step p,
.legal-page p,
.legal-page li,
.contact-card p,
.form-note,
.form-status,
.hero-card-text {
  color: var(--muted);
}

.hero-text {
  max-width: 58ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 26px 0 20px;
  flex-wrap: wrap;
}

.hero-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--text);
  font-size: 0.94rem;
}

.hero-facts {
  display: grid;
  gap: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
}

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

.button-secondary {
  background: var(--accent-soft);
}

.hero-facts,
.trust-list {
  margin: 0;
  padding-left: 18px;
}

.section {
  margin-top: 18px;
}

.section-heading {
  margin-bottom: 18px;
}

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

.step {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.step span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--text);
}

.wide {
  padding: 32px;
}

.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 0.88 / 1;
  object-fit: cover;
  object-position: center 14%;
  border-radius: 22px;
  filter: saturate(0.96) contrast(1.02);
}

.photo-frame {
  padding: 0;
  margin-bottom: 20px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 45%),
    #d8d8d3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.identity-block {
  display: grid;
  gap: 8px;
}

.hero-card {
  display: grid;
  align-content: start;
}

.contact-section .section-heading {
  max-width: 720px;
}

.contact-layout {
  align-items: start;
}

.contact-form,
.contact-card {
  height: 100%;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(17, 17, 17, 0.12);
  border-color: rgba(17, 17, 17, 0.28);
}

.legal-page {
  padding: 36px;
}

.legal-page h2 {
  margin-top: 28px;
  font-size: 1.4rem;
}

.site-footer {
  margin-top: 28px;
  padding: 22px 4px 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero,
  .contact-layout,
  .split,
  .grid,
  .steps,
  .site-header,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    display: grid;
  }

  .hero-copy,
  .hero-card,
  .panel,
  .legal-page {
    padding: 24px;
  }

  h1 {
    max-width: none;
  }

  .hero {
    min-height: auto;
  }
}
