:root {
  --bg: #f4efe7;
  --paper: #fffaf4;
  --ink: #183039;
  --muted: #53676e;
  --line: rgba(24, 48, 57, 0.12);
  --teal: #147d72;
  --teal-dark: #0d5f57;
  --teal-soft: #d9f0ea;
  --sand: #ece1cf;
  --coral: #e9895b;
  --shadow: 0 20px 50px rgba(24, 48, 57, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  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 top left, rgba(20, 125, 114, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(233, 137, 91, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f2eb 0%, #f1ede6 100%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo,
.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  box-shadow: inset 0 0 0 1px rgba(24, 48, 57, 0.08);
}

.brand span {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.hero {
  padding: 16px 0 24px;
}

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

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 125, 114, 0.12);
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1;
  max-width: 16ch;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.15;
}

.lead,
.section-copy,
.info-card p,
.feature p,
.story-card p,
.faq p,
.helper-box p,
.cta-panel p,
.footer-note {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  margin: 20px 0 28px;
  max-width: 58ch;
  font-size: 1.12rem;
}

.cta-row,
.cta-stack,
.trust-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: white;
  box-shadow: 0 16px 30px rgba(20, 125, 114, 0.24);
}

.button.secondary,
.button.ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--ink);
}

.trust-row {
  margin-top: 18px;
}

.trust-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-card,
.info-card,
.feature,
.story-card,
.helper-box,
.cta-panel,
.faq-list details {
  background: rgba(255, 250, 244, 0.84);
  border: 1px solid rgba(24, 48, 57, 0.08);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
  border-radius: var(--radius-xl);
}

.card-window {
  padding: 16px;
  border-radius: calc(var(--radius-xl) - 6px);
  background:
    radial-gradient(circle at top right, rgba(233, 137, 91, 0.16), transparent 28%),
    linear-gradient(180deg, #173240 0%, #122935 100%);
  color: white;
}

.window-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.demo-chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(103, 255, 219, 0.18);
  color: #9df1e1;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-text {
  margin-top: 18px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.demo-correction {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.74);
}

.section {
  padding: 64px 0 0;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.cards.three,
.feature-grid,
.story-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.info-card,
.feature,
.story-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.contrast {
  padding: 70px 28px 0;
}

.contrast .feature,
.contrast {
  border-radius: 32px;
}

.contrast {
  background: linear-gradient(180deg, rgba(20, 125, 114, 0.07), rgba(20, 125, 114, 0.03));
}

.steps {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-weight: 800;
}

.helper-box {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.soft {
  padding-top: 70px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 12px 0 0;
}

.cta-final {
  padding-top: 76px;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.cta-stack {
  align-items: center;
  min-width: 260px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 48px 0 12px;
}

.footer-brand p,
.footer-note {
  margin: 4px 0 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards.three,
  .story-grid,
  .feature-grid,
  .cta-panel,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .cta-panel {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1000px);
    padding-top: 18px;
  }

  .topbar {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-row,
  .cta-stack {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    padding: 12px;
  }

  .demo-text {
    font-size: 1.28rem;
  }

  .contrast {
    padding-left: 18px;
    padding-right: 18px;
  }
}
