:root {
  --bg: #f7f8f5;
  --paper: #ffffff;
  --ink: #15201f;
  --muted: #5d6865;
  --line: #dfe5df;
  --teal: #0f3d3e;
  --green: #2f6f4e;
  --amber: #c1842e;
  --blue: #2d5f8b;
  --soft-green: #e8f2eb;
  --soft-amber: #f8eedf;
  --shadow: 0 20px 70px rgba(21, 32, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 245, 0.92);
  border-bottom: 1px solid rgba(223, 229, 223, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid transparent;
}

.header-cta,
.button-secondary {
  color: var(--teal);
  border-color: rgba(15, 61, 62, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

.button-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(15, 61, 62, 0.18);
}

.button.full {
  width: 100%;
}

.hero {
  min-height: calc(88vh - 72px);
  display: flex;
  align-items: center;
  padding: 64px 0 72px;
  background:
    linear-gradient(115deg, rgba(232, 242, 235, 0.95), rgba(247, 248, 245, 0.9) 48%, rgba(248, 238, 223, 0.85)),
    radial-gradient(circle at 82% 18%, rgba(45, 95, 139, 0.16), transparent 34%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  align-items: center;
  gap: 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
  font-weight: 760;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: 19px;
}

.hero-offer {
  display: grid;
  gap: 4px;
  max-width: 650px;
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(47, 111, 78, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-offer strong {
  font-size: 20px;
}

.hero-offer span {
  color: var(--muted);
}

.hero-actions,
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-facts {
  margin-top: 26px;
}

.hero-facts span {
  padding: 8px 12px;
  border: 1px solid rgba(15, 61, 62, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: #33423f;
  font-size: 14px;
  font-weight: 650;
}

.product-visual {
  overflow: hidden;
  border: 1px solid rgba(15, 61, 62, 0.16);
  border-radius: 8px;
  background: #fdfefd;
  box-shadow: var(--shadow);
}

.visual-topbar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.visual-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--line);
}

.visual-topbar strong {
  margin-left: auto;
  color: var(--teal);
  font-size: 14px;
}

.visual-shell {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 410px;
}

.visual-shell aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 14px;
  background: #eef4ef;
  border-right: 1px solid var(--line);
}

.visual-shell aside small {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
}

.visual-main {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
}

.visual-notice,
.visual-chat,
.visual-row > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.visual-notice {
  border-left: 4px solid var(--amber);
}

.visual-notice span,
.visual-chat span,
.visual-row small {
  display: block;
  color: var(--muted);
}

.visual-chat p {
  margin-bottom: 0;
}

.visual-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.lead-block,
.section-head p,
.calculator-copy p,
.cta-panel p,
.security p,
.deploy-grid p,
.feature-grid p,
.solution-grid p,
.roadmap-grid p,
.faq-list p {
  color: var(--muted);
}

.lead-block p,
.section-head p {
  font-size: 18px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--green);
}

.muted-list li::before {
  background: var(--amber);
}

.section-head {
  max-width: 850px;
  margin-bottom: 36px;
}

.section-head.compact {
  text-align: center;
}

.section-head.compact p {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.solution,
.deploy,
.faq {
  background: var(--paper);
}

.solution-grid,
.feature-grid,
.deploy-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.solution-grid article,
.feature-grid article,
.deploy-grid article,
.roadmap-grid article,
.security-panel,
.calculator,
.faq-list details,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.solution-grid article,
.feature-grid article,
.deploy-grid article,
.roadmap-grid article {
  padding: 24px;
}

.num,
.roadmap-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--amber);
  font-weight: 800;
}

.base {
  background: #f2f5f0;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-screens {
  background: var(--paper);
}

.screens-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  max-width: 1120px;
}

.screens-layout figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(21, 32, 31, 0.12);
}

.screens-layout img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: top left;
  background: #111b25;
}

.screens-layout figcaption {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 16px 18px;
  background: #fff;
}

.screens-layout figcaption span {
  color: var(--muted);
  font-size: 15px;
}

.screen-stack {
  display: contents;
}

.security-panel {
  padding: 28px;
  box-shadow: var(--shadow);
}

.deploy-grid article:nth-child(2) {
  background: var(--soft-amber);
}

.calculator-section {
  background: linear-gradient(180deg, #eef4ef, #f7f8f5);
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(680px, 1.18fr);
  gap: 34px;
  align-items: start;
}

.note {
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  background: rgba(248, 238, 223, 0.72);
  border-radius: 0 8px 8px 0;
}

.calculator {
  padding: 26px;
  box-shadow: var(--shadow);
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
  gap: 22px;
  align-items: start;
}

.quote-config {
  display: grid;
  gap: 14px;
}

.field-group {
  margin-bottom: 0;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #2f3b39;
  font-weight: 720;
}

select,
input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfd8d2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.calc-result {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
}

.calc-summary {
  margin: 0 0 4px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--soft-green);
  color: #22302d;
  font-weight: 780;
}

.calc-result div {
  display: grid;
  grid-template-columns: minmax(92px, 0.5fr) minmax(0, 1.5fr);
  gap: 14px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #f7f8f5;
}

.calc-result span {
  color: var(--muted);
}

.calc-result strong {
  text-align: right;
  overflow-wrap: normal;
  white-space: nowrap;
}

.calc-disclaimer {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.roadmap {
  background: #17211f;
  color: #fff;
}

.roadmap .section-head {
  max-width: 880px;
}

.roadmap h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.roadmap .section-head p,
.roadmap-grid p {
  color: #c8d2cf;
}

.roadmap .roadmap-grid {
  width: min(960px, calc(100% - 40px));
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roadmap-grid article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 760;
}

.faq-list p {
  margin: 12px 0 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  background: var(--soft-green);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: center;
  padding: 46px;
}

.cta-panel h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.cta-panel p {
  max-width: 720px;
  margin-bottom: 0;
}

.form-row {
  display: grid;
  gap: 8px;
}

.quote-form label {
  margin: 0;
  color: #24312f;
  font-size: 14px;
  font-weight: 760;
}

.quote-form input,
.quote-form textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c8d4cd;
  border-radius: 8px;
  background: #fdfefd;
  box-shadow: inset 0 1px 0 rgba(21, 32, 31, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: rgba(15, 61, 62, 0.58);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 61, 62, 0.1);
}

.quote-form textarea {
  min-height: 96px;
}

.quote-contact {
  display: grid;
  gap: 12px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.quote-contact h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.form-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.form-message.success {
  background: #e2f3e8;
  color: #22523a;
}

.form-message.error {
  background: #f9e8df;
  color: #7a2f18;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
  padding: 16px;
  border: 1px solid rgba(15, 61, 62, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-notice .button {
  min-height: 38px;
  padding: 9px 14px;
  white-space: nowrap;
}

.site-footer {
  padding: 34px 0;
  background: #111816;
  color: #d9e1de;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  margin-bottom: 10px;
}

.site-footer p {
  margin-bottom: 0;
  color: #aebbb7;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: #c8d2cf;
}

:focus-visible {
  outline: 3px solid rgba(193, 132, 46, 0.48);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .calculator-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .header-nav {
    display: none;
  }

  .hero-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .solution-grid,
  .feature-grid,
  .deploy-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screens-layout {
    grid-template-columns: 1fr;
  }

  .quote-form-grid {
    grid-template-columns: 1fr;
  }

  .quote-contact {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 62px 0;
  }

  .header-inner {
    min-height: 64px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 46px 0 56px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-visual {
    font-size: 14px;
  }

  .visual-shell {
    grid-template-columns: 1fr;
  }

  .visual-shell aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .visual-row,
  .solution-grid,
  .feature-grid,
  .deploy-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .calc-result div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .calc-result strong {
    text-align: left;
    white-space: normal;
  }

  .cta-panel,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .calculator {
    padding: 20px;
  }

  .footer-links {
    flex-direction: column;
  }

  .cookie-notice {
    left: 14px;
    right: 14px;
    bottom: 14px;
    flex-direction: column;
    align-items: stretch;
  }
}
