:root {
  --bg: #f5f0e8;
  --bg-soft: rgba(255, 255, 255, 0.58);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-border: rgba(31, 36, 38, 0.08);
  --text: #171717;
  --muted: #5d625f;
  --line: rgba(23, 23, 23, 0.1);
  --accent: #18342d;
  --accent-soft: #d9e8e1;
  --shadow: 0 24px 70px rgba(42, 43, 38, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(213, 229, 222, 0.9), transparent 24%),
    linear-gradient(180deg, #f9f5ef 0%, var(--bg) 45%, #ede5da 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='rgba(0,0,0,0.045)'%3E%3Cpath d='M0 70h140M70 0v140'/%3E%3C/g%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

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

.page-shell {
  width: min(100% - 40px, var(--content-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.page-shell-inner {
  width: min(100% - 40px, 980px);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  padding: 14px 18px;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 30px rgba(66, 67, 60, 0.06);
  position: sticky;
  top: 16px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(18, 18, 26, 0.12);
  flex-shrink: 0;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(24, 52, 45, 0.06);
}

.language-switch a {
  min-width: 46px;
  padding: 8px 12px;
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.language-switch a.is-active {
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  box-shadow: 0 6px 14px rgba(24, 52, 45, 0.1);
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 34px;
  padding: 86px 0 48px;
  align-items: center;
}

.eyebrow,
.mock-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #51645b;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.trust-card h2,
.cta-section h2,
.page-intro h1,
.panel h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3.6rem, 8vw, 6.6rem);
  line-height: 0.94;
  max-width: 10.5ch;
}

.hero h1 span {
  color: var(--accent);
  font-style: italic;
}

.hero-text,
.section-heading p,
.trust-points p,
.cta-section p,
.page-intro p,
.panel p,
.fact-pill p,
.plan-card p,
.feature-card p,
.step-card p,
.scenario-card p,
.mock-tile p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #f7f4ef;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.hero-meta li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.82);
  color: #45524d;
  font-size: 13px;
  font-weight: 700;
}

.app-card,
.feature-card,
.step-card,
.scenario-card,
.trust-card,
.cta-section,
.panel {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.app-card {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  padding: 18px;
}

.app-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -28% 42%;
  height: 54%;
  background: radial-gradient(circle, rgba(190, 214, 203, 0.85), transparent 70%);
  filter: blur(22px);
}

.app-card-top {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.app-card-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.14);
}

.app-card-body {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
}

.mock-sidebar,
.mock-main,
.mock-tile,
.mock-preview {
  border-radius: 26px;
}

.mock-sidebar {
  padding: 18px;
  background: rgba(251, 249, 244, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.84);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-pill {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(24, 52, 45, 0.06);
  color: #44514b;
  font-weight: 700;
}

.mock-pill-strong {
  background: #18342d;
  color: #f4efe8;
}

.mock-main {
  position: relative;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.workflow-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.workflow-ribbon span {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(24, 52, 45, 0.08);
  color: #44514b;
  font-size: 13px;
  font-weight: 700;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mock-tile,
.mock-preview {
  padding: 18px;
  background: rgba(250, 247, 241, 0.95);
  border: 1px solid rgba(23, 23, 23, 0.06);
}

.mock-tile h3,
.step-card h3,
.feature-card h3,
.scenario-card h3,
.fact-pill h3,
.plan-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.mock-tile-large {
  grid-column: span 2;
}

.mock-preview {
  min-height: 188px;
  position: relative;
  overflow: hidden;
}

.preview-frame {
  position: absolute;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(27, 28, 26, 0.12);
}

.preview-frame-a {
  inset: 18px 42% 42px 20px;
  background: linear-gradient(160deg, #d7e8dd 0%, #eff4ef 100%);
}

.preview-frame-b {
  inset: 54px 18px 18px 42%;
  background: linear-gradient(160deg, #f0d7cb 0%, #f7efe9 100%);
}

.story-section,
.feature-section,
.plans-section,
.scenario-section,
.trust-section,
.cta-section,
.inner-page {
  padding-top: 70px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.trust-card h2,
.cta-section h2,
.page-intro h1,
.panel h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.step-grid,
.feature-grid,
.plans-grid,
.launch-section,
.difference-grid,
.scenario-grid,
.info-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.info-grid,
.faq-grid,
.policy-stack {
  gap: 24px;
}

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

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

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

.launch-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 28px;
}

.feature-card-wide {
  grid-column: span 2;
}

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

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

.step-card,
.feature-card,
.plan-card,
.launch-card,
.difference-card,
.example-card,
.scenario-card,
.panel,
.cta-section {
  border-radius: var(--radius-xl);
  padding: 28px;
}

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

.fact-pill,
.plan-card,
.launch-card,
.difference-card,
.example-card {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(31, 36, 38, 0.08);
  box-shadow: 0 16px 44px rgba(42, 43, 38, 0.08);
  border-radius: 26px;
  padding: 24px;
}

.fact-pill p:last-child,
.plan-card p:last-child {
  margin-bottom: 0;
}

.plan-card-strong {
  background: linear-gradient(180deg, rgba(24, 52, 45, 0.97) 0%, rgba(32, 57, 50, 0.94) 100%);
  color: #f3ede5;
}

.launch-card-strong,
.example-card-strong,
.difference-card {
  background: linear-gradient(180deg, rgba(24, 52, 45, 0.97) 0%, rgba(32, 57, 50, 0.94) 100%);
  color: #f3ede5;
}

.plan-card-strong .mock-kicker,
.launch-card-strong .mock-kicker,
.example-card-strong .mock-kicker,
.difference-card .mock-kicker,
.plan-card-strong .plan-price,
.plan-card-strong .detail-list {
  color: rgba(243, 237, 229, 0.88);
}

.plan-card-strong h3,
.launch-card-strong h3,
.example-card-strong h3,
.difference-card h3 {
  color: #fff8f1;
}

.launch-card-strong p,
.example-card-strong p,
.difference-card p,
.difference-card .detail-list {
  color: rgba(243, 237, 229, 0.9);
}

.difference-section,
.example-section {
  padding-top: 70px;
}

.difference-grid,
.example-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.difference-card-muted {
  background: rgba(250, 247, 241, 0.92);
}

.plan-price {
  margin: 16px 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.step-index {
  display: inline-flex;
  margin-bottom: 32px;
  color: #617168;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.trust-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 26px;
  border-radius: 40px;
  padding: 36px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
}

.cta-section {
  margin-top: 70px;
  text-align: center;
}

.cta-section h2,
.cta-section p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .hero-actions {
  justify-content: center;
}

.cta-caption {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.text-link-inline {
  display: inline;
  margin-top: 0;
}

.site-footer {
  margin-top: 64px;
  padding: 22px 6px 0;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  align-items: flex-start;
}

.brand-footer {
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 12px;
  text-align: right;
  color: var(--muted);
}

.page-intro {
  max-width: 760px;
  padding-top: 70px;
}

.policy-stack {
  display: grid;
  gap: 24px;
  padding-top: 28px;
}

.inner-page > section + section {
  margin-top: 28px;
}

.detail-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-list-compact {
  margin-top: 12px;
}

.mini-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.mini-fact {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(31, 36, 38, 0.07);
}

.mini-fact strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.mini-fact span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero,
  .trust-card,
  .app-card-body,
  .step-grid,
  .feature-grid,
  .plans-grid,
  .launch-section,
  .fact-strip,
  .difference-grid,
  .example-layout,
  .scenario-grid,
  .info-grid,
  .faq-grid,
  .mini-fact-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-wide,
  .mock-tile-large {
    grid-column: span 1;
  }

  .mock-grid {
    grid-template-columns: 1fr;
  }

  .mock-preview {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .page-shell-inner {
    width: min(100% - 24px, 100%);
    padding-top: 14px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav,
  .footer-links {
    text-align: left;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .app-card,
  .step-card,
  .feature-card,
  .scenario-card,
  .trust-card,
  .panel,
  .cta-section {
    border-radius: 28px;
    padding: 22px;
  }

  .site-header {
    position: static;
    border-radius: 28px;
  }
}
