:root {
  color-scheme: light;
  --bg: #f5efe4;
  --bg-soft: #fffaf2;
  --surface: rgba(255, 251, 244, 0.86);
  --surface-strong: #fffdf8;
  --ink: #182129;
  --muted: #5c625e;
  --line: rgba(24, 33, 41, 0.12);
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --accent-soft: rgba(15, 118, 110, 0.1);
  --warm: #c96d3b;
  --warm-soft: rgba(201, 109, 59, 0.12);
  --shadow: 0 20px 60px rgba(24, 33, 41, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(201, 109, 59, 0.18), transparent 28%),
    linear-gradient(180deg, #f7f1e6 0%, #f3ecdf 52%, #efe6d6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24, 33, 41, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 33, 41, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 80%);
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a.button {
  font: inherit;
}

.shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
}

.page-glow-a {
  top: -8rem;
  right: -8rem;
  background: rgba(15, 118, 110, 0.22);
}

.page-glow-b {
  bottom: -12rem;
  left: -10rem;
  background: rgba(201, 109, 59, 0.16);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(245, 239, 228, 0.72);
  border-bottom: 1px solid rgba(24, 33, 41, 0.08);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
}

.top-nav,
.header-actions,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-nav a,
.footer-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.96rem;
}

.top-nav a:hover,
.footer-nav a:hover,
.brand:hover {
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(24, 33, 41, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 24px rgba(24, 33, 41, 0.05);
}

.lang-switch-button {
  min-width: 52px;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.lang-switch-button:hover {
  transform: translateY(-1px);
  color: var(--ink);
}

.lang-switch-button.is-active {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(201, 109, 59, 0.18));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(24, 33, 41, 0.06);
}

.lang-switch-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.22);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary,
.button-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.button-secondary:hover,
.button-ghost:hover {
  background: rgba(255, 255, 255, 0.96);
}

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

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

h1,
h2,
h3,
strong {
  color: var(--ink);
}

h1,
h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 0.98;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5vw, 5.75rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.hero-text,
.section-intro p,
.feature-card p,
.dashboard-note p,
.fit-card p,
.faq-item p,
.site-footer p,
.mock-card p,
.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  margin-top: 18px;
  max-width: 38rem;
  font-size: 1.08rem;
}

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

.hero-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  width: 11px;
  height: 11px;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
  flex: 0 0 auto;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.mock-panel {
  width: min(100%, 540px);
  padding: 22px;
  border: 1px solid rgba(24, 33, 41, 0.1);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 251, 244, 0.88));
  box-shadow: var(--shadow);
}

.mock-header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.mock-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 33, 41, 0.06);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.mock-pill-live {
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
}

.mock-grid {
  display: grid;
  gap: 14px;
}

.mock-card,
.feature-card,
.dashboard-note,
.fit-card,
.faq-item,
.proof-strip article,
.final-cta-card,
.stack-box {
  border: 1px solid rgba(24, 33, 41, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(24, 33, 41, 0.05);
}

.mock-card,
.dashboard-note,
.fit-card,
.faq-item,
.feature-card,
.proof-strip article {
  padding: 22px;
}

.accent-card {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.12), rgba(255, 255, 255, 0.9));
}

.mock-label,
.metric-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--warm);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.proof-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.section {
  padding: 52px 0;
}

.section-contrast {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.82), rgba(244, 237, 224, 0.72));
  border-block: 1px solid rgba(24, 33, 41, 0.06);
}

.section-dashboard {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0));
}

.section-intro {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.section-intro.narrow {
  max-width: 48rem;
}

.problem-grid,
.outcome-grid,
.dashboard-columns,
.faq-list {
  display: grid;
  gap: 16px;
}

.problem-grid,
.outcome-grid,
.faq-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-column,
.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 33, 41, 0.08);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.stack-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.stack-box {
  padding: 24px;
  text-align: center;
}

.stack-box span {
  display: block;
  margin-bottom: 10px;
  color: var(--warm);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack-box strong {
  font-size: 1.1rem;
  line-height: 1.4;
}

.stack-primary {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.1), rgba(255, 255, 255, 0.84));
}

.stack-highlight {
  background: linear-gradient(180deg, rgba(201, 109, 59, 0.14), rgba(255, 255, 255, 0.84));
}

.stack-arrow {
  font-size: 2rem;
  font-weight: 800;
  color: var(--warm);
}

.fit-grid {
  display: grid;
  gap: 16px;
}

.final-cta {
  padding-top: 26px;
  padding-bottom: 72px;
}

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(201, 109, 59, 0.16), rgba(255, 255, 255, 0.86));
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  border-top: 1px solid rgba(24, 33, 41, 0.08);
  background: rgba(255, 251, 244, 0.84);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  max-width: 28rem;
}

@media (max-width: 1080px) {
  .hero,
  .two-column,
  .dashboard-layout,
  .stack-diagram {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: stretch;
  }

  .proof-strip,
  .problem-grid,
  .outcome-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-arrow {
    display: none;
  }

  .final-cta-card,
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 1200px);
  }

  .site-header {
    position: static;
  }

  .top-nav {
    display: none;
  }

  .header-actions,
  .hero-actions,
  .final-cta-actions {
    width: 100%;
  }

  .header-actions .button,
  .hero-actions .button,
  .final-cta-actions .button,
  .final-cta-actions a {
    width: 100%;
  }

  .language-switch {
    width: fit-content;
  }

  .proof-strip,
  .problem-grid,
  .outcome-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 38px 0;
  }

  .hero {
    padding-top: 46px;
  }

  .mock-panel,
  .feature-card,
  .dashboard-note,
  .fit-card,
  .faq-item,
  .proof-strip article,
  .final-cta-card {
    padding: 20px;
  }
}
