/* Phoenix Capital — application (October 2026 redesign).
   Values follow the design handoff (Apply.dc.html): desktop by default,
   phone values below 560px. Each step is meant to fit one screen. */

:root {
  --ink: #1A1A18;
  --body: #5C5C58;
  --muted: #9A9A95;
  --page: #FAFAF8;
  --alt: #F2F2EF;
  --tint: #FFF0E6;
  --tint-line: #F2D4BC;
  --line: #E6E6E2;
  --line-2: #E9E9E5;
  --input-line: #D6D6D1;
  --cta: #FF7A33;
  --cta-hover: #F56A1E;
  --press: #E85D12;
  --link: #B84A0C;
  --link-hover: #9C3D08;
  --error: #C0392B;
  --ok: #2E7D4F;

  --fh: 44px;   /* field height */
  --gg: 16px;   /* grid gap */
  --lg: 7px;    /* label gap */
  --fm: 24px;   /* fields margin-top */
  --hm: 20px;   /* heading margin-top */
  --tfs: 26px;  /* title size */
  --am: 26px;   /* actions margin-top */
  --cg: 20px;   /* card gap */
  --cp: 18px 20px 20px;
  --chm: 14px;  /* card heading margin */
  --ch: 110px;  /* signature height */
  --ip: 18px 20px 20px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: "Hanken Grotesk", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
input, select, button, textarea { font-family: inherit; }
input, select, textarea { min-width: 0; width: 100%; }
[hidden] { display: none !important; }
.mid-short { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@keyframes ap-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ap-draw { to { stroke-dashoffset: 0; } }
@keyframes ap-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@keyframes ap-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,122,51,.55); } 50% { box-shadow: 0 0 0 5px rgba(255,122,51,0); } }
@keyframes ap-step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ shell */
.ap-shell { height: 100vh; height: 100dvh; display: flex; flex-direction: column; position: relative; overflow: hidden; overflow: clip; }
.ap-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.ap-glow-a { top: -220px; right: -180px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(255,122,51,.10) 0%, rgba(255,122,51,0) 65%); }
.ap-glow-b { bottom: -260px; left: -200px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(255,122,51,.07) 0%, rgba(255,122,51,0) 65%); }

.ap-nav { flex-shrink: 0; position: relative; z-index: 5; background: var(--page); border-bottom: 1px solid var(--line); }
.ap-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ap-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.ap-brand:hover { color: var(--ink); text-decoration: none; }
.ap-brand img { height: 30px; width: auto; }
.ap-brand span { font-family: "Schibsted Grotesk", Helvetica, sans-serif; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.ap-nav-links { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 600; }
.ap-nav-links .ap-phone { font-weight: 700; }
.ap-nav-links .ap-exit { color: var(--body); }

.ap-main { flex: 1; min-height: 0; overflow-y: auto; position: relative; z-index: 1; }
.ap-wrap { max-width: 760px; margin: 0 auto; padding: 26px 20px 100px; }

/* ------------------------------------------------------------- step head */
.ap-count-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.ap-count { color: var(--link); font-weight: 500; }
.ap-tag { display: none; }
.ap-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; }
.ap-progress li { display: grid; gap: 5px; }
.ap-progress .bar { height: 4px; border-radius: 2px; background: var(--line); transition: background .3s ease; }
.ap-progress .lbl { font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.ap-progress li.is-done .bar { background: var(--cta); }
.ap-progress li.is-current .lbl { color: var(--link); }

.ap-quip { display: flex; flex-direction: row-reverse; justify-content: flex-start; align-items: center; gap: 10px; margin-top: 20px; }
.ap-quip .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--tint); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ap-quip .avatar img { height: 18px; }
.ap-quip .bubble { background: #fff; border: 1px solid var(--line); border-radius: 12px 3px 12px 12px; padding: 7px 13px; font-size: 13.5px; color: var(--body); line-height: 1.4; }

.ap-titlebar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-top: var(--hm); }
.ap-titlebar > div { min-width: 0; }
.ap-title { font-family: "Schibsted Grotesk", Helvetica, sans-serif; font-size: var(--tfs); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0; text-wrap: pretty; }
.ap-title:focus { outline: none; }
.ap-sub { font-size: 14px; color: var(--body); line-height: 1.5; margin: 6px 0 0; }
.ap-badge { display: inline-flex; align-items: center; gap: 6px; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .1em; color: var(--body); background: var(--alt); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; flex-shrink: 0; }
.ap-badge .star { color: var(--error); font-weight: 700; font-size: 13px; }
.ap-badge.is-optional { color: var(--link); background: var(--tint); border-color: var(--tint-line); }

/* ----------------------------------------------------------------- cards */
.ap-step { animation: ap-step-in .35s cubic-bezier(.2,.7,.2,1) both; }
.ap-cards { display: grid; gap: var(--cg); margin-top: var(--fm); }
.ap-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: var(--cp); }
.ap-card-head { display: flex; align-items: center; gap: 10px; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .12em; color: var(--link); font-weight: 500; margin-bottom: var(--chm); }
.ap-card-head::after { content: ""; flex: 1; height: 1px; background: var(--line); order: 1; }
.ap-card-head .ap-linkbtn { order: 2; font-family: "Hanken Grotesk", Helvetica, sans-serif; letter-spacing: 0; font-size: 12.5px; }

.ap-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: var(--gg); }
.ap-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: var(--gg); }
.s1 { grid-column: span 1; } .s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; }

.ap-field { display: grid; gap: var(--lg); font-size: 12.5px; font-weight: 700; position: relative; }
.ap-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ap-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; }
.req { color: var(--error); font-style: normal; }
.opt { font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .08em; color: var(--muted); font-weight: 500; }

.ap-input, .ap-select {
  height: var(--fh); border: 1.5px solid var(--input-line); border-radius: 6px; padding: 0 12px;
  font-size: 16px; outline: none; background: #fff; color: var(--ink); font-weight: 400;
  transition: border-color .15s, box-shadow .15s;
}
.ap-select { padding: 0 10px; }
.ap-input::placeholder { color: var(--muted); }
.ap-input:focus, .ap-select:focus { border-color: var(--press); box-shadow: 0 0 0 3px rgba(232,93,18,.22); }
.ap-input.is-bad, .ap-select.is-bad { border-color: var(--error); }
input[type="date"].ap-input { padding-right: 8px; }

.ap-linkbtn { background: none; border: none; cursor: pointer; color: var(--link); font-weight: 700; font-size: 12px; padding: 0; }
.ap-linkbtn:hover { color: var(--link-hover); text-decoration: underline; }

/* Funding amount */
.ap-funding { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gg); align-items: stretch; }
.ap-amount { grid-column: span 4; background: #fff; border: 1.5px solid var(--input-line); border-radius: 8px; padding: 10px 14px 6px; display: flex; flex-direction: column; justify-content: center; }
.ap-amount-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ap-amount-top .ap-label { font-size: 12.5px; font-weight: 700; }
.ap-amount-box { width: 150px; height: 34px; border: 1.5px solid var(--line); border-radius: 6px; padding: 0 10px; text-align: right; font-family: "Schibsted Grotesk", Helvetica, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -.01em; outline: none; background: var(--page); color: var(--ink); cursor: text; }
.ap-amount-box:hover { border-color: var(--input-line); }
.ap-amount-box:focus { border-color: var(--press); box-shadow: 0 0 0 3px rgba(232,93,18,.22); background: #fff; }
.ap-range { display: block; height: 22px; margin: 6px 0 0; accent-color: var(--cta); cursor: pointer; }
.ap-range-ends { display: flex; justify-content: space-between; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; color: var(--muted); letter-spacing: .06em; }
.ap-funding-side { grid-column: span 2; display: grid; gap: 12px; align-content: center; }

/* Address autocomplete */
.ap-sugg { position: absolute; top: 100%; left: 0; right: 0; margin-top: 4px; z-index: 20; background: #fff; border: 1px solid var(--input-line); border-radius: 8px; box-shadow: 0 14px 36px rgba(26,26,24,.16); overflow: hidden; font-weight: 400; }
.ap-sugg [role="option"] { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; background: #fff; border-bottom: 1px solid var(--alt); }
.ap-sugg [role="option"]:hover, .ap-sugg [role="option"].is-active { background: var(--tint); }
.ap-sugg svg { flex-shrink: 0; }
.ap-sugg .lines { min-width: 0; display: grid; }
.ap-sugg .l1 { font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-sugg .l2 { font-size: 12.5px; color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-sugg .note { padding: 10px 12px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--alt); }
.ap-sugg .typed { font-size: 13.5px; background: var(--page); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.ap-sugg .manual { font-size: 13.5px; font-weight: 700; color: var(--link); background: var(--page); display: block; border-bottom: 0; }
.ap-addr-manual { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gg); font-weight: 600; }
.ap-addr-manual .street { grid-column: span 6; }
.ap-addr-manual .city { grid-column: span 3; }
.ap-addr-manual .state { grid-column: span 1; }
.ap-addr-manual .zip { grid-column: span 2; }
.ap-same { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--body); cursor: pointer; }
.ap-same input { width: 16px; height: 16px; accent-color: var(--press); margin: 0; }
.ap-same-note { height: var(--fh); display: flex; align-items: center; padding: 0 12px; border: 1.5px dashed var(--input-line); border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--body); background: var(--page); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ap-add { justify-self: start; height: 40px; padding: 0 14px; background: #fff; color: var(--ink); border: 1.5px dashed var(--input-line); border-radius: 6px; cursor: pointer; font-weight: 700; font-size: 14px; }
.ap-add:hover { border-color: var(--press); color: var(--link); }

/* Positions */
.ap-yesno { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ap-choice { height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1.5px solid var(--input-line); border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 15.5px; color: var(--ink); }
.ap-choice:hover { border-color: var(--press); }
.ap-choice .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--input-line); background: #fff; box-shadow: inset 0 0 0 3px #fff; flex-shrink: 0; }
.ap-choice[aria-pressed="true"] { background: var(--tint); border-color: var(--press); }
.ap-choice[aria-pressed="true"] .dot { border-color: var(--press); background: var(--press); }
.ap-stack { display: grid; gap: var(--gg); margin-top: var(--fm); }
.ap-list { display: grid; gap: 8px; }
.ap-pos { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.ap-pos .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--tint); color: var(--link); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.ap-pos .name { flex: 1; min-width: 0; font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-pos .bal { font-family: "IBM Plex Mono", monospace; font-size: 13.5px; }
.ap-remove { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 700; padding: 4px; }
.ap-remove:hover { color: var(--error); }
.ap-pos-card { background: #fff; border: 1.5px solid var(--input-line); border-radius: 10px; padding: var(--ip); }
.ap-pos-card .ap-card-head { margin-bottom: 10px; }
.ap-pos-card .ap-card-head::after { display: none; }
.ap-pos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 12px; }
.ap-pos-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ap-btn-dark { height: 44px; padding: 0 16px; background: var(--ink); color: var(--page); border: none; border-radius: 6px; cursor: pointer; font-weight: 700; font-size: 14px; }
.ap-btn-dark:hover { background: #33332F; }
.ap-btn-ghost { height: 44px; padding: 0 14px; background: #fff; color: var(--ink); border: 1.5px solid var(--input-line); border-radius: 6px; cursor: pointer; font-weight: 700; font-size: 14px; }
.ap-btn-ghost:hover { border-color: var(--ink); }
.ap-note { font-size: 14px; color: var(--body); padding: 2px 2px 0; }

/* Bank statements */
.ap-drop { display: grid; justify-items: center; gap: 10px; text-align: center; background: #fff; border: 2px dashed var(--input-line); border-radius: 12px; padding: 22px 20px; cursor: pointer; }
.ap-drop:hover, .ap-drop.is-over { border-color: var(--press); }
.ap-drop.has-files { background: var(--page); border-color: var(--line); }
.ap-drop:focus-within { border-color: var(--press); box-shadow: 0 0 0 3px rgba(232,93,18,.22); }
.ap-drop .k { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .12em; color: var(--muted); }
.ap-months { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ap-months span { background: var(--tint); border: 1px solid var(--tint-line); color: var(--link); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; font-weight: 700; }
.ap-drop .btn { display: inline-block; background: var(--cta); color: var(--ink); padding: 11px 22px; border-radius: 6px; font-weight: 700; font-size: 15px; }
.ap-drop .hint { font-size: 12.5px; color: var(--body); }
.ap-file { display: flex; align-items: center; gap: 10px; background: #F4FAF6; border: 1px solid #CFE6D7; border-radius: 8px; padding: 9px 12px; }
.ap-file .ok { color: var(--ok); font-weight: 800; font-size: 13px; }
.ap-file .name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-file .size { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--muted); }
.ap-boost { display: flex; gap: 14px; align-items: center; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 8px; padding: 10px 16px; }
.ap-boost strong { font-family: "Schibsted Grotesk", Helvetica, sans-serif; font-size: 22px; font-weight: 800; color: var(--link); }
.ap-boost span { font-size: 13.5px; color: var(--body); line-height: 1.45; }

/* Review & sign */
.ap-summary { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: var(--ip); }
.ap-summary .ap-card-head { margin-bottom: 10px; }
.ap-sum-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.ap-sum-grid div { min-width: 0; }
.ap-sum-grid dt { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.ap-sum-grid dd { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.ap-consent { max-height: 86px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: 12.5px; line-height: 1.55; color: var(--body); }
.ap-consent p { margin: 0 0 8px; }
.ap-consent p:last-child { margin: 0; }
.ap-consent .k { display: block; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .12em; color: var(--link); margin-bottom: 6px; }
.ap-sig-head { display: flex; justify-content: space-between; align-items: baseline; }
.ap-sig-head > span { font-size: 12.5px; font-weight: 700; }
.ap-sig-head button { font-size: 12.5px; }
.ap-sig { display: block; width: 100%; height: var(--ch); border: 1.5px solid var(--input-line); border-radius: 6px; background: #fff; margin-top: 5px; cursor: crosshair; touch-action: none; }
.ap-sig.is-bad { border-color: var(--error); }
.ap-sig-hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.ap-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; line-height: 1.45; cursor: pointer; }
.ap-agree input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--press); margin: 1px 0 0; }
.ap-agree a { font-weight: 700; text-decoration: underline; }
.ap-agree.is-bad span { color: var(--error); }

/* ---------------------------------------------------------------- actions */
.ap-actions { margin-top: var(--am); }
.ap-error { margin-bottom: 10px; background: #FBEDEA; border: 1px solid #E8C4BC; border-radius: 6px; padding: 9px 14px; font-size: 13.5px; font-weight: 600; color: #A33222; }
.ap-buttons { display: flex; align-items: center; gap: 10px; }
.ap-back { flex-shrink: 0; height: 48px; padding: 0 18px; background: #fff; border: 1.5px solid var(--input-line); border-radius: 6px; cursor: pointer; color: var(--ink); font-weight: 700; font-size: 15px; }
.ap-back:hover { border-color: var(--ink); }
.ap-primary { flex: 1; height: 48px; background: var(--cta); color: var(--ink); border: none; cursor: pointer; border-radius: 6px; font-weight: 700; font-size: 16px; box-shadow: 0 6px 18px rgba(26,26,24,.10); }
.ap-primary:hover { background: var(--cta-hover); }
.ap-primary:disabled { opacity: .7; cursor: progress; }
.ap-foot { font-size: 11.5px; color: var(--muted); margin-top: 8px; text-align: center; }
.ap-status { font-size: 13px; color: var(--body); text-align: center; margin-top: 8px; min-height: 1em; }

/* ---------------------------------------------------------------- success */
.ap-done { text-align: center; padding: 32px 0; animation: ap-fade .5s ease both; }
.ap-done svg { width: 170px; margin: 0 auto; display: block; }
.ap-done .d, .ap-done .ln, .ap-done .check { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ap-draw .5s ease forwards; }
.ap-done .shield { opacity: 0; transform-origin: 150px 190px; animation: ap-pop .45s 2.35s cubic-bezier(.34,1.56,.64,1) forwards; }
.ap-done h2 { font-family: "Schibsted Grotesk", Helvetica, sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 20px 0 0; }
.ap-done h2:focus { outline: none; }
.ap-done p { font-size: 16px; color: var(--body); line-height: 1.6; max-width: 400px; margin: 12px auto 0; }
.ap-done a { display: inline-block; margin-top: 24px; font-weight: 700; }

/* ----------------------------------------------------------------- toast */
.ap-toast { position: fixed; z-index: 50; left: 20px; bottom: 20px; width: 340px; opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); pointer-events: none; }
.ap-toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ap-toast-box { display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--page); border-radius: 12px; padding: 12px 12px 12px 16px; box-shadow: 0 16px 40px rgba(26,26,24,.28); }
.ap-toast .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--cta); flex-shrink: 0; animation: ap-pulse 1.8s ease-in-out infinite; }
.ap-toast .body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ap-toast .k { font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .14em; color: #FF9A5C; }
.ap-toast .t1 { font-size: 13.5px; font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-toast .t1 em { font-style: normal; font-weight: 500; color: #B8B8B2; }
.ap-toast .t2 { font-size: 12px; color: #B8B8B2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-toast button { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 18px; line-height: 1; padding: 4px; flex-shrink: 0; }
.ap-toast button:hover { color: var(--page); }

/* ----------------------------------------------------------------- modal */
.ap-modal { border: 0; padding: 0; background: transparent; max-width: 460px; width: calc(100% - 40px); }
.ap-modal::backdrop { background: rgba(26,26,24,.6); }
.ap-modal-box { background: #fff; border-radius: 14px; padding: 28px 24px 20px; text-align: center; box-shadow: 0 32px 80px rgba(26,26,24,.35); }
.ap-modal .x20 { width: 60px; height: 60px; border-radius: 50%; background: var(--tint); border: 1px solid var(--tint-line); display: flex; align-items: center; justify-content: center; margin: 0 auto; font-family: "Schibsted Grotesk", Helvetica, sans-serif; font-size: 18px; font-weight: 800; color: var(--link); }
.ap-modal h2 { font-family: "Schibsted Grotesk", Helvetica, sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 16px 0 0; }
.ap-modal p { font-size: 15px; color: var(--body); line-height: 1.6; margin: 10px 0 0; }
.ap-modal p strong { color: var(--ink); }
.ap-modal .row { display: grid; gap: 6px; margin-top: 20px; }
.ap-modal .ap-primary { height: 48px; }
.ap-modal .quiet { height: 42px; background: none; border: none; cursor: pointer; color: var(--body); font-weight: 600; font-size: 14px; }
.ap-modal .quiet:hover { color: var(--link); }

/* ----------------------------------------------------------------- phone */
@media (max-width: 559px) {
  :root {
    --fh: 40px; --gg: 9px; --lg: 4px; --fm: 12px; --hm: 10px; --tfs: 21px; --am: 12px;
    --cg: 14px; --cp: 0; --chm: 8px; --ch: 90px; --ip: 14px 14px 16px;
  }
  .ap-wrap { padding: 8px 16px 70px; }
  .ap-tag { display: inline; }
  .ap-progress .lbl, .ap-quip, .ap-sub, .ap-badge, .ap-foot { display: none; }
  .ap-card { background: transparent; border: 0; }
  .ap-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m2 { grid-column: span 2; } .m3 { grid-column: span 3; } .m6 { grid-column: span 6; }
  .ap-grid { grid-auto-flow: row dense; }
  .mid-long { display: none; } .mid-short { display: inline; }
  .ap-funding { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-amount { grid-column: span 2; padding: 8px 12px 6px; }
  .ap-funding-side { grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gg); }
  .ap-addr-manual .city { grid-column: span 6; }
  .ap-addr-manual .state, .ap-addr-manual .zip { grid-column: span 3; }
  .ap-pos-grid { grid-template-columns: 1fr; }
  .ap-pos-actions { flex-direction: column; }
  .ap-drop { padding: 16px 14px; }
  .ap-sum-grid { grid-template-columns: 1fr; }
  .ap-sum-grid { gap: 6px; }
  .ap-consent { max-height: 64px; }
  .ap-nav-links { gap: 14px; }
  .ap-toast { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .ap-toast-box { padding: 9px 10px 9px 14px; }
  .ap-toast .k { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ap-done .d, .ap-done .ln, .ap-done .check { stroke-dashoffset: 0; }
  .ap-done .shield { opacity: 1; }
}
.ap-status:empty { display: none; }
