
:root{
  --amppi-green:#7ee914;
  --amppi-line:#385628;
  --amppi-black:#020302;
  --amppi-muted:#c4cdc3;
  --amppi-error:#ffb15a;
}

.amppi-page,
.amppi-page *{
  box-sizing:border-box;
}

.amppi-page{
  background:#020302;
  color:#fff;
  font-family:Arial,Helvetica,sans-serif;
}

.amppi-width{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
}

.amppi-hero{
  min-height:520px;
  display:flex;
  align-items:center;
  padding:70px 0;
  text-align:center;
  background:
    radial-gradient(circle at 50% 42%,rgba(126,233,20,.13),transparent 34%),
    #020302;
}

.amppi-kicker{
  color:var(--amppi-green);
  font-size:13px;
  font-weight:900;
  letter-spacing:1.2px;
}

.amppi-hero h1{
  max-width:880px;
  margin:12px auto 18px;
  color:#fff !important;
  font-size:clamp(42px,7vw,84px);
  line-height:.96;
}

.amppi-hero p,
.amppi-help p{
  max-width:740px;
  margin:0 auto;
  color:var(--amppi-muted);
  font-size:17px;
  line-height:1.65;
}

.amppi-launcher{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:28px;
}

.amppi-launch-button{
  min-width:240px;
  min-height:60px;
  padding:0 22px;
  border:1px solid var(--amppi-green);
  border-radius:0;
  background:var(--amppi-green);
  color:#061006;
  cursor:pointer;
  font-size:16px;
  font-weight:900;
}

.amppi-launch-button-outline{
  background:transparent;
  color:#fff;
}

.amppi-launch-button:hover{
  filter:brightness(1.08);
}

.amppi-help{
  padding:54px 0;
  border-top:1px solid var(--amppi-line);
  text-align:center;
}

.amppi-help h2{
  margin:0 0 8px;
  color:#fff;
}

.amppi-help-actions{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:20px;
}

.amppi-help-actions a{
  min-width:170px;
  padding:13px 17px;
  border:1px solid var(--amppi-green);
  background:var(--amppi-green);
  color:#061006;
  font-weight:900;
  text-decoration:none;
}

.amppi-help-actions a + a{
  background:transparent;
  color:#fff;
}

/* Modal */
.amppi-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(0,0,0,.86);
  backdrop-filter:blur(6px);
}

.amppi-modal.is-open{
  display:flex;
}

.amppi-modal-dialog{
  position:relative;
  width:min(980px,100%);
  max-height:92vh;
  overflow:auto;
  border:1px solid var(--amppi-line);
  background:var(--amppi-black);
  box-shadow:0 28px 80px rgba(0,0,0,.72);
}

.amppi-modal-head{
  position:sticky;
  top:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  border-bottom:1px solid var(--amppi-line);
  background:rgba(2,3,2,.97);
}

.amppi-modal-head strong{
  color:var(--amppi-green);
  font-size:18px;
}

.amppi-modal-close{
  width:42px;
  height:42px;
  border:1px solid var(--amppi-line);
  border-radius:0;
  background:#090d09;
  color:#fff;
  cursor:pointer;
  font-size:26px;
  line-height:1;
}

body.amppi-modal-open{
  overflow:hidden;
}

/* Forms */
.amppi-form{
  max-width:980px;
  margin:0 auto;
  padding:24px;
  background:
    radial-gradient(circle at 85% 5%,rgba(126,233,20,.10),transparent 28%),
    linear-gradient(180deg,#0a1009,#020302);
  color:#fff;
}

.amppi-form fieldset{
  margin:0 0 18px;
  padding:0;
  border:0;
}

.amppi-form legend{
  width:100%;
  margin-bottom:11px;
  padding-bottom:7px;
  border-bottom:1px solid var(--amppi-line);
  color:var(--amppi-green);
  font-size:17px;
  font-weight:900;
}

.amppi-notice{
  margin-bottom:20px;
  padding:13px 15px;
  border:1px solid rgba(126,233,20,.42);
  background:rgba(126,233,20,.08);
}

.amppi-notice strong,
.amppi-notice span{
  display:block;
}

.amppi-notice strong{
  color:var(--amppi-green);
  font-size:14px;
}

.amppi-notice span{
  margin-top:4px;
  color:#dce5db;
  font-size:12px;
  line-height:1.5;
}

.amppi-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

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

.amppi-grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.amppi-grid-top-gap{
  margin-top:12px;
}

.amppi-field{
  display:block;
}

.amppi-field > span{
  display:block;
  margin-bottom:6px;
  color:#edf3ec;
  font-size:12px;
  font-weight:800;
}

.amppi-field em{
  color:var(--amppi-green);
  font-style:normal;
}

.amppi-field input,
.amppi-field textarea{
  width:100%;
  border:1px solid #455f36;
  border-radius:0;
  background:#020302;
  color:#fff;
  outline:none;
  transition:border-color .15s ease,box-shadow .15s ease;
}

.amppi-field input{
  min-height:46px;
  padding:0 13px;
}

.amppi-field textarea{
  padding:12px 13px;
  resize:vertical;
}

.amppi-field input:focus,
.amppi-field textarea:focus{
  border-color:var(--amppi-green);
  box-shadow:0 0 0 3px rgba(126,233,20,.12);
}

.amppi-invalid{
  border-color:var(--amppi-error) !important;
}

.amppi-consent{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:start;
  margin:4px 0 18px;
  color:#d9e0d8;
  font-size:12px;
  line-height:1.55;
}

.amppi-consent input{
  margin-top:3px;
}

.amppi-submit{
  width:100%;
  min-height:50px;
  border:1px solid var(--amppi-green);
  border-radius:0;
  background:var(--amppi-green);
  color:#061006;
  cursor:pointer;
  font-size:14px;
  font-weight:900;
}

.amppi-submit:hover{
  filter:brightness(1.06);
}

.amppi-submit:disabled{
  cursor:wait;
  opacity:.72;
}

.amppi-feedback{
  display:none;
  margin-top:14px;
  padding:12px 14px;
  border:1px solid var(--amppi-line);
  background:rgba(255,255,255,.03);
  color:#e4ebe3;
  font-size:12px;
  line-height:1.55;
}

.amppi-feedback.is-visible{
  display:block;
}

.amppi-feedback.is-success{
  border-color:rgba(126,233,20,.45);
  background:rgba(126,233,20,.08);
}

.amppi-feedback.is-error{
  border-color:rgba(255,177,90,.50);
  background:rgba(255,177,90,.08);
  color:#ffe0bb;
}

.amppi-honeypot{
  position:absolute !important;
  left:-99999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

.amppi-turnstile{
  margin:0 0 16px;
}

.amppi-admin-warning{
  margin-bottom:16px;
  padding:11px 13px;
  border:1px solid #8a651b;
  background:#2d2107;
  color:#ffe4a8;
  font-size:12px;
  line-height:1.5;
}

@media(max-width:760px){
  .amppi-hero{
    min-height:430px;
    padding:46px 0;
  }

  .amppi-hero p{
    font-size:15px;
  }

  .amppi-launcher,
  .amppi-help-actions{
    display:grid;
  }

  .amppi-launch-button,
  .amppi-help-actions a{
    width:100%;
    min-width:0;
  }

  .amppi-modal{
    padding:0;
    align-items:stretch;
  }

  .amppi-modal-dialog{
    width:100%;
    max-height:100vh;
    border-left:0;
    border-right:0;
  }

  .amppi-modal-head{
    padding:12px 14px;
  }

  .amppi-form{
    padding:17px;
  }

  .amppi-grid-2,
  .amppi-grid-3{
    grid-template-columns:1fr;
  }
}
