:root {
  --ink: #1c1412;
  --ink-soft: #4a3d38;
  --cream: #faf6f2;
  --paper: #fffdfb;
  --blush: #f3e4de;
  --gold: #b8895a;
  --gold-deep: #8f6840;
  --rose: #b56b6e;
  --line: rgba(28, 20, 18, 0.1);
  --shadow: 0 24px 60px rgba(28, 20, 18, 0.1);
  --radius: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(250, 246, 242, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(28, 20, 18, 0.18);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: transparent;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin: 14px 0 18px;
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-top: 10px;
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

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

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.panel h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.stat {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.stat:first-of-type {
  border-top: 0;
}

.muted {
  color: var(--ink-soft);
}

section {
  padding: 72px 0;
}

.why {
  background: var(--ink);
  color: #f6efe9;
}

.why .kicker {
  color: #e3c49a;
}

.why h2 {
  max-width: 16ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.card {
  background: rgba(255, 253, 251, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 22px;
}

.card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p {
  color: rgba(246, 239, 233, 0.78);
  font-size: 0.95rem;
}

.modules .cards {
  grid-template-columns: repeat(4, 1fr);
}

.modules .card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
}

.modules .card p {
  color: var(--ink-soft);
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blush);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.role-list {
  display: grid;
  gap: 12px;
}

.role {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
}

.demo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.demo-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.demo-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}

.demo-form textarea {
  min-height: 110px;
  resize: vertical;
}

.demo-form button {
  margin-top: 6px;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form-status.ok {
  color: #2f6b45;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cta {
  text-align: center;
  background: linear-gradient(180deg, var(--blush), var(--cream));
  border-radius: 32px;
  padding: 64px 24px;
  border: 1px solid var(--line);
}

.cta p {
  color: var(--ink-soft);
  margin: 12px auto 24px;
  max-width: 34rem;
}

footer {
  padding: 28px 0 40px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-grid,
  .roles,
  .demo-grid,
  .form-row,
  .cards,
  .modules .cards {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    inset: 64px 20px auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }
}
