/* /apply page. Loads AFTER /styles.css and only adds .apply-* rules (plus a few .apply-page-scoped
   overrides of global element rules that assume a full site chrome: sticky header, 140px sections,
   hover-lift cards). Tokens (--white, --body-text, --border, --accent, --r-*, ...) come from styles.css. */

.apply-page{ color-scheme:dark; -webkit-text-size-adjust:100%; }
.apply-page [hidden]{ display:none !important; }
.apply-page button, .apply-page label, .apply-page a{ touch-action:manipulation; }
.apply-page :focus-visible{ outline:2px solid var(--white); outline-offset:3px; }

.apply-sr{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Sections: the global 140px / snap / 90px-scroll-margin assume the full site header. */
.apply-page section{ padding:96px 0; scroll-margin-top:16px; scroll-snap-align:none; }
@media(max-width:900px){ .apply-page section{ padding:64px 0; } }

/* Standalone top bar: wordmark only, not a link, not sticky (nothing to cover focused inputs). */
.apply-page header.apply-bar{
  position:static; background:transparent; backdrop-filter:none; box-shadow:none; border-bottom:0; padding:22px 0;
}
.apply-bar .container{ display:flex; align-items:center; }
.apply-bar .wordmark{ font-size:20px; letter-spacing:0.06em; }

.apply-page .eyebrow{ color:var(--body-text); }
.apply-head{ text-align:center; max-width:640px; margin:0 auto 48px; }
.apply-head p{ color:var(--body-text); font-size:17px; margin-top:14px; }

/* Hero */
.apply-page .apply-hero{
  padding:48px 0 72px; text-align:center; display:flex; align-items:center;
  min-height:calc(100vh - 66px); min-height:calc(100svh - 66px);
}
.apply-page .apply-hero .container{ max-width:900px; }
.apply-hero-inner{ width:100%; }
.apply-page .apply-hero h1{ font-size:clamp(32px,6.6vw,76px); margin-bottom:28px; }
.apply-lede, .apply-get{ font-size:17px; color:var(--body-text); max-width:640px; margin:0 auto 14px; }
.apply-get{ margin-bottom:34px; }
.apply-lede strong, .apply-get strong{ color:var(--white); font-weight:600; }
.apply-page .apply-cta{ padding:16px 36px; font-size:15px; letter-spacing:0.06em; min-height:52px; justify-content:center; }
.apply-micro{
  font-family:'JetBrains Mono',monospace; font-size:12.5px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--body-text); margin-top:20px;
}
@media(max-width:600px){
  .apply-page .apply-hero{ padding:32px 0 56px; }
  .apply-lede, .apply-get{ font-size:16px; }
}

/* Services: the site's .service-card, but static (nothing here is clickable, so no hover lift). */
.apply-svc-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
@media(max-width:900px){ .apply-svc-grid{ grid-template-columns:1fr; max-width:560px; margin:0 auto; } }
.apply-page .service-card:hover, .apply-page .case-card:hover{
  transform:none; border-color:var(--border-strong); box-shadow:var(--shadow-card);
}
.apply-bullets{ list-style:none; margin-top:6px; border-top:1px solid var(--border); }
.apply-bullets li{
  position:relative; padding:10px 0 10px 18px; font-size:14px; color:var(--body-text); border-bottom:1px solid var(--border);
}
.apply-bullets li::before{ content:''; position:absolute; left:2px; top:50%; width:7px; height:1px; background:var(--white); }

/* Proof: the site's .case-grid / .case-card, plus the fine print under it. */
.apply-page .case-stat{ line-height:1.5; align-self:flex-start; }
.apply-note{ text-align:center; color:var(--body-text); font-size:13.5px; margin-top:28px; }
.apply-samples{ display:flex; flex-direction:column; align-items:center; gap:10px; margin-top:26px; text-align:center; }
.apply-samples-note{ font-size:14px; color:var(--body-text); max-width:520px; }

/* FAQ: the site's accordion, with closed answers removed from the a11y tree / tab order. */
.apply-faq .faq-list{ max-width:820px; margin:0 auto; }
.apply-page .faq-q{ font-size:18px; padding:24px 4px; min-height:44px; }
.apply-page .faq-a{ visibility:hidden; transition:max-height 340ms var(--ease-bounce), visibility 0s linear 340ms; }
.apply-page .faq-item.open .faq-a{ visibility:visible; max-height:520px; transition-delay:0s; }
@media(max-width:600px){ .apply-page .faq-q{ font-size:16.5px; padding:20px 2px; } }

/* Application box */
.apply-form-section{ padding-top:24px; }
.apply-box{ scroll-margin-top:16px; }
html:not(.js) .apply-shell{ display:none; }
.apply-noscript{ font-size:15px; color:var(--body-text); }
.apply-noscript a, .apply-fine a{ color:var(--white); text-decoration:underline; text-underline-offset:3px; }
.apply-page .quote-step-label{ color:var(--body-text); }
.apply-page .quote-progress span{ height:4px; }
.apply-page .quote-step.active, .apply-result{ animation:apply-fade 220ms ease-out; }
@keyframes apply-fade{ from{ opacity:0; } to{ opacity:1; } }
.apply-step-title{ scroll-margin-top:16px; }
.apply-step-title:focus{ outline:none; }
.apply-page .quote-step .step-sub{ color:var(--body-text); }

.apply-resume{
  font-size:14px; color:var(--body-text); margin-bottom:20px; padding:6px 14px;
  border:1px solid var(--border); border-radius:var(--r-sm);
}
.apply-linkbtn{
  background:none; border:0; color:var(--white); text-decoration:underline; text-underline-offset:3px;
  cursor:pointer; font:inherit; padding:10px 4px; min-height:44px;
}

/* Error summary: always in the DOM (so screen readers announce changes), only styled when it has text. */
.apply-live{ margin:0; }
.apply-live.is-on{
  background:rgba(255,90,90,0.12); border:1px solid rgba(255,90,90,0.4); color:#ffb3b3;
  border-radius:var(--r-sm); padding:12px 16px; font-size:14px; margin-bottom:22px;
}

/* Fields: 16px+ text (no iOS zoom), 48px tall (>=44px target), readable label contrast. */
.apply-field{ scroll-margin-top:24px; }
.apply-page .quote-form-row{ margin-bottom:20px; }
.apply-page .quote-form-row label{ font-size:14.5px; font-weight:500; color:var(--white); margin-bottom:8px; }
.apply-page .quote-form-row input,
.apply-page .quote-form-row select,
.apply-page .quote-form-row textarea{
  width:100%; min-height:48px; background:var(--bg); border:1px solid var(--border-strong); border-radius:var(--r-sm);
  color:var(--white); font-family:'Inter',sans-serif; font-size:16px; line-height:1.4; padding:12px 16px;
  transition:border-color 180ms ease-out, box-shadow 180ms ease-out;
}
.apply-page .quote-form-row textarea{ min-height:112px; line-height:1.5; resize:vertical; }
.apply-page .quote-form-row select{
  appearance:none; -webkit-appearance:none; cursor:pointer; padding-right:44px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A9A9A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:16px;
}
.apply-page .quote-form-row select option{ background:#151515; color:#F5F5F5; }
.apply-page .quote-form-row input::placeholder,
.apply-page .quote-form-row textarea::placeholder{ color:#808080; }
.apply-page .quote-form-row input:focus,
.apply-page .quote-form-row select:focus,
.apply-page .quote-form-row textarea:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(113,61,255,0.35);
}
.apply-field.has-error input, .apply-field.has-error select, .apply-field.has-error textarea{ border-color:#ff5a5a; }
.apply-field.has-error legend{ color:#ffb3b3; }
.apply-field.has-error .pill-choice, .apply-field.has-error .apply-card-body{ border-color:rgba(255,90,90,0.55); }
.apply-err{ color:#ff9d9d; font-size:13.5px; margin-top:8px; }
.apply-hint{ font-size:13.5px; color:var(--body-text); margin:8px 0 0; }
.apply-count{ font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--body-text); text-align:right; margin-top:6px; }
.apply-row-2{ display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
@media(max-width:560px){ .apply-row-2{ grid-template-columns:1fr; } }

/* Radio groups: real <input type=radio> under the site's pill look. */
.apply-group{ border:0; padding:0; margin:0 0 26px; min-width:0; }
.apply-group legend{ display:block; width:100%; padding:0; margin-bottom:12px; font-size:14.5px; font-weight:500; color:var(--white); }
.apply-group .apply-hint{ margin:-4px 0 12px; }
.apply-opts{ display:flex; flex-wrap:wrap; gap:10px; }
.apply-opt{ position:relative; display:block; flex:0 1 auto; cursor:pointer; }
.apply-opt input{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; z-index:1; }
.apply-opt .pill-choice{ display:flex; align-items:center; justify-content:center; min-height:48px; text-align:center; pointer-events:none; }
.apply-opt:hover .pill-choice{ border-color:var(--white); }
.apply-opt input:checked + .pill-choice{ background:var(--white); border-color:var(--white); color:#0D0D0D; }
.apply-opt input:focus-visible + .pill-choice{ outline:2px solid var(--white); outline-offset:3px; }
@media(max-width:520px){ .apply-opt{ flex:1 1 calc(50% - 5px); } }

/* Service cards: real <input type=checkbox> under a large tap target. */
.apply-cards{ display:grid; grid-template-columns:1fr; gap:12px; }
@media(min-width:760px){ .apply-cards{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
.apply-card{ position:relative; display:block; cursor:pointer; }
.apply-card input{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; z-index:1; }
.apply-card-body{
  position:relative; display:flex; flex-direction:column; gap:6px; min-height:88px; padding:18px 52px 18px 18px;
  background:var(--bg); border:1px solid var(--border-strong); border-radius:var(--r-md);
  transition:border-color 180ms ease-out, background 180ms ease-out;
}
.apply-card:hover .apply-card-body{ border-color:var(--white); }
.apply-card-title{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:18px; color:var(--white); }
.apply-card-desc{ font-size:14px; line-height:1.45; color:var(--body-text); }
.apply-card-check{
  position:absolute; right:16px; top:18px; width:22px; height:22px; border:1px solid rgba(255,255,255,0.5); border-radius:50%;
  transition:background 180ms ease-out, border-color 180ms ease-out;
}
.apply-card-check::after{
  content:''; position:absolute; left:6px; top:2px; width:6px; height:11px; border:solid #0D0D0D; border-width:0 2px 2px 0;
  transform:rotate(45deg) scale(0); transition:transform 160ms ease-out;
}
.apply-card input:checked + .apply-card-body{ border-color:var(--white); background:rgba(255,255,255,0.06); }
.apply-card input:checked + .apply-card-body .apply-card-check{ background:var(--white); border-color:var(--white); }
.apply-card input:checked + .apply-card-body .apply-card-check::after{ transform:rotate(45deg) scale(1); }
.apply-card input:focus-visible + .apply-card-body{ outline:2px solid var(--white); outline-offset:3px; }

/* Step 3 service blocks */
.apply-block{ border-top:1px solid var(--border); padding-top:22px; margin-top:22px; }
.apply-block-title{
  font-family:'JetBrains Mono',monospace; font-size:12.5px; font-weight:500; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--body-text); margin-bottom:18px;
}

/* Nav + buttons */
.apply-page .quote-nav{ margin-top:12px; gap:12px; }
.apply-nav-end{ justify-content:flex-end; }
.apply-page .quote-back{ min-height:44px; padding:10px 12px; font-size:15px; color:var(--body-text); }
.apply-page .quote-back:hover{ color:var(--white); }
.apply-page .quote-nav .btn{ min-height:48px; justify-content:center; }
@media(max-width:520px){ .apply-page .quote-nav .btn{ flex:1; } }
.apply-fine{ font-size:13.5px; color:var(--body-text); margin:8px 0 20px; }

.apply-btn-busy{ display:none; align-items:center; gap:10px; }
.apply-page .btn.is-loading .apply-btn-label{ display:none; }
.apply-page .btn.is-loading .apply-btn-busy{ display:inline-flex; }
.apply-spin{
  width:14px; height:14px; border:2px solid rgba(13,13,13,0.25); border-top-color:#0D0D0D; border-radius:50%;
  animation:apply-spin 0.7s linear infinite;
}
@keyframes apply-spin{ to{ transform:rotate(360deg); } }
.apply-page .btn:disabled{ cursor:not-allowed; opacity:0.85; }
.apply-page .btn-solid:disabled:hover{ background:var(--white); color:#0D0D0D; transform:translate(var(--mx),var(--my)) scale(1); box-shadow:var(--shadow-btn); }

/* Honeypot: off-screen, never display:none (bots skip those). */
.apply-hp{ position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }

/* Success / error screens */
.apply-result .apply-step-title{ font-size:24px; margin-bottom:10px; }
.apply-result .step-sub{ font-size:15px; color:var(--body-text); margin-bottom:0; }
.apply-result-mark{
  width:52px; height:52px; border-radius:50%; border:1px solid var(--border-strong); color:var(--white);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.apply-result-mark svg{ width:24px; height:24px; }
.apply-next{ list-style:none; border-top:1px solid var(--border); margin:24px 0 28px; }
.apply-next li{
  display:grid; grid-template-columns:48px 1fr; align-items:center; padding:16px 0;
  border-bottom:1px solid var(--border); color:var(--white); font-size:16px;
}
.apply-next .num{ font-family:'JetBrains Mono',monospace; font-size:14px; color:var(--body-text); }
.apply-refline{ margin-top:24px; font-family:'JetBrains Mono',monospace; font-size:12.5px; letter-spacing:0.06em; color:var(--body-text); }
.apply-ref{ color:var(--white); }
.apply-result-actions{ display:flex; gap:16px; align-items:center; flex-wrap:wrap; margin:24px 0; }

/* Footer: one quiet line, no link farm */
.apply-page footer.apply-foot{ padding:32px 0 40px; border-top:1px solid var(--border); }
.apply-foot .container{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; font-size:13px; color:var(--body-text); }
.apply-foot a{ color:var(--body-text); text-decoration:underline; text-underline-offset:3px; }
.apply-foot a:hover{ color:var(--white); }

/* The texted-code screen and the captcha */
.apply-captcha{ margin:0 0 20px; min-height:65px; }
.apply-code-msg{ font-size:14px; color:var(--white); border:1px solid var(--border-strong); border-radius:var(--r-sm); padding:12px 16px; margin:18px 0 0; }
.apply-code-msg.is-bad{ background:rgba(255,90,90,0.12); border-color:rgba(255,90,90,0.4); color:#ffb3b3; }
#apply-code-form{ margin-top:22px; }
.apply-page #apply-code-form .btn{ min-height:48px; justify-content:center; }
.apply-page #apply-code{ letter-spacing:0.3em; max-width:240px; }
.apply-result strong{ color:var(--white); white-space:nowrap; }

/* /contact: the same funnel inside the main site, under the sticky header. (.apply-embed borrows the form styles above without the ads page's own chrome.) */
.funnel-hero{ padding-bottom:28px; }
section.funnel-section{ padding-top:0; scroll-margin-top:110px; }
.apply-embed .apply-box, .apply-embed .apply-step-title, .apply-embed .apply-field{ scroll-margin-top:110px; }
.apply-how{ list-style:none; max-width:640px; margin:0 auto 30px; padding:0; text-align:left; display:grid; gap:8px; }
.apply-how li{ border:1px solid rgba(255,255,255,.14); border-radius:12px; padding:11px 15px; font-size:15px; line-height:1.5; color:var(--body-text); background:rgba(255,255,255,.03); }
.apply-how b{ display:block; color:var(--white); font-weight:600; }
@media (min-width:640px){ .apply-how{ grid-template-columns:1fr 1fr; max-width:760px; } }
.apply-hero .apply-how{ margin:26px auto 0; }
.funnel-note{ max-width:760px; margin:0 auto 18px; text-align:center; font-size:15px; color:var(--body-text); }

@media(prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .apply-page *, .apply-page *::before, .apply-page *::after{
    animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;
  }
  .apply-page .btn:hover{ transform:none; }
}

/* APPLY-BG (2026-11-21): floating glass dashboard panels (abstract bars, line, donut and list, no numbers) drifting behind the hero, and a glow on the main button that pulls the eye to it. Decoration only (aria-hidden, no images, no network); motion off for people who ask for reduced motion. */
.apply-page .apply-hero{ position:relative; overflow:hidden; background:radial-gradient(60% 60% at 50% 40%,rgba(113,61,255,.30),transparent 70%),var(--bg); }
.apply-page .apply-hero-inner{ position:relative; z-index:2; }
.apply-bg{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; perspective:1100px; }
.apply-bg .pane{ position:absolute; border-radius:18px; border:1px solid rgba(255,255,255,.14); background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.03)); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); box-shadow:0 30px 80px rgba(0,0,0,.6); padding:22px; opacity:.7; will-change:transform; }
.apply-bg .p1{ width:420px; height:250px; left:4%; top:12%; transform:rotateY(24deg) rotateX(8deg) rotateZ(-4deg); animation:apFloatA 9s ease-in-out infinite alternate; }
.apply-bg .p2{ width:380px; height:230px; right:3%; top:8%; transform:rotateY(-26deg) rotateX(6deg) rotateZ(5deg); animation:apFloatB 11s ease-in-out infinite alternate; }
.apply-bg .p3{ width:460px; height:210px; left:12%; bottom:5%; transform:rotateY(18deg) rotateX(-6deg) rotateZ(3deg); animation:apFloatB 10s ease-in-out infinite alternate; }
.apply-bg .p4{ width:340px; height:200px; right:9%; bottom:6%; transform:rotateY(-20deg) rotateX(-8deg) rotateZ(-3deg); animation:apFloatA 12s ease-in-out infinite alternate; }
.apply-bg .bars{ display:flex; align-items:flex-end; gap:10px; height:100%; }
.apply-bg .bars b{ flex:1; border-radius:6px 6px 0 0; background:linear-gradient(#713DFF,rgba(113,61,255,.2)); }
.apply-bg .bars b:nth-child(odd){ background:linear-gradient(#F54900,rgba(245,73,0,.2)); }
.apply-bg .line{ width:100%; height:100%; background:linear-gradient(135deg,transparent 46%,#713DFF 47%,#713DFF 49%,transparent 50%) 0 0/60px 60px,linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px) 0 0/100% 40px; }
.apply-bg .ring{ width:120px; height:120px; border-radius:50%; margin:14px auto; background:conic-gradient(#F54900 0 62%,#713DFF 62% 88%,rgba(255,255,255,.15) 88%); -webkit-mask:radial-gradient(circle 38px,transparent 98%,#000 100%); mask:radial-gradient(circle 38px,transparent 98%,#000 100%); }
.apply-bg .rows i{ display:block; height:12px; border-radius:6px; background:rgba(255,255,255,.18); margin:0 0 14px; }
.apply-bg .rows i:nth-child(2){ width:78%; } .apply-bg .rows i:nth-child(3){ width:55%; background:rgba(113,61,255,.6); } .apply-bg .rows i:nth-child(4){ width:68%; }
@keyframes apFloatA{ to{ transform:translateY(-22px) rotateY(20deg) rotateX(8deg) rotateZ(-4deg); } }
@keyframes apFloatB{ to{ transform:translateY(18px) rotateY(-22deg) rotateX(6deg) rotateZ(5deg); } }
.apply-page .apply-cta{ position:relative; box-shadow:0 0 0 0 rgba(113,61,255,.55), 0 10px 30px rgba(113,61,255,.35); animation:apGlow 2.6s ease-out infinite; }
.apply-page .apply-cta span[aria-hidden]{ display:inline-block; transition:transform .25s; animation:apNudge 2.6s ease-in-out infinite; }
.apply-page .apply-cta:hover span[aria-hidden]{ transform:translateX(6px); animation:none; }
@keyframes apGlow{ 0%{ box-shadow:0 0 0 0 rgba(113,61,255,.55), 0 10px 30px rgba(113,61,255,.35); } 70%,100%{ box-shadow:0 0 0 22px rgba(113,61,255,0), 0 10px 30px rgba(113,61,255,.35); } }
@keyframes apNudge{ 0%,60%,100%{ transform:translateX(0); } 80%{ transform:translateX(6px); } }
@media (max-width:1100px){ .apply-bg .pane{ opacity:.45; } .apply-bg .p1,.apply-bg .p2{ width:300px; height:180px; } .apply-bg .p3,.apply-bg .p4{ width:300px; height:160px; } }
@media (max-width:700px){ .apply-bg .p2,.apply-bg .p3{ display:none; } .apply-bg .pane{ opacity:.35; } .apply-bg .p1{ width:220px; height:140px; left:-40px; top:6%; } .apply-bg .p4{ width:220px; height:130px; right:-40px; bottom:4%; } }
@media (prefers-reduced-motion:reduce){ .apply-bg .pane,.apply-page .apply-cta,.apply-page .apply-cta span[aria-hidden]{ animation:none; } }

.sms-nudge{font-weight:600;margin:0 0 8px}
