:root {
  color-scheme: light;
  --background: #f7f3ed;
  --surface: #fffefb;
  --text: #302b28;
  --muted: #82776f;
  --border: #e7ded4;
  --accent: #be533f;
  --soft: #f1e1d7;
  --dark: #292725;
  --max-width: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--text);
  font-size: clamp(1.45rem, 2.5vw, 1.8rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.status {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.72);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 12px;
}

.hero {
  position: relative;
  min-height: clamp(580px, 73vh, 760px);
  overflow: hidden;
  border-radius: 32px;
  background: var(--dark);
  box-shadow: 0 26px 70px rgba(67, 39, 31, 0.15);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 50% center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(28, 26, 25, 0.92) 0%, rgba(28, 26, 25, 0.7) 38%, rgba(28, 26, 25, 0.08) 72%),
    linear-gradient(0deg, rgba(28, 26, 25, 0.35), transparent 45%);
}

.hero-copy {
  display: flex;
  min-height: inherit;
  width: min(650px, 61%);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(36px, 7vw, 84px);
  color: #fffefb;
}

.eyebrow {
  margin: 0 0 18px;
  color: #ed9b87;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow.accent {
  color: var(--accent);
}

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

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero-intro {
  max-width: 540px;
  margin-bottom: 34px;
  color: rgba(255, 254, 251, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}

.primary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--accent);
  color: white;
  font-weight: 750;
  padding: 13px 20px;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.primary-action:hover {
  background: #cc604a;
  transform: translateY(-2px);
}

.primary-action:focus-visible,
.brand:focus-visible {
  outline: 3px solid #f5b19f;
  outline-offset: 4px;
}

.principles {
  padding: clamp(80px, 12vw, 150px) 0 clamp(72px, 10vw, 120px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) minmax(320px, 1.3fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 820;
  letter-spacing: -0.06em;
  line-height: 1;
  text-wrap: balance;
}

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

.benefit-list li {
  min-height: 245px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  padding: 26px;
}

.benefit-number {
  display: block;
  margin-bottom: 52px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.benefit-list h3 {
  margin-bottom: 9px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.benefit-list p {
  max-width: 28ch;
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: var(--text);
}

.footer-domain {
  letter-spacing: 0.02em;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-links a,
.back-link,
.legal-card a {
  text-underline-offset: 0.2em;
}

.legal-links a:hover,
.back-link:hover,
.legal-card a:hover {
  color: var(--accent);
}

.legal-page .site-header {
  border-bottom: 1px solid var(--border);
}

.back-link {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-main {
  padding: clamp(42px, 8vw, 96px) 0;
}

.legal-card {
  width: min(100%, 820px);
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(67, 39, 31, 0.08);
  padding: clamp(28px, 7vw, 64px);
}

.legal-card h1 {
  margin-bottom: 42px;
  font-size: clamp(2.6rem, 8vw, 5rem);
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.legal-card section + section {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid var(--border);
}

.legal-card p,
.legal-card address {
  color: var(--muted);
}

.legal-card address {
  font-style: normal;
}

.legal-card strong,
.legal-card code {
  color: var(--text);
}

.legal-lead {
  max-width: 64ch;
  margin-bottom: 42px;
  font-size: 1.08rem;
}

.auth-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 15%, rgba(190, 83, 63, 0.14), transparent 32rem),
    var(--background);
}

.auth-shell {
  width: min(100%, 480px);
}

.auth-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(67, 39, 31, 0.1);
  padding: clamp(28px, 7vw, 48px);
}

.auth-card .brand {
  display: inline-block;
  margin-bottom: 52px;
}

.auth-card h1 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(2.25rem, 8vw, 3.55rem);
  line-height: 1;
}

.auth-copy {
  margin-bottom: 28px;
  color: var(--muted);
}

.auth-action {
  width: 100%;
}

.auth-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.auth-error {
  border-radius: 14px;
  background: #f8e7e2;
  color: #8c3428;
  padding: 14px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    min-height: 70px;
  }

  .hero {
    min-height: 690px;
    border-radius: 24px;
  }

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

  .hero-shade {
    background: linear-gradient(0deg, rgba(28, 26, 25, 0.96) 0%, rgba(28, 26, 25, 0.58) 54%, rgba(28, 26, 25, 0.05) 85%);
  }

  .hero-copy {
    width: 100%;
    justify-content: flex-end;
    padding: 34px 24px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.1rem);
  }

  .section-heading,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 8px;
    margin-bottom: 34px;
  }

  .benefit-list li {
    min-height: 0;
  }

  .benefit-number {
    margin-bottom: 34px;
  }

  .site-footer {
    min-height: 120px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }

  .site-footer .legal-links {
    margin-top: 8px;
  }
}

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

  .primary-action {
    transition: none;
  }
}
