/* Hallmark · shape: a bento of colour blocks for the hero, a trade-in calculator on the deep green field, a two-column catalogue of phones as rows, three uneven policy blocks, an accessory rail, a store block, a hold form · genre: playful · theme: custom · job: buy · idea: "the old phone in your pocket is the first payment, and the page prices it before you walk in" · vibe: "blocky, loud green and orange, quick shop counter"
 * paper: oklch(97.6% 0.02 166) · accent: oklch(70% 0.18 45) · display: Exo 2 · body: Manrope · hero: a 12-column bento, the deep green lead block at 7 columns holding the head, the orange photo block at 5, two fact blocks under · nav: a deep green bar, wordmark left in lowercase, four links and an orange action · footer: a deep green slab, wordmark, two addresses and three links in a row · imagery: photographs from Pexels on coloured blocks, credited in CREDITS.md and the footer line · signature: the trade-in price that changes as you pick model, condition and storage
 * axes: light/geometric-sans/chromatic-orange · posture: full-palette, deep green field, orange signal, mint paper, ink · contrast: pass · fold: pass · source: ui-ux-pro-max design system (Vibrant and Block-based, success green and urgency orange, Rubik and Nunito Sans swapped for Exo 2 and Manrope because Rubik has no Vietnamese) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V5 · weakest: R, the bento wants more blocks; held it to four and moved facts into the calculator */
/* Hallmark · answered F4 · the second filled recipe is the shared Digitech demo bar, darkened for contrast, not part of this page */
/* Hallmark · waive 49b · the Zalo button label in the shared Digitech demo bar wraps at 320 and 375 · that bar is copied verbatim into every demo and its label cannot change */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1280px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-sticky-nav: 300; --z-toast: 500;
--color-paper: oklch(97.6% 0.02 166); --color-paper-2: oklch(93.5% 0.035 166); --color-paper-3: oklch(99% 0.008 166);
  --color-ink: oklch(24% 0.06 170); --color-ink-2: oklch(36% 0.06 170); --color-muted: oklch(48% 0.05 168);
  --color-rule: oklch(86% 0.04 166); --color-field: oklch(37.8% 0.073 169); --color-field-2: oklch(31% 0.065 170);
  --color-on-field: oklch(97% 0.02 166); --color-on-field-2: oklch(86% 0.045 166);
  --color-accent: oklch(70% 0.18 45); --color-accent-2: oklch(76% 0.15 52); --color-accent-ink: oklch(24% 0.06 170); --color-accent-soft: oklch(90% 0.06 60);
  --color-green: oklch(52% 0.12 163); --color-green-ink: oklch(98% 0.01 166);
  --color-focus: oklch(42% 0.16 40); --color-focus-on-field: oklch(85% 0.15 70); --color-error: oklch(50% 0.19 27); --color-dg-cta: oklch(54% 0.19 35);
  --font-display: "Exo 2", ui-sans-serif, system-ui, sans-serif; --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --text-display: clamp(2.5rem, 3.4vw + 1.1rem, 4.5rem); --text-section: clamp(2rem, 2vw + 1rem, 3.25rem); --text-title: clamp(1.125rem, 0.5vw + 0.95rem, 1.375rem); --text-lead: clamp(1.0625rem, 0.4vw + 0.95rem, 1.3125rem);
  --radius-blk: 20px; --radius-in: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: var(--color-accent-soft); color: var(--color-ink); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-4xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.menu-btn { display: none; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* the shared Digitech demo bar keeps its markup; its orange button is darkened through a token so its label passes 4.5:1 */
body .dg-demo-cta a.z { background: var(--color-dg-cta); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-in); background: var(--color-accent); color: var(--color-accent-ink); font: 700 var(--text-md)/1 var(--font-display); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); }
.btn:active { transform: translateY(2px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--sm { min-height: 44px; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.link:hover { text-decoration-color: var(--color-accent); }
.link:active { opacity: 0.8; }
.link--dark { color: var(--color-ink); }
h2 { font-size: var(--text-section); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--color-ink); max-width: 20ch; }
.top { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-field); color: var(--color-on-field); }
.top :focus-visible { outline-color: var(--color-focus-on-field); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; position: relative; }
.mark { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-accent); text-decoration: none; font: 700 var(--text-xl)/1 var(--font-display); letter-spacing: -0.02em; }
.mark svg { width: 28px; height: 28px; }
.mark span { color: var(--color-on-field); }
.site-nav { display: flex; align-items: center; gap: var(--space-xl); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: var(--space-lg); list-style: none; }
.site-nav ul a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-weight: 700; color: var(--color-on-field-2); }
.site-nav ul a:hover { color: var(--color-on-field); }
.menu-btn { min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-on-field-2); border-radius: var(--radius-in); background: transparent; color: var(--color-on-field); font-weight: 700; cursor: pointer; }
.menu-btn:hover { background: var(--color-field-2); }
.menu-btn:active { transform: translateY(1px); }
@media (max-width: 60rem) {
  .top__in { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; gap: var(--space-sm); }
  html:not(.js) .site-nav { width: 100%; padding-bottom: var(--space-sm); }
  .js .menu-btn { display: inline-flex; align-items: center; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: var(--space-md) var(--gutter) var(--space-lg); background: var(--color-field-2); flex-direction: column; align-items: stretch; }
  .js .site-nav.open { display: flex; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { display: flex; min-height: 48px; }
}
.hero { padding: var(--space-lg) 0 var(--space-2xl); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: var(--space-md); }
.blk { margin: 0; border-radius: var(--radius-blk); }
.blk--lead { grid-column: 1 / 8; grid-row: 1 / 2; display: flex; flex-direction: column; justify-content: center; padding: var(--space-2xl); background: var(--color-field); color: var(--color-on-field); }
.blk--lead :focus-visible { outline-color: var(--color-focus-on-field); }
.hero h1 { font-size: var(--text-display); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--color-on-field); max-width: 11ch; }
.hero__lede { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-on-field-2); max-width: 32ch; }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.blk--pic { grid-column: 8 / 13; grid-row: 1 / 3; overflow: hidden; background: var(--color-accent); }
.blk--pic img { width: 100%; height: 100%; max-height: min(560px, 60vh); object-fit: cover; }
.blk--fact, .blk--fact2 { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-lg) var(--space-xl); }
.blk--fact { grid-column: 1 / 5; background: var(--color-accent); color: var(--color-accent-ink); }
.blk--fact2 { grid-column: 5 / 8; background: var(--color-paper-2); color: var(--color-ink); }
.blk--fact b, .blk--fact2 b { font: 700 var(--text-3xl)/1 var(--font-display); letter-spacing: -0.02em; }
.blk--fact span, .blk--fact2 span { font-weight: 700; max-width: 18ch; line-height: 1.35; }
.trade { padding: var(--space-2xl) 0 var(--section-gap-s); }
.trade__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); padding: var(--space-2xl); border-radius: var(--radius-blk); background: var(--color-paper-2); }
.trade__pic { width: 100%; margin-top: var(--space-xl); aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-in); }
.trade__form { display: grid; gap: var(--space-lg); align-content: start; }
.field { display: grid; gap: var(--space-xs); }
.field label, .seg legend { font-weight: 700; font-size: var(--text-sm); color: var(--color-ink); }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-in); background: var(--color-paper-3); color: var(--color-ink); outline: 3px solid transparent; outline-offset: 2px; }
.field input:focus-visible, .field select:focus-visible { outline-color: var(--color-focus); }
.field input[aria-invalid] { border-color: var(--color-error); }
.seg { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; border: 0; }
.seg legend { width: 100%; margin-bottom: var(--space-xs); padding: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-md); border: 2px solid var(--color-ink); border-radius: var(--radius-in); background: var(--color-paper-3); font-weight: 700; cursor: pointer; white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out); }
.seg label:hover { background: var(--color-accent-soft); }
.seg input:checked + label { background: var(--color-ink); color: var(--color-paper); }
.seg input:focus-visible + label { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.trade__out { display: grid; gap: var(--space-xs); padding: var(--space-lg); border-radius: var(--radius-in); background: var(--color-field); color: var(--color-on-field-2); font-weight: 700; }
.trade__out output { font: 700 var(--text-3xl)/1 var(--font-display); color: var(--color-on-field); }
.trade__note { font-size: var(--text-sm); color: var(--color-ink-2); }
.shop { padding: var(--section-gap-s) 0; }
.phones { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-xl); }
.phone a { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--space-lg); align-items: center; padding: var(--space-md); border: 2px solid var(--color-ink); border-radius: var(--radius-blk); background: var(--color-paper-3); text-decoration: none; transition: transform var(--dur-micro) var(--ease-out); }
.phone a:hover { transform: translateY(-2px); }
.phone a:active { transform: translateY(1px); }
.phone img { width: 160px; height: 160px; object-fit: cover; border-radius: var(--radius-in); }
.phone__txt { display: grid; gap: var(--space-2xs); }
.phone__name { font: 700 var(--text-title)/1.2 var(--font-display); }
.phone__store { font-size: var(--text-sm); color: var(--color-ink-2); }
.phone__price { margin-top: var(--space-xs); font-weight: 700; font-size: var(--text-lg); }
.phone__inst { font-size: var(--text-sm); color: var(--color-ink-2); }
.policy { padding: var(--section-gap) 0 var(--section-gap-s); }
.pol { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-xl); }
.pol > div { display: grid; gap: var(--space-sm); align-content: end; min-height: 240px; padding: var(--space-xl); border-radius: var(--radius-blk); }
.pol b { font: 700 var(--text-3xl)/1 var(--font-display); letter-spacing: -0.02em; }
.pol span { font-weight: 700; max-width: 26ch; }
.pol__a { grid-column: 1 / 7; background: var(--color-field); color: var(--color-on-field); }
.pol__b { grid-column: 7 / 10; background: var(--color-accent); color: var(--color-accent-ink); }
.pol__c { grid-column: 10 / 13; background: var(--color-paper-2); color: var(--color-ink); }
.acc { padding: var(--section-gap-s) 0; }
.acc__rail { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: var(--space-md); margin-top: var(--space-xl); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-xs); }
.acc__rail li { display: grid; gap: var(--space-2xs); scroll-snap-align: start; }
.acc__rail img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-blk); margin-bottom: var(--space-xs); }
.acc__name { font-weight: 700; }
.stores { padding: var(--section-gap-s) 0 var(--section-gap); }
.stores__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; }
.stores__pic { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-blk); }
.stores__list { list-style: none; display: grid; gap: 0; margin: var(--space-xl) 0 var(--space-lg); }
.stores__list li { display: grid; gap: var(--space-2xs); padding: var(--space-md) 0; border-top: 2px solid var(--color-ink); }
.stores__list b { font: 700 var(--text-title)/1.2 var(--font-display); }
.hold { padding: var(--space-3xl) 0; background: var(--color-accent); color: var(--color-accent-ink); }
.hold__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: var(--space-2xl); align-items: start; }
.hold :focus-visible, .hold .field input:focus-visible, .hold .field select:focus-visible { outline-color: var(--color-ink); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); align-items: end; }
.form .field input, .form .field select { border-color: var(--color-ink); }
.form .btn { background: var(--color-ink); color: var(--color-paper); }
.form .btn:hover { background: var(--color-field); }
.form__help { grid-column: 1 / -1; min-height: 1.6em; font-weight: 700; }
.foot { padding: var(--space-3xl) 0 var(--space-2xl); background: var(--color-field); color: var(--color-on-field); }
.foot :focus-visible { outline-color: var(--color-focus-on-field); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 0.8fr); gap: var(--space-2xl); align-items: start; }
.foot__name { font: 700 var(--text-3xl)/1 var(--font-display); color: var(--color-accent); letter-spacing: -0.02em; }
.foot__addr { font-style: normal; line-height: 1.8; color: var(--color-on-field-2); }
.foot__addr a { color: var(--color-on-field); }
.foot__links { list-style: none; display: grid; gap: var(--space-xs); }
.foot__links a { display: inline-flex; min-height: 32px; align-items: center; }
.foot__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-on-field-2); font-size: var(--text-sm); color: var(--color-on-field-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-xs); padding: var(--space-lg) 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.crumbs a { color: var(--color-ink-2); }
.dt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
.dt__pic { margin: 0; padding: var(--space-xl); border-radius: var(--radius-blk); background: var(--color-accent); }
.dt__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-in); }
.dt__body { display: grid; gap: var(--space-lg); }
.dt h1 { font-size: var(--text-section); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.dt__lede { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 40ch; }
.dt__price { display: grid; gap: var(--space-2xs); }
.dt__price span { font: 700 var(--text-3xl)/1 var(--font-display); }
.dt__price small { font-size: var(--text-md); color: var(--color-ink-2); }
.dt__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.specs { padding: var(--section-gap-s) 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-2xl); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { padding: var(--space-md) 0; border-top: 2px solid var(--color-ink); text-align: left; vertical-align: top; }
.spec th { width: 30%; font-weight: 700; }
.rel { padding: var(--section-gap-s) 0 var(--section-gap-s); }
.rel__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-xl); }
.rel__list a { display: flex; justify-content: space-between; gap: var(--space-md); align-items: center; min-height: 64px; padding: var(--space-md) var(--space-lg); border: 2px solid var(--color-ink); border-radius: var(--radius-in); text-decoration: none; font-weight: 700; }
.rel__list a:hover { background: var(--color-accent-soft); }
.rel__list a[aria-current] { background: var(--color-ink); color: var(--color-paper); }
@media (max-width: 60rem) {
  .blk--lead { grid-column: 1 / -1; padding: var(--space-xl); }
  .blk--pic { grid-column: 1 / -1; grid-row: auto; }
  .blk--pic img { height: 360px; }
  .blk--fact { grid-column: 1 / 7; } .blk--fact2 { grid-column: 7 / -1; }
  .trade__in, .stores__in, .hold__in, .dt, .specs { grid-template-columns: minmax(0, 1fr); }
  .trade__in { padding: var(--space-xl) var(--space-lg); }
  .phones { grid-template-columns: minmax(0, 1fr); }
  .pol__a { grid-column: 1 / -1; } .pol__b { grid-column: 1 / 7; } .pol__c { grid-column: 7 / -1; }
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rel__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .blk--lead { padding: var(--space-lg); }
  .blk--fact, .blk--fact2 { grid-column: 1 / -1; padding: var(--space-md) var(--space-lg); }
  .blk--fact b, .blk--fact2 b, .pol b { font-size: var(--text-2xl); }
  .trade__in { padding: var(--space-lg) var(--space-md); }
  .phone a { grid-template-columns: 112px minmax(0, 1fr); gap: var(--space-md); }
  .phone img { width: 112px; height: 112px; }
  .pol > div { grid-column: 1 / -1; min-height: 0; padding: var(--space-lg); }
  .form, .foot__in, .rel__list { grid-template-columns: minmax(0, 1fr); }
  .acc__rail { grid-auto-columns: 64%; }
  .dt__pic { padding: var(--space-md); }
}
