:root{
  --bg:#f5f5f7;
  --card:#ffffff;
  --text:#171717;
  --muted:#6b7280;
  --line:#e5e7eb;
  --accent:#111827;
  --soft:#f0f1f3;
  --success:#166534;
  --radius:22px;
}

*{box-sizing:border-box}

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

.container{
  width:min(100% - 40px, 1040px);
  margin:32px auto 64px;
}

.hero{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:30px;
  padding:20px;
  margin-bottom:24px;
}

.hero-copy{
  max-width:720px;
  margin:0 auto;
  text-align:center;
}

.eyebrow{
  display:inline-flex;
  padding:7px 11px;
  background:#edf4ff;
  border:1px solid #d7e6ff;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#1e3a8a;
}

h1{
  margin:16px 0 12px;
  font-size:clamp(42px,4.2vw,52px);
  line-height:1.08;
  letter-spacing:-.04em;
}

.hero-subtitle{
  margin:0 auto;
  color:var(--muted);
  font-size:17px;
  line-height:1.7;
  max-width:700px;
}

.hero-media{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:start;
  margin-top:34px;
  margin-bottom:12px;
}

.hero-media-stack{
  max-width:100%;
}

.hero-media-poster-only{
  gap:0;
}

.video-slot,
.poster-slot{
  border:1px solid #e1e7ef;
  border-radius:18px;
  background:#fcfcfd;
  overflow:hidden;
  display:block;
}

.media-placeholder{
  text-align:center;
  color:var(--muted);
  padding:28px 22px;
}

.media-placeholder span{
  display:block;
  font-size:34px;
  margin-bottom:8px;
}

.media-placeholder small{
  display:block;
  font-size:14px;
}

.hero-video video,
.hero-poster img{
  width:100%;
  height:auto;
  display:block;
}

.hero-poster img{
  object-fit:contain;
  border:1px solid #e1e7ef;
  border-radius:18px;
  background:#fff;
  max-height:740px;
}

.hero-poster{
  border-color:transparent;
  background:transparent;
}

.hero-media-poster-only .poster-slot{
  border:0;
  background:transparent;
  border-radius:0;
}

.hero-media-poster-only .hero-poster img,
.hero-poster.poster-slot-full img{
  width:100%;
  max-height:none;
}

.hero-video video{
  border-radius:18px;
  background:#000;
}

.interactive-video{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:#000;
}

.interactive-video::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.26), rgba(0,0,0,.08) 40%, rgba(0,0,0,.12));
  opacity:.55;
  pointer-events:none;
  transition:opacity .2s ease;
}

.interactive-video[data-video-state="playing-with-audio"]::after{
  opacity:0;
}

.interactive-video video{
  width:100%;
  height:auto;
  display:block;
  max-width:100%;
}

.video-action{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  z-index:2;
  min-height:48px;
  max-width:min(86%, 320px);
  padding:12px 18px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(15,23,42,.66);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight:700;
  font-size:14px;
  line-height:1.25;
  text-align:center;
  cursor:pointer;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  transition:background .18s ease, opacity .18s ease, transform .18s ease;
}

.video-action:hover{
  background:rgba(15,23,42,.78);
}

.video-action:active{
  transform:translate(-50%, -50%) scale(.985);
}

.video-action:focus-visible{
  outline:2px solid rgba(255,255,255,.92);
  outline-offset:2px;
}

.video-action.is-hidden{
  opacity:0;
  pointer-events:none;
}

.video-action.is-compact{
  min-height:46px;
  padding:11px 16px;
}

.video-action-icon{
  font-size:16px;
  line-height:1;
}

.video-action-text-mobile{
  display:none;
}

.video-url-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:12px;
  color:var(--accent);
  font-weight:700;
  text-decoration:none;
}

.hero .info-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:0;
}

.hero .info-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:0;
  overflow:hidden;
}

.info-image{
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:#eef1f4;
  border-bottom:1px solid #e8edf3;
}

.info-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.info-content{
  padding:16px 18px 18px;
}

.info-heading{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}

.info-icon{
  width:22px;
  height:22px;
  color:#374151;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 22px;
}

.info-icon svg{
  width:100%;
  height:100%;
  stroke:currentColor;
  stroke-width:1.9;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.hero .info-box strong{
  display:block;
  margin:0;
  font-size:18px;
  line-height:1.3;
}

.hero .info-box p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}

.alert{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px 20px;
}

.alert h2,
.alert strong{
  display:block;
  margin:0 0 8px;
  font-size:18px;
}

.alert p{
  margin:0;
  color:var(--muted);
}

.alert ul{
  margin:10px 0 0 18px;
  padding:0;
  color:#4b5563;
}

.alert-error{
  border-color:#fecaca;
  background:#fef2f2;
  color:#991b1b;
}

.alert-success{
  border-color:#bbf7d0;
  background:#ecfdf3;
  color:var(--success);
}

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


form{
  display:grid;
  gap:18px;
  width:100%;
  max-width:none;
  margin:0 auto;
}

.section{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
}

.section h2{
  margin:0 0 5px;
  font-size:21px;
  letter-spacing:-.02em;
}

.section-intro{
  margin:0 0 20px;
  color:var(--muted);
  font-size:14px;
}

.field{
  margin-top:18px;
}

label.title{
  display:block;
  font-weight:700;
  margin-bottom:9px;
  font-size:14px;
}

.input-with-icon{
  position:relative;
}

.field-icon{
  position:absolute;
  top:50%;
  left:15px;
  width:18px;
  height:18px;
  color:#6b7280;
  transform:translateY(-50%);
  pointer-events:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.field-icon svg{
  width:100%;
  height:100%;
  stroke:currentColor;
  stroke-width:1.8;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

input[type="text"],
input[type="tel"],
select,
textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 15px;
  font:inherit;
  background:#fff;
  color:var(--text);
  outline:none;
}

.input-with-icon input[type="text"],
.input-with-icon input[type="tel"]{
  padding-left:46px;
}

input:focus,
select:focus,
textarea:focus{
  border-color:#9ca3af;
  box-shadow:0 0 0 4px rgba(17,24,39,.06);
}

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

.option-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}

.option-grid-age{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.option{
  position:relative;
}

.option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.option label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-height:54px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  cursor:pointer;
  transition:.2s ease;
  font-size:14px;
}

.option label::before{
  content:"";
  width:18px;
  height:18px;
  flex:0 0 18px;
  margin-top:1px;
  border:1.5px solid #9ca3af;
  border-radius:5px;
  background:#fff;
}

.option.radio label::before{
  border-radius:50%;
}

.option input:checked + label{
  border-color:var(--accent);
  background:#f7f7f8;
}

.option input:checked + label::before{
  background:var(--accent);
  border-color:var(--accent);
  box-shadow:inset 0 0 0 4px #fff;
}

.category{
  margin-top:22px;
}

.category:first-child{
  margin-top:0;
}

.category h3{
  margin:0 0 10px;
  font-size:15px;
}

.note{
  margin-top:14px;
  padding:14px 16px;
  background:#fff8db;
  border-radius:12px;
  color:#7a5a00;
  font-size:13px;
}

.consent{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:13px;
  color:#4b5563;
}

.submit-btn,
.inline-btn{
  border:0;
  border-radius:16px;
  padding:16px 20px;
  background:var(--accent);
  color:#fff;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  justify-content:center;
}

.submit-btn{
  width:100%;
}

.submit-btn:hover,
.inline-btn:hover{
  opacity:.92;
}

.success{
  display:none;
  background:#ecfdf3;
  color:var(--success);
  border:1px solid #bbf7d0;
  border-radius:18px;
  padding:20px;
  font-weight:700;
  text-align:center;
}

.thank-you-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:28px;
  padding:40px 40px 34px;
  text-align:center;
  max-width:950px;
  margin:0 auto;
}

.thank-you-card p{
  color:var(--muted);
  margin:0;
}

.thank-you-top{
  max-width:620px;
  margin:0 auto;
}

.thank-you-status-icon{
  width:72px;
  height:72px;
  border-radius:22px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  background:#eef7f0;
  border:1px solid #d8eadc;
  color:var(--success);
}

.thank-you-status-icon svg,
.thank-you-note-icon svg,
.thank-you-info-icon svg{
  width:24px;
  height:24px;
  stroke:currentColor;
  stroke-width:1.8;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.thank-you-card h1{
  margin-bottom:14px;
}

.thank-you-lead{
  font-size:20px;
  line-height:1.6;
  color:#374151 !important;
}

.thank-you-support{
  margin-top:10px !important;
  font-size:15px;
  line-height:1.7;
}

.thank-you-note{
  max-width:720px;
  margin:28px auto 0;
  padding:18px 20px;
  border:1px solid #e6ebf2;
  border-radius:20px;
  background:#f8fafc;
  display:flex;
  align-items:flex-start;
  gap:14px;
  text-align:left;
}

.thank-you-note-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid #e5e7eb;
  color:#334155;
  flex:0 0 auto;
}

.thank-you-note strong{
  display:block;
  margin-bottom:4px;
  font-size:14px;
  color:var(--text);
}

.thank-you-note p{
  font-size:14px;
  line-height:1.65;
}

.footer{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--muted);
  font-size:12px;
  margin-top:20px;
  flex-wrap:wrap;
}

.footer-text{
  text-align:center;
}

.footer-admin-link{
  width:28px;
  height:28px;
  border:1px solid #d9dee7;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#6b7280;
  background:#fff;
  text-decoration:none;
  transition:border-color .18s ease, color .18s ease, background .18s ease;
}

.footer-admin-link:hover{
  color:#111827;
  border-color:#9ca3af;
  background:#f8fafc;
}

.footer-admin-link:focus-visible{
  outline:2px solid rgba(17,24,39,.18);
  outline-offset:2px;
}

.footer-admin-link svg{
  width:14px;
  height:14px;
  stroke:currentColor;
  stroke-width:1.8;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.alert{
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}

.thank-you-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  text-align:left;
  margin:28px 0 28px;
}

.thank-you-info-box{
  min-width:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.thank-you-info-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  color:#111827;
  flex:0 0 auto;
}

.thank-you-info-copy{
  min-width:0;
}

.thank-you-info-copy strong{
  display:block;
  margin-bottom:5px;
  font-size:14px;
  color:var(--text);
}

.thank-you-info-copy span{
  display:block;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}

.thank-you-actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:6px;
}

.thank-you-actions .inline-btn{
  min-height:54px;
  padding:16px 22px;
}

.thank-you-secondary-btn{
  background:#fff;
  color:var(--accent);
  border:1px solid var(--line);
}

@media (max-width:1024px){
  .container{
    width:min(100% - 32px, 980px);
  }

  .hero{
    padding:34px;
  }
}

@media (max-width:900px){
  .hero .info-grid{
    grid-template-columns:1fr;
  }

  .hero-poster img{
    max-height:none;
  }
}

@media (max-width:680px){
  .container{
    width:min(100% - 12px, 820px);
    margin-top:10px;
  }

  .hero,
  .section,
  .thank-you-card{
    padding:22px;
    border-radius:20px;
  }

  .hero{
    padding:12px;
  }

  .hero-copy{
    max-width:none;
  }

  .hero .info-grid,
  .info-grid,
  .option-grid,
  .thank-you-meta{
    grid-template-columns:1fr;
  }

  .thank-you-status-icon{
    width:62px;
    height:62px;
    border-radius:18px;
    margin-bottom:16px;
  }

  .thank-you-lead{
    font-size:17px;
    line-height:1.65;
  }

  .thank-you-support{
    font-size:14px;
  }

  .thank-you-note{
    margin-top:22px;
    padding:16px;
    border-radius:18px;
    flex-direction:column;
    gap:12px;
  }

  .thank-you-info-box{
    padding:16px;
    border-radius:18px;
  }

  .thank-you-actions{
    gap:10px;
  }

  .thank-you-actions .inline-btn{
    width:100%;
  }

  h1{
    font-size:clamp(30px, 8vw, 36px);
  }

  .hero-subtitle{
    font-size:15px;
    line-height:1.65;
  }

  .hero-media{
    gap:16px;
    margin-top:26px;
    margin-bottom:12px;
  }

  .hero-video,
  .hero-poster{
    width:100%;
  }

  .interactive-video::after{
    opacity:.62;
  }

  .video-action{
    max-width:88%;
    min-height:50px;
    padding:12px 16px;
    font-size:14px;
  }

  .video-action-text-desktop{
    display:none;
  }

  .video-action-text-mobile{
    display:inline;
  }

  .info-image{
    height:190px;
    aspect-ratio:auto;
  }

  .info-content{
    padding:16px;
  }

  .info-icon{
    width:21px;
    height:21px;
    flex-basis:21px;
  }

  .hero .info-box strong{
    font-size:18px;
  }

  .hero .info-box p{
    font-size:15px;
    line-height:1.6;
  }
}

@media (prefers-reduced-motion: reduce){
  .video-action{
    transition:none;
  }

  .interactive-video::after{
    transition:none;
  }
}
