@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #17334a;
  --ink-soft: #274b63;
  --muted: #607b8f;
  --blue: #087fbe;
  --blue-deep: #07517e;
  --cyan: #18b5d7;
  --green: #217b49;
  --green-deep: #125e3b;
  --moss: #a8d982;
  --coral: #e96950;
  --sand: #f4a45e;
  --line: #d9e7ed;
  --paper: #ffffff;
  --mist: #f2f9fc;
  --foam: #edf8f1;
  --shadow: 0 18px 50px rgba(20, 62, 88, .12);
  --shadow-soft: 0 10px 28px rgba(20, 62, 88, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 16px/1.6 "DM Sans", "Segoe UI", Arial, sans-serif; background: #f9fcfd; }
body::selection { color: #fff; background: var(--blue); }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 48px)); margin: auto; }

.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .9); border-bottom: 1px solid rgba(217, 231, 237, .9); backdrop-filter: blur(16px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-family: "Space Grotesk", "Segoe UI", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: .01em; transition: color .25s ease, transform .25s ease; }
.brand:hover { color: var(--blue); transform: translateY(-1px); }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand em { color: var(--muted); font-style: normal; font-weight: 500; }
.site-header nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 13px; font-weight: 600; }
.site-header nav a { transition: color .2s ease, transform .2s ease; }
.site-header nav a:hover { color: var(--blue); transform: translateY(-1px); }
.nav-button { padding: 8px 14px; color: var(--blue) !important; border: 1px solid rgba(8, 127, 190, .35); border-radius: 9px; background: rgba(8, 127, 190, .04); }
.nav-button:hover { background: var(--mist); }

.hero { position: relative; overflow: hidden; padding: 78px 0 72px; background: radial-gradient(circle at 84% 8%, rgba(24, 181, 215, .16), transparent 30%), linear-gradient(135deg, #eef9fd 0%, #fff 54%, #f0faf3 100%); }
.hero::before { position: absolute; width: 520px; height: 520px; right: -180px; bottom: -270px; content: ""; border: 1px solid rgba(33, 123, 73, .12); border-radius: 50%; box-shadow: 0 0 0 38px rgba(33, 123, 73, .035), 0 0 0 78px rgba(33, 123, 73, .025); animation: orbit 18s ease-in-out infinite alternate; }
.hero::after { position: absolute; inset: 0 0 0 47%; content: ""; opacity: .28; background-image: linear-gradient(rgba(8, 127, 190, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 127, 190, .16) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 72%, transparent 100%); animation: cells 24s linear infinite; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; gap: 58px; }

.eyebrow { display: inline-flex; align-items: center; margin: 0 0 14px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1, h2, h3 { font-family: "Space Grotesk", "Segoe UI", sans-serif; }
.hero h1 { max-width: 700px; margin: 0 0 20px; color: var(--ink); font-size: clamp(42px, 5.5vw, 70px); line-height: 1.06; letter-spacing: -.055em; }
.lead { max-width: 600px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 30px 0 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 17px; border-radius: 9px; font-size: 13px; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--blue), #0699be); box-shadow: 0 9px 22px rgba(8, 127, 190, .22); }
.button.primary:hover { box-shadow: 0 13px 28px rgba(8, 127, 190, .28); }
.button.secondary { color: var(--ink-soft); border: 1px solid var(--line); background: rgba(255, 255, 255, .8); }
.button.secondary:hover { background: #fff; box-shadow: var(--shadow-soft); }
.version-note { margin: 0; color: var(--muted); font-size: 12px; }

.hero-side { display: grid; gap: 16px; }
.demo-card, .hero-card { margin: 0; border: 1px solid rgba(217, 231, 237, .95); border-radius: 17px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease; }
.demo-card { padding: 13px 13px 15px; animation: float 9s ease-in-out infinite; }
.hero-card { padding: 22px; animation: float 9s ease-in-out 1.2s infinite; }
.demo-card:hover, .hero-card:hover { transform: translateY(-5px); box-shadow: 0 22px 55px rgba(20, 62, 88, .16); }
.demo-label { margin: 0 2px 10px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.demo-card img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.demo-card figcaption { margin: 10px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.hero-card img { display: block; width: 100%; height: auto; }
.hero-card-footer { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.hero-card-footer span { padding: 4px 8px; color: var(--green-deep); border-radius: 30px; background: var(--foam); font-size: 11px; font-weight: 600; }

.section { position: relative; padding: 76px 0; }
.section.tinted { overflow: hidden; background: linear-gradient(135deg, #eef8fc 0%, #f4fbf7 100%); }
.section.tinted::after { position: absolute; width: 180px; height: 180px; right: -70px; top: 30px; content: ""; opacity: .5; border: 1px solid rgba(8, 127, 190, .12); border-radius: 50%; box-shadow: 0 0 0 20px rgba(8, 127, 190, .025), 0 0 0 42px rgba(8, 127, 190, .02); }
h2 { max-width: 720px; margin: 0 0 13px; color: var(--ink); font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.045em; }
.section-intro { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.feature-grid article, .benchmark-card { position: relative; overflow: hidden; padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-soft); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.feature-grid article::before, .benchmark-card::before { position: absolute; inset: 0 0 auto; height: 3px; content: ""; background: linear-gradient(90deg, var(--cyan), var(--green)); transform: scaleX(.25); transform-origin: left; transition: transform .3s ease; }
.feature-grid article:hover, .benchmark-card:hover { border-color: rgba(8, 127, 190, .3); box-shadow: 0 16px 34px rgba(20, 62, 88, .12); transform: translateY(-4px); }
.feature-grid article:hover::before, .benchmark-card:hover::before { transform: scaleX(1); }
.feature-number { display: inline-grid; width: 27px; height: 27px; place-items: center; color: var(--blue); border: 1px solid rgba(8, 127, 190, .25); border-radius: 50%; background: var(--mist); font-size: 11px; font-weight: 700; }
.feature-grid h3 { margin: 23px 0 7px; font-size: 19px; letter-spacing: -.02em; }
.feature-grid p, .split p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 58px; }
.info-card { display: grid; gap: 5px; padding: 27px 30px; border: 1px solid rgba(33, 123, 73, .14); border-left: 4px solid var(--green); background: linear-gradient(145deg, #fff, #f4fbf7); box-shadow: var(--shadow); }
.info-card strong, .benchmark-card strong { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.info-card span { color: var(--green); font-family: "Space Grotesk", sans-serif; font-size: 27px; font-weight: 700; }
.info-card small, .geotam-card small { color: var(--muted); }
.text-link { display: inline-block; margin-top: 19px; color: var(--blue); font-weight: 700; transition: color .2s ease, transform .2s ease; }
.text-link:hover { color: var(--green); transform: translateX(3px); }
.link-list { display: grid; border-top: 1px solid var(--line); }
.link-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px; padding: 15px 0; border-bottom: 1px solid var(--line); transition: padding .25s ease, color .2s ease; }
.link-list a:hover { padding-left: 7px; color: var(--blue); }
.link-list span { font-weight: 700; }
.link-list small { color: var(--muted); }
.link-list b { grid-column: 2; grid-row: 1 / span 2; color: var(--blue); font-weight: 500; }
.research-block { align-items: start; }
.geotam-card { display: grid; justify-items: center; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .88); text-align: center; box-shadow: var(--shadow-soft); }
.geotam-card span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.geotam-card img { display: block; width: min(100%, 360px); height: auto; object-fit: contain; }
.benchmark-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.benchmark-card { display: grid; gap: 8px; padding: 23px; }
.benchmark-card span { color: var(--green); font-family: "Space Grotesk", sans-serif; font-size: 26px; font-weight: 700; line-height: 1.1; }
.benchmark-card small { color: var(--muted); line-height: 1.45; }
.benchmark-note { max-width: 900px; margin: 21px 0 0; color: var(--muted); font-size: 13px; }
.benchmark-note .text-link { margin-top: 0; font-size: inherit; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0 34px; }
.metric-card { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-soft); }
.metric-card strong { color: var(--blue); font-family: "Space Grotesk", sans-serif; font-size: 28px; line-height: 1.1; }
.metric-card span { color: var(--muted); font-size: 13px; }
.benchmark-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-soft); }
.benchmark-table { width: 100%; border-collapse: collapse; min-width: 670px; }
.benchmark-table th, .benchmark-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.benchmark-table th { color: var(--ink-soft); background: var(--mist); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.benchmark-table td { color: var(--muted); font-size: 14px; }
.benchmark-table td:first-child { color: var(--ink-soft); font-weight: 700; }
.benchmark-table tr:last-child td { border-bottom: 0; }
.benchmark-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.benchmark-detail > div { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg, #fff, #f4fbf7); }
.benchmark-detail h3 { margin: 0 0 8px; font-size: 20px; }
.benchmark-detail p { margin: 0; color: var(--muted); font-size: 14px; }
.origin-block { align-items: center; }
.origin-block p + p { margin-top: 14px; }
.origin-card { display: grid; gap: 8px; padding: 29px; border: 1px solid rgba(8, 127, 190, .16); border-radius: 14px; background: linear-gradient(145deg, #fff, #eff9fc); box-shadow: var(--shadow); }
.origin-card span { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.origin-card b { color: var(--ink); font-family: "Space Grotesk", sans-serif; font-size: 28px; line-height: 1.12; }
.origin-card small { color: var(--muted); line-height: 1.5; }
.site-footer { color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); background: #fff; }
.geotam-footer { border-bottom: 1px solid var(--line); background: linear-gradient(105deg, #f2fafb 0%, #f5fbf6 100%); }
.geotam-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 84px; padding: 12px 0; }
.geotam-credit, .partner-credit { display: flex; align-items: center; gap: 13px; min-width: 0; }
.geotam-footer img { display: block; width: 126px; max-height: 42px; object-fit: contain; }
.geotam-credit > span { display: grid; gap: 1px; text-align: left; }
.geotam-footer strong { color: var(--ink-soft); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.geotam-footer small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.partner-credit { display: grid; justify-items: end; gap: 4px; }
.partner-label { color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.partner-logos { display: flex; align-items: center; gap: 10px; }
.partner-logos img { width: 102px; height: 35px; border: 1px solid rgba(217, 231, 237, .8); border-radius: 5px; background: #fff; object-fit: contain; }
.partner-logos img:last-child { width: 54px; height: 40px; }
.partner-credit > small { color: var(--muted); font-size: 10px; }
.footer-wrap { padding: 25px 0; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; }
.site-footer a { color: var(--blue); transition: color .2s ease; }
.site-footer a:hover { color: var(--green); }
code { padding: 2px 6px; color: var(--blue-deep); border-radius: 5px; background: #eaf4f8; font-size: .9em; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes orbit { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-18px, -12px) rotate(12deg); } }
@keyframes cells { from { background-position: 0 0, 0 0; } to { background-position: 34px 34px, 34px 34px; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-side { max-width: 650px; }
  .benchmark-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-header nav a:not(.nav-button) { display: none; }
  .hero { padding: 61px 0 58px; }
  .section { padding: 62px 0; }
  .feature-grid, .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-wrap { flex-direction: column; gap: 7px; }
  .hero h1 { font-size: 47px; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 32px, 1120px); }
  .nav-wrap { min-height: 64px; }
  .brand { font-size: 15px; }
  .geotam-footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; }
  .geotam-credit { width: 100%; gap: 10px; }
  .geotam-footer img { width: 108px; }
  .geotam-footer strong { font-size: 10px; letter-spacing: .07em; }
  .geotam-footer small { font-size: 10px; }
  .partner-credit { justify-items: start; }
  .partner-logos img { width: 94px; height: 32px; }
  .partner-logos img:last-child { width: 50px; height: 36px; }
  .hero h1 { font-size: 40px; }
  .lead { font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Inner pages: a compact portal layout with the same coastal palette. */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 58px; background: linear-gradient(125deg, #0c587c 0%, #0b789d 44%, #196c4d 100%); }
.page-hero::after { position: absolute; inset: 0 0 0 52%; content: ""; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, transparent, #000 35%, transparent); animation: cells 28s linear infinite; }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 52px; }
.page-hero .eyebrow { color: #bfe9e7; }
.page-hero h1 { max-width: 750px; margin: 0; color: #fff; font-family: "Space Grotesk", sans-serif; font-size: clamp(39px, 5vw, 62px); line-height: 1.06; letter-spacing: -.05em; }
.page-lead { max-width: 660px; margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.55; }
.page-hero-badge { display: grid; gap: 4px; padding: 25px; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 15px; background: rgba(3, 49, 70, .25); box-shadow: 0 16px 32px rgba(3, 40, 58, .2); backdrop-filter: blur(10px); }
.page-hero-badge span { color: #bfe9e7; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.page-hero-badge b { font-family: "Space Grotesk", sans-serif; font-size: 37px; line-height: 1.05; }
.page-hero-badge small { color: rgba(255,255,255,.74); }

.download-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); gap: 22px; align-items: stretch; }
.download-card, .requirements-card { padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-soft); }
.download-card.featured { border-top: 4px solid var(--blue); }
.download-card h2, .requirements-card h2 { margin: 17px 0 10px; font-size: 29px; }
.download-card p, .requirements-card p { color: var(--muted); }
.download-card-top, .project-top, .article-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.release-tag, .project-top span { padding: 5px 9px; color: var(--green-deep); border-radius: 30px; background: var(--foam); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.release-date, .article-meta small { color: var(--muted); font-size: 12px; }
.check-list { display: grid; gap: 7px; margin: 20px 0 25px; padding: 0; list-style: none; color: var(--ink-soft); font-size: 14px; }
.check-list li { position: relative; padding-left: 21px; }
.check-list li::before { position: absolute; left: 0; top: .55em; width: 8px; height: 8px; content: ""; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(24,181,215,.12); }
.download-button { margin-top: 3px; }
.download-meta { margin: 17px 0 0; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.download-meta code { font-size: 10px; }
.requirements-card { display: grid; align-content: start; gap: 9px; background: linear-gradient(145deg, #f4fbfd, #f3faf5); }
.requirements-card .eyebrow { margin-bottom: 2px; }
.requirement-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.requirement-row span { color: var(--muted); }
.requirement-row b { color: var(--ink-soft); text-align: right; }
.notice { display: grid; gap: 3px; margin-top: 10px; padding: 12px; border-radius: 9px; background: rgba(244,164,94,.13); }
.notice strong { color: #9a5b22; font-size: 12px; }
.notice small { color: var(--muted); line-height: 1.45; }
.release-list { display: grid; gap: 12px; }
.release-list > div { display: grid; gap: 3px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.82); }
.release-list span { color: var(--blue); font-family: "Space Grotesk", sans-serif; font-size: 24px; font-weight: 700; }
.release-list b { color: var(--ink-soft); }
.release-list small { color: var(--muted); }
.release-next { opacity: .74; }

.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.step-grid article { padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; }
.step-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-grid article > span { color: var(--blue); font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; }
.step-grid h2 { margin: 22px 0 8px; font-size: 20px; }
.step-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.guide-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 58px; align-items: start; }
.guide-points { display: grid; gap: 0; border-top: 1px solid rgba(8,127,190,.18); }
.guide-points > div { display: grid; gap: 3px; padding: 15px 0; border-bottom: 1px solid rgba(8,127,190,.18); }
.guide-points b { color: var(--ink-soft); }
.guide-points span { color: var(--muted); font-size: 14px; }
.input-list { display: grid; border-top: 1px solid var(--line); }
.input-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.input-list span { color: var(--muted); }
.input-list b { color: var(--ink-soft); text-align: right; }
.engine-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 29px; }
.engine-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-soft); }
.engine-grid article h2 { margin: 17px 0 8px; font-size: 25px; }
.engine-grid article p { margin: 0; color: var(--muted); }
.engine-mark { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.check-panel { display: grid; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-soft); }
.check-panel label { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 14px; }
.check-panel input { accent-color: var(--green); }
.pdf-slot, .submission-card { display: grid; align-content: center; gap: 8px; min-height: 170px; padding: 27px; border: 1px dashed rgba(8,127,190,.35); border-radius: 14px; background: repeating-linear-gradient(-45deg, rgba(8,127,190,.035), rgba(8,127,190,.035) 10px, rgba(33,123,73,.035) 10px, rgba(33,123,73,.035) 20px); }
.pdf-slot span, .submission-card span { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pdf-slot b, .submission-card b { color: var(--ink-soft); font-family: "Space Grotesk", sans-serif; font-size: 23px; }
.pdf-slot small, .submission-card small { color: var(--muted); }

.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card { display: grid; align-content: start; gap: 12px; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card h2 { margin: 0; font-size: 25px; }
.article-card p { margin: 0; color: var(--muted); }
.article-card .byline { color: var(--green); font-size: 13px; font-weight: 600; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.article-tags span { padding: 4px 8px; color: var(--blue-deep); border-radius: 30px; background: var(--mist); font-size: 11px; }
.featured-article { grid-column: 1 / -1; border-top: 4px solid var(--green); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { display: grid; align-content: start; gap: 13px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card.project-featured { border-top: 4px solid var(--blue); }
.project-top b { color: var(--green); font-size: 11px; }
.project-card h2 { margin: 5px 0 0; font-size: 25px; }
.project-card p { margin: 0; color: var(--muted); }
.project-stats { display: grid; gap: 6px; margin-top: 6px; padding-top: 13px; border-top: 1px solid var(--line); }
.project-stats span { color: var(--muted); font-size: 12px; }
.project-stats b { color: var(--ink-soft); }
.timeline { display: grid; gap: 0; max-width: 820px; margin-top: 29px; }
.timeline-item { display: grid; grid-template-columns: 85px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(8,127,190,.18); }
.timeline-item > span { color: var(--blue); font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; }
.timeline-item div { display: grid; gap: 3px; }
.timeline-item b { color: var(--ink-soft); }
.timeline-item small { color: var(--muted); }

@media (max-width: 900px) {
  .page-hero-grid, .download-grid, .guide-section { grid-template-columns: 1fr; gap: 30px; }
  .page-hero-badge { max-width: 330px; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .page-hero { padding: 53px 0 48px; }
  .page-hero h1 { font-size: 44px; }
  .engine-grid, .article-grid { grid-template-columns: 1fr; }
  .metric-grid, .benchmark-detail { grid-template-columns: 1fr 1fr; }
  .featured-article { grid-column: auto; }
}
@media (max-width: 480px) {
  .page-hero h1 { font-size: 38px; }
  .step-grid { grid-template-columns: 1fr; }
  .download-card, .requirements-card, .article-card, .project-card { padding: 21px; }
  .input-list > div, .requirement-row { align-items: start; flex-direction: column; gap: 3px; }
  .input-list b, .requirement-row b { text-align: left; }
  .timeline-item { grid-template-columns: 58px 1fr; gap: 10px; }
  .metric-grid, .benchmark-detail { grid-template-columns: 1fr; }
}

/* Homepage visual language: a quiet ocean palette, a cellular grid, and one useful animation. */
body { background: #f5fbfc; }
.site-header { background: rgba(247, 252, 252, .92); }
.hero { padding: 84px 0 78px; background: linear-gradient(135deg, #e9f8fa 0%, #f9fdfc 48%, #eaf7ef 100%); }
.hero::before { width: 460px; height: 460px; right: -155px; bottom: -245px; border-color: rgba(16, 117, 137, .14); box-shadow: 0 0 0 40px rgba(16, 117, 137, .035), 0 0 0 82px rgba(16, 117, 137, .022); }
.hero::after { opacity: .15; background-image: linear-gradient(rgba(8, 127, 190, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 127, 190, .2) 1px, transparent 1px); }
.hero-copy { padding: 5px 0 0; }
.hero h1 { max-width: 620px; font-size: clamp(42px, 5vw, 65px); }
.hero .lead { max-width: 580px; color: #4d7080; }
.hero-scene-wrap { position: relative; min-width: 0; }
.hero-scene-card { position: relative; overflow: hidden; padding: 15px 15px 13px; border: 1px solid rgba(15, 108, 126, .18); border-radius: 24px; background: rgba(255, 255, 255, .79); box-shadow: 0 22px 58px rgba(13, 86, 103, .16); }
.scene-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 1px 7px 11px; color: #315d6c; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.scene-live { display: inline-flex; align-items: center; gap: 6px; color: #638694; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: none; }
.scene-live i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #1d9b76; box-shadow: 0 0 0 4px rgba(29, 155, 118, .13); }
.hero-demo-gif { display: block; width: 100%; height: auto; border: 1px solid rgba(15, 108, 126, .12); border-radius: 17px; }
.hero-scene { display: block; width: 100%; height: auto; border-radius: 17px; }
.scene-backdrop { stroke: rgba(16, 117, 137, .14); stroke-width: 1; }
.scene-cells rect { fill: #6dbf83; opacity: .72; }
.scene-tree .scene-trunk { fill: #654f37; }
.scene-tree .scene-branch { fill: none; stroke: #654f37; stroke-linecap: round; stroke-width: 14; }
.scene-tree .scene-root { fill: none; stroke: #654f37; stroke-linecap: round; stroke-width: 9; }
.scene-canopy circle { fill: #17744d; }
.scene-canopy-light circle { fill: #4da65e; opacity: .85; }
.hero-water-group { transform-box: fill-box; transform-origin: center bottom; animation: water-rise 9s ease-in-out infinite; }
.hero-water { fill: url(#scene-water); opacity: .86; }
.hero-wave { fill: #55cfca; opacity: .7; }
.hero-wave-line { fill: none; stroke: rgba(219, 255, 247, .85); stroke-linecap: round; stroke-width: 3; stroke-dasharray: 14 12; animation: wave-drift 6s linear infinite; }
.water-cells rect { fill: #83e0dd; opacity: .55; }
.scene-legend { fill: #2e6472; font: 600 12px "DM Sans", sans-serif; }
.scene-legend circle:first-child { fill: #4da65e; }
.scene-legend circle:nth-of-type(2) { fill: #23b8c7; }
.scene-caption { margin: 10px 5px 0; color: #64838e; font-size: 11px; line-height: 1.45; }
.section { padding: 82px 0; }
.section.tinted { background: linear-gradient(135deg, #eaf7fa 0%, #eff9f2 100%); }
.section.tinted::after { border-color: rgba(16, 117, 137, .1); }
.feature-grid article, .benchmark-card { background: rgba(255, 255, 255, .76); }
.feature-grid article::before, .benchmark-card::before { background: linear-gradient(90deg, #19b8c8, #2b9a65); }
.example-section { background: #f8fcfc; }
.example-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); align-items: center; gap: 62px; }
.example-copy h2 { max-width: 520px; }
.example-copy p:not(.eyebrow) { max-width: 500px; color: var(--muted); }
.download-band { background: linear-gradient(135deg, #e8f7f8 0%, #f1faf3 100%); }
.origins-section { background: #f5fbfc; }
.hero-card { animation: none; }

@keyframes water-rise {
  0%, 100% { transform: translateY(45px); }
  50% { transform: translateY(-22px); }
}
@keyframes wave-drift { to { stroke-dashoffset: -52px; } }

@media (max-width: 900px) {
  .example-grid { grid-template-columns: 1fr; gap: 32px; }
  .example-copy { max-width: 660px; }
}
@media (max-width: 820px) {
  .hero { padding: 63px 0 60px; }
  .hero-scene-card { max-width: 660px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-water-group, .hero-wave-line { animation: none; }
}
