/* Start a search: lean clone of the Framer brief page. Peach ("Đào") palette locked, no switcher.
   Layout: short intro, a two-column strip (working process | fee & guarantee), then the brief as ONE
   stepper card with a sticky progress header. Glass recipe and lens background from the "Thấu kính" identity.
   Shape lock: objects 28px outer / 20px inner, fields 14px, buttons and chips full pill. */
:root {
  --bg: #f7f7fb;
  --ink: #0e1a2b; --ink-2: #4a5568; --ink-3: #5e6878;
  --ink-rgb: 14 26 43; --shade-rgb: 74 30 46;
  --line: rgb(14 26 43 / .12);
  --field: rgb(255 255 255 / .82);
  --field-line: rgb(14 26 43 / .16);
  --glass: rgb(255 255 255 / .58);
  --frost: rgb(255 255 255 / .64);
  --edge: rgb(255 255 255 / .82);
  --hi: rgb(255 255 255 / .95);
  --spec: .7;
  --solid: #ffffff;
  --ring-a: .075; --blob-a: 1; --glow-a: .26;
  --err: #b4232a; --err-rgb: 180 35 42;
  --ok-rgb: 21 128 61; --on-ok: #ffffff;

  /* palette "Đào" (locked): raspberry / apricot / periwinkle */
  --pri: #e8467c; --pri-rgb: 232 70 124; --pri-btn: #d12e66; --pri-text: #b92558; --on-pri: #ffffff;
  --sec: #ff9a52; --sec-rgb: 255 154 82; --sec-ink: #c4530f; --sec-text: #a8460b;
  --ter: #8fa8ff; --ter-rgb: 143 168 255;
  --b1: #ffc9da; --b2: #ffddc2; --b3: #d6deff;

  /* type: Poster pairing (locked). Big Shoulders Display for display and figures, Wix Madefor Text for body and UI */
  --f-display: "Big Shoulders Display", "Wix Madefor Text", system-ui, sans-serif;
  --f-body: "Wix Madefor Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-h: clamp(1.875rem, 1.45rem + 1.6vw, 2.75rem);
  /* scale: 1.25 on phone, ~1.333 on desktop */
  --t-xs: .8125rem; --t-sm: .9375rem;
  --t-md: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --t-lg: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem);
  --t-xl: clamp(1.375rem, 1.2rem + .9vw, 1.875rem);
  --t-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --t-3xl: clamp(2.75rem, 1.6rem + 4.8vw, 5.75rem);
  --lh-display: 1.04; --lh-body: 1.6;

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px;
  --gutter: clamp(16px, 5vw, 48px);
  --sec-y: clamp(56px, 40px + 4vw, 112px);
  --max: 1160px; --nav-h: 64px;
  --r-obj: 28px; --r-in: 20px; --r-field: 14px;
  --ease: cubic-bezier(.32, .72, 0, 1);

  color-scheme: light;
  padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0d16;
    --ink: #f1edf3; --ink-2: #b7aebd; --ink-3: #9a91a1;
    --ink-rgb: 241 237 243; --shade-rgb: 0 0 0;
    --line: rgb(241 237 243 / .12);
    --field: rgb(255 255 255 / .06); --field-line: rgb(241 237 243 / .2);
    --glass: rgb(255 255 255 / .07); --frost: rgb(255 255 255 / .055);
    --edge: rgb(255 255 255 / .16); --hi: rgb(255 255 255 / .2); --spec: .18;
    --solid: #1b1724;
    --ring-a: .06; --blob-a: .24; --glow-a: .35;
    --err: #ff8f96; --err-rgb: 255 143 150;
    --ok-rgb: 74 222 128; --on-ok: #08170e;
    --pri: #ff6e9c; --pri-rgb: 255 110 156; --pri-btn: #ff7fa8; --pri-text: #ff9dbc; --on-pri: #170b12;
    --sec: #ffaa70; --sec-rgb: 255 170 112; --sec-ink: #ffaa70; --sec-text: #ffba8a;
    --b1: #c8346a; --b2: #d9773a; --b3: #5d72d9;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0d16;
  --ink: #f1edf3; --ink-2: #b7aebd; --ink-3: #9a91a1;
  --ink-rgb: 241 237 243; --shade-rgb: 0 0 0;
  --line: rgb(241 237 243 / .12);
  --field: rgb(255 255 255 / .06); --field-line: rgb(241 237 243 / .2);
  --glass: rgb(255 255 255 / .07); --frost: rgb(255 255 255 / .055);
  --edge: rgb(255 255 255 / .16); --hi: rgb(255 255 255 / .2); --spec: .18;
  --solid: #1b1724;
  --ring-a: .06; --blob-a: .24; --glow-a: .35;
  --err: #ff8f96; --err-rgb: 255 143 150;
  --ok-rgb: 74 222 128; --on-ok: #08170e;
  --pri: #ff6e9c; --pri-rgb: 255 110 156; --pri-btn: #ff7fa8; --pri-text: #ff9dbc; --on-pri: #170b12;
  --sec: #ffaa70; --sec-rgb: 255 170 112; --sec-ink: #ffaa70; --sec-text: #ffba8a;
  --b1: #c8346a; --b2: #d9773a; --b3: #5d72d9;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--t-md); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pri-btn); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* background: palette blobs + faint lens rings (fixed) */
.bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; width: 72vmax; height: 72vmax; border-radius: 50%; opacity: var(--blob-a); }
.blob.b1 { top: -32vmax; left: -28vmax; background: radial-gradient(circle, var(--b1) 0%, transparent 64%); }
.blob.b2 { top: 30vh; right: -36vmax; background: radial-gradient(circle, var(--b2) 0%, transparent 62%); }
.blob.b3 { bottom: -38vmax; left: -10vmax; background: radial-gradient(circle, var(--b3) 0%, transparent 62%); }
.rings { position: absolute; border-radius: 50%; }
.rings.r1 {
  width: 130vmax; height: 130vmax; top: -76vmax; right: -62vmax;
  background: repeating-radial-gradient(circle, transparent 0 46px, rgb(var(--ink-rgb) / var(--ring-a)) 46px 47px);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 62%); mask-image: radial-gradient(circle, #000 18%, transparent 62%);
}
.rings.r2 {
  width: 90vmax; height: 90vmax; bottom: -54vmax; left: -46vmax;
  background: repeating-radial-gradient(circle, transparent 0 34px, rgb(var(--ink-rgb) / var(--ring-a)) 34px 35px);
  -webkit-mask-image: radial-gradient(circle, #000 14%, transparent 60%); mask-image: radial-gradient(circle, #000 14%, transparent 60%);
}
header, main, footer { position: relative; z-index: 1; }

/* glass recipe */
.glass, .frost { position: relative; isolation: isolate; border: 1px solid var(--edge); }
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--hi), 0 24px 48px -26px rgb(var(--pri-rgb) / var(--glow-a)), 0 2px 6px -2px rgb(var(--shade-rgb) / .1);
}
.frost { background: var(--frost); box-shadow: inset 0 1px 0 var(--hi), 0 18px 40px -30px rgb(var(--shade-rgb) / .28); }
.glass::before, .frost::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, rgb(255 255 255 / var(--spec)) 0%, rgb(255 255 255 / 0) 40%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: var(--solid); } }
@media (prefers-reduced-transparency: reduce) { .glass, .frost { background: var(--solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* identity */
.logo { flex: none; width: 40px; height: 40px; display: block; }
.lg-glass { fill: rgb(var(--pri-rgb) / .14); }
.lg-ring { fill: none; stroke: var(--pri); stroke-width: 5; }
.lg-hi { fill: none; stroke: rgb(255 255 255 / .75); stroke-width: 1; }
.lg-dot { fill: var(--sec); }
.wm { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: .005em; line-height: 1.1; }

/* buttons */
.btn {
  --pad: 6px;
  display: inline-flex; align-items: center; gap: 14px; cursor: pointer; border: 0;
  min-height: 52px; padding: var(--pad) var(--pad) var(--pad) 22px;
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: var(--t-md);
  background: var(--pri-btn); color: var(--on-pri);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 14px 30px -14px rgb(var(--pri-rgb) / .7);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn .knob {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  background: rgb(255 255 255 / .2); font-size: 17px; line-height: 1; transition: background-color .3s var(--ease);
}
.btn:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .32), 0 18px 34px -14px rgb(var(--pri-rgb) / .85); }
.btn:hover .knob, .btn:focus-visible .knob { background: rgb(255 255 255 / .32); }
.btn:hover .ico-r, .btn:focus-visible .ico-r { transform: translateX(2px); }
.btn:hover .ico-d, .btn:focus-visible .ico-d { transform: translateY(2px); }
.btn:active { transform: scale(.98); }
.ghost {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--field-line); background: var(--field); font-weight: 600;
  transition: transform .4s var(--ease), border-color .3s var(--ease);
}
.ghost:hover:not(:disabled) { border-color: rgb(var(--pri-rgb) / .5); }
.ghost:hover:not(:disabled) .ico-l { transform: translateX(-2px); }
.ghost:active { transform: scale(.98); }
.ghost:disabled { opacity: .4; cursor: default; }
.textbtn {
  border: 0; background: none; padding: 4px 2px; cursor: pointer; font-weight: 600; font-size: var(--t-sm);
  color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line);
}
.textbtn:hover { color: var(--ink); }

/* nav island */
.nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 20; padding-inline: var(--gutter); }
.nav-in {
  max-width: 760px; margin-inline: auto; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 8px 0 12px; border-radius: 999px;
}
.who { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.who-text { display: grid; min-width: 0; }
.who .wm { font-size: 1.3rem; }
.who-role { font-size: var(--t-xs); color: var(--ink-2); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .who-role { display: none; } }
.back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  font-weight: 600; font-size: var(--t-sm); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--field-line); background: var(--field);
  transition: border-color .3s var(--ease);
}
.back:hover { border-color: rgb(var(--pri-rgb) / .5); }
.back:hover .ico-l { transform: translateX(-2px); }

/* intro */
.intro { padding-block: clamp(40px, 6vw, 96px) var(--s-5); display: grid; gap: var(--s-3); }
.eyebrow { font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pri-text); }
.intro h1 {
  font-family: var(--f-display); font-weight: 750;
  font-size: var(--t-3xl); line-height: var(--lh-display); letter-spacing: -.005em; max-width: 14ch; text-wrap: balance;
}
.lede { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.55; max-width: 58ch; text-wrap: pretty; }
.intro-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: var(--s-1); }
.promise { display: grid; gap: 2px; font-size: var(--t-sm); color: var(--ink-2); }
.promise span:first-child { color: var(--ink); font-weight: 600; }

/* strip: process | fee */
.strip { display: grid; gap: var(--s-2); padding-bottom: var(--sec-y); }
@media (min-width: 900px) { .strip { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.proc, .terms { border-radius: var(--r-obj); padding: clamp(22px, 3vw, 36px); display: grid; gap: var(--s-2); min-width: 0; }
.h2 { font-family: var(--f-display); font-weight: 800; font-size: var(--t-h); line-height: 1.06; letter-spacing: -.005em; text-wrap: balance; }
.h2.big { font-size: var(--t-2xl); }
.sub { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.55; max-width: 60ch; }
.plist { display: grid; gap: 0; margin-top: var(--s-1); }
.plist li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 10px; padding-block: 12px; border-top: 1px solid var(--line); }
.plist li:first-child { border-top: 0; }
.plist .pn { font-family: var(--f-display); font-weight: 700; font-size: var(--t-sm); color: var(--pri-text); font-variant-numeric: tabular-nums; padding-top: 1px; }
.plist div { display: grid; gap: 2px; min-width: 0; }
.plist b { font-weight: 650; font-size: var(--t-md); }
.plist div span { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.5; }
.tlabel { font-size: var(--t-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tl { display: grid; gap: 0; }
.tl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); }
.tl div:first-child { border-top: 0; }
.tl dt { color: var(--ink-2); font-size: var(--t-sm); flex: 0 1 auto; }
.tl dd { flex: 0 1 60%; }
.tl dd { font-weight: 600; font-size: var(--t-sm); text-align: right; }
.guar { display: grid; gap: 8px; padding: 16px 18px; border-radius: var(--r-in); background: rgb(var(--sec-rgb) / .14); }
.guar p { font-size: var(--t-sm); line-height: 1.55; color: var(--ink-2); }
.guar .std { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--ink); }
.guar .std b { font-weight: 650; }

/* brief */
.brief { padding-bottom: var(--sec-y); display: grid; gap: var(--s-3); }
.brief-top { display: grid; gap: 10px; }
.prog {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 20px); z-index: 10;
  border-radius: var(--r-in); padding: 12px 14px 10px; display: grid; gap: 8px;
}
.prog-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.prog-name { font-weight: 650; font-size: var(--t-sm); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prog-count { font-size: var(--t-xs); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar { height: 4px; border-radius: 4px; background: rgb(var(--pri-rgb) / .14); overflow: hidden; }
.bar i { display: block; height: 100%; width: 10%; border-radius: inherit; background: linear-gradient(90deg, var(--pri), var(--sec)); transition: width .5s var(--ease); }
.chips { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; position: relative; padding-bottom: 2px; margin-inline: -4px; padding-inline: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chips li { flex: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none; cursor: pointer;
  min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip .cn { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.chip:hover { border-color: rgb(var(--pri-rgb) / .45); }
.chip[aria-current="step"] { background: var(--pri-btn); border-color: var(--pri-btn); color: var(--on-pri); }
.chip[aria-current="step"] .cn { color: inherit; opacity: .8; }
.chip.is-done:not([aria-current="step"]) { color: var(--ink); border-color: rgb(var(--pri-rgb) / .35); }
.chip.missing:not([aria-current="step"]) { border-color: var(--err); color: var(--err); }
/* without JS, the chips and progress make no sense: hide them */
html:not(.js) .prog, html:not(.js) .actions, html:not(.js) .review { display: none; }

.card { border-radius: var(--r-obj); padding: clamp(20px, 3.2vw, 40px); display: grid; gap: var(--s-4); }
.step, .review { display: grid; gap: var(--s-3); }
html:not(.js) .step + .step { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.step-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; }
.step-n {
  font-family: var(--f-display); font-weight: 700; font-size: var(--t-sm); font-variant-numeric: tabular-nums;
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  background: rgb(var(--pri-rgb) / .12); color: var(--pri-text);
}
.step-titles { display: grid; gap: 4px; min-width: 0; }
.step-titles h3 { font-family: var(--f-display); font-weight: 800; font-size: var(--t-h); line-height: 1.06; letter-spacing: -.005em; text-wrap: balance; outline: none; }
.step-titles p { color: var(--ink-2); font-size: var(--t-sm); }
.stepnote { grid-column: 2; justify-self: start; font-size: var(--t-xs); font-weight: 600; color: var(--ink-3); padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); }
@media (min-width: 640px) { .step-head { grid-template-columns: auto 1fr auto; } .stepnote { grid-column: 3; grid-row: 1; margin-top: 8px; } }

.fields { display: grid; gap: 18px 20px; }
@media (min-width: 720px) { .fields { grid-template-columns: 1fr 1fr; } .field.wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field label { font-weight: 600; font-size: var(--t-sm); line-height: 1.4; }
.req { color: var(--pri-text); margin-left: 3px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-field);
  border: 1px solid var(--field-line); background: var(--field);
  font-size: 1rem; line-height: 1.5; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: none; overflow: hidden; min-height: 96px; }
.field ::placeholder { color: var(--ink-3); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--pri-btn); box-shadow: 0 0 0 4px rgb(var(--pri-rgb) / .16);
}
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgb(180 35 42 / .12); }
.sel { position: relative; display: block; }
.sel::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; pointer-events: none;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.field select:invalid, .field select.empty { color: var(--ink-3); }
.field select option { color: initial; }
.err { color: var(--err); font-size: var(--t-xs); font-weight: 600; }
.big-err { font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts-box { margin-top: var(--s-2); min-height: 0; }
/* failure: a clear panel, not a line of small red text */
.send-err {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 6px; align-items: start; justify-items: start;
  margin-top: var(--s-3); padding: 18px 20px; border-radius: 20px; outline: none;
  background: rgb(var(--err-rgb) / .1); box-shadow: inset 0 0 0 1px rgb(var(--err-rgb) / .45);
}
.send-err > :not(.err-ic) { grid-column: 2; }
.err-ic { grid-row: 1 / span 3; width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; color: var(--err); background: rgb(var(--err-rgb) / .14); }
.err-ic .ico { width: 20px; height: 20px; }
.err-t { font-weight: 700; color: var(--err); font-size: var(--t-md); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* step change motion */
@media (prefers-reduced-motion: no-preference) {
  .js .step.in, .js .review.in { animation: stepIn .45s var(--ease) both; }
}
@keyframes stepIn { from { opacity: .2; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.draft { display: inline-flex; align-items: center; gap: 12px; font-size: var(--t-xs); color: var(--ink-3); order: 3; flex-basis: 100%; justify-content: center; }
@media (min-width: 640px) { .draft { order: 0; flex-basis: auto; } }

/* review */
.rlist { display: grid; gap: 12px; }
.rgroup { border-radius: var(--r-in); border: 1px solid var(--line); background: var(--field); padding: 16px 18px; display: grid; gap: 10px; }
.rgroup-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rgroup-head h4 { margin: 0; font-weight: 650; font-size: var(--t-md); }
.rgroup dl { display: grid; gap: 8px; }
.rgroup dl div { display: grid; gap: 2px; }
.rgroup dt { font-size: var(--t-xs); color: var(--ink-3); }
.rgroup dd { font-size: var(--t-sm); white-space: pre-wrap; overflow-wrap: anywhere; }
.rgroup .none { font-size: var(--t-sm); color: var(--ink-3); }
.rgroup .miss { color: var(--err); font-weight: 600; }

/* done */
.done { border-radius: var(--r-obj); padding: clamp(24px, 4vw, 48px); display: grid; gap: var(--s-2); outline: none; }
.done h3 { font-family: var(--f-display); font-weight: 800; font-size: var(--t-2xl); line-height: 1.06; letter-spacing: -.005em; color: var(--ink); }
.done > p { color: var(--ink-2); max-width: 54ch; }
/* success: a check badge, a green kicker and the one-working-day promise in body size */
.done { box-shadow: inset 0 0 0 1px rgb(var(--ok-rgb) / .4); }
.done-head { display: flex; align-items: center; gap: 18px; }
.done-ic { flex: none; width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; color: var(--on-ok); background: rgb(var(--ok-rgb)); box-shadow: 0 12px 28px -12px rgb(var(--ok-rgb) / .9); }
.done-ic .ico { width: 32px; height: 32px; stroke-width: 2.75; }
.done-kicker { font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--ok-rgb)); }
.done > .done-lead { font-size: var(--t-lg, 1.2rem); color: var(--ink); line-height: 1.45; }
.done-ref { font-size: var(--t-sm); color: var(--ink-2); }
.done-ref .addr { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
@media (prefers-reduced-motion: no-preference) {
  .done:not([hidden]) .done-ic { animation: done-pop .6s var(--ease) both; }
  .done:not([hidden]) .ico-ok path { stroke-dasharray: 24; animation: done-tick .5s .25s var(--ease) both; }
}
@keyframes done-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes done-tick { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.done-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: var(--s-1); }
.mail { font-size: var(--t-sm); color: var(--ink-2); }
.addr { font-weight: 650; color: var(--ink); user-select: all; -webkit-user-select: all; }
.plain { width: 100%; border-radius: var(--r-field); border: 1px solid var(--field-line); background: var(--field); padding: 12px 14px; font-size: var(--t-sm); line-height: 1.5; resize: vertical; }

/* closing line + footer */
.closing { padding-bottom: var(--sec-y); }
.big-line { font-family: var(--f-display); font-weight: 800; font-size: var(--t-3xl); line-height: 1.04; letter-spacing: -.005em; max-width: 14ch; text-wrap: balance; }
.big-line em { font-style: normal; color: var(--pri-text); }
footer { padding-block: var(--s-5) calc(var(--s-5) + 8px); color: var(--ink-3); font-size: var(--t-sm); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.foot-brand .logo { width: 32px; height: 32px; }
.foot-brand > span { display: grid; }
.fr { font-size: var(--t-xs); color: var(--ink-3); }
.fl { max-width: 52ch; }

/* language switch (EN / VI) */
.lang {
  width: 40px; height: 40px; border-radius: 999px; flex: none; display: grid; place-items: center;
  font-weight: 700; font-size: 13px; letter-spacing: .04em; text-decoration: none;
  color: var(--ink); background: rgb(var(--ink-rgb) / .07); transition: background .3s var(--ease);
}
.lang:hover { background: rgb(var(--pri-rgb) / .16); }
.nav-r { display: flex; align-items: center; gap: 8px; flex: none; }

/* icons: stroked SVG, same visual weight as the 600 label text */
.ico { width: 18px; height: 18px; flex: none; display: block; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn-sm .ico { width: 16px; height: 16px; }
.link .ico, .back .ico, .ghost .ico { width: 16px; height: 16px; display: inline-block; vertical-align: -2px; }
