/* Concierge Hours · Atlanta Home Concierge
   Brand: Utendo Bold/Regular, Navy Concierge #222B4A, Green Skyline #52A758 (never text on white),
   white. The Black Friday layer is everything marked .bf or scoped to html[data-bf]: turning off
   `blackFriday` in js/config.js removes it without touching the rest. */

/* Utendo ships with 74% ascent / 27% descent, so text sat ~2px above the middle of every pill.
   Balanced metrics center the capitals in buttons, tabs and chips (same total line height). */
@font-face { font-family: "Utendo"; src: url("../assets/fonts/Utendo-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; ascent-override: 87%; descent-override: 15%; line-gap-override: 0%; }
@font-face { font-family: "Utendo"; src: url("../assets/fonts/Utendo-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; ascent-override: 87%; descent-override: 15%; line-gap-override: 0%; }

:root {
  --navy: #222B4A;
  --navy-80: #4E556E;
  --tint: #F4F4F6;
  --green: #52A758;
  --green-dark: #3C7B41;
  --white: #FFFFFF;
  --black: #000000;
  --line: #E4E5EB;
  --line-dark: rgba(255, 255, 255, .16);
  --danger: #B3261E;

  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --r-xl: 20px;
  --r-lg: 14px;
  --r-md: 12px;
  --r-sm: 8px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --shadow: 0 24px 60px rgba(18, 23, 43, .18);
  --shadow-sm: 0 8px 24px rgba(18, 23, 43, .10);
  --ticker: 0px;
}
html[data-bf] { --ticker: 40px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; scroll-padding-top: 90px; }
body { margin: 0; font-family: "Utendo", system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--navy); background: var(--white); overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
html:not([data-bf]) .bf { display: none !important; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 { font-weight: 700; }
.display { font-size: clamp(48px, 8.2vw, 112px); line-height: .94; letter-spacing: -0.035em; }
.h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1; letter-spacing: -0.025em; }
.h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.02em; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--navy-80); max-width: 60ch; }
.on-dark .lead, .lead.on-dark { color: rgba(255, 255, 255, .82); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1; color: var(--navy-80); }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--green); }
.on-dark .eyebrow { color: rgba(255, 255, 255, .78); }
.muted { color: var(--navy-80); }
.on-dark .muted { color: rgba(255, 255, 255, .7); }
.fine { font-size: 13px; line-height: 1.5; color: var(--navy-80); }
.on-dark .fine { color: rgba(255, 255, 255, .6); }
.num { font-variant-numeric: tabular-nums; }
.green-text { color: var(--green-dark); }
/* Brand: Green Skyline is never a text color. Highlighted words keep the text color and get
   the skyline's line as an underline instead. */
.hl, .green-on-dark { color: inherit; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: .085em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.on-dark { color: var(--white); }

/* ---------- buttons ---------- */
.btn { --bg: var(--navy); --fg: var(--white); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn--white { --bg: var(--white); --fg: var(--navy); }
.btn--green { --bg: var(--green); --fg: var(--white); }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.on-dark .btn--ghost, .btn--ghost.on-dark { --fg: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.on-dark .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 17px; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; cursor: pointer; }

/* ---------- icons (mask, so they take the text color) ---------- */
.ico { --i: none; display: inline-block; width: 24px; height: 24px; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* ---------- Black Friday ticker ---------- */
.ticker { position: fixed; z-index: 60; inset: 0 0 auto 0; height: var(--ticker); background: var(--black); color: var(--white); overflow: hidden; display: flex; align-items: center; font-size: 14px; }
.ticker__track { display: flex; gap: 0; white-space: nowrap; animation: tick 38s linear infinite; will-change: transform; }
.ticker__item { display: inline-flex; align-items: center; gap: 14px; padding-right: 14px; }
.ticker__item b { font-weight: 700; }
.ticker__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.ticker__clock { position: absolute; z-index: 2; right: 0; top: 0; bottom: 0; padding: 0 18px; display: flex; align-items: center; gap: 8px; background: var(--green); color: var(--white); font-weight: 700; white-space: nowrap; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.top { position: fixed; z-index: 50; top: var(--ticker); left: 0; right: 0; transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.top__in { display: flex; align-items: center; gap: 28px; height: 78px; }
.top__logo { display: block; width: 210px; flex: none; position: relative; height: 44px; }
.top__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .35s; }
.top__logo .l-dark { opacity: 0; }
.top__nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.top__nav a { text-decoration: none; opacity: .86; position: relative; padding: 6px 0; }
.top__nav a:hover { opacity: 1; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); }
.top__actions { display: flex; align-items: center; gap: 10px; }
.top--dark { color: var(--white); }
.top--solid { background: var(--white); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.top--solid .top__logo .l-light { opacity: 0; }
.top--solid .top__logo .l-dark { opacity: 1; }
.top--solid .btn--ghost { --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.top--dark:not(.top--solid) .btn--ghost { --fg: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.top--dark:not(.top--solid) .btn--navy-swap { --bg: var(--white); --fg: var(--navy); }
.top__menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; position: relative; }
.top__menu span, .top__menu span::before { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; content: ""; }
.top__menu span { top: 18px; }
.top__menu span::before { top: 6px; left: 0; right: 0; }
.drawer { position: fixed; z-index: 70; inset: 0; background: var(--navy); color: var(--white); padding: 100px var(--pad) 40px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-100%); transition: transform .6s var(--ease-io); }
.drawer.is-open { transform: none; }
.drawer a { font-size: 30px; font-weight: 700; text-decoration: none; padding: 8px 0; }
.drawer__close { position: absolute; top: 24px; right: var(--pad); }
@media (max-width: 1080px) { .top__nav { display: none; } .top__actions { margin-left: auto; } }
@media (max-width: 640px) { .top__actions .hide-sm { display: none; } .top__menu { display: block; } .top__logo { width: 170px; } }

/* ---------- hero ----------
   The first structure, back by Felipe's choice (23/11): copy on the left, the 3D card fan on the right.
   Ground: Navy Concierge, also during Black Friday (Felipe, 23/11: "todo navy"). */
.hero { position: relative; min-height: 100svh; padding: calc(var(--ticker) + 130px) 0 80px; background: var(--navy); color: var(--white); overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__title { margin-bottom: 28px; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
@keyframes rise { to { transform: none; } }
.hero__offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 14px; font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.015em; }
.hero__offer .give { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: .1em; text-underline-offset: .16em; text-decoration-skip-ink: none; }
.hero__bonus { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 8px 16px 8px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-dark); font-size: 15px; }
.hero__bonus b { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; background: var(--green); color: var(--white); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 18px; }
.hero__stage { position: relative; height: min(68vh, 620px); perspective: 1800px; }
.hero__fan { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.hero__fan .gcard { position: absolute; left: 50%; top: 50%; width: min(500px, 40vw); will-change: transform; backface-visibility: hidden; }
.hero__seal { position: absolute; z-index: 5; right: 4%; top: 2%; width: 150px; height: 150px; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; opacity: .7; text-decoration: none; }
.hero__scroll i { width: 2px; height: 36px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; border-radius: 2px; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; background: var(--green); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { from { top: -40%; } to { top: 100%; } }
@media (max-width: 960px) {
  .hero { padding-top: calc(var(--ticker) + 110px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { height: 270px; order: -1; margin-top: -30px; }
  .hero__fan .gcard { width: min(360px, 70vw); }
  .hero__seal { width: 110px; height: 110px; right: 0; top: -6px; }
  .hero__scroll { display: none; }
  .hero__copy .eyebrow { display: block; line-height: 1.5; }
  .hero__copy .eyebrow::before { display: inline-block; vertical-align: middle; margin-right: 10px; }
}

/* seal (Black Friday stamp) */
.seal { display: block; width: 100%; height: 100%; }
.seal__ring { animation: spin 22s linear infinite; transform-origin: 50% 50%; }
.seal text { font-family: "Utendo", sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: 2.2px; fill: var(--white); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- gift card component ---------- */
.gcard { --w: 520px; container-type: inline-size; aspect-ratio: 1.586; width: var(--w); position: relative; color: var(--navy); }
/* Corners like a real card, measured on the card itself (cqw works inside the .gcard container). */
.gcard__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); border-radius: 2.4cqw; }
.gcard.is-back .gcard__inner { transform: rotateY(180deg); }
.gcard__face { position: absolute; inset: 0; border-radius: 2.4cqw; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--tint); box-shadow: 0 30px 70px rgba(18, 23, 43, .26); }
/* Full picture. The text color of each picture (tone in catalog.json) was measured on the area under
   the logo and the value; pictures without a calm area there are not offered. */
.gcard__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gcard__logo { position: absolute; left: 6.5cqw; top: 6cqw; width: 34cqw; height: auto; }
.gcard__meta { position: absolute; left: 6.5cqw; bottom: 6cqw; display: flex; flex-direction: column; gap: .4cqw; max-width: 60%; }
.gcard__prog { font-size: 3.1cqw; line-height: 1.2; opacity: .9; }
.gcard__value { font-size: 11.5cqw; line-height: .95; letter-spacing: -0.03em; font-weight: 700; }
.gcard__for { font-size: 3.3cqw; line-height: 1.25; min-height: 1.25em; }
.gcard--dark { color: var(--white); }
.gcard__back { transform: rotateY(180deg); background: var(--navy); color: var(--white); padding: 7cqw 7cqw 6cqw; display: flex; flex-direction: column; }
.gcard__pattern { position: absolute; right: -6cqw; bottom: -4cqw; width: 52cqw; opacity: .08; }
.gcard__msg { font-size: 4.2cqw; line-height: 1.35; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; position: relative; }
.gcard__msg.is-empty { opacity: .5; }
.gcard__sig { font-size: 3.4cqw; margin-top: 2cqw; opacity: .8; }
.gcard__code { margin-top: 3cqw; display: flex; justify-content: space-between; align-items: flex-end; gap: 4cqw; font-size: 2.8cqw; position: relative; }
.gcard__code b { display: block; font-size: 4.4cqw; letter-spacing: .14em; }
@container (max-width: 200px) { .gcard__logo { display: none; } }

/* ---------- sections, shared ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.sec--tint { background: var(--tint); }
.sec--navy { background: var(--navy); color: var(--white); }

/* ---------- concept: four photo panels (care, affection, attention, life) ---------- */
.pillars { background: var(--white); }
.pillars__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 22px 60px; margin-bottom: 44px; }
.pillars__head .lead { max-width: 46ch; }
.pillars__row { display: flex; gap: 12px; height: min(68vh, 600px); min-height: 440px; }
.pillar { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); cursor: pointer; transition: flex-grow .9s var(--ease); outline-offset: 4px; }
.pillar.is-on { flex-grow: 3.4; cursor: default; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.pillar.is-on img { transform: scale(1); }
.pillar__tag { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--navy); color: var(--white); font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .4s var(--ease); }
.pillar__tag span { color: rgba(255, 255, 255, .6); font-size: 13px; margin-right: 6px; }
.pillar__body { position: absolute; left: 16px; bottom: 16px; width: min(400px, calc(100% - 32px)); padding: 24px 26px 26px; border-radius: var(--r-md); background: var(--navy); color: var(--white); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.pillar__body h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -0.025em; margin: 6px 0 10px; }
.pillar__body p { font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.pillar__n { font-size: 13px; color: rgba(255, 255, 255, .6); }
.pillar.is-on .pillar__body { opacity: 1; transform: none; transition-delay: .25s; }
.pillar.is-on .pillar__tag { opacity: 0; }
.pillars__close { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; margin-top: 54px; padding-top: 34px; border-top: 1px solid var(--line); }
.pillars__close .h2 { max-width: none; } /* broken by hand (.ln) */
@media (max-width: 860px) {
  .pillars__row { flex-direction: column; height: auto; min-height: 0; }
  .pillar, .pillar.is-on { flex: none; height: 340px; }
  .pillar__tag { display: none; }
  .pillar__body { opacity: 1; transform: none; }
}

/* ---------- examples: gifts made with care ---------- */
.examples { background: var(--navy); color: var(--white); overflow: clip; }
.examples__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 60px; margin-bottom: 46px; }
.examples__head .lead { max-width: 46ch; }
.examples__rows { display: grid; gap: 30px; }
.ex-row { display: flex; gap: 26px; width: max-content; animation: exroll 52s linear infinite; will-change: transform; }
.ex-row--rev { animation-direction: reverse; animation-duration: 62s; }
@keyframes exroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ex { flex: none; width: clamp(260px, 24vw, 340px); display: grid; gap: 12px; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.ex .gcard { --w: 100%; width: 100%; transition: transform .6s var(--ease); }
.ex .gcard__face { box-shadow: 0 22px 50px rgba(5, 8, 20, .45); }
.ex:hover .gcard { transform: translateY(-10px) scale(1.03); }
.ex__q { font-size: 16px; line-height: 1.45; }
.ex__by { font-size: 13px; color: rgba(255, 255, 255, .66); }
.examples__cta { display: flex; justify-content: center; margin-top: 50px; }
@media (prefers-reduced-motion: reduce) { .ex-row { animation: none; } .examples__rows { overflow-x: auto; } }

/* ---------- offer (individual) ---------- */
.offer { background: var(--white); }
.offer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px 24px 24px; border-radius: var(--r-lg); background: var(--tint); text-align: left; border: 0; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s; }
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.tier__pay { font-size: 15px; color: var(--navy-80); }
.tier__pay b { color: var(--navy); }
.tier__gets { font-size: clamp(44px, 4.4vw, 64px); line-height: .95; font-weight: 700; letter-spacing: -0.03em; }
.tier__gets small { display: block; font-size: 14px; letter-spacing: 0; font-weight: 400; color: var(--navy-80); margin-bottom: 6px; }
.tier__bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--white); }
.tier__bar i { display: block; height: 100%; }
.tier__bar .p { background: var(--navy); }
.tier__bar .b { background: var(--green); }
.tier__bonus { display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.tier__bonus b { color: var(--green-dark); }
.tier__cta { margin-top: auto; }
.tier--sig { background: var(--navy); color: var(--white); }
.tier--sig:hover { background: var(--navy); }
.tier--sig .tier__pay, .tier--sig .tier__gets small { color: rgba(255,255,255,.72); }
.tier--sig .tier__pay b { color: var(--white); }
.tier--sig .tier__bar { background: rgba(255,255,255,.14); }
.tier--sig .tier__bar .p { background: var(--white); }
.tier--sig .tier__bonus b { color: var(--white); }
.tier__flag { position: absolute; top: -12px; left: 22px; padding: 6px 12px; border-radius: 999px; background: var(--green); color: var(--white); font-size: 12.5px; font-weight: 700; }
.tier__flag--bf { background: var(--black); left: auto; right: 22px; top: auto; bottom: -12px; }
.tier--feat { box-shadow: inset 0 0 0 2px var(--navy); }
.offer__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; margin-top: 28px; }
@media (max-width: 1040px) { .offer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .offer__grid { grid-template-columns: 1fr; } }

/* ---------- corporate ---------- */
.corp { background: var(--navy); color: var(--white); overflow: hidden; }
.corp__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pack { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-dark); text-align: left; color: var(--white); border: 0; transition: transform .5s var(--ease), background .3s; }
.pack:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.pack--feat { background: var(--white); color: var(--navy); box-shadow: none; }
.pack--feat:hover { background: var(--white); }
.pack__stack { position: relative; height: 128px; margin: 6px 0 4px; }
.pack__stack .mini { position: absolute; left: 50%; top: 50%; width: 150px; aspect-ratio: 1.586; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.35); background: #333; }
.pack__stack .mini img { width: 100%; height: 100%; object-fit: cover; }
.pack__count { position: absolute; z-index: 5; right: 0; bottom: 0; font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--green); color: var(--white); }
.pack__name { font-size: 22px; line-height: 1.1; }
.pack__rows { display: grid; gap: 6px; font-size: 15px; }
.pack__rows div { display: flex; justify-content: space-between; gap: 10px; }
.pack__rows dt { opacity: .74; }
.pack__rows dd { font-weight: 700; }
.pack__rows .bonus dd { color: var(--white); }
.pack--feat .pack__rows .bonus dd { color: var(--navy); } /* green is never text */
.pack__per { font-size: 14px; opacity: .8; padding-top: 10px; border-top: 1px solid var(--line-dark); }
.pack--feat .pack__per { border-color: var(--line); }
@media (max-width: 1040px) { .corp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .corp__grid { grid-template-columns: 1fr; } }

/* ---------- how it works: four phone screens; the active one plays ---------- */
.how { background: var(--tint); }
.how__track { position: relative; height: 2px; background: var(--line); border-radius: 2px; margin: 0 0 30px; overflow: hidden; }
.how__track i { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .9s var(--ease); }
.how__flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: h; }
.how__item { display: grid; gap: 16px; align-content: start; opacity: .5; transition: opacity .5s var(--ease); cursor: pointer; }
.how__item.is-on { opacity: 1; }
.how__item .phone { width: 100%; max-width: 250px; margin: 0; padding: 9px; border-radius: 34px; aspect-ratio: 9 / 17; box-shadow: 0 18px 40px rgba(18, 23, 43, .16); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.how__item.is-on .phone { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(18, 23, 43, .24); }
.how__item .phone__screen { border-radius: 26px; }
.how__num { font-size: 13px; font-weight: 700; color: var(--green-dark); }
.how__item h3 { font-size: 20px; line-height: 1.2; }
.how__item p { font-size: 15px; color: var(--navy-80); line-height: 1.5; }
.hs { padding: 12px 11px; display: flex; flex-direction: column; gap: 9px; height: 100%; font-size: 11.5px; }
.hs__app { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: var(--navy-80); }
.hs__h { font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.hs__mail { border-radius: 10px; box-shadow: inset 0 0 0 1.2px var(--line); padding: 9px; display: grid; gap: 7px; }
.hs .gcard { --w: 100%; width: 100%; }
.hs__btn { min-height: 30px; border-radius: 999px; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 11px; margin-top: auto; }
.hs__bal { display: flex; justify-content: space-between; align-items: baseline; }
.hs__bal b { font-size: 22px; letter-spacing: -0.02em; }
.hs__svc { border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--navy); padding: 8px 9px; display: grid; gap: 6px; background: var(--white); }
.hs__svc > span { display: flex; align-items: center; gap: 7px; font-weight: 700; }
.hs__svc .ico { width: 16px; height: 16px; color: var(--green-dark); }
.hs__svc .tick { margin-left: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--green); }
.hs__note { min-height: 30px; border-radius: 7px; background: var(--tint); padding: 6px 7px; font-size: 10.5px; line-height: 1.35; color: var(--navy); }
.hs__note::after { content: ""; display: inline-block; width: 1.5px; height: 11px; background: var(--navy); margin-left: 1px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hs__done { flex: 1; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.hs__check { width: 54px; height: 54px; border-radius: 50%; background: var(--green); display: grid; place-items: center; transform: scale(.5); opacity: .4; transition: transform .6s var(--ease), opacity .4s; }
.how__item.is-on .hs__check { transform: scale(1); opacity: 1; }
.hs__check svg { width: 26px; }
@media (max-width: 960px) {
  .how__flow { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .how__item { scroll-snap-align: start; }
  .how__track { display: none; }
}

.phone { position: relative; width: min(330px, 80vw); margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 46px; background: var(--navy); padding: 12px; box-shadow: var(--shadow); }
.phone__screen { width: 100%; height: 100%; border-radius: 36px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.phone__list { padding: 14px 16px; display: grid; gap: 8px; }
.phone__svc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; }
.phone__svc.is-on { box-shadow: inset 0 0 0 2px var(--navy); }
.phone__svc .tick { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); }
.phone__svc.is-on .tick { background: var(--green); box-shadow: none; }
.phone__cta { margin: auto 16px 18px; min-height: 46px; border-radius: 999px; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* ---------- services carousel ---------- */
.svc__rows { display: grid; gap: 14px; overflow: clip; }
.svc-row { display: flex; gap: 14px; width: max-content; animation: exroll 70s linear infinite; will-change: transform; }
.svc-row--rev { animation-direction: reverse; animation-duration: 82s; }
.svc { flex: none; width: 300px; display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-md); background: var(--white); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.svc .ico { width: 30px; height: 30px; color: var(--green-dark); margin-top: 2px; }
.svc h3 { font-size: 17px; line-height: 1.25; margin-bottom: 4px; }
.svc p { font-size: 14px; line-height: 1.45; color: var(--navy-80); }
.svc small { display: block; font-size: 12px; color: var(--navy-80); margin-bottom: 4px; }
@media (prefers-reduced-motion: reduce) { .svc-row { animation: none; } .svc__rows { overflow-x: auto; } }

/* ---------- note, faq, final ---------- */
.note__box { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: var(--r-xl); background: var(--tint); }
.note__eq { display: grid; gap: 12px; }
.note__eq div { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.note__eq div:last-child { border: 0; font-weight: 700; font-size: 22px; }
.note__eq .g { color: var(--green-dark); font-weight: 700; }
@media (max-width: 860px) { .note__box { grid-template-columns: 1fr; } }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--ticker) + 110px); display: grid; gap: 18px; }
.faq__call { margin-top: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--navy); color: var(--white); display: grid; gap: 6px; justify-items: start; }
.faq__call .fine { color: rgba(255, 255, 255, .7); }
.faq__call b { font-size: 26px; letter-spacing: -0.01em; }
.faq__call .btn { --bg: var(--white); --fg: var(--navy); margin-top: 10px; }
.faq__list { display: grid; counter-reset: q; border-top: 1px solid var(--line); }
.faq__item { counter-increment: q; border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; gap: 12px; padding: 24px 0; font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; }
.faq__item summary::before { content: "0" counter(q); font-size: 13px; color: var(--green-dark); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 20px; font-weight: 400; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--navy); color: var(--white); box-shadow: none; }
.faq__item p { padding: 0 48px 26px 52px; color: var(--navy-80); max-width: 64ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__side { position: static; } .faq__item p { padding: 0 0 22px 52px; } }
.final { background: var(--navy); color: var(--white); text-align: center; overflow: hidden; }
.final .display span { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: .08em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.final__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.final__cards { display: flex; justify-content: center; margin-top: 70px; perspective: 1400px; }
.final__cards .gcard { --w: 300px; margin: 0 -40px; }
.countdown { display: inline-flex; gap: 8px; margin-top: 26px; }
.countdown span { min-width: 74px; padding: 12px 8px 10px; border-radius: 14px; background: rgba(255,255,255,.08); font-weight: 700; font-size: 28px; line-height: 1; }
.countdown small { display: block; font-size: 11px; font-weight: 400; opacity: .7; margin-top: 6px; }

/* ---------- footer ---------- */
.foot { background: var(--white); padding: 70px 0 40px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot__logo { width: 230px; margin-bottom: 18px; }
.foot h4 { font-size: 15px; margin-bottom: 12px; }
.foot ul { display: grid; gap: 8px; font-size: 15px; color: var(--navy-80); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--navy-80); }
@media (max-width: 800px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.no-motion .rv { opacity: 1; transform: none; }

/* ======================================================================
   Builder (the purchase flow): one wide panel, live card on the left
   ====================================================================== */
.builder { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 18px; visibility: hidden; }
.builder.is-open { visibility: visible; }
.builder__veil { position: absolute; inset: 0; background: rgba(10, 13, 26, .62); opacity: 0; transition: opacity .5s; }
.builder.is-open .builder__veil { opacity: 1; }
.builder__panel { position: relative; width: min(1180px, 100%); height: min(760px, calc(100svh - 36px)); border-radius: var(--r-xl); background: var(--white); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); clip-path: inset(0 50% 0 50% round var(--r-xl)); transition: clip-path .9s var(--ease-io); }
.builder.is-open .builder__panel { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.builder__stage { position: relative; background: var(--navy); color: var(--white); padding: 34px 40px; display: flex; flex-direction: column; overflow: hidden; }
.builder__stage .gcard { --w: min(460px, 100%); width: var(--w); margin: auto; }
.builder__stage-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.builder__stage-top img { width: 190px; }
.builder__sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.07); font-size: 15px; }
.builder__sum dt { opacity: .72; }
.builder__sum dd { font-weight: 700; text-align: right; }
.builder__sum .g { color: var(--white); }
.builder__flip { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); }
.builder__main { position: relative; display: flex; flex-direction: column; min-height: 0; }
.builder__head { display: flex; align-items: center; gap: 14px; padding: 24px 32px 0; }
.builder__progress { flex: 1; display: flex; gap: 6px; }
.builder__progress i { flex: 1; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; position: relative; }
.builder__progress i::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.builder__progress i.is-done::after { transform: none; }
.builder__steplabel { font-size: 13px; color: var(--navy-80); white-space: nowrap; }
.builder__close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--tint); position: relative; flex: none; }
.builder__close::before, .builder__close::after { content: ""; position: absolute; left: 13px; right: 13px; top: 20px; height: 2px; background: var(--navy); border-radius: 2px; transform: rotate(45deg); }
.builder__close::after { transform: rotate(-45deg); }
.builder__body { flex: 1; overflow-y: auto; padding: 26px 32px 20px; overscroll-behavior: contain; }
.builder__step { display: none; animation: stepIn .6s var(--ease); }
.builder__step.is-on { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.builder__step.is-back { animation-name: stepBack; }
.builder__step.is-still { animation: none; }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.builder__step h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 8px; }
.builder__step > p.muted { margin-bottom: 22px; }
.builder__foot { display: flex; align-items: center; gap: 12px; padding: 16px 32px 24px; border-top: 1px solid var(--line); }
.builder__foot .btn--next { margin-left: auto; }
.builder__err { color: var(--danger); font-size: 14px; }
@media (max-width: 900px) {
  .builder { padding: 0; }
  .builder__panel { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 100svh; border-radius: 0; }
  .builder__stage { padding: 14px 18px; flex-direction: row; align-items: center; gap: 14px; }
  .builder__stage .gcard { --w: 132px; margin: 0; flex: none; }
  .builder__stage-top, .builder__flip { display: none; }
  .builder__sum { flex: 1; padding: 10px 12px; font-size: 13px; }
  .builder__head, .builder__body, .builder__foot { padding-left: 18px; padding-right: 18px; }
}

/* choices */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--tint); margin-bottom: 20px; }
.toggle button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; font-weight: 700; font-size: 14px; color: var(--navy-80); }
.toggle button.is-on { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 16px 18px; border-radius: var(--r-md); border: 0; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; transition: box-shadow .25s, background .25s; }
.choice:hover { box-shadow: inset 0 0 0 1.5px var(--navy-80); }
.choice.is-on { box-shadow: inset 0 0 0 2px var(--navy); background: var(--tint); }
.choice__t { font-weight: 700; font-size: 17px; }
.choice__s { font-size: 14px; color: var(--navy-80); grid-column: 1; }
.choice__v { grid-row: span 2; text-align: right; font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.choice__v small { display: block; font-size: 13px; font-weight: 700; color: var(--green-dark); letter-spacing: 0; }
.choice__tag { position: absolute; top: -9px; right: 16px; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--green); color: var(--white); }
.designs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.design { position: relative; border: 0; padding: 0; background: none; text-align: left; border-radius: 6px; }
.design img { width: 100%; aspect-ratio: 1.586; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .25s, transform .4s var(--ease); }
.design:hover img { transform: translateY(-2px); }
.design.is-on img { box-shadow: 0 0 0 3px var(--navy); }
.design span { display: block; font-weight: 700; font-size: 15px; margin-top: 8px; }
.design small { display: block; font-size: 13px; color: var(--navy-80); }
.design .bfp { position: absolute; top: 8px; right: 8px; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: var(--black); color: var(--white); }

/* forms */
.fields { display: grid; gap: 14px; }
.fields--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .fields--2 { grid-template-columns: 1fr; } }
.fset { border: 0; padding: 0; margin: 0 0 18px; }
.fset legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; display: flex; gap: 8px; align-items: center; }
.fset legend .pill { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--navy-80); font-weight: 700; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 700; }
.field > span em { font-style: normal; font-weight: 400; color: var(--navy-80); }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); outline: none; transition: box-shadow .2s; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--navy); }
.field.is-bad input, .field.is-bad textarea { box-shadow: inset 0 0 0 2px var(--danger); }
.field__count { font-size: 12px; color: var(--navy-80); text-align: right; }
.field.need > span { display: flex; align-items: center; gap: 8px; }
.field.need .ico { width: 22px; height: 22px; color: var(--green-dark); }
.field.need textarea { min-height: 84px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { min-height: 34px; padding: 0 13px; border-radius: 999px; border: 0; background: var(--tint); font-size: 13.5px; }
.chip:hover { background: var(--line); }
.chip.is-on { background: var(--navy); color: var(--white); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.tabs2 { display: flex; gap: 22px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs2 button { border: 0; background: none; padding: 10px 0 12px; font-weight: 700; color: var(--navy-80); position: relative; }
.tabs2 button.is-on { color: var(--navy); }
.tabs2 button.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--navy); }
.review { display: grid; gap: 0; border-radius: var(--r-md); background: var(--tint); padding: 6px 18px; }
.review div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.review div:last-child { border: 0; }
.review dt { color: var(--navy-80); }
.review dd { font-weight: 700; text-align: right; max-width: 60%; overflow-wrap: anywhere; }
.review .total dd, .review .total dt { color: var(--navy); font-size: 18px; }
.secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--navy-80); margin-top: 14px; }
.notice { padding: 14px 16px; border-radius: 14px; background: var(--tint); font-size: 14px; color: var(--navy-80); }
.notice--ok { background: #E8F4E9; color: var(--navy); }
.notice--err { background: #FBEAEA; color: var(--danger); }

/* ======================================================================
   App pages (redeem, account, admin, thank you)
   ====================================================================== */
.app { min-height: 100svh; background: var(--tint); padding: calc(var(--ticker) + 110px) 0 80px; }
.app--dark { background: var(--navy); color: var(--white); }
.app--light { background: var(--tint); }
.panel { background: var(--white); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 40px); }
.panel + .panel { margin-top: 16px; }
.panel--flat { background: transparent; padding: 0; }
.panel h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 8px; }
.panel h3 { font-size: 20px; margin-bottom: 6px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* the "opening" gate (redeem and sign in) */
.gate { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: var(--white); }
.gate__art { position: relative; overflow: hidden; }
.gate__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gate__form { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--ticker) + 110px) clamp(24px, 6vw, 90px) 60px; }
.gate__form .h1 { margin: 18px 0 14px; }
.gate__form form { margin-top: 30px; display: grid; gap: 14px; max-width: 460px; }
.gate .input { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px var(--line-dark); color: var(--white); }
.gate .input:focus { box-shadow: inset 0 0 0 2px var(--white); }
.gate .input::placeholder { color: rgba(255,255,255,.4); }
.code-input { font-size: 24px !important; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; text-align: center; }
.gate .field > span { color: rgba(255,255,255,.86); }
.gate .notice { background: rgba(255,255,255,.08); color: var(--white); }
.gate .notice--err { background: rgba(179, 38, 30, .24); }
.gate .link { color: var(--white); }
@media (max-width: 900px) { .gate { grid-template-columns: 1fr; } .gate__art { height: 34vh; order: -1; } .gate__form { padding-top: 40px; } }

/* recipient dashboard */
.mygift { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
.mygift__card { background: var(--navy); color: var(--white); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 38px); display: grid; gap: 22px; }
.mygift__card .gcard { --w: 100%; width: 100%; max-width: 560px; }
.balance { display: grid; gap: 10px; }
.balance__n { font-size: clamp(44px, 6vw, 72px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.balance__bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; }
.balance__bar i { display: block; height: 100%; background: var(--green); border-radius: 99px; transform-origin: left; transition: transform 1.4s var(--ease); }
.msg { padding: 18px 20px; border-radius: var(--r-md); background: rgba(255,255,255,.07); font-size: 17px; line-height: 1.55; white-space: pre-line; }
.msg small { display: block; margin-top: 10px; opacity: .72; font-size: 14px; }
@media (max-width: 960px) { .mygift { grid-template-columns: 1fr; } }
.pick__group { margin-top: 22px; }
.pick__group h3 { font-size: 15px; color: var(--navy-80); font-weight: 700; margin-bottom: 10px; }
.pick__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.pick { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px; border-radius: 14px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; font-size: 14.5px; line-height: 1.25; transition: box-shadow .2s, background .2s; }
.pick .ico { width: 24px; height: 24px; color: var(--green-dark); }
.pick:hover { box-shadow: inset 0 0 0 1.5px var(--navy-80); }
.pick.is-on { box-shadow: inset 0 0 0 2px var(--navy); background: var(--tint); }
.pick.is-on::after { content: ""; margin-left: auto; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tray { position: sticky; bottom: 14px; z-index: 5; margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 22px; border-radius: 999px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); transform: translateY(140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.tray.is-on { transform: none; opacity: 1; }
.tray .btn { margin-left: auto; }
.history { display: grid; gap: 0; }
.history li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.history li:last-child { border: 0; }
.history small { display: block; color: var(--navy-80); font-size: 13px; }
.history .amt { font-weight: 700; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--navy); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--navy-80); }
.status--ok::before { background: var(--green); }
.status--wait::before { background: #C99A2E; }
.status--bad::before { background: var(--danger); }
.support { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--white); }
.support__ico { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.support__ico .ico { width: 26px; height: 26px; color: var(--green-dark); }
.support b { display: block; font-size: 20px; }
.support .btn { margin-left: auto; }

/* account */
.acct__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.order { background: var(--white); border-radius: var(--r-xl); overflow: hidden; }
.order + .order { margin-top: 16px; }
.order__top { display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; }
.order__top .thumb { width: 150px; aspect-ratio: 1.586; border-radius: 5px; object-fit: cover; }
.order__meta h3 { font-size: 21px; margin-bottom: 4px; }
.order__meta p { font-size: 14px; color: var(--navy-80); }
.order__nums { text-align: right; }
.order__nums b { display: block; font-size: 24px; letter-spacing: -0.02em; }
.order__body { border-top: 1px solid var(--line); padding: 18px 26px 24px; display: grid; gap: 16px; }
.order__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) { .order__top { grid-template-columns: 90px 1fr; } .order__top .thumb { width: 90px; } .order__nums { grid-column: 1 / -1; text-align: left; } }
.cards-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cards-table th { text-align: left; font-size: 12.5px; color: var(--navy-80); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.cards-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cards-table tr:last-child td { border: 0; }
.cards-table .code { font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.minibar { width: 110px; height: 6px; border-radius: 99px; background: var(--tint); overflow: hidden; margin-top: 4px; }
.minibar i { display: block; height: 100%; background: var(--green); }
.table-wrap { overflow-x: auto; }
.drawer2 { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(10, 13, 26, .55); }
.drawer2__box { width: min(620px, 100%); max-height: calc(100svh - 36px); overflow-y: auto; background: var(--white); border-radius: var(--r-xl); padding: 30px; position: relative; animation: stepIn .5s var(--ease); }
.drawer2__box .builder__close { position: absolute; top: 18px; right: 18px; }

/* team panel */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.kpi { background: var(--white); border-radius: var(--r-md); padding: 18px; }
.kpi small { display: block; font-size: 13px; color: var(--navy-80); }
.kpi b { font-size: 28px; letter-spacing: -0.02em; }
.adm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.svc__tab { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; }
.svc__tab.is-on { background: var(--navy); color: var(--white); box-shadow: none; }
.searchbar { display: flex; gap: 10px; }
.searchbar .input { flex: 1; }
.ledger td { font-size: 14px; }
.row-click { cursor: pointer; }
.row-click:hover td { background: var(--tint); }

/* invoice (print) */
.invoice { max-width: 860px; margin: 0 auto; background: var(--white); border-radius: var(--r-xl); padding: 48px; }
.invoice__top { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.invoice__top img { width: 240px; }
.invoice table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.invoice th { text-align: left; font-size: 13px; color: var(--navy-80); border-bottom: 1px solid var(--line); padding: 10px 0; }
.invoice td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.invoice .r { text-align: right; }
.paid-stamp { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #E8F4E9; color: var(--green-dark); font-weight: 700; font-size: 14px; }

/* dev checkout */
.devpay { max-width: 560px; margin: 0 auto; }

@media print {
  .top, .ticker, .foot, .no-print, .support .btn { display: none !important; }
  .app { padding: 0; background: var(--white); }
  .invoice, .panel { padding: 0; border-radius: 0; }
  body { font-size: 13px; }
  .mygift__card { background: var(--white) !important; color: var(--navy); }
}

/* ======================================================================
   App UI (account, team panel, recipient area): one shell, light and calm
   ====================================================================== */
.ax-body { background: var(--tint); }
.ax-top { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.ax-top__in { height: 68px; display: flex; align-items: center; gap: 18px; }
.ax-top__logo img { width: 176px; height: auto; display: block; }
.ax-top__ctx { padding-left: 18px; border-left: 1px solid var(--line); font-weight: 700; font-size: 15px; white-space: nowrap; }
.ax-top__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.ax-help { font-size: 14px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.ax-help span { color: var(--navy-80); }
.ax-help:hover { text-decoration: underline; }
.ax-user { position: relative; }
.ax-user__btn { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 0; background: var(--tint); font-weight: 700; font-size: 14px; }
.ax-user__av { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 12px; }
.ax-user__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: none; }
.ax-user.is-open .ax-user__menu { display: grid; }
.ax-user__who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.ax-user__who small { display: block; font-weight: 400; color: var(--navy-80); font-size: 13px; }
.ax-user__menu a, .ax-user__menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; border: 0; background: none; text-decoration: none; font-size: 14px; }
.ax-user__menu a:hover, .ax-user__menu button:hover { background: var(--tint); }
.ax-main { padding-top: 34px; padding-bottom: 80px; }
@media (max-width: 760px) {
  .ax-top__in { height: 60px; gap: 12px; }
  .ax-top__logo img { width: 140px; }
  .ax-top__ctx, .ax-help span, .ax-user__name { display: none; }
  .ax-help { font-size: 13px; }
}

/* split screens: form on white, a picture with a card on the right */
.au { min-height: calc(100svh - 68px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.au__form { display: flex; align-items: center; justify-content: center; padding: 48px var(--pad) 64px; background: var(--white); }
.au__box { width: min(430px, 100%); display: grid; gap: 22px; }
.au__head { display: grid; gap: 10px; }
.au__head h1 { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.04; letter-spacing: -0.025em; }
.au__fields { gap: 16px; }
.au__switch { font-size: 15px; color: var(--navy-80); }
.au__art { position: relative; overflow: hidden; background: var(--navy); }
.au__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.au__card { position: absolute; left: 50%; bottom: 9%; width: min(420px, 64%); transform: translateX(-50%) rotate(-3deg); }
.au__card .gcard { --w: 100%; width: 100%; }
.au__card .gcard__face { box-shadow: 0 40px 80px rgba(5, 8, 20, .45); }
@media (max-width: 900px) {
  .au { grid-template-columns: 1fr; min-height: 0; }
  .au__art { display: none; }
  .au__form { align-items: flex-start; padding-top: 36px; }
}
.btn--block { width: 100%; }
.link--sm { font-size: 13px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 700; }
.field__row em { font-style: normal; font-weight: 400; color: var(--navy-80); font-size: 13px; }
.field__err { color: var(--danger); font-size: 13px; }
.field__err:empty { display: none; }
.pw { position: relative; display: block; }
.pw .input { padding-right: 70px; }
.pw__eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--tint); font-size: 13px; font-weight: 700; }
.spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; vertical-align: -3px; }

/* page head, stats, tabs */
.ax-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.ax-head h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; margin-top: 10px; }
.ax-head__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.stat { background: var(--white); border-radius: var(--r-md); padding: 16px 18px; }
.stat small { display: block; font-size: 13px; color: var(--navy-80); margin-bottom: 4px; }
.stat b { font-size: 26px; letter-spacing: -0.02em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat b { font-size: 22px; } }
.ax-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--white); width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 18px; }
.ax-tabs button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: none; font-weight: 700; font-size: 14px; color: var(--navy-80); white-space: nowrap; }
.ax-tabs button.is-on { background: var(--navy); color: var(--white); }
.ax-tabs .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--tint); color: var(--navy); font-size: 12px; }
.ax-tabs .is-on .count { background: rgba(255, 255, 255, .18); color: var(--white); }
.ax-list { display: grid; gap: 14px; }
.ax-empty { background: var(--white); border-radius: var(--r-lg); padding: 40px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.ax-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); background: var(--white); font-size: 14px; color: var(--navy-80); margin-bottom: 16px; }

/* a gift (individual order) */
.gift { background: var(--white); border-radius: var(--r-lg); padding: 20px; display: grid; grid-template-columns: 230px minmax(0, 1fr) 230px; gap: 26px; align-items: center; }
.gift__card .gcard { --w: 100%; width: 100%; }
.gift__info { display: grid; gap: 8px; min-width: 0; }
.gift__info h3 { font-size: 21px; line-height: 1.2; }
.gift__msg { font-size: 15px; color: var(--navy-80); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gift__side { display: grid; gap: 8px; justify-items: end; text-align: right; }
.gift__side b { font-size: 26px; letter-spacing: -0.02em; line-height: 1; }
.bar { width: 100%; height: 8px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.gift__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 4px; }
@media (max-width: 960px) {
  .gift { grid-template-columns: 1fr; gap: 16px; }
  .gift__card { max-width: 340px; }
  .gift__side { justify-items: start; text-align: left; }
  .gift__actions { justify-content: flex-start; }
}
.tl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.tl__s { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--navy-80); }
.tl__s i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; }
.tl__s.is-done { color: var(--navy); font-weight: 700; }
.tl__s.is-done i { background: var(--green); box-shadow: none; }
.tl__s.is-done i::after { content: ""; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.tl__s.is-wait i { box-shadow: inset 0 0 0 2px #C99A2E; }
.tl__sep { width: 16px; height: 1.5px; background: var(--line); }

/* a corporate package */
.pkgx { background: var(--white); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 16px; }
.pkgx__head { display: grid; grid-template-columns: 110px minmax(0, 1fr) 260px; gap: 22px; align-items: center; }
.pkgx__thumb { width: 110px; aspect-ratio: 1.586; border-radius: 6px; object-fit: cover; }
.pkgx__head h3 { font-size: 21px; line-height: 1.2; margin: 4px 0; }
.pkgx__prog { display: grid; gap: 8px; }
.pkgx__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rows { display: grid; }
.rows__h, .rowx { display: grid; grid-template-columns: 1.1fr 1.5fr 1fr 1fr 130px; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rows__h { font-size: 12.5px; font-weight: 700; color: var(--navy-80); border-top: 0; padding-top: 0; }
.rowx .code { font-weight: 700; letter-spacing: .05em; }
.rowx small { display: block; color: var(--navy-80); font-size: 13px; }
.rowx__act { text-align: right; }
@media (max-width: 960px) {
  .pkgx__head { grid-template-columns: 80px minmax(0, 1fr); }
  .pkgx__thumb { width: 80px; }
  .pkgx__prog, .pkgx__actions { grid-column: 1 / -1; }
  .rows__h { display: none; }
  .rowx { grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .rowx__act { grid-column: 1 / -1; text-align: left; }
}
.chip-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--tint); white-space: nowrap; }
.chip-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--navy-80); }
.chip-status.ok::before { background: var(--green); }
.chip-status.wait::before { background: #C99A2E; }
.chip-status.bad::before { background: var(--danger); }

/* side sheet; a bottom sheet on phones */
.sheet { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; background: rgba(10, 13, 26, .45); animation: shFade .25s ease; }
.sheet.is-out { animation: shFade .25s ease reverse forwards; }
.sheet__box { width: min(520px, 100%); height: 100%; background: var(--white); display: flex; flex-direction: column; animation: shIn .45s var(--ease); }
.sheet__box--wide { width: min(720px, 100%); }
.sheet.is-out .sheet__box { animation: shIn .25s ease reverse forwards; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.sheet__head h2 { font-size: 22px; line-height: 1.2; }
.sheet__x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); font-size: 15px; flex: none; }
.sheet__body { flex: 1; overflow-y: auto; padding: 24px 26px 34px; display: grid; gap: 18px; align-content: start; overscroll-behavior: contain; }
@keyframes shFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes shIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) {
  .sheet { align-items: flex-end; }
  .sheet__box { height: auto; max-height: 92svh; border-radius: 22px 22px 0 0; animation-name: shUp; }
  @keyframes shUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
html.has-sheet { overflow: hidden; }
.toasts { position: fixed; z-index: 100; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.toast { padding: 14px 18px; border-radius: 14px; background: var(--navy); color: var(--white); font-size: 15px; box-shadow: var(--shadow); animation: shFade .3s ease; }
.toast--err { background: var(--danger); }
.toast.is-out { opacity: 0; transition: opacity .3s; }
.btn.is-armed { --bg: var(--danger); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; background: var(--tint); }
.seg button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: none; font-size: 13px; font-weight: 700; color: var(--navy-80); }
.seg button.is-on { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.kv { display: grid; gap: 0; border-radius: var(--r-md); background: var(--tint); padding: 4px 16px; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv div:last-child { border: 0; }
.kv dt { color: var(--navy-80); }
.kv dd { font-weight: 700; text-align: right; overflow-wrap: anywhere; max-width: 64%; }

/* team panel */
.adm2 { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.adm2__nav { position: sticky; top: 92px; display: grid; gap: 2px; background: var(--white); border-radius: var(--r-lg); padding: 10px; }
.adm2__nav button { display: flex; justify-content: space-between; align-items: center; text-align: left; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 0; background: none; font-weight: 700; font-size: 15px; color: var(--navy-80); }
.adm2__nav button.is-on { background: var(--tint); color: var(--navy); }
.adm2__nav .count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--green); color: var(--white); font-size: 12px; display: grid; place-items: center; }
@media (max-width: 900px) { .adm2 { grid-template-columns: 1fr; } .adm2__nav { position: static; display: flex; overflow-x: auto; } .adm2__nav button { white-space: nowrap; gap: 8px; } }
.req2 { background: var(--white); border-radius: var(--r-lg); padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 22px; align-items: start; }
.req2__svc { display: grid; gap: 10px; }
.req2__svc div b { display: block; font-size: 16px; }
.req2__svc div p { font-size: 14.5px; color: var(--navy-80); }
.req2__who { font-size: 14.5px; display: grid; gap: 4px; }
.req2__who b { font-size: 16px; }
.req2__act { display: grid; gap: 10px; justify-items: end; }
@media (max-width: 960px) { .req2 { grid-template-columns: 1fr; } .req2__act { justify-items: start; } }
.search2 { display: flex; gap: 10px; margin-bottom: 16px; }
.search2 .input { flex: 1; }

/* recipient area */
.rd { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: start; }
.rd__card { position: sticky; top: 92px; background: var(--navy); color: var(--white); border-radius: var(--r-xl); padding: 24px; display: grid; gap: 18px; }
.rd__card .gcard { --w: 100%; width: 100%; }
.rd__bal { display: grid; gap: 8px; }
.rd__bal b { font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.03em; line-height: 1; }
.rd__bal .bar { background: rgba(255, 255, 255, .14); }
.rd__msg { padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .07); font-size: 16px; line-height: 1.55; white-space: pre-line; }
.rd__msg small { display: block; margin-top: 8px; opacity: .72; font-size: 14px; }
.rd__panel { background: var(--white); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); display: grid; gap: 20px; }
.rd__panel h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.015em; }
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stepper span { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy-80); }
.stepper span::before { content: ""; height: 4px; border-radius: 99px; background: var(--line); }
.stepper span.is-done::before, .stepper span.is-on::before { background: var(--navy); }
.stepper span.is-on { color: var(--navy); }
.svc-find { position: relative; }
.svc-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 440px; overflow-y: auto; padding: 2px; }
.svc-pick .pick { min-height: 54px; }
.svc-pick__g { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--navy-80); margin-top: 8px; }
@media (max-width: 960px) { .rd { grid-template-columns: 1fr; } .rd__card { position: static; } }
@media (max-width: 520px) { .svc-pick { grid-template-columns: 1fr; max-height: none; } }
.rd__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }


/* receipt printing: only the open dialog */
@media print {
  body:has(.print-area) > :not(.print-area) { display: none !important; }
  .print-area { position: static !important; background: none !important; padding: 0 !important; display: block !important; }
  .print-area .drawer2__box { width: 100% !important; max-height: none !important; overflow: visible !important; padding: 0; }
  .print-area .builder__close { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__title .w > span { transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gift__info .gift__actions { justify-content: flex-start; margin-top: 8px; }
.rows .rowx--more { grid-template-columns: minmax(0, 1fr) auto; }
.rows [data-unsent] .rowx:first-child { border-top: 1px solid var(--line); }
.stats--auto { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 760px) { .stats--auto { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.au__switch a { white-space: nowrap; }
.rows__h, .rowx { grid-template-columns: minmax(170px, 1.1fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 100px; }
.rowx .code { white-space: nowrap; }
.rows .rowx--more { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 960px) {
  .rows__h { display: none; }
  .rowx { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rowx > span:first-child { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; }
  .rowx > span:first-child small { display: inline; }
  .rowx__act { grid-column: auto; text-align: right; }
  .rows .rowx--more { grid-template-columns: minmax(0, 1fr); }
  .rows .rowx--more > span:first-child { display: block; }
  .rows .rowx--more .rowx__act { text-align: left; }
}
.ax-list, .ax-main, .rd, .adm2 > * { min-width: 0; }
.ax-list { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .gift { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) { .pkgx__head { align-items: start; } }
.rd__foot--sticky { position: sticky; bottom: 0; z-index: 2; background: var(--white); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin-bottom: -12px; }
@media (max-width: 520px) {
  .svc-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .svc-pick .pick { min-height: 50px; padding: 8px 10px; gap: 8px; font-size: 13.5px; }
  .svc-pick .pick .ico { width: 20px; height: 20px; }
  .svc-pick .pick.is-on::after { display: none; }
}
.adm2__nav { scrollbar-width: none; }
.adm2__nav::-webkit-scrollbar { display: none; }
.au__mcard { display: none; }
@media (max-width: 900px) { .au__mcard { display: block; max-width: 360px; } .au__mcard .gcard { --w: 100%; width: 100%; } }

/* ==========================================================================
   How it works (v2): one phone with the whole journey; steps on the left follow it
   ========================================================================== */
.how2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); grid-template-areas: "head stage" "steps stage"; gap: 30px clamp(40px, 7vw, 110px); align-items: center; }
.how2__head { grid-area: head; align-self: end; display: grid; gap: 18px; }
.how2__head .lead { max-width: 44ch; }
.how2__steps { grid-area: steps; align-self: start; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.how2__step button { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; text-align: left; padding: 16px 20px 16px 16px; border: 0; border-radius: var(--r-md); background: none; color: var(--navy); cursor: pointer; transition: background .45s var(--ease); }
.how2__step button:hover { background: rgba(255, 255, 255, .55); }
.how2__step.is-on button { background: var(--white); }
.how2__num { font-size: 13px; font-weight: 700; color: var(--navy-80); padding-top: 3px; }
.how2__step.is-on .how2__num { color: var(--navy); }
.how2__txt { display: grid; min-width: 0; }
.how2__txt b { font-size: 19px; line-height: 1.3; color: var(--navy-80); transition: color .4s; }
.how2__step.is-on .how2__txt b { color: var(--navy); }
.how2__txt > span { font-size: 15px; line-height: 1.5; color: var(--navy-80); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .45s var(--ease), margin .45s var(--ease); }
.how2__step.is-on .how2__txt > span { max-height: 110px; opacity: 1; margin-top: 6px; }
.how2__bar { display: block; height: 3px; border-radius: 3px; background: var(--tint); overflow: hidden; margin-top: 0; max-height: 0; transition: margin .45s var(--ease), max-height .45s; }
.how2__step.is-on .how2__bar { margin-top: 14px; max-height: 3px; }
.how2__bar i { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }
.how2__step.is-run .how2__bar i { animation: how2Bar var(--dur, 4s) linear forwards; }
@keyframes how2Bar { to { transform: scaleX(1); } }

.how2__stage { grid-area: stage; display: grid; place-items: center; position: relative; padding: 10px 0; }
.how2__stage::before { content: ""; position: absolute; width: min(520px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--white); }
.how2__phone { position: relative; width: min(340px, 80vw); aspect-ratio: 9 / 19; padding: 11px; border-radius: 52px; margin: 0; box-shadow: 0 50px 90px rgba(18, 23, 43, .22); }
.how2__phone .phone__screen { position: relative; border-radius: 42px; }
.how2__island { position: absolute; top: 11px; left: 50%; width: 94px; height: 27px; margin-left: -47px; border-radius: 20px; background: var(--navy); z-index: 6; }
.how2__status { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 4px 28px 0 30px; font-size: 13px; font-weight: 700; color: var(--navy); }
.how2__sig { display: inline-flex; align-items: flex-end; gap: 2px; }
.how2__sig i { width: 3px; border-radius: 1px; background: var(--navy); }
.how2__sig i:nth-child(1) { height: 5px; } .how2__sig i:nth-child(2) { height: 7px; } .how2__sig i:nth-child(3) { height: 10px; }
.how2__scenes { position: absolute; inset: 48px 0 0; overflow: hidden; }

/* the phone's apps: the real gift email and the real recipient page, each in a frame laid out at
   390px (a real phone width) and scaled to the drawn phone by landing.js */
.how2__app { position: absolute; inset: 0; overflow: hidden; background: var(--white); transform: translateX(100%); visibility: hidden; transition: transform .75s var(--ease), visibility 0s .75s; }
.how2__app.is-on { transform: none; visibility: visible; transition: transform .75s var(--ease), visibility 0s; z-index: 2; }
.how2__app.is-past { transform: translateX(-30%); visibility: visible; z-index: 1; }
.how2__app iframe { position: absolute; left: 0; top: 0; width: 390px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; background: var(--white); }
.how2__app--mail iframe { top: 40px; }
.how2__mailbar { height: 40px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--navy); }
@keyframes howTap { 0% { opacity: 0; transform: scale(1.5); } 35% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.05); } }
.is-typing { box-shadow: inset 0 0 0 2px var(--navy) !important; }

html.no-motion .how2__app, html.no-motion .sc__notif { transition: none !important; }

/* notifications over the phone (the system's, not the page's) */
.sc__notif { position: absolute; z-index: 7; top: 6px; left: 12px; right: 12px; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 18px; background: var(--tint); box-shadow: 0 10px 26px rgba(18, 23, 43, .14); transform: translateY(-130%); opacity: 0; transition: transform .6s var(--ease), opacity .4s var(--ease); }
.sc__notif.is-in { transform: none; opacity: 1; }
.sc__notif b { display: block; font-size: 12.5px; line-height: 1.25; }
.sc__notif div > span { font-size: 11px; color: var(--navy-80); }
.sc__app { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--navy); display: grid; place-items: center; }
.sc__app svg { width: 20px; }
.sc__pulse { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green); position: relative; }
.sc__pulse::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.sc__pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(82, 167, 88, .5); animation: scRing 1.4s ease-out infinite; }
@keyframes scRing { to { box-shadow: 0 0 0 12px rgba(82, 167, 88, 0); } }

@media (max-width: 960px) {
  .how2 { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "steps"; }
  .how2__stage::before { width: min(420px, 100%); }
}
@media (max-width: 520px) {
  .how2__phone { width: min(300px, 82vw); border-radius: 46px; }
  .how2__phone .phone__screen { border-radius: 36px; }
}

/* Final (v2): copy left, one card turning through pictures right; no countdown */
.final2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 100px); align-items: center; text-align: left; }
.final2__copy { display: grid; gap: 22px; justify-items: start; }
.final2__copy .display { margin: 0; }
.final2__copy .lead { max-width: 36ch; }
.final2 .final__ctas { justify-content: flex-start; margin-top: 8px; }
.final2__copy .fine { color: rgba(255, 255, 255, .7); }
.final2__stage { display: grid; justify-items: center; gap: 26px; perspective: 1800px; padding: 30px 0; }
.final2__tilt { width: min(500px, 100%); transform-style: preserve-3d; transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 5deg)); transition: transform .8s var(--ease); }
.final2__turn { position: relative; aspect-ratio: 1.586; transform-style: preserve-3d; }
/* two layers on the same side: only the current one shows; the other holds the next picture */
.final2__face { position: absolute; inset: 0; visibility: hidden; }
.final2__face.is-on { visibility: visible; }
.final2__face .gcard { --w: 100%; width: 100%; }
.final2__face .gcard__face { box-shadow: 0 50px 90px rgba(5, 8, 20, .5); }
.final2__cap { font-size: 15px; color: rgba(255, 255, 255, .72); }
.final2__cap b { color: var(--white); }
@media (max-width: 900px) {
  .final2 { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .final2__copy { justify-items: center; }
  .final2 .final__ctas { justify-content: center; }
  .final2__stage { order: -1; padding: 0 0 10px; }
}
.how2__phone { width: min(310px, 80vw); }
@media (max-width: 520px) { .how2__phone { width: min(290px, 82vw); } }
@media (min-width: 901px) { .final2 { grid-template-columns: minmax(0, 1.12fr) minmax(0, .95fr); } }
.final2__copy .display { font-size: clamp(54px, 6.4vw, 100px); }
@media (min-width: 901px) { .final2__copy .display span { white-space: nowrap; } }
@media (max-width: 900px) { .final2__copy .display { font-size: clamp(46px, 13vw, 84px); } }

/* Corporate: who receives the cards is chosen right after paying (Felipe couldn't find it, 23/11).
   The purchase says so (.who-note), the account asks for it at the top and in each package. */
.who-note { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--r-md); background: var(--tint); margin: 4px 0 18px; font-size: 14.5px; line-height: 1.45; color: var(--navy); }
.who-note b { font-size: 15.5px; }
.who-note ol { margin: 0; padding: 0; list-style: none; counter-reset: who; display: grid; gap: 7px; }
.who-note li { counter-increment: who; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--navy-80); }
.who-note li::before { content: counter(who); width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.ax-notice--todo { background: var(--navy); color: rgba(255, 255, 255, .86); }
.ax-notice--todo b { color: var(--white); }
.pkgx__todo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 16px 18px; border-radius: var(--r-md); background: var(--tint); box-shadow: inset 4px 0 0 var(--green); }
.pkgx__todo > div { display: grid; gap: 4px; max-width: 62ch; }
.pkgx__todo b { font-size: 16px; color: var(--navy); }
.pkgx__todo span { font-size: 14px; line-height: 1.45; color: var(--navy-80); }

/* Corporate (v2, Felipe 23/11): black and clearly for companies. Copy and four company points left,
   the real company dashboard in a browser window right (landing.js corpDemo), packages below. */
.corp { background: var(--black); }
.corp__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: clamp(36px, 4.5vw, 56px); }
.corp__copy { display: grid; gap: 18px; justify-items: start; }
.corp__copy .h1 { margin: 0; }
.corp__copy .lead { max-width: 46ch; }
.corp__ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 26px; font-size: 15px; font-weight: 700; color: var(--white); }
.corp__ticks li { display: flex; align-items: center; gap: 9px; }
.corp__ticks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.corp__screen { margin: 0; }
.browser { border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 100px rgba(0, 0, 0, .65); }
.browser__bar { position: relative; display: flex; align-items: center; height: 38px; padding: 0 14px; background: #1b1b1f; }
.browser__dots { display: inline-flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.browser__url { position: absolute; left: 50%; transform: translateX(-50%); width: min(340px, 58%); padding: 5px 12px; border-radius: 7px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .62); font-size: 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.browser__view iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; pointer-events: none; background: var(--tint); }
.corp .pack { background: #121215; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.corp .pack:hover { background: #19191d; }
.corp .pack--feat, .corp .pack--feat:hover { background: var(--white); box-shadow: none; }
@media (max-width: 1040px) {
  .corp__top { grid-template-columns: minmax(0, 1fr); }
  .corp__screen { max-width: 640px; }
}
@media (max-width: 560px) {
  .corp__ticks { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .browser__view { aspect-ratio: 4 / 3.7; }
  .browser__dots { display: none; }
  .browser__url { width: 82%; }
}

/* a tap on a real screen (phone and browser demos) */
.tap-dot { position: absolute; z-index: 8; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(34, 43, 74, .2); box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 4px 14px rgba(18, 23, 43, .25); pointer-events: none; opacity: 0; }
.tap-dot.is-on { animation: howTap .6s var(--ease); }

/* Headlines broken where Felipe set them (23/11): each line stays whole */
.ln { white-space: nowrap; }
/* on small phones the whole line still fits: the size follows the screen (longest line about 11.8em) */
.h2:has(> .ln) { font-size: min(clamp(32px, 4vw, 52px), calc((100vw - 2 * var(--pad)) / 11.8)); }

/* How it works now lives in Individual gift cards (white section): the steps and the phone sit on tint */
.how2__list { grid-area: steps; align-self: start; display: grid; gap: 10px; }
.how2__list .how2__steps { grid-area: auto; } /* inside the list, not on the section grid */
.how2__label { font-size: 13px; font-weight: 700; color: var(--navy-80); padding-left: 16px; }
.offer__top { margin-bottom: clamp(44px, 5vw, 72px); }
.offer .how2__step button:hover { background: var(--tint); }
.offer .how2__step.is-on button { background: var(--tint); }
.offer .how2__stage::before { background: var(--tint); }
/* "Give more. / Spend the same." stays on its two lines: the size follows the column it sits in */
.offer__top .how2__head { container-type: inline-size; }
.offer__top .h1 { font-size: min(clamp(40px, 5.6vw, 76px), calc(100cqw / 8.2)); }

/* Sharing a company package (account, Felipe 23/11): one total of credit; each person gets the amount the
   company chooses, and "Left to give" goes down as the amounts are typed. */
.share__sum { position: sticky; top: 0; z-index: 3; margin: -24px -26px 0; padding: 18px 26px 16px; background: var(--white); border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.share__left { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.share__left b { font-size: 34px; letter-spacing: -0.02em; line-height: 1; color: var(--navy); transition: color .2s; }
.share__left b.is-over { color: var(--danger); }
.share__head, .share__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 118px 32px; gap: 8px; align-items: center; }
.share__head { font-size: 12.5px; font-weight: 700; color: var(--navy-80); margin-bottom: -10px; }
.share__rows { display: grid; gap: 8px; }
.share__row .field { margin: 0; }
.share__amt { position: relative; }
.share__cur { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--navy-80); pointer-events: none; }
.share__amt .input { padding-left: 26px; text-align: right; }
.share__x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--navy-80); cursor: pointer; }
.share__x:hover { background: var(--tint); }
.share__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.share__paste summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--navy); }
.share__paste[open] { display: grid; gap: 10px; }
.input[aria-invalid] { box-shadow: inset 0 0 0 2px var(--danger); }
@media (max-width: 640px) {
  .share__head { display: none; }
  .share__row { grid-template-columns: minmax(0, 1fr) 104px 32px; padding: 10px; border-radius: var(--r-md); background: var(--tint); }
  .share__row .field:first-child { grid-column: 1; grid-row: 1; }
  .share__row .field:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .share__amt { grid-column: 2; grid-row: 1; }
  .share__x { grid-column: 3; grid-row: 1; }
}

/* "Black Friday" as a seal next to the names in the price sections (Felipe, 23/11) */
.bf-tag { display: inline-flex; align-items: center; margin-left: 10px; padding: 5px 11px 4px; border-radius: 999px; background: var(--black); color: var(--white); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1; vertical-align: middle; }
.on-dark .bf-tag { background: var(--white); color: var(--black); }
