:root { --background: #f8fbfc; --foreground: #122b35; --muted-foreground: #475e67; --border: #d3e1e5; --surface: #eaf2f5; --accent: #006d91; --link: #006d91; --brand-green: #347c24; --brand-orange: #b94015; --button-bg: #006d91; --button-fg: #ffffff; }
:root[data-theme="dark"] { --background: #101e25; --foreground: #edf6f8; --muted-foreground: #b3c8d0; --border: #304750; --surface: #1a303b; --accent: #72cee9; --link: #72cee9; --brand-green: #a0cc59; --brand-orange: #ff9b71; --button-bg: #72cee9; --button-fg: #10232c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --background: #101e25; --foreground: #edf6f8; --muted-foreground: #b3c8d0; --border: #304750; --surface: #1a303b; --accent: #72cee9; --link: #72cee9; --brand-green: #a0cc59; --brand-orange: #ff9b71; --button-bg: #72cee9; --button-fg: #10232c; } }
/* Clermontweb identity: historical landscape colors, precise rules, square edges. */
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: 1120px; padding-inline: 2rem; }
.header-inner { height: 4.5rem; gap: 2.25rem; }
.brand { letter-spacing: -0.04em; font-size: 1.15rem; }
.main-nav { font-size: 0.85rem; }
#page { width: 100%; max-width: 1120px; padding: 0 2rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -0.045em; white-space: pre-line; font-weight: 600; }
h3 { font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.025em; }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 4rem; padding: 6rem 0 5.5rem; text-align: left; }
.hero-eyebrow, .section-eyebrow, .pane-label, .item-number, .mark-tag, .mark-caption {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.09em; line-height: 1.5;
}
.hero-eyebrow { display: flex; align-items: center; gap: 0.6rem; color: var(--accent); margin-bottom: 1.75rem; }
.status-dot { width: 6px; height: 6px; background: currentColor; flex-shrink: 0; }
.hero-heading { font-size: clamp(2.8rem, 5.6vw, 4.5rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.065em; white-space: pre-line; margin-bottom: 1.75rem; }
.hero-subheading { max-width: 34rem; color: var(--muted-foreground); font-size: 1.06rem; line-height: 1.75; }
.hero-cta, .cta-button { display: inline-flex; align-items: center; gap: 2rem; min-height: 48px; padding: 0.75rem 1.25rem; font-size: 0.85rem; font-weight: 600; border: 1px solid var(--foreground); border-radius: 0; }
.hero-cta:hover, .cta-button:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.content-section { border-top: 1px solid var(--border); padding: 4.5rem 0; }
.section-intro { max-width: 39rem; margin-bottom: 2.5rem; }
.section-eyebrow { color: var(--accent); margin-bottom: 1.25rem; }
.section-intro > p:last-child { color: var(--muted-foreground); max-width: 36rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.feature { padding: 2rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.item-number { display: block; margin-bottom: 1.5rem; color: var(--accent); }
.feature p, .steps-list p { margin-bottom: 0; color: var(--muted-foreground); font-size: 0.9rem; }
.build-example { display: grid; grid-template-columns: 1.5fr 1fr; border: 1px solid var(--border); background: var(--surface); }
.code-pane { border-right: 1px solid var(--border); min-width: 0; }.output-pane { min-width: 0; }
.pane-label { border-bottom: 1px solid var(--border); padding: 0.8rem 1.25rem; color: var(--muted-foreground); }
pre { margin: 0; padding: 1.5rem 1.25rem; overflow-x: auto; font-size: 0.78rem; line-height: 1.9; tab-size: 2; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 0; margin: 0; list-style: none; }
.steps-list li { border-top: 2px solid var(--foreground); padding-top: 1.5rem; }
#next .feature-grid { grid-template-columns: repeat(3, 1fr); }
#next .feature { padding: 1.5rem; }
.faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; cursor: pointer; font-size: 0.95rem; font-weight: 500; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary::marker { content: ""; }
.faq-list summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.faq-sign { font: 1.25rem ui-monospace, monospace; color: var(--accent); }
.faq-list details[open] .faq-sign { transform: rotate(45deg); }
.faq-list details > p { padding-bottom: 1.25rem; margin: 0; font-size: 0.9rem; color: var(--muted-foreground); }
.cta { border-top: 1px solid var(--border); padding: 4.5rem 0 5rem; text-align: left; }
.cta-body { max-width: 35rem; color: var(--muted-foreground); }
.cta-button { background: var(--foreground); color: var(--background); }
.site-footer .container { max-width: 1120px; }.footer-inner { gap: 1.5rem; }
@media (max-width: 900px) {
  .hero { gap: 2rem; }.hero-heading { font-size: 3.4rem; }
  .faq { gap: 2rem; }#next .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { padding-inline: 1.25rem; }#page { padding-inline: 1.25rem; }
  .header-inner { height: auto; min-height: 4rem; gap: 0 1rem; }
  .hero { grid-template-columns: 1fr; padding: 3.5rem 0; gap: 3rem; }
  .hero-heading { font-size: clamp(2.75rem, 10vw, 4rem); }.hero-eyebrow { font-size: 0.62rem; }
  .hero-mark { max-width: 260px; }

  .content-section { padding-block: 3rem; }.section-intro { margin-bottom: 2rem; }
  .feature-grid, .steps-list, .build-example, .faq { grid-template-columns: 1fr; }
  .feature { padding: 1.5rem; }.steps-list { gap: 1.5rem; }
  .code-pane { border-right: 0; border-bottom: 1px solid var(--border); }
  .faq { gap: 0; }.cta { padding-block: 3rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

/* The original mark remains vivid in both themes; surrounding surfaces stay quiet. */
.brand-mark { width: 30px; height: 44px; flex: 0 0 30px; }
.hero-mark { width: 100%; max-width: 355px; justify-self: center; }
.hero-logo { display: block; width: 100%; height: auto; }
.hero-cta, .cta-button { background: var(--button-bg); color: var(--button-fg); border-color: var(--button-bg); }
.hero-cta:hover, .cta-button:hover { filter: brightness(1.08); }
.status-dot { background: var(--brand-orange); }
.steps-list li:nth-child(1) { border-top-color: var(--accent); }
.steps-list li:nth-child(2) { border-top-color: var(--brand-green); }
.steps-list li:nth-child(3) { border-top-color: var(--brand-orange); }
.feature:nth-child(3n + 2) .item-number { color: var(--brand-green); }
.feature:nth-child(3n + 3) .item-number { color: var(--brand-orange); }
@media (max-width: 760px) { .hero-mark { max-width: 250px; } }


/* A wide landscape: simple 45-degree peaks and gradient planes from the logo. */
.hero { position: relative; isolation: isolate; display: block; overflow: hidden; min-height: 640px; width: calc(100% + 4rem); margin-inline: -2rem; padding: 3.5rem 2rem 12rem; view-timeline-name: --hero-landscape; view-timeline-axis: block; }
.hero-copy { position: relative; z-index: 2; width: 58%; max-width: 620px; }
.hero-landscape { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.landscape-depth { width: 100%; height: 100%; }
.landscape-art { display: block; width: 100%; height: 100%; }
.logo-cloud { animation: logo-cloud-drift 12s ease-in-out infinite alternate; animation-play-state: running; }
.logo-cloud--0 { animation-duration: 9s; animation-delay: -3s; }
.logo-cloud--1 { animation-duration: 14s; animation-delay: -6s; }
.logo-cloud--2 { animation-duration: 11s; animation-delay: -2s; }
@keyframes logo-cloud-drift { from { transform: translate(-28px, 3px); } to { transform: translate(34px, -6px); } }
@keyframes scene-depth { to { transform: translateY(110px); } }
@supports (animation-timeline: view()) {
  .scene-parallax { animation: scene-depth linear both; animation-timeline: --hero-landscape; animation-range: exit 0% exit 100%; }
}
/* Blue sky, green land and orange peaks also shape the editorial rhythm. */
#features, #visitors, #source { width: calc(100% + 4rem); margin-inline: -2rem; padding-inline: 2rem; border-top: 0; }
#features { background: linear-gradient(120deg, #287e35, #16562f); color: #fff; --foreground: #fff; --muted-foreground: #e8f5e5; --border: #ffffff50; --accent: #fff; }
#features .item-number { color: #d3edbd; }
#features .feature-grid { background: #ffffff06; }
#visitors { background: linear-gradient(125deg, #e1f4fa, #bce3ef); color: #153b4b; --foreground: #153b4b; --muted-foreground: #315766; --accent: #17627e; --brand-green: #34754e; --brand-orange: #a23d19; }
#source { background: linear-gradient(115deg, #b74014, #923316); color: #fff; --muted-foreground: #ffebe0; --accent: #fff; --button-bg: #fff; --button-fg: #963415; }
#features .section-eyebrow, #source .section-eyebrow { color: #fff; }
@media (max-width: 760px) {
  .hero { display: block; width: 100%; margin-inline: 0; min-height: auto; padding: 3.5rem 0; }
  .hero-copy { width: 100%; max-width: none; }
  .hero-landscape { display: none; }
  .logo-cloud, .landscape-depth, .scene-parallax { animation: none; }
  #features, #visitors, #source { width: calc(100% + 2.5rem); margin-inline: -1.25rem; padding-inline: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-cloud, .landscape-depth, .scene-parallax { animation: none !important; transform: none !important; }
}

/* Let the landscape descend into the blue benefits section. */
@media (min-width: 761px) {
  .hero { background: var(--background); margin-bottom: -76px; z-index: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 76px)); }
  #features { padding-top: 4rem; }
}

/* Continue the same river coordinates beneath the diagonal hero edge. */
.river-flow { display: none; }
@media (min-width: 761px) {
  #page { timeline-scope: --hero-landscape; }
  #features { position: relative; isolation: isolate; overflow: hidden; }
  #features > .section-intro, #features > .feature-grid { position: relative; z-index: 1; }
  .river-flow { display: block; position: absolute; top: 76px; left: 0; width: 100%; pointer-events: none; z-index: 0; }
  .river-flow svg { display: block; width: 100%; height: auto; transform: translateY(-59.375%); }

}
@media (prefers-reduced-motion: reduce) { .river-flow { animation: none !important; } }
