@font-face {
  font-family: Manrope;
  src: url("manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Archivo;
  src: url("archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif-italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #152e2d;
  --dark: #11282a;
  --forest: #21443c;
  --green: #1d6551;
  --mint: #d5f59d;
  --paper: #fbfaf5;
  --canvas: #f0f4ea;
  --white: #fffdf8;
  --muted: #465952;
  --border: #cfd8cd;
  --heading: Archivo, Manrope, system-ui, sans-serif;
  --body: Manrope, 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.6 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
body, button, input, select, textarea { font-family: var(--body); }
button, input, select, textarea { font-size: 1rem; }
a { color: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--heading); }
:focus-visible { outline: 3px solid #127f68; outline-offset: 4px; }
.hero :focus-visible, .demo-section :focus-visible, .close-banner :focus-visible, .masthead :focus-visible { outline-color: var(--mint); }
section[id] { scroll-margin-top: 1.5rem; }

.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip { position: fixed; z-index: 4; left: 1rem; top: 1rem; padding: .65rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip:focus-visible { transform: translateY(0); }
.preview-note { padding: .36rem 1rem; background: #e7f4cd; color: #263f28; text-align: center; font-size: .875rem; font-weight: 800; }
.masthead { background: var(--dark); color: var(--white); border-bottom: 1px solid #ffffff28; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.25rem; align-items: center; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: baseline; gap: .65rem; width: fit-content; text-decoration: none; white-space: nowrap; }
.brand-name { font: 800 1.3rem/1.3 var(--heading); letter-spacing: -.035em; }
.brand-place { border-left: 1px solid #ffffff44; padding-left: .65rem; color: #c7d6ce; font-size: .875rem; }
.header-end { justify-self: end; }
.navigation { display: flex; gap: clamp(.85rem, 2.5vw, 2rem); align-items: center; }
.navigation a, .language { font-size: .9rem; font-weight: 750; text-decoration: none; }
.navigation a:hover, .language:hover { text-decoration: underline; text-underline-offset: .25em; }
.language { display: inline-block; border: 1px solid currentColor; border-radius: 3rem; padding: .25rem .8rem; }

.hero { background: var(--dark); color: var(--white); padding-block: clamp(2.7rem, 6.2vw, 5.7rem); }
.hero h1 {
  font-size: clamp(3.1rem, 5.15vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 850;
}
.hero h1 em {
  display: block;
  font: italic 400 1.08em/1 "Instrument Serif", Georgia, serif;
  letter-spacing: -.045em;
  color: var(--mint);
  margin-top: .03em;
}
.hero-copy > p { color: #d3e0d8; max-width: 37ch; font-size: clamp(1rem, 1.75vw, 1.23rem); margin-top: 1.55rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

.button {
  display: inline-flex;
  min-height: 2.95rem;
  justify-content: center;
  align-items: center;
  padding: .61rem 1.03rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  background: transparent;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.button.primary { background: var(--mint); color: #16301e; border-color: var(--mint); }
.button.primary:hover { background: #e8ffc8; border-color: #e8ffc8; }
.button.outline { border-color: #b5c8bd; color: var(--white); }
.button.outline:hover { background: #ffffff12; border-color: var(--white); }
.button.line { border-color: #48776a; color: #194d3f; }
.button.line:hover { background: #e4efdf; }
button:disabled { cursor: not-allowed; }

.industries { background: var(--canvas); border-bottom: 1px solid var(--border); }
.industries ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem clamp(1.2rem, 4vw, 3rem); padding: 1rem 0; }
.industries li { color: #37594b; font-weight: 800; font-size: .9rem; }

.section { padding-block: clamp(3.25rem, 7vw, 6.25rem); }
.section-heading { max-width: 44rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.label { color: var(--green); font-weight: 800; font-size: .88rem; }
h2 { font-size: clamp(2.3rem, 4.3vw, 4rem); font-weight: 830; line-height: 1.02; letter-spacing: -.06em; }
.section-heading h2, .demo-copy h2 { margin-top: .5rem; }
.section-heading > p:last-child:not(.label) { color: var(--muted); margin-top: 1rem; }
.group-title { font-size: 1.23rem; line-height: 1.2; margin-bottom: 1rem; }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.package {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: clamp(1.05rem, 2.2vw, 1.6rem);
  border: 1px solid var(--border);
  border-radius: .55rem;
  background: var(--white);
}
.package.highlighted { border-color: #709a79; background: #edf5e5; }
.package h4, .monthly-plan h4 { font-size: 1.24rem; line-height: 1.24; letter-spacing: -.025em; }
.package .price { margin-block: .15rem .2rem; }
.price strong { font: 850 clamp(2rem, 4vw, 2.9rem)/1 var(--heading); letter-spacing: -.06em; color: #1f604c; white-space: nowrap; }
.price span { color: var(--muted); font-size: .84rem; font-weight: 800; white-space: nowrap; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .32rem .5rem; }
.package-intro { font-weight: 800; }
.package ul { padding-left: 1.15rem; margin: 0 0 .8rem; color: var(--muted); }
.package li + li { margin-top: .55rem; }
.package button { align-self: start; margin-top: auto; }
.monthly { margin-top: 2.7rem; }
.monthly-rows { border-top: 1px solid var(--border); margin-bottom: 1rem; }
.monthly-plan {
  display: grid;
  grid-template-columns: minmax(11rem, .75fr) minmax(0, 1.7fr) minmax(9.5rem, auto);
  align-items: start;
  gap: .9rem 1.45rem;
  padding: 1.25rem .1rem;
  border-bottom: 1px solid var(--border);
}
.monthly-plan .price { justify-self: end; }
.monthly-plan .price strong { font-size: 2.15rem; }
.plan-detail, .pricing-support { color: var(--muted); }
.addons { margin-top: 2.1rem; border-block: 1px solid var(--border); }
.addons summary {
  cursor: pointer;
  padding: .9rem 2.5rem .9rem 0;
  list-style: none;
  font-weight: 800;
  position: relative;
}
.addons summary::-webkit-details-marker { display: none; }
.addons summary::after { content: "+"; position: absolute; right: .4rem; top: .75rem; font-size: 1.2rem; color: var(--green); }
.addons[open] summary::after { content: "−"; }
.addons dl { margin: 0 0 1rem; color: var(--muted); }
.addons dl > div { display: flex; justify-content: space-between; gap: .9rem; padding: .4rem 0; }
.addons dd { margin: 0; font-weight: 800; text-align: right; }
.pricing-support { margin-top: 1rem; font-size: .9rem; }

.demo-section { background: var(--forest); color: var(--white); }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.demo-copy .label { color: var(--mint); }
.demo-copy > p:not(.label) { color: #e2ebe2; margin-top: 1rem; max-width: 48ch; }
.demo-copy .button { margin-top: 1.35rem; }
.demo-copy .sample-note { font-size: .9rem; }
.demo-photo img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: .5rem; }
.demo-photo figcaption { color: #e2ebe2; font-size: .78rem; margin-top: .5rem; }
.process { padding-bottom: clamp(3.2rem, 6vw, 5rem); }
.steps {
  margin: 0;
  padding-left: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem 2.9rem;
  counter-reset: step;
}
.steps li { padding-left: .23rem; }
.steps li::marker { color: var(--green); font-weight: 900; }
.steps h3 { font-size: 1.24rem; margin-bottom: .45rem; }
.steps p { color: var(--muted); }
.close-banner { background: var(--dark); color: var(--white); padding-block: clamp(2rem, 4.7vw, 3.6rem); }
.close-layout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; }
.close-layout h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.close-layout p { color: #d3dfd7; margin-top: .5rem; }
.footer { background: var(--canvas); color: #2f493e; }
.footer-main {
  display: grid;
  grid-template-columns: .75fr 1.5fr auto;
  gap: 1.5rem;
  align-items: start;
  padding-block: 2.25rem 1.5rem;
}
.footer-main h2 { font-size: 1rem; line-height: 1.5; letter-spacing: 0; }
.footer-main p:not(.brand-name) { font-size: .92rem; margin-top: .35rem; }
.credits { font-size: .78rem; padding-block: .9rem 1.25rem; border-top: 1px solid var(--border); }
.credits a { text-underline-offset: .2em; }
.credits a + a, .credits span { margin-inline-start: .4rem; }

dialog {
  width: min(100% - 1.5rem, 39rem);
  max-height: calc(100% - 1.5rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: .7rem;
  color: var(--ink);
  background: var(--white);
  overflow: auto;
  box-shadow: 0 20px 100px #07151570;
}
dialog::backdrop { background: #10282bd9; }
.dialog-inner { position: relative; padding: clamp(1.1rem, 3vw, 2rem); }
.dialog-close {
  position: absolute;
  top: .6rem;
  right: .6rem;
  border: 1px solid var(--border);
  border-radius: .4rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}
.dialog-close:hover { background: var(--canvas); }
.dialog-inner h2 { font-size: clamp(1.85rem, 4.6vw, 2.65rem); padding-right: 2.4rem; }
#diagnostic-intro { margin-top: .65rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-block: 1rem; }
.form-grid label { display: block; font-size: .9rem; font-weight: 800; }
.form-grid small { font-weight: 500; color: var(--muted); }
.form-grid input, .form-grid select, .form-grid textarea {
  display: block;
  width: 100%;
  min-height: 2.65rem;
  margin-top: .28rem;
  padding: .52rem .65rem;
  color: var(--ink);
  border: 1px solid #859a8c;
  border-radius: .35rem;
  background: #fff;
}
.form-grid select { padding-right: 1.65rem; }
.form-grid textarea { resize: vertical; }
.form-grid .wide { grid-column: 1 / -1; }
.agree { display: flex; align-items: flex-start; gap: .45rem; margin-block: .6rem 1rem; font-weight: 750; }
.agree input { accent-color: var(--green); width: 1.15rem; height: 1.15rem; margin-top: .22rem; flex: none; }
#diagnostic-confirmation h3 { font-size: 1.35rem; margin: 1rem 0 .65rem; }
#diagnostic-confirmation p { overflow-wrap: anywhere; }
.confirmation-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.1rem; }

@media (max-width: 900px) {
  .hero h1 { font-size: clamp(2.9rem, 6vw, 3.6rem); }
  .package-grid { gap: .7rem; }
  .package { padding: 1rem; }
  .monthly-plan { grid-template-columns: minmax(8.5rem, .8fr) minmax(0, 1.6fr) minmax(7.2rem, auto); }
}

@media (max-width: 670px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: 1fr auto; gap: .5rem 1rem; padding-block: .6rem; }
  .navigation { grid-row: 2; grid-column: 1 / -1; gap: 1.2rem; min-height: 1.8rem; flex-wrap: wrap; }
  .hero { padding-block: 2.5rem 1.9rem; }
  .package-grid, .demo-layout, .steps, .footer-main { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3rem, 9.2vw, 4.15rem); max-width: 13ch; }
  .industries ul { padding-block: .7rem; column-gap: 1rem; }
  .industries li { font-size: .81rem; }
  .monthly-plan { grid-template-columns: minmax(0, 1fr) auto; }
  .monthly-plan .plan-detail { grid-row: 2; grid-column: 1 / -1; }
  .monthly-plan .price { grid-column: 2; grid-row: 1; }
  .monthly-plan .price strong { font-size: 1.7rem; }
  .steps { gap: 1.35rem; }
  .footer-main .language { justify-self: start; }
}

@media (max-width: 420px) {
  .brand-place { padding-left: .45rem; }
  .brand { gap: .45rem; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
