:root {
  color-scheme: light;
  --bg: #fffaf4;
  --surface: #ffffff;
  --ink: #26211d;
  --muted: #6d6259;
  --line: #e8ddd2;
  --rose: #b95d70;
  --sage: #65795f;
  --gold: #bd8547;
  --shadow: 0 18px 60px rgba(54, 39, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1080px;
  padding: 24px;
}

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

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(185, 93, 112, 0.22);
  height: 36px;
  width: 36px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 8px 10px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #f3e9df;
  color: var(--ink);
  outline: none;
}

.hero {
  margin: 0 auto;
  max-width: 1080px;
  padding: 56px 24px 72px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.eyebrow {
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

h3 {
  font-size: 1.1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.16rem;
  margin: 22px 0 0;
  max-width: 650px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #fffaf4;
}

.button.secondary {
  background: transparent;
}

.app-visual {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(185, 93, 112, 0.15), rgba(101, 121, 95, 0.16)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  min-height: 360px;
  padding: 28px;
  place-items: center;
}

.app-visual img {
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(38, 33, 29, 0.22);
  max-width: 220px;
  width: 70%;
}

.band {
  border-top: 1px solid var(--line);
  padding: 64px 24px;
}

.band.alt {
  background: #ffffff;
}

.content {
  margin: 0 auto;
  max-width: 1080px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 14px 0 0;
  max-width: 720px;
}

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

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

.feature p {
  color: var(--muted);
  margin: 8px 0 0;
}

.privacy-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
}

.side-note {
  align-self: start;
  background: #f5ece3;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 18px;
}

.policy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}

.policy h2 {
  font-size: 1.45rem;
  margin-top: 34px;
}

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

.policy p,
.policy li {
  color: var(--muted);
}

.policy ul {
  padding-left: 20px;
}

.support-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.support-card a {
  color: var(--rose);
  font-weight: 750;
}

.auth-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: 30px;
  max-width: 560px;
  padding: 28px;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.auth-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 6px;
}

.auth-form input {
  background: #fffaf4;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
}

.auth-form input:focus-visible {
  border-color: var(--rose);
  outline: 3px solid rgba(185, 93, 112, 0.18);
}

.auth-message {
  color: var(--muted);
  margin: 12px 0 0;
}

.auth-message.error {
  color: #8f2f3c;
}

.auth-message.success {
  color: var(--sage);
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin: 0 auto;
  max-width: 1080px;
  padding: 26px 24px 42px;
}

.footer a {
  color: var(--ink);
}

@media (max-width: 800px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-grid,
  .privacy-layout,
  .feature-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .app-visual {
    min-height: 260px;
  }

  .policy {
    padding: 24px;
  }
}
