:root{
  --bg:#f6f2ea;
  --surface:#ffffff;
  --surface-soft:#fbf8f2;
  --text:#1d1d1b;
  --muted:#6a6a63;
  --line:#e6dfd2;
  --accent:#1f4d3c;
  --accent-strong:#17372c;
  --good:#1f4d3c;
  --good-soft:#e3efe8;
  --good-ring:rgba(31,77,60,.18);
  --bad:#b3541e;
  --bad-soft:#fbe9d8;
  --bad-ring:rgba(179,84,30,.20);
  --shadow:0 24px 80px rgba(20, 24, 20, 0.12);
  --radius-xl:34px;
}

*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(184,138,77,.18), transparent 20rem),
    radial-gradient(circle at 92% 12%, rgba(31,77,60,.12), transparent 24rem),
    linear-gradient(180deg, #fff8ed 0%, var(--bg) 48%, #fffdf8 100%);
}

button, input, textarea, select{
  font:inherit;
}

.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.page{
  width:min(720px, calc(100% - 18px));
  margin:0 auto;
  padding:14px 0 34px;
}

.panel{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
}

.intro{
  padding:24px 20px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:calc(100vh - 48px);
  position:relative;
  overflow:hidden;
}

.intro::before{
  content:"";
  position:absolute;
  width:240px;
  height:240px;
  right:-110px;
  top:-100px;
  border-radius:50%;
  background:rgba(31,77,60,.06);
}

.intro::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  left:-90px;
  bottom:-80px;
  border-radius:50%;
  background:rgba(184,138,77,.10);
}

.intro > *{
  position:relative;
  z-index:1;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:max-content;
  padding:9px 13px;
  border-radius:999px;
  background:rgba(255,253,248,.88);
  border:1px solid rgba(31,77,60,.12);
  color:var(--accent);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.eyebrow::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--accent);
}

h1,
h2{
  font-family:Georgia, "Times New Roman", serif;
  font-weight:500;
  letter-spacing:-.04em;
}

h1{
  margin:20px 0 12px;
  font-size:clamp(42px, 11vw, 74px);
  line-height:.92;
}

h2{
  margin:0 0 10px;
  font-size:31px;
}

.lead{
  margin:0;
  max-width:36rem;
  color:#39413a;
  font-size:17px;
  line-height:1.6;
}

.choice-grid{
  display:grid;
  gap:18px;
  margin-top:32px;
}

.choice{
  position:relative;
  width:100%;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  border:1.5px solid var(--line);
  border-radius:24px;
  background:var(--surface);
  padding:22px 22px;
  text-align:left;
  cursor:pointer;
  min-height:96px;
  transition:transform .2s ease, box-shadow .25s ease, border-color .2s ease, background .2s ease;
}

.choice:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 50px rgba(20,24,20,.10);
}

.choice:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:3px;
}

.choice.good{
  background:linear-gradient(180deg, var(--good-soft) 0%, #f3faf6 100%);
  border-color:rgba(31,77,60,.22);
}

.choice.good:hover{
  border-color:rgba(31,77,60,.55);
  box-shadow:0 22px 50px var(--good-ring);
}

.choice.bad{
  background:linear-gradient(180deg, var(--bad-soft) 0%, #fdf3e8 100%);
  border-color:rgba(179,84,30,.22);
}

.choice.bad:hover{
  border-color:rgba(179,84,30,.55);
  box-shadow:0 22px 50px var(--bad-ring);
}

.choice-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 6px 18px rgba(20,24,20,.08);
  flex-shrink:0;
}

.choice.good .choice-icon{
  color:var(--good);
}

.choice.bad .choice-icon{
  color:var(--bad);
}

.choice-body{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.choice-body strong{
  display:block;
  font-size:clamp(20px, 5vw, 24px);
  font-family:Georgia, "Times New Roman", serif;
  font-weight:500;
  letter-spacing:-.03em;
  color:var(--text);
  line-height:1.15;
}

.choice-desc{
  display:block;
  font-size:15px;
  color:var(--muted);
  line-height:1.5;
}

.choice-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.7);
  color:var(--text);
  flex-shrink:0;
  transition:transform .2s ease, background .2s ease;
}

.choice.good .choice-arrow{
  color:var(--good);
}

.choice.bad .choice-arrow{
  color:var(--bad);
}

.choice:hover .choice-arrow{
  transform:translateX(4px);
  background:#fff;
}

.reassure{
  margin:22px 4px 0;
  font-size:13.5px;
  color:var(--muted);
  line-height:1.6;
  text-align:center;
  font-style:italic;
}

.result p,
.complaint-panel p{
  color:var(--muted);
  line-height:1.6;
}

.result,
.complaint-panel{
  display:none;
  margin-top:26px;
  padding:22px 20px;
  border-radius:26px;
  border:1px solid var(--line);
  background:rgba(255,253,248,.92);
}

.result.active,
.complaint-panel.active,
.success-note.active{
  display:block;
}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:20px;
}

.btn{
  min-height:54px;
  padding:0 22px;
  border:0;
  border-radius:999px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:700;
  transition:transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn[hidden]{ display:none }

.btn:hover{
  transform:translateY(-2px);
}

.btn.primary{
  background:var(--accent);
  color:#fff;
}

.btn.secondary{
  background:rgba(239,232,220,.92);
  color:var(--text);
}

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

.chip-grid{
  gap:10px;
  margin-top:18px;
}

.form-grid{
  margin-top:20px;
}

.chip{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 18px;
  border:1.5px solid var(--line);
  border-radius:16px;
  background:rgba(255,253,248,.86);
  cursor:pointer;
  min-height:56px;
  transition:border-color .2s ease, background .2s ease, transform .15s ease;
}

.chip:hover{
  border-color:rgba(31,77,60,.35);
  background:rgba(255,253,248,1);
}

.chip:has(input:checked){
  border-color:var(--accent);
  background:var(--good-soft);
  box-shadow:0 0 0 3px var(--good-ring);
}

.chip input{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
  pointer-events:none;
}

.chip-check{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:7px;
  border:1.5px solid var(--line);
  background:#fff;
  flex-shrink:0;
  color:#fff;
  transition:background .2s ease, border-color .2s ease;
}

.chip-check svg{
  opacity:0;
  transform:scale(.7);
  transition:opacity .15s ease, transform .15s ease;
}

.chip:has(input:checked) .chip-check{
  background:var(--accent);
  border-color:var(--accent);
}

.chip:has(input:checked) .chip-check svg{
  opacity:1;
  transform:scale(1);
}

.chip-label{
  font-size:15px;
  font-weight:500;
  color:var(--text);
  line-height:1.3;
}

.chip:has(input:checked) .chip-label{
  font-weight:600;
  color:var(--accent-strong);
}

.contact-intro{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:16px 18px;
  border-radius:14px;
  background:rgba(31,77,60,.04);
  border:1px solid rgba(31,77,60,.10);
}

.contact-intro .label{
  margin:0;
}

.contact-help{
  margin:0;
  font-size:14px;
  color:var(--muted);
  line-height:1.55;
}

.field{
  display:grid;
  gap:8px;
}

.field.full{
  grid-column:1 / -1;
}

.label{
  font-size:14px;
  font-weight:700;
}

.hint{
  font-size:13px;
  color:var(--muted);
  font-weight:400;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea{
  width:100%;
  border:1px solid var(--line);
  background:rgba(255,255,255,.96);
  color:var(--text);
  border-radius:14px;
  padding:15px 16px;
  outline:none;
}

input:focus,
textarea:focus{
  border-color:rgba(31,77,60,.45);
  box-shadow:0 0 0 4px rgba(31,77,60,.08);
}

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

.footer-note{
  margin-top:18px;
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
}

.success-note{
  display:none;
  margin-top:20px;
  padding:16px 18px;
  border-radius:16px;
  background:#f4f8f5;
  border:1px solid #dbe9e0;
  color:#264635;
}

@media (min-width: 700px){
  .page{
    width:min(760px, calc(100% - 28px));
    padding-top:24px;
  }

  .intro{
    min-height:auto;
  }

  .intro,
  .complaint-panel,
  .result{
    padding-left:30px;
    padding-right:30px;
  }
}

@media (max-width: 640px){
  .chip-grid,
  .form-grid{
    grid-template-columns:1fr;
  }

  .choice{
    padding:18px 16px;
    gap:14px;
    min-height:88px;
  }

  .choice-icon{
    width:48px;
    height:48px;
  }

  .choice-icon svg{
    width:26px;
    height:26px;
  }

  .choice-arrow{
    width:32px;
    height:32px;
  }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:.01ms !important;
    transition-duration:.01ms !important;
  }
}
