:root {
  --ink: #17201c;
  --muted: #526159;
  --line: #dfe5e1;
  --soft: #f4f6f4;
  --white: #ffffff;
  --green: #6abf35;
  --green-dark: #4f9f23;
  --dark: #27302c;
  --shadow: 0 6px 22px rgba(28, 43, 35, .045);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f7f8f7; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero { max-width: 760px; margin: 0 auto; padding: 52px 0 56px; text-align: center; }
.hero h1 { margin-left: auto; margin-right: auto; }
.eyebrow { margin: 0 0 12px; color: var(--green-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { font-weight: 600; }
h1 { margin: 0; max-width: 720px; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; }
.hero-copy { max-width: 620px; margin: 20px auto 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }

.selector-shell { overflow: hidden; margin-bottom: 48px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.selector-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 28px; }
.step-label { margin: 0 0 7px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.selector-topbar h2, .results h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.025em; }
.text-button { padding: 7px 0; border: 0; color: #8a3e34; background: transparent; font-size: 13px; font-weight: 700; }
.progress-track { height: 4px; background: #e9eeea; }
.progress-track span { display: block; width: 25%; height: 100%; background: var(--green); transition: width .3s ease; }
.question-panel { padding: 30px 28px; background: #fafbf9; }
.question-panel h3 { margin: 0; font-size: clamp(23px, 3vw, 28px); line-height: 1.3; font-weight: 650; letter-spacing: -.02em; }
.question-description { margin: 10px 0 26px; color: var(--muted); line-height: 1.6; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.option-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option-grid-three .option-card { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }
.option-card { position: relative; min-height: 102px; padding: 20px; border: 1px solid #d6ddd9; border-radius: 11px; background: white; text-align: left; transition: .2s ease; }
.option-card:hover { border-color: #93bd7b; background: #fcfefb; }
.option-card[aria-pressed="true"] { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(106,191,53,.15); }
.option-card[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 15px; right: 16px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: white; background: var(--green-dark); font-weight: 900; }
.option-card strong { display: block; padding-right: 25px; font-size: 17px; }
.option-card small { display: block; margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.selector-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 20px 32px; border-top: 1px solid var(--line); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; transition: .2s ease; }
.button:disabled { cursor: not-allowed; opacity: .45; }
.button-primary { color: white; background: var(--green-dark); }
.button-primary:not(:disabled):hover { background: #3f861d; }
.button-secondary { border-color: #cfd7d2; color: #414d47; background: white; }
.button-secondary:hover { border-color: #9da9a2; }
.button-dark { color: white; background: var(--dark); }

.results, .inquiry { scroll-margin-top: 25px; margin: 12px 0 58px; }
.results-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 25px; }
.results-header p:last-child { max-width: 720px; margin: 11px 0 0; color: var(--muted); line-height: 1.55; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product-card { display: grid; grid-template-columns: 180px 1fr; overflow: hidden; min-height: 290px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 8px 28px rgba(24, 39, 31, .06); }
.product-image { display: grid; place-items: center; padding: 18px; background: white; }
.product-photo { display: block; width: 100%; height: 190px; object-fit: contain; }
.device { position: relative; width: 104px; height: 154px; padding: 12px; border: 5px solid #1f2824; border-radius: 12px; background: linear-gradient(145deg, #444e49, #1e2723); box-shadow: 0 14px 25px rgba(23,32,28,.18); }
.device-screen { display: grid; place-items: center; width: 100%; height: 62px; overflow: hidden; border-radius: 5px; color: #dff3d2; background: linear-gradient(145deg, #293d33, #466b56); font-size: 10px; font-weight: 800; text-align: center; }
.device-face .device-screen { font-size: 26px; }
.device-sensor { position: absolute; left: 50%; bottom: 18px; width: 31px; height: 31px; border: 3px solid #65706a; border-radius: 50%; background: radial-gradient(circle, #79c24c 0 18%, #2c3531 20% 100%); transform: translateX(-50%); }
.software-symbol { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 28px; color: white; background: linear-gradient(145deg, #6abf35, #3f861d); box-shadow: 0 14px 25px rgba(52,116,24,.2); font-size: 42px; }
.software-symbol span { display: block; margin-top: -15px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.solution-symbol { display: grid; place-items: center; width: 116px; height: 116px; border-radius: 28px; color: white; background: linear-gradient(145deg,#59645f,#27302c); box-shadow: 0 14px 25px rgba(23,32,28,.18); text-align: center; }
.solution-symbol::before { content: "✓"; display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: -15px; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; font-size: 22px; }
.solution-symbol span { max-width: 85px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.solution-license { background: linear-gradient(145deg,#70c33d,#3f861d); }
.solution-kit { background: linear-gradient(145deg,#42534b,#1e2823); }
.product-info { display: flex; flex-direction: column; padding: 23px 22px; }
.product-type { margin: 0 0 8px; color: var(--green-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-info h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.product-price { margin: 10px 0 0; color: var(--ink); font-size: 23px; font-weight: 850; letter-spacing: -.02em; }
.product-price small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.product-info ul { margin: 15px 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 15px; line-height: 1.6; }
.product-info li::before { content: "✓"; margin-right: 8px; color: var(--green-dark); font-weight: 900; }
.product-info .button { width: 100%; margin-top: auto; }
.advisor-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 0 0 24px; padding: 40px 36px; border-radius: 14px; color: white; background: #30373c; }
.advisor-card h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.3; }
.advisor-card p { margin: 0; max-width: 680px; color: #e0e5e2; font-size: 16px; line-height: 1.6; }
.advisor-card > div { min-width: 0; }
.advisor-card > .button { flex-shrink: 0; }
.advisor-card .button { background: var(--green-dark); }

.inquiry { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.inquiry-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 30px 32px; border-bottom: 1px solid var(--line); }
.inquiry-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.025em; }
.inquiry-heading p:last-child { max-width: 680px; margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.inquiry-form { padding: 32px; background: #fafbf9; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry-form label { display: block; margin-bottom: 20px; color: #313d37; font-size: 15px; font-weight: 650; }
.inquiry-form input[type="text"], .inquiry-form input[type="tel"], .inquiry-form input[type="email"], .inquiry-form textarea { display: block; width: 100%; margin-top: 8px; border: 1px solid #ccd5d0; border-radius: 8px; color: var(--ink); background: white; font: inherit; font-size: 15px; font-weight: 400; outline: none; }
.inquiry-form input[type="text"], .inquiry-form input[type="tel"], .inquiry-form input[type="email"] { min-height: 48px; padding: 0 14px; }
.inquiry-form textarea { min-height: 132px; padding: 13px 14px; resize: vertical; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(106,191,53,.13); }
.inquiry-form input[readonly] { color: #526059; background: #eef2ef; }
.required-mark { color: #9c3025; }
.optional-mark { margin-left: 5px; color: var(--muted); font-size: 11px; font-weight: 600; }
.consent { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; line-height: 1.45; }
.consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--green-dark); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 3px; }
.form-actions p { margin: 0; color: var(--muted); font-size: 12px; }

.how-it-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 45px 0 72px; border-top: 1px solid var(--line); }
.how-it-works span { color: var(--green-dark); font-size: 12px; font-weight: 900; }
.how-it-works h3 { margin: 8px 0 6px; font-size: 18px; }
.how-it-works p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  main { width: min(100% - 24px, 1120px); }
  .hero { padding: 46px 4px 42px; }
  .selector-topbar, .question-panel, .selector-actions { padding-left: 20px; padding-right: 20px; }
  .selector-topbar { padding-top: 23px; }
  .question-panel { min-height: 0; padding-top: 30px; }
  .option-grid, .option-grid-three { grid-template-columns: 1fr; }
  .selector-actions { justify-content: stretch; }
  .selector-actions .button { flex: 1; }
  .results-header, .advisor-card, .inquiry-heading { align-items: stretch; flex-direction: column; }
  .advisor-card { padding: 30px 24px; gap: 24px; }
  .results-header .button, .advisor-card .button, .inquiry-heading .button { width: 100%; }
  .product-card { grid-template-columns: 120px 1fr; }
  .product-image { padding: 10px; }
  .device { width: 82px; height: 124px; }
  .product-info { padding: 20px 16px; }
  .how-it-works { grid-template-columns: 1fr; gap: 24px; padding-bottom: 45px; }
  .inquiry-heading, .inquiry-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
}
@media (max-width: 430px) {
  .product-card { grid-template-columns: 1fr; }
  .product-image { min-height: 185px; }
}
