:root {
  color-scheme: dark;
  --espresso: #16120d;
  --surface: #211a13;
  --surface-raised: #2d2419;
  --cream: #f6ecdb;
  --cream-dim: #cbb99f;
  --cream-faint: #8f806b;
  --mint: #9fe0b8;
  --mint-deep: #3fae5a;
  --lemon: #f4d44e;
  --marigold: #ffc83d;
  --tomato: #f0573c;
  --line: rgba(246, 236, 219, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--espresso);
  color: var(--cream);
}

body.legal {
  background: #fff8eb;
  color: #251d14;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(246, 236, 219, 0.08);
  background: rgba(22, 18, 13, 0.76);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cream-dim);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--marigold);
  color: #171008;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(255, 200, 61, 0.2);
}

.hero {
  min-height: 94svh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(22, 18, 13, 0.98) 0%, rgba(22, 18, 13, 0.83) 42%, rgba(22, 18, 13, 0.46) 100%),
    linear-gradient(0deg, var(--espresso) 0%, rgba(22, 18, 13, 0.2) 36%, rgba(22, 18, 13, 0.1) 100%),
    url("assets/dinny-onboarding.png");
  background-size: auto 112%, auto, auto 108%;
  background-repeat: no-repeat;
  background-position: right 10% top 48%, center, right 12% top 42%;
  padding: 120px 20px 72px;
}

.hero-inner,
.section-inner,
.legal-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--marigold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.legal-shell h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--cream-dim);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.36;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 620px;
  margin-top: 24px;
}

.hero-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(246, 236, 219, 0.12);
  border-radius: 999px;
  background: rgba(33, 26, 19, 0.76);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 800;
}

.app-note {
  color: var(--cream-faint);
  font-weight: 700;
}

.section {
  padding: 84px 20px;
}

.section:nth-of-type(odd) {
  background: #1b150f;
}

.section h2 {
  max-width: 760px;
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.section-lead {
  max-width: 700px;
  margin: 0 0 34px;
  color: var(--cream-dim);
  font-size: 1.17rem;
}

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

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

.feature strong {
  display: block;
  margin-bottom: 12px;
  color: var(--cream);
  font-size: 1.18rem;
}

.feature p {
  margin: 0;
  color: var(--cream-dim);
}

.swatch-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.swatch {
  width: 34px;
  height: 8px;
  border-radius: 999px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.profile-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(45, 36, 25, 0.96), rgba(33, 26, 19, 0.96));
  padding: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.profile-row {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.profile-row:first-child {
  padding-top: 0;
}

.profile-row span,
.complexity-preview span {
  color: var(--cream-faint);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-row strong {
  color: var(--cream);
  font-size: 1.05rem;
}

.complexity-preview {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
}

.complexity-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--marigold), var(--tomato));
  position: relative;
}

.complexity-track i {
  position: absolute;
  top: 50%;
  left: 38%;
  width: 22px;
  height: 22px;
  border: 3px solid var(--espresso);
  border-radius: 50%;
  background: var(--cream);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.legal-links a {
  color: var(--cream-dim);
  font-weight: 800;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px;
  color: var(--cream-faint);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

.footer a {
  color: var(--cream-dim);
  font-weight: 700;
  text-decoration: none;
}

.legal-shell {
  max-width: 820px;
  padding: 104px 20px 76px;
}

.legal-shell h1 {
  color: #171008;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
}

.legal-shell h2 {
  margin-top: 2.3rem;
  color: #171008;
}

.legal-shell p,
.legal-shell li {
  color: #4b3c2a;
  font-size: 1.02rem;
  line-height: 1.68;
}

.legal-shell a {
  color: #8a5a00;
  font-weight: 800;
}

.legal-shell .brand {
  color: #171008;
  margin-bottom: 36px;
}

@media (max-width: 760px) {
  .nav-links a:not(.button) {
    display: none;
  }

  .hero {
    min-height: 92svh;
    background:
      linear-gradient(0deg, var(--espresso) 0%, rgba(22, 18, 13, 0.82) 48%, rgba(22, 18, 13, 0.45) 100%),
      url("assets/dinny-onboarding.png");
    background-size: auto, auto 82%;
    background-position: center, center top 36px;
    padding-top: 330px;
  }

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .profile-card {
    padding: 20px;
  }

  .footer-inner {
    display: grid;
  }
}
