:root {
  --bg: #f7f5f0;
  --panel: #ffffff;
  --ink: #151515;
  --muted: #5e6470;
  --line: rgba(21, 21, 21, 0.12);
  --accent: #2f7d6d;
  --accent-strong: #1d5f53;
  --accent-soft: #dff2ed;
  --sun: #e9b44c;
  --violet: #6f5bd6;
  --shadow: 0 18px 50px rgba(20, 32, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfaf7 0%, var(--bg) 55%, #eceff1 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 12px;
  background: var(--ink);
  color: #fff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(14px);
}

.nav-shell,
.hero-shell,
.split-shell,
.cta-shell {
  display: grid;
  gap: 24px;
}

.nav-shell {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 0;
}

.brand,
.main-nav,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  color: #fff;
  font-size: 15px;
}

.main-nav {
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-cta,
.hero-actions a,
.cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
}

.nav-cta:hover,
.hero-actions a:hover,
.cta-actions a:hover {
  background: var(--accent-strong);
}

.ghost {
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}

.hero,
.overview,
.workflow,
.use-cases,
.official-links,
.faq,
.cta-section {
  padding: 42px 0;
}

.hero-shell {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.step-grid article,
.use-case-grid article,
.link-grid a,
.faq-list article,
.cta-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(28px, 5vw, 58px);
}

.eyebrow,
.section-kicker,
.step-grid span,
.link-grid span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.hero-lead,
.split-shell p,
.section-heading p,
.step-grid p,
.use-case-grid p,
.faq-list p,
.hero-visual figcaption {
  color: var(--muted);
  line-height: 1.72;
}

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

.hero-visual {
  overflow: hidden;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-visual figcaption {
  padding: 18px 20px 22px;
  background: #fff;
}

.split-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

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

.step-grid,
.use-case-grid,
.link-grid,
.faq-list {
  display: grid;
  gap: 16px;
}

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

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

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

.step-grid article,
.use-case-grid article,
.link-grid a,
.faq-list article {
  padding: 22px;
}

.link-grid a {
  display: grid;
  gap: 10px;
}

.link-grid strong {
  overflow-wrap: anywhere;
}

.cta-shell {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 28px;
}

@media (max-width: 820px) {
  .nav-shell,
  .hero-shell,
  .split-shell,
  .cta-shell,
  .step-grid,
  .use-case-grid,
  .link-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-cta {
    width: fit-content;
  }

  .hero-visual img {
    height: 300px;
  }
}
