:root {
  color-scheme: dark;
  --background: #191b1a;
  --surface: #222522;
  --panel: #1e211f;
  --line: #353a34;
  --text: #f2f4ed;
  --muted: #b7beb4;
  --lime: #cce98f;
  --ink: #202817;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, figure { margin: 0; }
ul, ol { margin: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.shell { width: min(100% - 96px, 1240px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 12px; z-index: 10; transform: translateY(-150%); background: var(--lime); color: var(--ink); padding: 10px; }
.skip:focus { transform: none; }

.top { position: sticky; top: 0; z-index: 5; background: #191b1af5; border-bottom: 1px solid var(--line); backdrop-filter: blur(15px); }
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand { display: inline-grid; justify-items: start; line-height: 1; white-space: nowrap; }
.brand strong { font-size: 29px; font-weight: 850; letter-spacing: -.075em; }
.brand strong span { color: var(--lime); }
.brand small { margin-top: 6px; color: var(--muted); font-size: 11px; letter-spacing: .10em; font-weight: 650; }
.top nav, .footer-inner nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
nav a { font-size: .925rem; color: var(--muted); font-weight: 550; }
nav a:hover { color: var(--lime); }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 11px 19px; border: 1px solid transparent; border-radius: 8px; font-weight: 700; font-size: .91rem; text-align: center; transition: background-color .18s, border-color .18s, color .18s; }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #dcf4ac; }
.button-outline { border-color: #4a5147; background: #1c1e1c80; color: var(--text); }
.button-outline:hover { border-color: var(--lime); color: var(--lime); }
.top .button { min-height: 42px; }

.hero { min-height: 620px; position: relative; isolation: isolate; display: grid; align-items: center; padding-block: 72px; }
.hero-visual { position: absolute; z-index: -1; top: 0; right: -25px; bottom: 0; width: 60%; background-image: linear-gradient(90deg, var(--background), transparent 25%), linear-gradient(0deg, var(--background), transparent 16%, transparent 85%, var(--background)), url('assets/hero.webp'), radial-gradient(ellipse, #384337, transparent 70%); background-position: center; background-size: cover; opacity: .95; }
.hero-content { position: relative; width: min(100%, 640px); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--lime); font-size: .875rem; font-weight: 720; line-height: 1.45; letter-spacing: .115em; }
.eyebrow span { width: 21px; height: 1px; background: var(--lime); flex: 0 0 auto; }
h1, h2, h3 { line-height: 1.08; font-weight: 760; letter-spacing: -.055em; text-wrap: balance; }
h1 { font-size: clamp(3.65rem, 5.9vw, 5.5rem); margin: 21px 0 23px; }
em { color: var(--lime); font-style: normal; }
.intro { color: var(--muted); max-width: 460px; font-size: 1.12rem; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px; }

.service-strip { border-block: 1px solid var(--line); background: var(--panel); }
.strip-inner { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding-block: 23px; gap: 14px; }
.strip-inner span { display: flex; align-items: center; justify-content: center; gap: 10px; color: #d4d9d1; font-size: .9rem; font-weight: 600; }
.strip-inner span + span { border-left: 1px solid var(--line); }
.mini-icon { font-style: normal; font-size: 1.25rem; color: var(--lime); line-height: 1; }

.section { padding-block: clamp(59px, 8vw, 112px); }
.section-head { max-width: 690px; margin-bottom: 37px; }
h2 { font-size: clamp(2.45rem, 4.65vw, 4.55rem); margin: 13px 0 17px; }
h3 { font-size: 1.57rem; letter-spacing: -.035em; }
.section-head > p:not(.eyebrow), .about p:not(.eyebrow, .role), .contact p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; max-width: 560px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.card { padding: clamp(22px, 3vw, 35px); border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(155deg, #272b25, #202320 65%); display: flex; flex-direction: column; align-items: start; }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 24px; border-radius: 9px; border: 1px solid #49563b; background: #313c29; color: var(--lime); font-size: 1.55rem; line-height: 1; }
.card p { color: var(--muted); margin-top: 11px; }
.card ul { width: 100%; padding: 17px 0 18px; margin: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.card li { display: flex; gap: 9px; margin-bottom: 4px; color: #dce0d9; font-size: .93rem; }
.card li::before { content: '✓'; color: var(--lime); }
.text-link { color: var(--lime); margin-top: auto; text-underline-offset: 5px; text-decoration: underline; font-weight: 660; }
.text-link:hover { color: var(--text); }

.panel { background: var(--panel); border-block: 1px solid var(--line); }
.demo { display: grid; grid-template-columns: minmax(235px, .77fr) minmax(0, 1.5fr); gap: 18px; }
.demo-options { display: grid; align-content: start; gap: 9px; }
.demo-options button { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; color: var(--text); padding: 16px 19px; }
.demo-options button:hover, .demo-options button[aria-pressed="true"] { border-color: #84975f; background: #2a3327; }
.demo-options strong, .demo-options small { display: block; }
.demo-options small { font-size: .88rem; color: var(--muted); }
.demo-display { background: radial-gradient(ellipse at right top, #293528, var(--surface) 75%); border: 1px solid var(--line); border-radius: 12px; padding: clamp(21px, 3vw, 37px); }
.demo-display h3 { margin-block: 12px 20px; }
.demo-display ol { padding: 0; list-style: none; display: grid; gap: 9px; }
.demo-display li { display: grid; grid-template-columns: minmax(105px, 1fr) 3fr; align-items: baseline; gap: 14px; padding: 11px 15px; background: #191e19; border: 1px solid var(--line); border-radius: 7px; }
.demo-display li strong { color: var(--lime); }
.demo-display li span { color: var(--muted); }

.method { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; gap: 18px; }
.method li { border-top: 2px solid #718650; padding: 17px 5px 0 0; }
.method strong { font-size: 1.19rem; }
.method p { margin-top: 6px; color: var(--muted); }
.about { display: grid; grid-template-columns: minmax(210px, .72fr) minmax(0, 1.35fr); align-items: center; gap: clamp(24px, 7vw, 95px); max-width: 1060px; }
.about figure { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.about img { width: 100%; height: clamp(250px, 35vw, 430px); object-fit: cover; object-position: 50% 29%; display: block; }
.role { margin: -7px 0 19px; font-weight: 650; color: var(--lime); }
.about p + p:not(.role) { margin-top: 12px; }
.faq { display: grid; grid-template-columns: .85fr 1.3fr; gap: 30px; padding-bottom: 55px; }
.faq .section-head { margin: 0; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 13px; padding: 16px 0; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--lime); font-size: 1.3rem; }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); padding-bottom: 16px; max-width: 59ch; }

.contact-section { padding-block: 20px clamp(59px, 8vw, 112px); }
.contact { display: grid; grid-template-columns: 1.4fr .85fr; align-items: center; gap: 30px; padding: clamp(25px, 5vw, 66px); border: 1px solid #44503e; border-radius: 15px; background: radial-gradient(ellipse at right bottom, #323c2e, #242924 68%); }
.contact h2 { font-size: clamp(2.35rem, 4vw, 4rem); }
.contact-actions { display: grid; gap: 10px; }
.contact-actions label { color: var(--muted); font-size: .9rem; font-weight: 630; }
.contact-actions select { width: 100%; color: var(--text); appearance: none; border: 1px solid #515a4d; border-radius: 8px; min-height: 47px; background: linear-gradient(45deg, transparent 50%, var(--lime) 50%) calc(100% - 19px) 50% / 5px 5px no-repeat, linear-gradient(135deg, var(--lime) 50%, transparent 50%) calc(100% - 14px) 50% / 5px 5px no-repeat, #1b1e1b; padding: 10px 30px 10px 13px; }
.email { text-align: center; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.email:hover { color: var(--lime); }
footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 25px; gap: 18px; }
.footer-inner p { color: var(--muted); font-size: .9rem; }

@media (max-width: 1000px) {
  .shell { width: min(100% - 56px, 1240px); }
  .hero { min-height: 570px; }
  .hero-visual { right: -15px; width: 64%; }
  .card { padding: 22px; }
  .strip-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip-inner span:nth-child(4) { border-left: 0; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .shell { width: min(100% - 36px, 1240px); }
  .top-inner { min-height: 64px; }
  .menu-toggle { display: block; color: var(--text); background: var(--surface); border: 1px solid var(--line); padding: 7px 12px; border-radius: 6px; }
  .top nav { display: none; position: absolute; inset: 100% 0 auto; padding: 15px 18px; background: var(--background); border-bottom: 1px solid var(--line); }
  .top nav.open { display: grid; gap: 14px; }
  .top nav .button { justify-self: start; }
  .hero { min-height: 0; padding-block: 45px 180px; }
  .hero-visual { top: auto; bottom: 0; right: 0; width: 100%; height: 310px; background-position: center 58%; background-image: linear-gradient(180deg, var(--background), #191b1a40 35%, transparent 65%, var(--background)), url('assets/hero.webp'), radial-gradient(ellipse, #384337, transparent 65%); opacity: .73; }
  .hero-content { width: 100%; }
  h1 { font-size: clamp(2.75rem, 10vw, 5rem); }
  .strip-inner { grid-template-columns: 1fr 1fr; padding-block: 17px; }
  .strip-inner span { justify-content: start; gap: 7px; }
  .strip-inner span + span { border: 0; }
  .card-grid, .faq, .contact { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { gap: 20px; grid-template-columns: 1fr; }
  .about figure { max-width: 340px; }
  .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 390px) {
  .demo-display li { grid-template-columns: 1fr; gap: 2px; }
  .actions { align-items: start; flex-direction: column; }
  .eyebrow { letter-spacing: .075em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
