:root {
  color-scheme: light;
  --navy: #082d61;
  --ink: #0a2540;
  --teal: #00a896;
  --teal-text: #007b70;
  --muted: #4a5568;
  --line: #e2e8f0;
  --soft: #f4f7f9;
  --mono: ui-monospace, Consolas, monospace;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; line-height: 1.6; }
a { color: inherit; }
button, select, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid var(--teal-text); outline-offset: 4px; }
.frame { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.header, .footer { display: flex; align-items: center; gap: 1.4rem; }
.header { justify-content: space-between; min-height: 102px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 80px; width: auto; object-fit: contain; }
.top-link { color: var(--navy); font-size: .95rem; font-weight: 600; text-decoration: none; }
.top-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.top-link span { color: var(--teal-text); margin-left: 5px; }
.hero { background: radial-gradient(ellipse at 88% 12%, #edf7f8 0, transparent 56%), #fff; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3.5rem, 6vw, 5rem); }
.hero-grid, .feedback-grid { display: grid; grid-template-columns: 1.07fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.eyebrow { margin: 0 0 .85rem; font-size: .78rem; font-weight: 750; letter-spacing: .14em; color: var(--teal-text); }
h1, h2, p { margin-top: 0; }
h1 { color: var(--navy); font-size: clamp(2.65rem, 5vw, 4.65rem); line-height: 1.08; letter-spacing: -.055em; margin-bottom: 1.35rem; }
h1 em { font-style: normal; color: var(--teal-text); }
.intro { color: var(--muted); max-width: 34rem; font-size: clamp(1rem, 2vw, 1.2rem); margin-bottom: 1.8rem; }
.button { display: inline-flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 50px; border: 0; border-radius: 4px; padding: .76rem 1.35rem; text-decoration: none; font-weight: 650; }
.primary { background: linear-gradient(135deg, var(--navy), #007d73); color: #fff; transition: opacity .2s, transform .2s; }
.primary:hover { opacity: .9; transform: translateY(-1px); }
.demo, form { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px #0a254010; padding: clamp(1rem, 3vw, 1.65rem); }
.demo-heading { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.05rem; }
.demo-heading h2 { color: var(--navy); font-size: 1rem; margin: 0; }
.signal { border-radius: 50%; background: var(--teal); width: 8px; height: 8px; }
.sample { margin-left: auto; color: var(--muted); font: 600 .69rem var(--mono); letter-spacing: .07em; }
.switch, .interest { border: 0; margin: 0; padding: 0; min-width: 0; }
.switch { display: flex; gap: 5px; background: var(--soft); border-radius: 5px; padding: 4px; margin-bottom: 1rem; }
.switch label { flex: 1; position: relative; }
.switch input, .sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.switch span { display: block; text-align: center; border-radius: 4px; padding: .43rem .2rem; font-size: .83rem; cursor: pointer; color: var(--muted); }
.switch input:checked + span { background: var(--navy); color: #fff; }
.switch input:focus-visible + span { outline: 2px solid var(--teal-text); outline-offset: 2px; }
.log { background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: .65rem .75rem; font: 500 clamp(.67rem, 1.1vw, .86rem)/1.6 var(--mono); }
.log div { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; padding: .33rem .15rem; border-radius: 3px; }
.log time { color: var(--muted); }
.log strong { color: var(--teal-text); }
.log .altered { background: #fde8e7; }
.log .altered strong, .result[data-mismatch="true"], .form-message[data-error="true"] { color: #a42b21; }
.result { margin: .9rem 0 .35rem; color: var(--teal-text); font-weight: 700; font-size: .88rem; }
.demo-note { color: var(--muted); font-size: .8rem; margin: 0; }
.feedback { background: var(--soft); border-top: 1px solid var(--line); padding: clamp(3.3rem, 7vw, 6rem) 0; scroll-margin: 1.5rem; }
.feedback-grid { align-items: start; }
.feedback h2 { color: var(--navy); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 1rem; }
.feedback-grid > div > p:last-child { color: var(--muted); max-width: 33rem; }
form > label, legend { display: block; font-size: .95rem; font-weight: 700; margin-bottom: .55rem; }
select { width: 100%; min-height: 44px; border: 1px solid #8d9eae; background: #fff; border-radius: 4px; padding: .5rem; color: var(--ink); margin-bottom: 1.2rem; }
.interest { margin-bottom: 1.15rem; }
.interest label { display: flex; align-items: baseline; gap: .55rem; margin-bottom: .4rem; font-size: .94rem; }
.interest input { accent-color: var(--teal-text); }
.form-message { margin: .5rem 0; color: var(--teal-text); }
.contact-link { display: inline-block; margin-top: .4rem; color: var(--navy); font-weight: 650; text-underline-offset: 4px; }
footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.footer { min-height: 68px; flex-wrap: wrap; gap: .5rem 1.15rem; }
.footer a { text-underline-offset: 3px; }
@media (max-width: 770px) {
  .hero-grid, .feedback-grid { grid-template-columns: 1fr; }
  .frame { width: min(calc(100% - 32px), 580px); }
  .header { min-height: 78px; }
  .brand img { height: 63px; }
  .demo { max-width: 540px; }
}
@media (max-width: 380px) {
  .sample { font-size: .59rem; }
  .button { font-size: .85rem; }
  .log div { gap: .4rem; }
  .header { gap: .6rem; }
  .top-link { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .primary { transition: none; }
  .primary:hover { transform: none; }
}
