:root {
  color-scheme: light;
  --ink: #142321;
  --muted: #5d6d69;
  --brand: #1f5f5b;
  --brand-dark: #174744;
  --brand-soft: #e8f1ef;
  --accent: #d59b2b;
  --paper: #ffffff;
  --bg: #f4f7f6;
  --line: #d7e1de;
  --danger-soft: #fff4e8;
  --shadow: 0 20px 55px rgba(20, 49, 45, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 68px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(215, 225, 222, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-size: 18px; font-weight: 850; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 5px; background: var(--brand); color: #fff; font-size: 13px; }
.site-header nav { display: flex; gap: 20px; margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 700; }
.site-header nav a:hover, .site-footer a:hover, .text-link:hover { color: var(--brand); }

.header-action, .primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  padding: 0 19px;
  font-weight: 820;
  white-space: nowrap;
}
.header-action, .primary-action { background: var(--brand); color: #fff; }
.header-action:hover, .primary-action:hover { background: var(--brand-dark); }
.secondary-action { border: 1px solid var(--line); background: #fff; color: var(--brand); }
.secondary-action.on-dark { border-color: rgba(255, 255, 255, 0.52); background: transparent; color: #fff; }
.light-button { background: #fff; color: var(--brand); }
.light-button:hover { background: #eaf2f0; }

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 68px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #162522;
}
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(10, 27, 24, 0.7); }
.hero-inner { position: relative; z-index: 1; width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 72px 0 86px; color: #fff; }
.hero h1, .section h2, .project-section h2, .output-section h2, .final-cta h2 { margin: 0; letter-spacing: 0; line-height: 1.16; }
.hero h1 { max-width: 850px; font-size: clamp(44px, 7vw, 88px); }
.hero-lead { max-width: 750px; margin-top: 25px; color: #e0ebe8; font-size: clamp(16px, 2vw, 20px); }
.eyebrow { margin: 0 0 11px; color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: 0; }
.eyebrow.light { color: #b8d6d0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions.center { justify-content: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; color: #d8e7e4; font-size: 14px; font-weight: 700; }
.hero-facts span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.proof-strip div { min-width: 0; padding: 22px 26px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { color: var(--brand); font-size: 17px; }
.proof-strip span { margin-top: 2px; color: var(--muted); font-size: 13px; }

.section { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 84px 0; }
.section-heading { max-width: 780px; margin-bottom: 36px; }
.section-heading.wide { max-width: 940px; }
.section h2, .project-section h2, .output-section h2 { font-size: clamp(30px, 4vw, 50px); }
.section-heading > p:last-child, .story-copy > p, .data-section .section-heading > p:last-child { margin-top: 18px; color: var(--muted); font-size: 17px; }

.intro-section { padding-top: 105px; }
.problem-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problem-list article { min-width: 0; padding: 30px 28px; border-right: 1px solid var(--line); }
.problem-list article:last-child { border-right: 0; }
.problem-list article > span { color: var(--accent); font-size: 13px; font-weight: 900; }
.problem-list h3 { margin: 14px 0 9px; font-size: 21px; }
.problem-list p { color: var(--muted); }

.screen-story { display: grid; grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.story-copy h2 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.18; }
.app-shot { min-width: 0; margin: 0; }
.app-shot img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.app-shot-main img { aspect-ratio: 1.7 / 1; object-fit: cover; object-position: right center; }
.app-shot figcaption { margin-top: 11px; color: var(--muted); font-size: 13px; text-align: center; }
.check-list { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { color: #354744; font-weight: 700; }
.check-list li::before { content: "✓"; margin-right: 9px; color: var(--brand); font-weight: 900; }

.feature-bands { padding-top: 32px; }
.feature-band { display: grid; grid-template-columns: 54px minmax(230px, 0.7fr) minmax(0, 1fr); gap: 25px; align-items: start; border-top: 1px solid var(--line); padding: 28px 0; }
.feature-band:last-child { border-bottom: 1px solid var(--line); }
.feature-index { color: var(--accent); font-size: 14px; font-weight: 900; }
.feature-band h2 { font-size: 28px; }
.feature-band > p { color: var(--muted); }

.project-section { background: #e7f0ee; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr); gap: 48px; align-items: center; }
.fact-list { display: grid; gap: 0; margin: 26px 0 0; }
.fact-list div { display: grid; grid-template-columns: 100px 1fr; gap: 14px; border-top: 1px solid rgba(31, 95, 91, 0.2); padding: 13px 0; }
.fact-list dt { color: var(--brand); font-weight: 850; }
.fact-list dd { margin: 0; color: var(--muted); }

.workflow .section-heading { margin-bottom: 20px; }
.steps { display: grid; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; border-top: 1px solid var(--line); padding: 20px 0; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps > li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 900; }
.steps strong { display: block; font-size: 20px; }
.steps p { margin-top: 3px; color: var(--muted); }

.output-section { background: #172523; color: #fff; }
.output-grid { display: grid; grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr); gap: 56px; }
.output-grid > div:first-child > p:last-child { margin-top: 20px; color: #bfd0cc; }
.output-list { display: grid; }
.output-list article { display: grid; grid-template-columns: minmax(180px, 0.7fr) 1fr; gap: 20px; border-top: 1px solid rgba(255, 255, 255, 0.18); padding: 19px 0; }
.output-list article:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.output-list strong { color: #fff; }
.output-list span { color: #bfd0cc; }

.notice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.notice-grid article { border: 1px solid var(--line); border-radius: 7px; padding: 23px; background: #fff; }
.notice-grid strong, .notice-grid span { display: block; }
.notice-grid strong { color: var(--brand); font-size: 18px; }
.notice-grid span { margin-top: 5px; color: var(--muted); }
.warning-note { margin-top: 16px; border-left: 4px solid var(--accent); padding: 13px 16px; background: var(--danger-soft); color: #574627; }

.purchase { border-top: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; }
.plan-grid article { position: relative; border: 1px solid var(--line); border-radius: 7px; padding: 28px; background: #fff; }
.plan-grid article.recommended { border-top: 4px solid var(--brand); }
.plan-label { color: var(--brand); font-size: 12px; font-weight: 900; }
.plan-grid h3 { margin: 10px 0 8px; font-size: 28px; }
.plan-grid article > p:last-child { color: var(--muted); }
.purchase-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.text-link { color: var(--brand); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 18px 20px; }
.faq-list summary { cursor: pointer; font-weight: 850; }
.faq-list p { margin-top: 10px; color: var(--muted); }
.faq-list p a { color: var(--brand); text-decoration: underline; }

.final-cta { padding: 76px 28px; background: var(--brand); color: #fff; text-align: center; }
.final-cta h2 { font-size: clamp(30px, 4vw, 50px); }
.final-cta > p:not(.eyebrow) { margin-top: 14px; color: #d2e3df; }

.site-footer { display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr); gap: 28px; align-items: start; padding: 38px max(28px, calc((100% - 1180px) / 2)); border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 13px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--brand); font-size: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 11px 18px; font-weight: 700; }
.site-footer > p { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; text-align: right; }

.legal-page { min-height: 100vh; }
.legal-header { display: flex; align-items: center; gap: 16px; min-height: 66px; padding: 0 max(20px, calc((100% - 980px) / 2)); border-bottom: 1px solid var(--line); background: #fff; }
.legal-header a:last-child { margin-left: auto; color: var(--brand); font-weight: 800; }
.legal-main { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 90px; }
.legal-main h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; }
.legal-lead { margin-top: 16px; color: var(--muted); }
.legal-content { margin-top: 34px; border-top: 1px solid var(--line); }
.legal-content section, .legal-row { border-bottom: 1px solid var(--line); padding: 22px 0; }
.legal-content h2 { margin: 0 0 7px; font-size: 20px; }
.legal-content p, .legal-content li, .legal-row dd { color: var(--muted); }
.legal-content ul { margin: 8px 0 0; padding-left: 22px; }
.legal-row { display: grid; grid-template-columns: minmax(150px, 0.28fr) 1fr; gap: 22px; }
.legal-row dt { font-weight: 850; }
.legal-row dd { margin: 0; }

@media (max-width: 960px) {
  .site-header { padding: 0 16px; }
  .site-header nav { display: none; }
  .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .screen-story, .project-grid, .output-grid { grid-template-columns: 1fr; }
  .project-grid .app-shot { order: 2; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-list article { border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-list article:last-child { border-bottom: 0; }
  .feature-band { grid-template-columns: 45px 1fr; }
  .feature-band > p { grid-column: 2; }
}

@media (max-width: 640px) {
  .site-header { min-height: 62px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 31px; height: 31px; }
  .header-action { min-height: 38px; padding: 0 12px; font-size: 13px; }
  .hero { min-height: 660px; }
  .hero-background { object-position: 58% center; }
  .hero-inner { width: calc(100% - 36px); padding: 58px 0 70px; }
  .hero h1 { font-size: 43px; }
  .hero-lead br { display: none; }
  .hero-actions { align-items: stretch; }
  .hero-actions a { width: 100%; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip div { border-right: 0; border-bottom: 1px solid var(--line); padding: 17px 18px; }
  .proof-strip div:last-child { border-bottom: 0; }
  .section { width: calc(100% - 36px); padding: 64px 0; }
  .intro-section { padding-top: 72px; }
  .section-heading > p:last-child, .story-copy > p { font-size: 16px; }
  .screen-story { gap: 30px; }
  .app-shot-main img { aspect-ratio: 1.2 / 1; object-fit: cover; object-position: 82% center; }
  .feature-band { grid-template-columns: 36px 1fr; gap: 14px; }
  .feature-band h2 { font-size: 23px; }
  .fact-list div, .output-list article { grid-template-columns: 1fr; gap: 3px; }
  .notice-grid, .plan-grid { grid-template-columns: 1fr; }
  .purchase-actions { align-items: stretch; }
  .purchase-actions .primary-action { width: 100%; }
  .final-cta { padding: 62px 18px; }
  .site-footer { grid-template-columns: 1fr; padding: 30px 18px; }
  .site-footer nav { justify-content: flex-start; }
  .site-footer > p { text-align: left; }
  .legal-row { grid-template-columns: 1fr; gap: 5px; }
}
