/* Анкета учасниці — the registration page. Tokens, glass, buttons and inputs come from v26.css (the landing's system);
   this file lays out the page: header (the landing's pill, same geometry), intro, the step rail, the steps, choices,
   review, consents, the phone layout and the accessibility modes. */
@font-face{font-family:eUkraine;src:url('assets/fonts/e-Ukraine-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:eUkraine;src:url('assets/fonts/e-Ukraine-Light.woff2') format('woff2');font-weight:300;font-display:swap}

html.ak-page{background:var(--v26-ink);scroll-padding-top:104px;-webkit-text-size-adjust:100%}
html.ak-page body{margin:0;min-height:100vh;font-family:eUkraine,system-ui,sans-serif;font-size:var(--v26-body);line-height:1.6;color:var(--v26-text);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.ak-page *,.ak-page *::before,.ak-page *::after{box-sizing:border-box}
.ak-page img{max-width:100%;height:auto}
.ak-page :focus-visible{outline:2px solid #b9daff;outline-offset:3px}
.ak-page [hidden]{display:none!important}
/* the form's buttons may wrap (long Ukrainian labels on phones and at 150% text) */
.ak-page .v26-btn{white-space:normal;text-align:center;line-height:1.25}
.ak-skip{position:fixed;left:16px;top:-80px;z-index:100;padding:12px 18px;border-radius:12px;background:#0c2452;color:#fff;text-decoration:none}
.ak-skip:focus{top:16px}

/* calm page light: cobalt glows on the ink (static, no images to load) */
.ak-bg{position:fixed;inset:0;z-index:-1;pointer-events:none;background:
  radial-gradient(55% 45% at 88% 0%, rgb(42 107 224 / 24%), transparent 72%),
  radial-gradient(45% 40% at 0% 100%, rgb(30 80 190 / 16%), transparent 72%),
  radial-gradient(30% 30% at 50% 45%, rgb(20 60 140 / 10%), transparent 70%),
  var(--v26-ink)}

/* ------------------------------------------------------------ header: the landing's pill (hero-v12.css geometry) */
.ak-top{position:fixed;z-index:40;top:20px;left:max(40px, calc((100% - 1680px) / 2));right:max(40px, calc((100% - 1680px) / 2));
  display:flex;align-items:center;gap:16px;height:60px;padding:0 15px;border:1px solid rgb(186 211 242 / 16%);border-radius:18px;background:rgb(5 29 59 / 92%)}
.ak-brand{display:flex;align-items:center;flex:none;width:159px;min-height:44px}
.ak-brand img{display:block;width:100%;height:auto}
.ak-top-title{margin:0;padding-left:16px;border-left:1px solid rgb(186 211 242 / 22%);font-size:calc(14px * var(--scale, 1));line-height:1.3;color:var(--v26-muted)}
.ak-top-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.ak-icon-btn{display:inline-grid;place-items:center;width:44px;height:44px;flex:none;padding:0;border:0;border-radius:50%;cursor:pointer;color:var(--v26-text);
  background:rgb(10 34 70 / 55%);box-shadow:inset 0 0 0 1px rgb(190 214 248 / 28%)}
.ak-icon-btn svg{width:22px;height:22px}
.ak-icon-btn[aria-expanded="true"]{background:rgb(30 70 130 / 70%)}
.ak-site-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:0 18px;border-radius:999px;color:var(--v26-text);text-decoration:none;
  font-size:calc(14px * var(--scale, 1));background:rgb(10 34 70 / 55%);box-shadow:inset 0 0 0 1px rgb(190 214 248 / 28%);white-space:nowrap}
.ak-site-link svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){.ak-site-link:hover,.ak-icon-btn:hover{background:rgb(30 70 130 / 60%)}}
/* the form's progress, drawn along the pill's lower edge on tablets and phones (no strip floating over the content) */
.ak-top::after{content:'';position:absolute;left:18px;right:18px;bottom:-1px;height:2px;border-radius:2px;display:none;
  background:linear-gradient(90deg, #2a6be0, #9cc2ff) 0 0 / calc(max(.04, var(--ak-p, 0)) * 100%) 100% no-repeat, rgb(166 198 238 / 18%);transition:background-size 360ms var(--v26-ease)}
.ak-a11y{position:absolute;top:calc(100% + 10px);right:0;width:min(320px, calc(100vw - 32px));display:grid;gap:10px;padding:18px;border-radius:18px;
  background:#061a3c;box-shadow:inset 0 0 0 1px rgb(186 211 242 / 22%), 0 30px 60px -30px rgb(0 0 0 / 90%)}
.ak-a11y-title{margin:0;font-size:var(--v26-caption);color:var(--v26-faint)}
.ak-a11y-row{display:grid;grid-template-columns:repeat(3, 1fr);gap:6px}
.ak-a11y-row--2{grid-template-columns:minmax(0, 1.4fr) minmax(0, 1fr);margin-top:4px}
.ak-a11y button{min-height:44px;padding:8px 12px;border:0;border-radius:12px;cursor:pointer;font:inherit;font-size:calc(14px * var(--scale, 1));line-height:1.25;color:var(--v26-text);
  background:rgb(10 34 70 / 70%);box-shadow:inset 0 0 0 1px rgb(190 214 248 / 24%);text-align:left}
.ak-a11y-row button,.ak-a11y .ak-a11y-close,.ak-a11y .ak-a11y-reset{text-align:center}
.ak-a11y button[aria-pressed="true"]{background:linear-gradient(115deg, #1a4a86, #0b2a55);box-shadow:inset 0 0 0 1.5px rgb(150 196 255 / 80%)}
.ak-a11y .ak-a11y-close{background:linear-gradient(115deg, #1a4a86, #0b2a55)}
.ak-a11y .ak-a11y-reset{background:none}

/* ------------------------------------------------------------ page */
.ak-main{width:min(1680px, calc(100% - 80px));margin:0 auto;padding:128px 0 96px}
.ak-kicker{display:inline-flex;margin:0;padding:6px 14px;border-radius:999px;font-size:var(--v26-caption);line-height:1.3;color:#d4e3f8;background:rgb(120 166 232 / 14%)}
.ak-h1{margin:18px 0 22px;max-width:20ch;font-weight:400;font-size:calc(clamp(32px, 2.2vw + 14px, 56px) * var(--scale, 1));line-height:1.1;letter-spacing:-.028em;text-wrap:balance}
.ak-h1:focus{outline:none}
.ak-h2{margin:0;font-weight:400;font-size:calc(clamp(26px, 1.3vw + 15px, 40px) * var(--scale, 1));line-height:1.16;letter-spacing:-.02em;text-wrap:balance}
.ak-h3{margin:0;font-weight:400;font-size:var(--v26-h3);line-height:1.25}
.ak-h4{margin:0;font-weight:400;font-size:calc(20px * var(--scale, 1));line-height:1.3}
.ak-lead{margin:0;max-width:62ch;font-size:var(--v26-lead);line-height:1.55;color:#d7e3f4;text-wrap:pretty}
.ak-text{margin:16px 0 0;max-width:66ch;color:var(--v26-muted);text-wrap:pretty}
.ak-muted{color:var(--v26-faint)}
.ak-link{color:#cfe2ff;text-decoration:underline;text-decoration-color:rgb(190 214 248 / 45%);text-underline-offset:4px}
.ak-link:hover{text-decoration-color:currentColor}

/* ------------------------------------------------------------ intro */
.ak-intro{display:grid;grid-template-columns:minmax(0, 1.3fr) minmax(340px, .7fr);grid-template-rows:auto 1fr;gap:64px clamp(40px, 6vw, 120px);align-items:start}
.ak-intro-copy{grid-column:1;grid-row:1}
.ak-intro-more{grid-column:1;grid-row:2;display:grid;gap:clamp(56px, 5.5vw, 88px)}
.ak-start{--ak-top:112px;grid-column:2;grid-row:1 / span 2;position:sticky;top:min(var(--ak-top), var(--ak-fit, 100vh));padding:300px clamp(24px, 2.4vw, 36px) clamp(24px, 2.4vw, 36px);overflow:visible;text-align:center}
/* variant B2 (user, 2026-10-20): the eye-level crystal queen stands inside the card on a thin floor line, with a soft
   backlight and a faint reflection; nothing crosses the card's edge, so nothing slides under the header either */
.ak-start-queen{position:absolute;left:50%;top:24px;z-index:1;width:104px;translate:-50% 0;pointer-events:none}
.ak-start-queen img{display:block;width:100%;height:auto;-webkit-box-reflect:below -3px linear-gradient(transparent 64%, rgb(255 255 255 / 20%))}
.ak-start-queen::before{content:'';position:absolute;left:-150%;right:-150%;top:-14%;bottom:-6%;z-index:-1;border-radius:50%;
  background:radial-gradient(closest-side, rgb(90 150 255 / 30%), rgb(60 122 240 / 10%) 58%, transparent)}
.ak-start-queen::after{content:'';position:absolute;left:-75%;right:-75%;bottom:-2px;height:2px;border-radius:2px;
  background:linear-gradient(90deg, transparent, rgb(170 208 255 / 75%) 50%, transparent)}
.ak-start-sub{margin:8px 0 0;font-size:calc(15px * var(--scale, 1));color:var(--v26-muted)}
.ak-start-actions{display:grid;gap:6px;margin-top:22px}
.ak-start-btn{width:100%}
.ak-start-btn svg,.ak-back svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ak-text-btn{justify-self:center;min-height:44px;padding:8px 12px;border:0;background:none;cursor:pointer;font:inherit;font-size:calc(14px * var(--scale, 1));
  color:var(--v26-muted);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgb(190 214 248 / 40%)}
.ak-intake,.ak-resume p{margin:16px 0 0;padding:12px 16px;border-radius:14px;font-size:calc(14px * var(--scale, 1));line-height:1.5;color:#e3edfb;text-align:left;
  background:rgb(42 107 224 / 18%);box-shadow:inset 0 0 0 1px rgb(150 196 255 / 40%)}
/* «Важливо знати» sits in the intro text under the facts row (2026-10-21: inside the sticky card it overflowed laptop screens) */
.ak-before{margin:40px 0 0}
.ak-before .ak-check{max-width:62ch}
.ak-check-title{margin:0;padding-top:22px;border-top:1px solid var(--v26-line);font-weight:400;font-size:calc(17px * var(--scale, 1));line-height:1.4;color:#fff;text-align:left}
.ak-check{display:grid;gap:12px;margin:16px 0 0;padding:0;list-style:none;font-size:calc(15px * var(--scale, 1));line-height:1.55;color:var(--v26-muted);text-align:left}
.ak-check li{position:relative;padding-left:32px}
.ak-check li::before{content:'';position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 8.8' fill='none' stroke='%23cfe2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat,
  linear-gradient(160deg, #2a6be0, #0e2f5c);box-shadow:inset 0 0 0 1px rgb(190 214 248 / 40%)}
.ak-demo{margin:18px 0 0;font-size:var(--v26-caption);line-height:1.5;color:var(--v26-faint)}
.ak-start-early{display:none}
/* laptops with short screens: the card keeps its action in view */
@media (min-width:1024px) and (max-height:820px){
  .ak-start{--ak-top:104px;padding-top:232px}
  .ak-start-queen{width:76px;top:20px}
  .ak-check{gap:9px}
}
/* very short laptop windows: a smaller queen keeps the stuck card clear of the header */
@media (min-width:1024px) and (max-height:660px){
  .ak-start{padding-top:200px}
  .ak-start-queen{width:62px;top:16px}
}

.ak-facts{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));grid-template-rows:auto auto;margin:36px 0 0}
.ak-facts div{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:6px;padding:16px 20px 4px 0;border-top:1px solid var(--v26-line)}
.ak-facts div+div{padding-left:20px;border-left:1px solid var(--v26-line)}
.ak-facts dt{align-self:end;font-size:var(--v26-caption);line-height:1.4;color:var(--v26-faint)}
.ak-facts dd{margin:0;font-size:calc(17px * var(--scale, 1));line-height:1.4;color:#fff;text-wrap:balance}

.ak-info .ak-h2{margin-bottom:24px;max-width:24ch}
.ak-cards{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:16px}
.ak-card{padding:clamp(22px, 2vw, 32px);border-radius:var(--v26-r-md)}
.ak-card p{margin:12px 0 0;font-size:calc(15px * var(--scale, 1));line-height:1.6;color:var(--v26-muted)}
.ak-card .ak-tag{margin:0 0 14px;display:inline-flex;padding:4px 12px;border-radius:999px;font-size:var(--v26-caption);color:#d4e3f8;background:rgb(120 166 232 / 14%)}
.ak-card--accent .ak-tag{color:#fff;background:linear-gradient(115deg, rgb(42 107 224 / 55%), rgb(20 60 130 / 45%))}
.ak-awards{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:22px 32px;margin:24px 0 0;padding:0;list-style:none}
.ak-awards li{display:grid;gap:6px;padding-left:20px;border-left:1px solid var(--v26-line)}
.ak-awards b{font-weight:400;font-size:var(--v26-num-m);line-height:1.1;letter-spacing:-.02em;color:#fff;font-variant-numeric:tabular-nums}
.ak-awards small{font-size:var(--v26-body);letter-spacing:0;color:var(--v26-muted)}
.ak-awards span{font-size:var(--v26-caption);line-height:1.45;color:var(--v26-muted)}
.ak-fine{display:grid;gap:12px;padding-top:28px;border-top:1px solid var(--v26-line)}
.ak-fine p{margin:0;max-width:96ch;font-size:var(--v26-caption);line-height:1.6;color:var(--v26-faint)}

/* ------------------------------------------------------------ form layout: rail + panel */
.ak-flow{display:grid;grid-template-columns:270px minmax(0, 1fr);gap:clamp(28px, 4vw, 64px);align-items:start;max-width:1360px;margin-inline:auto}
.ak-progress{display:none}
.ak-rail-wrap{position:sticky;top:104px;display:grid;gap:14px}
.ak-progress-text{display:none;margin:0;font-size:calc(17px * var(--scale, 1));line-height:1.35;color:#fff}
.ak-rail{position:relative;display:grid;gap:4px;margin:0;padding:0;list-style:none}
.ak-rail-item{position:relative}
.ak-rail-item:not(:last-child)::after{content:'';position:absolute;left:17px;top:44px;bottom:-10px;width:1.5px;background:rgb(166 198 238 / 22%)}
.ak-rail-item.is-done:not(:last-child)::after{background:linear-gradient(#4f8ff0, rgb(79 143 240 / 50%))}
.ak-rail-btn{display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:6px 8px 6px 0;border:0;border-radius:12px;background:none;
  font:inherit;font-size:calc(15px * var(--scale, 1));line-height:1.35;color:var(--v26-faint);text-align:left}
button.ak-rail-btn{cursor:pointer}
@media (hover:hover){button.ak-rail-btn:hover .ak-rail-text{color:#fff;text-decoration:underline;text-underline-offset:4px}}
.ak-rail-num{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;font-size:calc(14px * var(--scale, 1));font-variant-numeric:tabular-nums;
  color:var(--v26-faint);background:var(--v26-ink);box-shadow:inset 0 0 0 1.5px rgb(166 198 238 / 34%)}
.is-current .ak-rail-btn{color:#fff}
.is-current .ak-rail-num{color:#fff;background:linear-gradient(160deg, #2a6be0, #0e2f5c);box-shadow:inset 0 0 0 1.5px #cfe2ff, 0 0 22px rgb(127 178 255 / 55%)}
.is-done .ak-rail-btn{color:#dbe6f6}
.is-done .ak-rail-num{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 8.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat,
  linear-gradient(160deg, #4f8ff0, #1d4f9e);box-shadow:none}
.is-warn .ak-rail-btn{color:#ffd9d9}
.is-warn .ak-rail-num{color:#2a0b10;background:#ffb4b4;box-shadow:none;font-weight:500}
.ak-saved{margin:6px 0 0;font-size:var(--v26-caption);line-height:1.45;color:var(--v26-faint)}
.ak-help{margin:0;font-size:var(--v26-caption);line-height:1.5;color:var(--v26-faint)}

.ak-panel{padding:clamp(24px, 3.2vw, 52px);border-radius:var(--v26-r-lg)}
.ak-step,.ak-nav,.ak-send-status{max-width:820px}
.ak-step.is-entering{animation:ak-in 420ms var(--v26-ease)}
@keyframes ak-in{from{opacity:0;transform:translate3d(0, 10px, 0)}to{opacity:1;transform:none}}
.ak-step-head{margin-bottom:30px}
.ak-step-kicker{margin:0;font-size:calc(14px * var(--scale, 1));letter-spacing:.01em;color:var(--v26-faint)}   /* no capitals: «З» reads as «3» in e-Ukraine */
.ak-step-title{margin:8px 0 0;font-weight:400;font-size:calc(clamp(26px, 1vw + 18px, 36px) * var(--scale, 1));line-height:1.16;letter-spacing:-.018em;color:#fff;text-wrap:balance}
.ak-step-title:focus{outline:none}
.ak-step-title:focus-visible{outline:2px solid #b9daff;outline-offset:6px;border-radius:6px}
.ak-step-lead{display:grid;gap:10px;margin-top:16px;max-width:68ch}
.ak-step-lead p{margin:0;font-size:calc(15px * var(--scale, 1));line-height:1.6;color:var(--v26-muted)}
.ak-step-lead b{font-weight:400;color:#fff}
.ak-step-errors{margin:0 0 24px;padding:12px 16px;border-radius:14px;font-size:calc(14px * var(--scale, 1));color:#ffe0e0;
  background:rgb(120 20 34 / 26%);box-shadow:inset 0 0 0 1px rgb(255 159 159 / 50%)}

.ak-fields{display:grid;gap:30px}
.ak-field{display:grid;gap:10px;min-width:0;margin:0;padding:0;border:0}
fieldset.ak-field{display:block}
fieldset.ak-field>legend{float:left;width:100%;padding:0;margin:0 0 10px}
fieldset.ak-field>legend+*{clear:both}
fieldset.ak-field>.ak-hint{margin-bottom:12px}
fieldset.ak-field>.ak-error{margin-top:10px}
.ak-label{display:block;font-size:calc(16px * var(--scale, 1));line-height:1.45;color:#eef4fd}
.ak-opt{font-size:.875em;color:var(--v26-faint);white-space:nowrap}
.ak-hint{margin:0;font-size:var(--v26-caption);line-height:1.5;color:var(--v26-faint)}
.ak-field--short .ak-control{max-width:200px}
.ak-control::placeholder{color:rgb(188 205 230 / 70%)}
textarea.ak-control{line-height:1.55}
/* v26.css shrinks every textarea to 3 lines on short screens (for the landing's dialog): not on this page */
@media (max-height:760px){html.ak-page textarea.v26-input{height:auto;min-height:calc(4lh + 26px)}}
.ak-count{margin:0;font-size:var(--v26-caption);color:var(--v26-faint);text-align:right;font-variant-numeric:tabular-nums}
.ak-error{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:var(--v26-caption);line-height:1.45;color:#ffc9c9}
.ak-error::before{content:'!' / '';flex:none;display:grid;place-items:center;width:calc(17px * var(--scale, 1));height:calc(17px * var(--scale, 1));border-radius:50%;
  font-size:calc(11px * var(--scale, 1));line-height:1;color:#2a0b10;background:#ffb4b4}
.is-invalid .ak-control,.ak-control[aria-invalid="true"]{box-shadow:inset 0 0 0 1.5px #ff9f9f}

/* choices: radio / checkbox rows and larger cards; the native control stays focusable */
.ak-choices{display:grid;gap:10px}
.ak-choices--cards{grid-template-columns:repeat(auto-fit, minmax(min(100%, 240px), 1fr))}
.ak-choices--cards.ak-choices--cols1{grid-template-columns:minmax(0, 1fr)}
@media (min-width:700px){.ak-choices--cols2{grid-template-columns:repeat(2, minmax(0, 1fr))}}
[data-field="center"] .ak-choices{grid-template-columns:repeat(2, minmax(0, 1fr))}   /* city chips: two columns at every width */
.ak-choice{position:relative;display:flex;align-items:flex-start;gap:14px;min-height:52px;padding:14px 16px;border-radius:var(--v26-r-sm);cursor:pointer;
  background:rgb(2 11 25 / 58%);box-shadow:inset 0 0 0 1px rgb(166 198 238 / 26%);transition:background-color 160ms var(--v26-ease), box-shadow 160ms var(--v26-ease)}
.ak-choice input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.ak-choice-mark{position:relative;flex:none;width:calc(20px * var(--scale, 1));height:calc(20px * var(--scale, 1));margin-top:2px;border-radius:50%;
  box-shadow:inset 0 0 0 1.5px rgb(190 214 248 / 62%);transition:background-color 160ms, box-shadow 160ms}
.ak-choice input[type="checkbox"]+.ak-choice-mark{border-radius:6px}
.ak-choice-text{font-size:calc(15px * var(--scale, 1));line-height:1.45;color:#e6eefa;overflow-wrap:anywhere}
.ak-choice-text small{display:block;margin-top:4px;font-size:var(--v26-caption);line-height:1.45;color:var(--v26-faint)}
.ak-choice--card{min-height:92px;padding:18px}
.ak-choices--cols1 .ak-choice--card{min-height:0}
.ak-choice--card .ak-choice-text{font-size:calc(16px * var(--scale, 1))}
@media (hover:hover){.ak-choice:hover{background:rgb(10 34 70 / 62%);box-shadow:inset 0 0 0 1px rgb(210 228 255 / 58%)}}
.ak-choice:has(input:checked){background:linear-gradient(115deg, rgb(42 107 224 / 32%), rgb(14 47 92 / 58%));box-shadow:inset 0 0 0 1.5px rgb(150 196 255 / 85%)}
.ak-choice:has(input:checked) .ak-choice-text{color:#fff}
.ak-choice input[type="radio"]:checked+.ak-choice-mark{background:radial-gradient(circle, #fff 0 22%, transparent 25%), #2a6be0;box-shadow:inset 0 0 0 1.5px #cfe2ff}
.ak-choice input[type="checkbox"]:checked+.ak-choice-mark{box-shadow:inset 0 0 0 1.5px #cfe2ff;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat, #2a6be0}
.ak-choice:has(input:focus-visible){outline:2px solid #b9daff;outline-offset:3px}
.is-invalid .ak-choice{box-shadow:inset 0 0 0 1px rgb(255 159 159 / 65%)}
.is-invalid .ak-choice:has(input:checked){box-shadow:inset 0 0 0 1.5px rgb(150 196 255 / 85%)}

.ak-note{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:var(--v26-r-sm);background:rgb(42 107 224 / 14%);box-shadow:inset 0 0 0 1px rgb(150 196 255 / 36%)}
.ak-note p{margin:0;font-size:calc(14px * var(--scale, 1));line-height:1.55;color:#dbe6f6}
.ak-note b{font-weight:400;color:#fff}
.ak-note-icon{flex:none;width:20px;height:20px;margin-top:1px;border-radius:50%;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 11v6M12 7.5v.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat, #2a6be0}

.ak-hints{display:grid;gap:16px}
@media (min-width:900px){.ak-hints:has(.ak-hint-block+.ak-hint-block){grid-template-columns:repeat(2, minmax(0, 1fr))}}
.ak-hint-block{padding:16px 18px;border-radius:var(--v26-r-sm);background:rgb(4 16 38 / 50%);box-shadow:inset 0 0 0 1px var(--v26-line)}
.ak-hint-title{margin:0 0 8px;font-size:calc(14px * var(--scale, 1));color:#fff}
.ak-hint-block ul{margin:0;padding-left:18px;display:grid;gap:4px;font-size:calc(14px * var(--scale, 1));line-height:1.5;color:var(--v26-muted)}

/* review */
.ak-summary{display:grid;gap:14px}
.ak-sum{padding:18px 20px 8px;border-radius:var(--v26-r-sm);background:rgb(2 11 25 / 48%);box-shadow:inset 0 0 0 1px var(--v26-line)}
.ak-sum.is-incomplete{box-shadow:inset 0 0 0 1px rgb(255 159 159 / 60%)}
.ak-sum-warn{margin:0 0 8px;font-size:var(--v26-caption);color:#ffc9c9}
.ak-sum-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.ak-sum-head h3{margin:0;min-width:0;font-weight:400;font-size:calc(17px * var(--scale, 1));color:#fff}
.ak-sum-edit{flex:none;min-height:44px;padding:8px 18px;border:0;border-radius:999px;cursor:pointer;font:inherit;font-size:calc(14px * var(--scale, 1));color:#dbe6f6;
  background:rgb(10 34 70 / 60%);box-shadow:inset 0 0 0 1px rgb(190 214 248 / 28%)}
@media (hover:hover){.ak-sum-edit:hover{background:rgb(30 70 130 / 60%)}}
.ak-sum-edit:disabled{opacity:.5;cursor:default}
.ak-sum dl{margin:0}
.ak-sum-row{display:grid;grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);gap:4px 24px;padding:11px 0;border-top:1px solid var(--v26-line)}
.ak-sum-row dt{font-size:var(--v26-caption);line-height:1.5;color:var(--v26-faint)}
.ak-sum-row dd{margin:0;font-size:calc(15px * var(--scale, 1));line-height:1.5;color:#eef4fd;overflow-wrap:anywhere}
/* long answers (descriptions, the letter) read across the card */
.ak-sum-row--wide{grid-template-columns:minmax(0, 1fr)}
.ak-sum-row--wide dd{max-width:72ch;white-space:pre-line}

/* consents: two titled groups (personal data; rules); the next statements belong to the group above */
.ak-consent{display:grid;gap:14px}
.ak-consent--group{padding-top:28px;margin-top:8px;border-top:1px solid var(--v26-line)}
.ak-consent:not(.ak-consent--group){margin-top:-8px}
.ak-consent-title{margin:0;font-weight:400;font-size:calc(18px * var(--scale, 1));color:#fff}
.ak-consent-text{display:grid;gap:10px}
.ak-consent-text p,.ak-consent-text li{margin:0;font-size:calc(14px * var(--scale, 1));line-height:1.6;color:var(--v26-muted)}
.ak-consent-text ul{margin:0;padding-left:20px;display:grid;gap:6px}
.ak-choice--consent{justify-self:start;min-height:48px;padding:12px 22px 12px 14px}

/* navigation */
.ak-nav{display:flex;align-items:center;gap:12px;margin-top:40px;padding-top:24px;border-top:1px solid var(--v26-line)}
.ak-next{margin-left:auto;min-width:200px}
.ak-next[data-mode="submit"]{min-width:240px}
.ak-next[aria-busy]{opacity:.7;cursor:progress}
.ak-short{display:none}
.ak-send-status{margin:20px 0 0;font-size:calc(14px * var(--scale, 1));color:#dbe6f6}
.ak-send-status.is-error{padding:12px 16px;border-radius:14px;color:#ffe0e0;background:rgb(120 20 34 / 26%);box-shadow:inset 0 0 0 1px rgb(255 159 159 / 50%)}

/* done */
.ak-done{display:grid;place-items:center;min-height:calc(100vh - 260px)}
.ak-done-card{display:grid;justify-items:center;gap:6px;width:min(680px, 100%);padding:clamp(32px, 4vw, 56px);border-radius:var(--v26-r-lg);text-align:center}
.ak-done-card .ak-h2:focus{outline:none}
.ak-done-card .ak-text{margin:12px auto 0}
.ak-done-card .v26-btn{margin-top:26px}
.ak-done-icon{display:grid;place-items:center;width:72px;height:72px;margin-bottom:14px;border-radius:50%;background:linear-gradient(160deg, #4f8ff0, #1d4f9e);box-shadow:0 0 0 8px rgb(79 143 240 / 14%), 0 0 40px rgb(127 178 255 / 45%)}
.ak-done-icon svg{width:34px;height:34px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ak-payload{width:100%;margin-top:18px}
.ak-payload summary{display:inline-flex;align-items:center;min-height:44px;cursor:pointer;font-size:calc(14px * var(--scale, 1));color:#cfe2ff}
.ak-payload pre{max-height:360px;overflow:auto;margin:8px 0 0;padding:16px;border-radius:12px;font:12px/1.5 ui-monospace,Menlo,Consolas,monospace;color:#cfe2ff;text-align:left;
  background:rgb(2 11 25 / 70%);box-shadow:inset 0 0 0 1px var(--v26-line);white-space:pre-wrap;overflow-wrap:anywhere}

/* ------------------------------------------------------------ tablets and phones */
@media (max-width:1023px){
  .ak-intro{grid-template-columns:minmax(0, 1fr);grid-template-rows:none;gap:48px}
  .ak-intro-copy,.ak-intro-more,.ak-start{grid-column:1;grid-row:auto}
  .ak-start{position:relative;top:auto;max-width:640px;margin-top:40px}
  /* the start stays under the thumb while the intro is read (sticky at the screen's bottom inside the intro text) */
  .ak-start-early{display:block;position:sticky;bottom:calc(14px + env(safe-area-inset-bottom));z-index:3;margin-top:28px;max-width:420px}
  .ak-start-early .v26-btn{width:100%;box-shadow:0 18px 40px -22px rgb(42 107 224 / 90%), 0 12px 32px rgb(2 11 25 / 70%)}
  .ak-flow{grid-template-columns:minmax(0, 1fr);gap:18px}
  .ak-rail-wrap{position:static;gap:4px}
  .ak-rail,.ak-help{display:none}
  .ak-progress-text{display:block}
  html.ak-page[data-ak-view="form"] .ak-top::after{display:block}
  /* the kicker repeats the progress text: hidden on screen, still read with the step title */
  .ak-step-kicker{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media (max-width:700px){
  .ak-top{top:12px;left:16px;right:16px;height:60px;border-radius:16px;gap:10px;padding:0 10px 0 15px}
  .ak-brand{width:138px}
  .ak-top-title{display:none}
  .ak-site-link{padding:0 14px}
  .ak-main{width:calc(100% - 2 * var(--v26-gutter));padding-top:104px}
  .ak-facts{grid-template-columns:minmax(0, 1fr);grid-template-rows:none}
  .ak-facts div{grid-row:auto;grid-template-rows:none}
  .ak-facts div+div{padding-left:0;border-left:0}
  .ak-cards,.ak-awards{grid-template-columns:minmax(0, 1fr)}
  .ak-start{padding-top:258px}
  .ak-start-queen{width:88px;top:20px}
  .ak-panel{padding:22px 18px 0;border-radius:var(--v26-r-md)}
  .ak-step-head{margin-bottom:24px}
  .ak-fields{gap:26px}
  .ak-sum{padding:14px 14px 4px}
  .ak-sum-row{grid-template-columns:minmax(0, 1fr);gap:2px}
  .ak-sum-head h3{font-size:calc(16px * var(--scale, 1))}
  html.ak-page{scroll-padding-bottom:150px}   /* a focused field and its error line stay above the sticky step buttons */
  /* the step buttons stay under the thumb: a bar inside the card's rim, square while it is pinned to the screen */
  .ak-nav{position:sticky;bottom:0;z-index:1;margin:28px -16.5px 0;padding:12px 16.5px calc(12px + env(safe-area-inset-bottom));border-top:1px solid rgb(166 198 238 / 20%);
    background:rgb(4 15 34 / 97%);border-radius:0 0 calc(var(--v26-r-md) - 1.5px) calc(var(--v26-r-md) - 1.5px)}
  .ak-nav .v26-btn{flex:1 1 0;min-width:0;padding-inline:14px}
  .ak-next,.ak-next[data-mode="submit"]{min-width:0;flex:2 1 0}
  .ak-long{display:none}
  .ak-short{display:inline}
  .ak-done-card{padding:32px 20px}
}
@media (max-width:430px){html.enlarged .ak-site-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}html.enlarged .ak-site-link{padding:0 12px}}
@media (max-width:380px){.ak-site-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ak-site-link{padding:0 12px}.ak-brand{width:123px}}

/* ------------------------------------------------------------ modes */
html.quiet .ak-step.is-entering{animation:none}
html.quiet .ak-choice,html.quiet .ak-top::after{transition:none}
@media (prefers-reduced-motion:reduce){.ak-step.is-entering{animation:none}.ak-choice,.ak-top::after{transition:none}}
html.contrast .ak-top,html.contrast .ak-a11y{background:#04152f;border-color:#fff}
html.contrast .ak-panel,html.contrast .ak-start,html.contrast .ak-card,html.contrast .ak-sum,html.contrast .ak-hint-block,html.contrast .ak-note{background:#04152f!important;box-shadow:inset 0 0 0 1px rgb(214 232 255 / 80%)}
html.contrast .ak-choice{background:#04152f;box-shadow:inset 0 0 0 1.5px rgb(214 232 255 / 80%)}
html.contrast .ak-choice:has(input:checked){background:#0b2f6b;box-shadow:inset 0 0 0 3px #fff}
html.contrast .ak-text,html.contrast .ak-lead,html.contrast .ak-hint,html.contrast .ak-step-lead p,html.contrast .ak-consent-text p,html.contrast .ak-consent-text li,
html.contrast .ak-card p,html.contrast .ak-fine p,html.contrast .ak-sum-row dt,html.contrast .ak-choice-text small,html.contrast .ak-check,html.contrast .ak-start-sub{color:#fff}
html.contrast .ak-rail-num{box-shadow:inset 0 0 0 1.5px #fff;color:#fff}
html.contrast .ak-nav{background:#04152f}
html.enlarged .ak-intro{grid-template-columns:minmax(0, 1fr);grid-template-rows:none}
html.enlarged .ak-intro-copy,html.enlarged .ak-intro-more,html.enlarged .ak-start{grid-column:1;grid-row:auto}
html.enlarged .ak-start{position:relative;top:auto;max-width:720px;margin-top:40px}
html.enlarged .ak-start-early{display:block;margin-top:28px;max-width:460px}
html.enlarged .ak-flow{grid-template-columns:minmax(0, 1fr);max-width:980px}
html.enlarged .ak-rail-wrap{position:static}
html.enlarged .ak-rail{grid-template-columns:repeat(auto-fit, minmax(220px, 1fr))}
html.enlarged .ak-rail-item::after{display:none}
@media (max-width:1023px){html.enlarged .ak-rail{display:none}}

/* edits 2.0: no start card — one column of a readable width; the start block sits under the facts row */
.ak-intro{grid-template-columns:minmax(0, 1fr);grid-template-rows:none;row-gap:clamp(56px, 5.5vw, 88px)}
.ak-intro-copy,.ak-intro-more{grid-column:1;grid-row:auto;max-width:960px}
.ak-start-block{display:grid;justify-items:start;gap:12px;margin-top:clamp(28px, 2.6vw, 40px)}
.ak-start-block .ak-start-early{display:block;position:static;margin:0;max-width:none}
.ak-start-block .ak-start-early .v26-btn{width:auto;min-width:260px}
.ak-start-block .ak-resume p,.ak-start-block .ak-intake{margin:0;max-width:520px}
.ak-start-block .ak-demo{margin:0;max-width:60ch;text-align:left}
.ak-start-block + .ak-before{margin-top:clamp(36px, 3.4vw, 52px)}
/* phones / tablets: the button stays in the flow after the facts, full width (Codex E2-R02: pinned to the screen's
   bottom it covered the deadline and the intro's last lines) */
@media (max-width:1023px){
  .ak-start-block{margin-top:28px}
  .ak-start-block .ak-start-early{width:100%;max-width:420px}
  .ak-start-block .ak-start-early .v26-btn{width:100%;min-width:0;box-shadow:0 18px 40px -22px rgb(42 107 224 / 90%)}
  .ak-start-block + .ak-before{margin-top:36px}
}
html.enlarged .ak-start-block .ak-start-early{max-width:460px}
/* wide screens (user, 2026-10-23, variant Б): the crystal queen on the empty right side, no card around her; she
   follows the scroll and gets smaller on short laptop screens so she always fits under the header */
.ak-queen{display:none}
@media (min-width:1200px){
  html:not(.enlarged) .ak-intro{grid-template-columns:minmax(0, 960px) minmax(220px, 1fr);column-gap:clamp(48px, 5vw, 96px)}
  html:not(.enlarged) .ak-intro-copy{grid-column:1;grid-row:1}
  html:not(.enlarged) .ak-intro-more{grid-column:1;grid-row:2}
  /* the figure spans the column; her backlight reaches 40px past it on both sides — the page gutter, so it fades out
     right at the screen's edge and never makes the page scroll sideways */
  html:not(.enlarged) .ak-queen{display:block;position:sticky;top:132px;grid-column:2;grid-row:1 / span 2;align-self:start;margin:24px 0 0}
  .ak-queen img{display:block;width:min(260px, 100%, calc((100vh - 200px) * .46));height:auto;margin-inline:auto;
    -webkit-box-reflect:below -3px linear-gradient(transparent 72%, rgb(255 255 255 / 18%))}
  .ak-queen::before{content:'';position:absolute;left:-40px;right:-40px;top:-10%;bottom:-4%;z-index:-1;border-radius:50%;
    background:radial-gradient(closest-side, rgb(90 150 255 / 28%), rgb(60 122 240 / 9%) 58%, transparent)}
  .ak-queen::after{content:'';position:absolute;left:-20px;right:-20px;bottom:-2px;height:2px;border-radius:2px;
    background:linear-gradient(90deg, transparent, rgb(170 208 255 / 75%) 50%, transparent)}
}
/* QA sweep 2026-10-23 */
/* the summary and the fields keep to the column: a long word or address never widens the card (PH-08) */
.ak-summary,.ak-fields{grid-template-columns:minmax(0, 1fr)}
html.enlarged .ak-sum-head{flex-wrap:wrap}
/* the intake line wraps inside the column, never widens it (PH-09) */
.ak-start-block{grid-template-columns:minmax(0, 1fr)}
/* short laptops: the sticky rail may run past the form's end instead of riding up under the header (LP-01) */
@media (min-width:1024px){html:not(.enlarged) .ak-rail-wrap{margin-bottom:-72px}}
/* enlarged text on phones: headings stay inside the column (PH-09) */
@media (max-width:600px){
  html.enlarged .ak-h1{font-size:min(calc(32px * var(--scale, 1)), 11.5vw)}
  html.enlarged .ak-step-title{font-size:min(calc(26px * var(--scale, 1)), 9.5vw)}
  html.enlarged .ak-h4{font-size:min(calc(20px * var(--scale, 1)), 8vw)}
  html.enlarged :is(.ak-h1,.ak-step-title,.ak-h4){hyphens:auto}
}
/* touch: inline links reach a 44px target without moving the text (PH-03) */
@media (pointer:coarse){.ak-link{padding-block:13px}}
