:root {
  color-scheme: light;
  --ink: #17232d;
  --muted: #58616a;
  --paper: #f6f3ec;
  --white: #fffefa;
  --night: #111a22;
  --dark: #0d151c;
  --light: #f7f4ed;
  --soft: #aeb9c1;
  --orange: #ff8a43;
  --line: #ddd8cd;
  --pad: clamp(1.25rem, 5.2vw, 5.25rem);
  --display: "Aptos Display", "Inter", system-ui, sans-serif;
  --text: "Inter", "Aptos", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--text); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .12em; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #d45813; outline-offset: 4px; }
[id] { scroll-margin-top: 6.5rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
h1, h2 { font-weight: 680; letter-spacing: -.064em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.55vw, 5.1rem); }
h2 { font-size: clamp(2.25rem, 4.65vw, 4.15rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.2; letter-spacing: -.027em; }
p { text-wrap: pretty; }
.container { width: min(calc(100% - 2 * var(--pad)), 1220px); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 10vw, 9.5rem); }
.section p { max-width: 67ch; }
.section-head { max-width: 52rem; margin-block-end: clamp(2rem, 5vw, 4rem); }
.section-head > p:last-child { color: var(--muted); margin-top: 1rem; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.eyebrow, .kicker {
  display: flex; align-items: center; gap: .6rem; margin-bottom: 1.15rem;
  text-transform: uppercase; font-size: .72rem; font-weight: 750; letter-spacing: .16em; line-height: 1.4;
}
.eyebrow::before, .kicker::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; flex-shrink: 0; }
.skip-link { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header {
  position: relative; z-index: 5; color: var(--light); background: var(--dark);
  border-bottom: 1px solid #ffffff20;
}
.header-inner, .site-header > .container { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; gap: .3rem; }
.site-brand img { width: 120px; border-radius: .25rem; }
.site-brand img:first-child:not(:only-child) { width: 46px; }
#site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.8rem, 2.2vw, 2rem); }
#site-nav a { text-decoration: none; font-size: .9rem; color: #e0e6e9; font-weight: 600; }
#site-nav a:hover { color: var(--orange); }
#site-nav .button { min-height: 2.7rem; padding-block: .45rem; color: var(--light); }
[data-nav-toggle] { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.1rem;
  padding: .74rem 1.25rem; border: 1px solid transparent; border-radius: .38rem;
  font-size: .9rem; font-weight: 750; text-align: center; line-height: 1.25; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.button-primary { background: var(--orange); color: #1d150f; }
.button-primary:hover { background: #ffab77; }
.button-secondary { border-color: currentColor; background: transparent; }
.button-secondary:hover { background: #ffffff13; }
.hero { color: var(--light); background: var(--dark); padding-block: clamp(3.2rem, 6vw, 6.25rem); }
.hero > .container {
  display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center; column-gap: clamp(2rem, 5.5vw, 6rem);
}
.hero .hero-copy .eyebrow, .hero .hero-copy .kicker { color: var(--orange); }
.hero h1 { max-width: 15ch; }
.hero h1 em, .hero h1 strong { display: block; color: #ff995e; font-style: normal; font-weight: inherit; }
.hero-copy > p:not(.eyebrow):not(.kicker) { max-width: 47ch; margin-top: 1.4rem; color: #c2cbd1; font-size: clamp(1rem, 1.65vw, 1.18rem); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-media {
  min-width: 0; position: relative; align-self: stretch; min-height: 30rem;
  display: grid; overflow: hidden; border: 1px solid #ffffff22; border-radius: .65rem;
  background: #242b30 url("./official-texture.webp") center / cover;
}
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 52% 48%; }
.steps { background: var(--paper); }
.step-grid, .use-case-grid, .benefit-grid {
  display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step-card {
  min-width: 0; display: grid; align-content: start; gap: .75rem; padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--white); border: 1px solid var(--line); border-radius: .45rem;
}
.step-card p, .use-case-card p, .benefit-grid p { color: var(--muted); }
.applications { background: var(--white); border-block: 1px solid var(--line); }
.use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.use-case-card { padding: clamp(1.3rem, 3vw, 2rem) clamp(.85rem, 2vw, 1.5rem) clamp(1.3rem, 3vw, 2rem) 0; border-bottom: 1px solid var(--line); }
.use-case-card:nth-child(even) { border-left: 1px solid var(--line); padding-left: clamp(1rem, 3.5vw, 2.75rem); }
.use-case-card p { margin-top: .6rem; }
.benefits { background: var(--paper); }
.benefit-grid > * { border-top: 2px solid #cd6a31; padding-block: 1.25rem; }
.benefit-grid p { margin-top: .55rem; }
.calculator, .contact { color: var(--light); background: var(--night); }
.calculator .eyebrow, .contact .eyebrow, .calculator .kicker, .contact .kicker { color: var(--orange); }
.calculator p, .contact p, .calculator .section-head > p:last-child { color: #c0cad1; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: clamp(1rem, 3.5vw, 3rem); }
#opportunity-calculator, .calculator-results {
  min-width: 0; border-radius: .65rem; background: #192630; border: 1px solid #40505c;
  padding: clamp(1.25rem, 4vw, 2.75rem);
}
#opportunity-calculator h3, .calculator-results h3 { margin-bottom: 1.1rem; }
.calc-field { display: grid; gap: .3rem; min-width: 0; }
.calc-field + .calc-field { margin-top: .9rem; }
.calc-field label, #opportunity-calculator label { font-weight: 650; }
.calc-field small, #opportunity-calculator small { color: #b8c3cc; }
#opportunity-calculator input[type="number"] {
  color: var(--light); background: #0d161e; border: 1px solid #617180; border-radius: .35rem;
  width: 100%; min-width: 0; min-height: 2.7rem; padding: .35rem .65rem;
}
.calculator-results { background: #202e38; }
.calculator-results dl { margin: 0; }
.calculator-results dt { color: #c8d2d9; font-size: .8rem; }
.calculator-results dd { margin: .12rem 0 .8rem; font-size: clamp(1.55rem, 3.5vw, 2.55rem); font-weight: 720; color: #ffab77; line-height: 1.15; letter-spacing: -.04em; overflow-wrap: anywhere; }
.calculator-results > p { font-size: .84rem; margin-top: 1rem; }
.faq { background: var(--white); }
.faq-list { max-width: 54rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.2rem; padding: 1.1rem 0; font-weight: 700; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #a74918; font-size: 1.3rem; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 1.25rem; }
.contact {
  background-color: var(--dark);
  background-image: linear-gradient(100deg, #0f1921 28%, #0f1921ba), url("./official-texture.webp");
  background-size: cover; background-position: center;
}
.contact h2 { max-width: 14ch; }
.contact p:not(.eyebrow):not(.kicker) { margin-top: 1.1rem; }
.site-footer { color: #c9d0d5; background: #0b1218; border-top: 1px solid #ffffff23; padding-block: 2.1rem; font-size: .86rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 1.15rem 2rem; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1.3rem; }
@media (max-width: 920px) {
  .header-inner, .site-header > .container { flex-wrap: wrap; }
  .step-grid, .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .hero > .container, .calculator-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero h1 { max-width: 16ch; }
  .hero-media { min-height: clamp(19rem, 80vw, 29rem); }
  .site-header > .container, .header-inner { min-height: auto; padding-block: .8rem; gap: .8rem; }
  #site-nav { width: 100%; padding-bottom: .3rem; }
  .nav-enhanced [data-nav-toggle] {
    display: inline-flex; align-items: center; justify-content: center; min-height: 2.65rem; border: 1px solid #ffffff40;
    color: var(--light); background: transparent; border-radius: .3rem; padding: .35rem .75rem;
  }
  .nav-enhanced #site-nav:not(.is-open) { display: none; }
}
@media (max-width: 490px) {
  .step-grid, .use-case-grid, .benefit-grid { grid-template-columns: 1fr; }
  .use-case-card:nth-child(even) { border-left: 0; padding-left: 0; }
  .hero-actions > .button, .contact-actions > .button { flex: 1 0 100%; }
  #site-nav { gap: .8rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

.step-grid { margin: 0; padding: 0; list-style: none; counter-reset: stage; }
.step-card { counter-increment: stage; }
.step-card::before {
  content: counter(stage, decimal-leading-zero);
  color: #884b29; font-size: .8rem; font-weight: 750; letter-spacing: .1em;
}
.calculator-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.calc-result-revenue { grid-column: 1 / -1; border-top: 1px solid #ffffff25; padding-top: 1rem; }
.calc-result-revenue dd { margin-bottom: 0; }
.calc-note, .calculator-summary noscript { display: block; padding-top: .85rem; font-size: .82rem; }
.calc-error { margin-top: .75rem; color: #ffc5a3 !important; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 0 3rem; }
.contact-copy, .contact-inner .contact-actions { grid-column: 1; }
.contact-mark { grid-column: 2; grid-row: 1 / 3; width: min(100%, 250px); justify-self: end; border-radius: .65rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 650; }
.footer-brand img { border-radius: .3rem; }
@media (max-width: 740px) {
  .faq-layout, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .contact-mark { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 2rem; width: 130px; }
}
.privacy-heading { margin-top: 2rem; }
.privacy-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .5rem; }
.privacy-copy p + h2 { margin-top: 2rem; }
