.au-consent { display:flex; align-items:center; gap:.6rem; cursor:pointer; min-height:44px; }
.au-consent input { inline-size:1.05rem; block-size:1.05rem; flex:none; accent-color:var(--lime); }
.au-terms { width:min(32rem,calc(100% - 2rem)); max-height:80svh; overflow:auto; padding:clamp(1.2rem,4vw,2rem); color:var(--text,#eef4f3); background:#11242e; border:1px solid var(--line); border-radius:14px; }
.au-terms::backdrop { background:#031017cf; }
.au-terms p { line-height:1.6; }
.au-terms form { display:grid; gap:1rem; }
.au-terms h2,.au-terms p { margin:0; }
.au-terms form>div { display:flex; justify-content:flex-end; align-items:center; gap:1rem; }
.au-terms .au-submit { width:auto; min-width:5rem; }
.au-cancel { font:inherit; color:inherit; padding:.6rem; border:0; background:transparent; cursor:pointer; }
.au {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background: radial-gradient(ellipse at 22% 58%, #15313b55, transparent 64%);
}
.au-header, .au-layout, .au-footer {
  width: min(88%, clamp(1100px, 80vw, 1820px));
  margin-inline: auto;
}
.au-header, .au-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.au-header { min-height: clamp(64px, 6vw, 96px); border-bottom: 1px solid var(--line); }
.au a { text-decoration: none; }
.au-brand, .au-back, .au-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.au-back, .au-footer { color: var(--muted); font-size: .88em; }
.au-back { gap: .5rem; }
.au-back span, .au-footer a span { color: var(--lime); }
.au a:hover { color: var(--lime); }
.au-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(0, .88fr);
  align-items: center;
  flex: 1;
  gap: clamp(18px, 4vw, 92px);
  padding-block: clamp(40px, 6vw, 120px);
}
.au-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(290px, 37vw, 650px);
}
.au-art {
  position: absolute;
  z-index: -1;
  inset: -8% -7% -7% -8%;
  background: linear-gradient(90deg, #07141c8c, #07141c64 33%, transparent 65%),
    url("/foldline/assets/foldline.webp") 63% center / cover no-repeat;
  mask-image: linear-gradient(0deg, transparent, #000 17% 84%, transparent),
    linear-gradient(90deg, transparent, #000 12% 90%, transparent);
  mask-composite: intersect;
}
.au-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0;
  color: #bbcdce;
  font: 500 .69rem/1.4 ui-monospace, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.au-kicker i { width: 25px; height: 2px; flex: none; background: var(--lime); }
.au-statement {
  margin: .28em 0 .2em;
  color: var(--ink);
  font-size: clamp(48px, 5.9vw, 112px);
  font-weight: 560;
  line-height: .96;
  letter-spacing: -.07em;
}
.au-statement em { color: var(--lime); font-style: normal; }
.au-deck { color: #d2e0e1; max-width: 28ch; font-size: clamp(15px, 1.2vw, 21px); margin: 0; }
.au-form-card {
  width: 100%;
  max-width: 640px;
  justify-self: end;
  position: relative;
  isolation: isolate;
  padding: clamp(26px, 3.1vw, 66px);
  border: 1px solid #35474e;
  border-radius: 7px;
  background: linear-gradient(128deg, #14272ef7, #0c1c24fb 58%, #101e26);
  box-shadow: 0 22px 64px #010a1029;
}
.au-form-card::before {
  content: "";
  position: absolute;
  inset: -1px 5% auto;
  height: 1px;
  background: linear-gradient(100deg, transparent, #8ab3ba 34%, #d6e87b 68%, transparent);
}
.au-form-card h1 {
  margin: .45em 0 .2em;
  font-size: clamp(34px, 3.4vw, 62px);
  font-weight: 550;
  line-height: 1.04;
  letter-spacing: -.057em;
}
.au-form-deck, .au-field small, .au-assist, .au-switch { color: var(--muted); }
.au-form-deck { font-size: .92em; margin: 0; }
.au-form-card form { margin-top: clamp(20px, 2.4vw, 38px); display: grid; gap: .95rem; }
.au-field { display: grid; gap: .35rem; min-width: 0; font-size: .9em; font-weight: 550; }
.au-field small, .au-assist { font-weight: 400; }
.au-field input, .au-field select {
  display: block;
  width: 100%;
  min-height: 47px;
  padding: .68em .82em;
  background: #09171e;
  color: var(--ink);
  border: 1px solid #53676e;
  border-radius: 4px;
  font-size: max(16px, 1em);
}
.au-phone-row { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:.8rem; }
.au-field input[readonly] { color:var(--muted); }
.au-phone-error { color:#ffb3b3; }
@media (max-width:560px) { .au-phone-row { grid-template-columns:1fr; } }
.au-pass { display: block; position: relative; }
.au-pass input { padding-inline-end: 4.3rem; }
.au-pass button {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 40px;
  padding-inline: .65rem;
  border: 0;
  background: transparent;
  color: #bbcdce;
  font-size: .87em;
}
.au-assist { margin-top: -.6rem; font-size: .76em; }
.au-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  margin-top: .2rem;
  padding: .72em 1.12em;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--lime);
  color: #0f1c14;
  font-weight: 670;
}
.au-submit:hover { background: #e7fa72; }
.au-submit:disabled { opacity: .7; }
.au-submit > span[aria-hidden] { font-size: 1.22em; line-height: 1; }
.au-message { margin: 0; color: #ffc0b8; font-size: .88em; }
.au-switch { padding-top: 1.1rem; border-top: 1px solid var(--line); margin: 1.25rem 0 0; font-size: .89em; }
.au-switch a { color: var(--lime); margin-left: .22rem; }
.au-footer { border-top: 1px solid var(--line); min-height: 58px; }
.au-footer a { gap: .45rem; }
@media (max-width: 880px) {
  .au-header, .au-layout, .au-footer { width: min(90%, 600px); }
  .au-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 22px 32px; }
  .au-intro { min-height: clamp(140px, 31vw, 185px); }
  .au-art { inset: -10% -3%; background-position: 70% 45%; }
  .au-statement { font-size: clamp(35px, 6.9vw, 50px); }
  .au-statement br { display: none; }
  .au-form-card { justify-self: stretch; max-width: none; }
}
@media (max-width: 480px) {
  .au-header, .au-layout, .au-footer { width: calc(100% - 32px); }
  .au-header { min-height: 58px; }
  .au-layout { gap: 12px; padding-block: 15px 24px; }
  .au-intro { min-height: 128px; }
  .au-art { background-position: 74% center; }
  .au-deck { max-width: 24ch; font-size: .88rem; }
  .au-kicker { font-size: .61rem; }
  .au-form-card { padding: 24px 20px; }
  .au-statement { font-size: clamp(30px, 8vw, 40px); margin: .28em 0 .21em; }
}
@media (prefers-reduced-motion: no-preference) {
  .au-submit { transition: background .2s, transform .2s; }
  .au-submit:enabled:hover { transform: translateY(-1px); }
}
