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

:root {
  color-scheme: light;
  --ink: #132221;
  --dark: #10191a;
  --paper: #f7f7ef;
  --warm: #eeefe5;
  --green: #b9ef9e;
  --quiet: #52615a;
  --line: #ccd3c4;
  --sans: 'DM Sans', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
address { font-style: normal; }
section { scroll-margin-top: 1.3rem; }
.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: .6rem; padding: .65rem 1rem; color: var(--dark); background: var(--green); z-index: 10; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.topbar { color: #eff4e8; background: var(--dark); border-bottom: 1px solid #2d3835; }
.header-layout, .footer-layout { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 75px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -.045em; text-decoration: none; }
.mark { width: 1.18rem; height: 1.18rem; background: var(--green); clip-path: polygon(0 4%,100% 4%,100% 23%,31% 77%,100% 77%,100% 96%,0 96%,0 77%,69% 23%,0 23%); }
.header-layout nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
.header-layout nav a, .header-contact { font-size: .88rem; color: #d6ded3; text-decoration: none; }
.header-layout nav a:hover, .header-contact:hover { color: var(--green); }
.header-contact { border: 1px solid #546454; border-radius: 5px; padding: .45rem .8rem; white-space: nowrap; }
.header-contact span { margin-left: .35rem; }

.hero { background: radial-gradient(ellipse at 84% 52%, #25362a 0, transparent 48%), var(--dark); color: #f6f8f0; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(320px, .82fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(5rem, 10vw, 8.5rem); }
.eyebrow { display: flex; gap: .55rem; align-items: center; color: #4c614d; font-size: .73rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow, .contact .eyebrow { color: var(--green); }
.eyebrow span, .indicator { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.029em; }
h1 { font-size: clamp(3.65rem, 6.2vw, 6.5rem); line-height: .94; margin-top: 1.3rem; }
h1 em { color: var(--green); font-weight: 400; }
h2 { font-size: clamp(2.55rem, 4.7vw, 4.5rem); line-height: .98; margin-top: .75rem; }
.lead { margin-top: 1.55rem; max-width: 36rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #cbd7c9; }
.hero-actions { display: flex; gap: 1.3rem; flex-wrap: wrap; align-items: center; margin-top: 2rem; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: .7rem; padding: .77rem 1.05rem; border-radius: 5px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.button.solid { background: var(--green); color: #152418; }
.button.solid:hover { background: #d1f8bf; }
.text-link { color: #e3ecdf; font-size: .9rem; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span { margin-left: .25rem; color: var(--green); }

.architecture { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #4a604a; border-radius: 10px; background: #19281f; padding: clamp(1.1rem, 3vw, 1.9rem); box-shadow: 0 22px 80px #03080660; }
.grid-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 8%, #86c47028, transparent 54%), repeating-linear-gradient(0deg, #d7ffd609 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, #d7ffd609 0 1px, transparent 1px 28px); }
.diagram-top { display: flex; justify-content: space-between; align-items: center; color: #d6e6ce; font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; }
.diagram-top span:last-child { color: var(--green); font-size: 1.4rem; line-height: 1; }
.diagram-flow { position: relative; list-style: none; padding: 0; margin: 1.45rem 0; display: grid; gap: .82rem; }
.diagram-flow::before { content: ''; position: absolute; top: 1.5rem; bottom: 1.5rem; left: 1.8rem; border-left: 1px dashed #9ad890; }
.diagram-flow li { display: flex; position: relative; gap: .8rem; align-items: center; padding: .68rem .75rem; background: #142019; border: 1px solid #3e563e; border-radius: 7px; }
.glyph { display: grid; width: 2.15rem; height: 2.15rem; place-items: center; flex-shrink: 0; border: 1px solid #527251; border-radius: 5px; background: #223822; color: var(--green); font: normal 1.22rem/1 var(--sans); }
.diagram-flow strong, .diagram-flow small { display: block; }
.diagram-flow strong { font-size: .9rem; }
.diagram-flow small, figcaption { color: #c0cfbc; font-size: .75rem; }
figcaption { display: flex; align-items: center; gap: .5rem; }
.indicator { flex: 0 0 6px; height: 6px; }

.section { padding-block: clamp(3.8rem, 7vw, 6.3rem); }
.light { background: var(--paper); }
.warm { background: var(--warm); border-block: 1px solid #dce1d5; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.body-copy { margin-top: 1rem; color: var(--quiet); max-width: 32rem; }
.feature-list, .terms, .company-record { border-top: 1px solid var(--line); }
.feature-list div, .terms article, .company-record div { padding-block: .95rem; border-bottom: 1px solid var(--line); }
.feature-list dt, .terms h3 { font-size: 1.04rem; font-weight: 700; }
.feature-list dd, .terms p { color: var(--quiet); margin-top: .22rem; }
.company-record div { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 1.65fr); gap: .7rem; padding-block: .67rem; }
.company-record dt { color: var(--quiet); font-size: .86rem; }
.company-record dd { font-weight: 600; font-size: .94rem; }

.contact { background: #213127; color: #f3f7ec; padding-block: clamp(3rem, 6vw, 5rem); }
.contact-layout { display: flex; justify-content: space-between; gap: 1.6rem; align-items: end; }
.contact p:last-child { color: #d0dacb; margin-top: .7rem; max-width: 29rem; }
.contact .button { flex-shrink: 0; }
footer { background: var(--dark); color: #d5ded3; }
.footer-layout p, .footer-layout > a:last-child { font-size: .83rem; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 56px); }
  .hero-layout { gap: 2.5rem; }
  .split { gap: 2.5rem; }
}

@media (max-width: 740px) {
  .shell { width: calc(100% - 36px); }
  .header-layout { flex-wrap: wrap; gap: .35rem 1rem; min-height: 0; padding-block: .75rem; }
  .header-layout nav { order: 3; width: 100%; gap: 1.3rem; padding-top: .35rem; }
  .header-layout nav a { padding-block: .25rem; }
  .hero-layout, .split { grid-template-columns: 1fr; }
  .hero-layout { padding-block: 3.65rem; }
  h1 { font-size: clamp(2.9rem, 10.9vw, 4.75rem); }
  .contact-layout { align-items: flex-start; flex-direction: column; }
  .footer-layout { flex-wrap: wrap; justify-content: flex-start; padding-block: 1rem; gap: .7rem 1.2rem; }
}

@media (max-width: 365px) {
  .company-record div { grid-template-columns: 1fr; gap: .1rem; }
  .header-layout nav { gap: .9rem; }
  .contact .button { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
