@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f7f3ee;
  --bg-deep: #efe7dc;
  --paper: rgba(255, 251, 246, 0.84);
  --paper-strong: rgba(255, 255, 255, 0.92);
  --ink: #23201b;
  --muted: #655d52;
  --accent: #b76e3c;
  --accent-soft: #ddb58d;
  --accent-dark: #8e4d23;
  --line: rgba(35, 32, 27, 0.1);
  --line-strong: rgba(35, 32, 27, 0.18);
  --shadow: 0 28px 80px rgba(94, 57, 29, 0.12);
  --shadow-hover: 0 36px 100px rgba(94, 57, 29, 0.17);
  --radius: 30px;
  --radius-sm: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(183, 110, 60, 0.18), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(122, 142, 126, 0.14), transparent 22%),
    radial-gradient(circle at 88% 78%, rgba(183, 110, 60, 0.12), transparent 20%),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 44%, var(--bg-deep) 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(35, 32, 27, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 32, 27, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 88%);
}

a { color: var(--accent-dark); }

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar, .legal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 18px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(247, 243, 238, 0.86), rgba(247, 243, 238, 0.54));
  border-bottom: 1px solid rgba(35, 32, 27, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,0.34), transparent 30%),
    linear-gradient(135deg, var(--accent) 0%, #f0a16b 100%);
  box-shadow: 0 16px 34px rgba(183, 110, 60, 0.28);
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.lang-switch a {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.lang-switch a.active {
  color: white;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}

.nav-links a,
.footer-links a,
.legal-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-links > a,
.legal-links > a {
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-links > a:hover,
.legal-links > a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  padding: 48px 0 72px;
}

.hero-card,
.panel,
.legal-card {
  border: 1px solid var(--line);
  background: var(--paper);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.panel::before,
.legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(183, 110, 60, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.18), transparent 26%);
}

.hero-copy {
  padding: 48px;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(183, 110, 60, 0.12);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 14px;
  width: fit-content;
  border: 1px solid rgba(183, 110, 60, 0.12);
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.93;
  letter-spacing: -0.065em;
  max-width: 10.5ch;
}

.lead {
  font-size: 19px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 640px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 10px 25px rgba(35, 32, 27, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button.primary {
  color: white;
  background:
    radial-gradient(circle at 24% 18%, rgba(255,255,255,0.22), transparent 24%),
    linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255,255,255,0.84);
  border-color: rgba(35, 32, 27, 0.08);
}

.button:hover,
.panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

.proof {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(35, 32, 27, 0.06);
  backdrop-filter: blur(12px);
}

.proof strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.hero-side {
  padding: 28px;
  display: grid;
  gap: 18px;
  align-content: center;
}

.memory-stack {
  display: grid;
  gap: 16px;
}

.memory-note {
  padding: 20px 20px 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,235,226,0.92));
  border: 1px solid rgba(35, 32, 27, 0.08);
  box-shadow: 0 16px 34px rgba(35, 32, 27, 0.06);
  transform-origin: center;
}

.memory-note:nth-child(1) { transform: rotate(-2deg); }
.memory-note:nth-child(2) { transform: rotate(1.4deg) translateX(14px); }
.memory-note:nth-child(3) { transform: rotate(-1deg) translateX(6px); }

.memory-note h3 {
  margin: 10px 0 8px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.memory-note small,
.section-kicker,
.legal-card small {
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.memory-note p,
.feature p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.72;
}

.section {
  padding: 10px 0 64px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2,
.legal-card h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 20px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature,
.faq-item,
.store-ready {
  padding: 26px;
}

.demo-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.demo-visual {
  min-height: 220px;
  padding: 24px;
  border-bottom: 1px solid rgba(35, 32, 27, 0.08);
  background:
    radial-gradient(circle at top left, rgba(183, 110, 60, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(244,236,227,0.82));
  display: flex;
  align-items: end;
}

.demo-screen {
  width: 100%;
  border-radius: 24px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(35, 32, 27, 0.08);
  box-shadow: 0 18px 40px rgba(35, 32, 27, 0.08);
  padding: 18px;
}

.demo-screen strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.demo-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.demo-chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(183, 110, 60, 0.1);
  border: 1px solid rgba(183, 110, 60, 0.14);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.demo-lines {
  display: grid;
  gap: 8px;
}

.demo-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(142, 77, 35, 0.14), rgba(142, 77, 35, 0.05));
}

.demo-line.short { width: 42%; }
.demo-line.mid { width: 68%; }
.demo-line.long { width: 94%; }

.demo-body {
  padding: 24px 26px 28px;
}

.demo-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.demo-list li {
  color: var(--muted);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}

.demo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.feature h3,
.faq-item h3,
.store-ready h3,
.legal-card h2 {
  margin: 10px 0 10px;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.quote {
  padding: 32px;
  font-size: 28px;
  line-height: 1.38;
  background:
    radial-gradient(circle at top left, rgba(183, 110, 60, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(249,242,235,0.86));
}

.quote strong {
  display: block;
  margin-top: 18px;
  font-size: 15px;
  color: var(--accent-dark);
}

.footer {
  padding: 38px 0 62px;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-strong);
}

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

.legal-layout {
  padding-bottom: 68px;
}

.legal-card {
  padding: 42px;
  max-width: 920px;
  margin: 20px auto 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(250,245,239,0.88));
}

.legal-card ul {
  padding-left: 22px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 22px;
  color: var(--muted);
}

.legal-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(183, 110, 60, 0.08);
  border: 1px solid rgba(183, 110, 60, 0.1);
}

.legal-card h2 {
  margin-top: 30px;
}

.legal-card p + p {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .hero,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .topbar,
  .legal-topbar {
    position: static;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
  }

  .hero-copy,
  .hero-side,
  .feature,
  .faq-item,
  .store-ready,
  .legal-card {
    padding: 24px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 64px);
  }

  .memory-note,
  .memory-note:nth-child(1),
  .memory-note:nth-child(2),
  .memory-note:nth-child(3) {
    transform: none;
  }

  .section-head h2,
  .legal-card h1 {
    max-width: none;
  }
}
