/* =====================================================
   Early Access page styles
   (moved out of the inline <style> block in early-access.html)
   Shared tokens (--ink, --accent-grad, etc.) come from landing.css,
   which is linked before this file.
   ===================================================== */

/* ================= two-column shell (35 / 65) ================= */
.ea-shell{
  display:grid;
  grid-template-columns:35% 65%;
  min-height:100vh;
}

/* ---------- LEFT: visual column ---------- */
.ea-visual{
  position:relative;
  overflow:hidden;
  background:var(--dark);
}
.ea-illus{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .55s var(--ease);
}
.ea-illus.is-active{ opacity:1; }

.ea-logo{
  position:absolute; top:28px; left:30px; z-index:3;
  display:inline-flex; align-items:center; gap:9px;
  text-decoration:none; color:#fff;
  padding:8px 15px 8px 11px; border-radius:99px;
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.ea-logo img{ height:24px; width:auto; }
.ea-logo span{ font-weight:800; font-size:16px; letter-spacing:-0.01em; }

/* ---------- RIGHT: form column ---------- */
.ea-form{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  padding:48px 44px;
  min-height:100vh;
  overflow-y:auto;
}
.ea-back-home{
  position:absolute; top:26px; right:34px;
  display:inline-flex; align-items:center; gap:6px;
  font-size:13.5px; font-weight:600; color:var(--ink-soft);
  text-decoration:none; padding:8px 12px; border-radius:99px;
  transition:background .15s var(--ease), color .15s var(--ease);
}
.ea-back-home:hover{ color:var(--ink); }
.ea-form-inner{ width:100%; max-width:440px; }

.ea-eyebrow{
  display:inline-flex; align-items:center; gap:7px;
  font-size:11.5px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--accent-1); margin-bottom:20px;
}
.ea-eyebrow svg{ width:15px; height:15px; }

/* required-field asterisk (was an inline style) */
.ea-req{ color:var(--accent-1); }

/* ---------- progress — circular ring, pinned to the top-left of the form column ---------- */
.ea-progress-wrap{
  position:absolute; top:26px; left:34px; z-index:3;
  margin:0;
}
.ea-ring{ position:relative; width:56px; height:56px; }
.ea-ring-svg{ width:56px; height:56px; transform:rotate(-90deg); }
.ea-ring-track{ fill:none; stroke:var(--canvas-deep); stroke-width:6; }
.ea-ring-bar{
  fill:none; stroke:url(#eaRingGrad); stroke-width:6; stroke-linecap:round;
  transition:stroke-dashoffset .4s var(--ease);
}
.ea-ring-label{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  gap:1px;
  font-size:12.5px; font-weight:700; letter-spacing:-0.01em; color:var(--ink);
}
.ea-ring-label strong{ font-weight:700; color:var(--ink); }
.ea-ring-label span{ color:var(--ink-faint); }

/* steps */
.ea-step{ display:none; animation:eaFade .35s var(--ease); }
.ea-step.is-active{ display:block; }
@keyframes eaFade{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:translateY(0); } }

/* question heading + sub — sized here, base look comes from .heading */
.ea-step .heading{
  font-size:24px; line-height:1.4; letter-spacing:-0.02em; font-weight:200;
  margin:0 0 6px;
}
.ea-q-sub{ font-size:14px; line-height:1.5; color:var(--ink-soft); margin:0 0 22px; }

/* text fields */
.ea-field{ margin-bottom:16px; }
.ea-field label{ display:block; font-size:13.5px; font-weight:700; margin-bottom:8px; }
.ea-field label .ea-opt{ color:var(--ink-faint); font-weight:500; }
.ea-input{
  width:100%; font:inherit; font-size:15px; color:var(--ink);
  padding:13px 15px; border-radius:var(--radius-sm);
  border:1.5px solid var(--border); background:var(--card);
  transition:border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.ea-input::placeholder{ color:var(--ink-faint); }
.ea-input:focus{ outline:none; border-color:var(--accent-1); box-shadow:0 0 0 4px var(--accent-wash); }
.ea-input.is-invalid{ border-color:#E5484D; box-shadow:0 0 0 4px rgba(229,72,77,0.12); }
.ea-error{ display:none; color:#C0362C; font-size:12.5px; margin-top:7px; }
.ea-error.is-shown{ display:block; }

/* option buttons */
.ea-options{ display:flex; flex-direction:column; gap:11px; }
.ea-option{
  display:flex; align-items:center; gap:13px;
  width:100%; text-align:left; font:inherit;
  padding:15px 16px; border-radius:var(--radius-sm);
  border:none; background:var(--card);
  color:var(--ink); cursor:pointer;
  transition:border-color .15s var(--ease), background .15s var(--ease), transform .1s var(--ease);
}
.ea-option:hover{ border-color:var(--border-soft); background:var(--canvas); }
.ea-option:active{ transform:scale(.995); }
.ea-option.is-selected{ border-color:var(--accent-1); background:var(--accent-wash); }
.ea-option-ico{
  flex:none; width:38px; height:38px; border-radius:11px;
  display:flex; align-items:center; justify-content:center; color:var(--ink-soft);
}
.ea-option.is-selected .ea-option-ico{ color:var(--ink); }
.ea-option-body{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1 1 auto; }
.ea-option-name{ font-size:15px; font-weight:700; letter-spacing:-0.01em; }
.ea-option-desc{ font-size:12.5px; color:var(--ink-soft); }
/* the tick / checkbox — pushed to the right edge */
.ea-option-mark{
  flex:none; margin-left:auto;
  width:22px; height:22px; border-radius:50%;
  border:2px solid #000; display:flex; align-items:center; justify-content:center;
  transition:border-color .15s var(--ease), background .15s var(--ease);
}
.ea-options[data-multi="true"] .ea-option-mark{ border-radius:5px; }  /* square hint = choose several */
.ea-option.is-selected .ea-option-mark{ border-color:var(--accent-1); background:var(--accent-1); }
.ea-option-mark svg{ width:12px; height:12px; color:#fff; opacity:0; transition:opacity .15s var(--ease); }
.ea-option.is-selected .ea-option-mark svg{ opacity:1; }

.ea-multi-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 14px; }
.ea-multi-hint{ font-size:12px; color:var(--ink-faint); margin:0; }
.ea-select-all{
  flex:none; font:inherit; font-size:12.5px; font-weight:700;
  color:var(--accent-1); background:transparent; border:none; cursor:pointer;
  padding:5px 8px; border-radius:8px;
  transition:background .15s var(--ease);
}
.ea-select-all:hover{ background:var(--accent-wash); }

/* footer nav */
.ea-foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:28px; }
.ea-btn-back{
  font:inherit; font-size:14px; font-weight:600; color:var(--ink-soft);
  background:transparent; border:none; cursor:pointer; padding:11px 6px;
  display:inline-flex; align-items:center; gap:6px; border-radius:8px;
  transition:color .15s var(--ease);
}
.ea-btn-back:hover{ color:var(--ink); }
.ea-btn-back[hidden]{ visibility:hidden; }
.ea-btn-next{
  font:inherit; font-size:15px; font-weight:700; letter-spacing:-0.01em; color:#fff;
  background:var(--accent-grad); border:none; cursor:pointer;
  padding:13px 26px; border-radius:99px;
  display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 12px 26px -14px rgba(245,85,19,.7);
  transition:transform .15s var(--ease), filter .15s var(--ease), opacity .15s var(--ease);
}
.ea-btn-next:hover:not(:disabled){ transform:translateY(-1px); filter:brightness(1.05); }
.ea-btn-next:disabled{ opacity:.45; cursor:not-allowed; box-shadow:none; }

/* success — badge sits to the LEFT of the text */
.ea-success{ display:none; }
.ea-success.is-shown{ display:flex; align-items:flex-start; gap:20px; animation:eaFade .4s var(--ease); }
.ea-success-badge{
  position:relative;
  flex:none;
  width:64px; height:64px; margin:0; border-radius:50%;
  background:var(--accent-grad); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 18px 36px -16px rgba(245,85,19,.6);
  animation:eaBadgeIn .45s cubic-bezier(.3,1.4,.5,1) both;
}
.ea-success-badge::after{
  content:'';
  position:absolute; inset:-6px;
  border-radius:50%;
  border:2px solid rgba(245,85,19,.4);
  opacity:0;
  animation:eaBadgeRing .8s ease-out .2s both;
}
.ea-success-badge svg{
  stroke-dasharray:24; stroke-dashoffset:24;
  animation:eaCheckDraw .3s ease-out .35s forwards;
}
.ea-success-body{ min-width:0; flex:1 1 auto; }
@keyframes eaBadgeIn{
  0%{ transform:scale(0.4); opacity:0; }
  100%{ transform:scale(1); opacity:1; }
}
@keyframes eaBadgeRing{
  0%{ transform:scale(.85); opacity:.55; }
  100%{ transform:scale(1.3); opacity:0; }
}
@keyframes eaCheckDraw{
  to{ stroke-dashoffset:0; }
}
@media (prefers-reduced-motion: reduce){
  .ea-success-badge, .ea-success-badge::after, .ea-success-badge svg{ animation:none; }
  .ea-success-badge svg{ stroke-dashoffset:0; }
}
.ea-success .heading{ font-size:26px; letter-spacing:-0.02em; margin:0 0 12px; font-weight:200; }
.ea-success p{ font-size:15px; line-height:1.6; color:var(--ink-soft); margin:0 0 8px; }
.ea-success .ea-mail{ font-weight:700; color:var(--ink); }
.ea-success-note{ color:var(--ink-faint); font-size:13.5px; }
.ea-success-actions{ margin-top:26px; }
.ea-success-home{
  display:inline-flex; align-items:center; gap:8px;
  font-size:14.5px; font-weight:700; text-decoration:none; color:#fff;
  background:var(--accent-grad); padding:13px 24px; border-radius:99px;
  box-shadow:0 12px 26px -14px rgba(245,85,19,.7);
  transition:transform .15s var(--ease), filter .15s var(--ease);
}
.ea-success-home:hover{ transform:translateY(-1px); filter:brightness(1.05); }

/* ================= responsive: stack columns ================= */
@media (max-width:900px){
  .ea-shell{ grid-template-columns:1fr; }
  .ea-visual{ height:210px; min-height:210px; }
  .ea-logo{ top:20px; left:20px; }
  .ea-form{ min-height:auto; padding:64px 22px 48px; }
  .ea-back-home{ top:18px; right:18px; }             /* keep it in the top-right */
  .ea-progress-wrap{ top:16px; left:16px; }
  .ea-form-inner{ max-width:520px; }
}
