/* =====================================================================
   CamboQR main site
   Colours come from the CamboQR logo. Fonts are self-hosted (no
   outside requests): Archivo for Latin, Koulen and Kantumruy Pro for Khmer.
   ===================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2-variations"), url("fonts/archivo.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Koulen";
  src: url("fonts/koulen-khmer.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+1780-17FF, U+19E0-19FF, U+200B-200D, U+25CC;
}
@font-face {
  font-family: "Kantumruy Pro";
  src: url("fonts/kantumruy-pro-khmer.woff2") format("woff2-variations"), url("fonts/kantumruy-pro-khmer.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+1780-17FF, U+19E0-19FF, U+200B-200D, U+25CC;
}

:root {
  /* brand */
  --forest: #183a2c;
  --forest-2: #1f4836;
  --forest-3: #2b5c46;
  --ink: #102619;
  --mango: #e9a100;
  --mango-2: #f4bd34;
  --chili: #b5381a;
  --rice: #f3eee2;
  --paper: #fbf8f1;

  /* text */
  --on-dark: #f3eee2;
  --on-dark-2: #b9c8bd;
  --on-light-2: #475a4e;
  --line-dark: rgba(243, 238, 226, 0.16);
  --line-light: rgba(16, 38, 25, 0.16);

  --f-text: "Archivo", "Kantumruy Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Archivo", "Koulen", "Kantumruy Pro", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --gut: 20px;
  --focus: var(--mango);
}
@media (min-width: 960px) { :root { --gut: 32px; } }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--forest);
  color: var(--on-dark);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.anchor { display: block; height: 0; }

/* Khmer: taller lines for stacked letters, never letter-spaced */
:lang(km) body, body:lang(km) { line-height: 1.8; }
:lang(km) * { letter-spacing: 0 !important; }

/* While Khmer text is being swapped in, keep the English hidden */
.i18n-wait [data-i18n] { visibility: hidden; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--mango); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* --------------------------------------------------------------- type */
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 70%;
  font-synthesis-weight: none;
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  word-spacing: 0.05em;
  text-wrap: balance;
}
:lang(km) .h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.45; }

.lede {
  margin-top: 16px;
  max-width: 50ch;
  font-size: 18px;
  line-height: 1.5;
  color: var(--on-dark-2);
  text-wrap: pretty;
}
:lang(km) .lede { font-size: 17px; line-height: 1.85; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-text); font-weight: 700; font-size: 17px; font-stretch: 92%;
  line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--mango { background: var(--mango); color: var(--ink); }
.btn--mango:hover { background: var(--mango-2); }
.btn--line { border-color: var(--line-dark); color: var(--on-dark); }
.btn--line:hover { border-color: var(--on-dark); }
.btn--forest { background: var(--forest); color: var(--on-dark); }
.btn--forest:hover { background: var(--forest-3); }
.btn--outline-forest { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--outline-forest:hover { background: rgba(24, 58, 44, 0.08); }
:lang(km) .btn { font-size: 16px; line-height: 1.5; }

/* ------------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(24, 58, 44, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.top__in { display: flex; align-items: center; gap: 20px; height: 64px; }
.top__nav { display: none; gap: 28px; margin-left: auto; font-size: 16px; font-weight: 500; }
.top__nav a { text-decoration: none; color: var(--on-dark-2); }
.top__nav a:hover { color: var(--on-dark); }
.top__end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
@media (min-width: 900px) {
  .top__nav { display: flex; }
  .top__end { margin-left: 8px; }
}
@media (max-width: 400px) { .top__end .btn--sm { display: none; } }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); }
.brand__mark { width: 40px; height: 40px; border-radius: 6px; }
.brand__word {
  display: inline-flex; align-items: center;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800; font-stretch: 72%; font-size: 26px; line-height: 1; letter-spacing: 0;
}
.brand__leaf { width: 0.42em; height: 0.21em; margin: 0 0.05em 0 0.06em; fill: var(--chili); transform: rotate(-8deg) translateY(0.04em); }
.brand__qr { color: var(--mango); }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, 0.18); border: 1px solid var(--line-dark); }
.lang button {
  border: 0; background: transparent; color: var(--on-dark-2);
  padding: 5px 11px; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 600; line-height: 1.3;
}
/* system Khmer font for this label, so English visitors don't download a Khmer font for one word */
.lang button[lang="km"] { font-family: "Khmer UI", "Khmer Sangam MN", "Noto Sans Khmer", system-ui, sans-serif; }
.lang button[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); }

/* --------------------------------------------------------------- hero */
.hero { padding: 36px 0 72px; overflow: hidden; }
.hero__in { display: grid; gap: 40px; align-items: center; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 800; font-stretch: 66%;
  font-synthesis-weight: none;
  font-size: clamp(52px, 11.5vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  word-spacing: 0.08em;
  max-width: 9ch;
}
:lang(km) .hero__title { font-size: clamp(40px, 8.2vw, 80px); line-height: 1.38; max-width: 11ch; }
.hero__lede { margin-top: 22px; max-width: 44ch; font-size: 19px; line-height: 1.5; color: var(--on-dark-2); }
:lang(km) .hero__lede { font-size: 17px; line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__art { position: relative; display: grid; justify-items: end; gap: 22px; padding-top: 8px; }
.hero__stack { position: relative; width: min(300px, 68vw); margin-right: 4%; }
.hero__card {
  width: 100%; height: auto;
  transform: rotate(3.5deg);
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.42)) drop-shadow(0 6px 8px rgba(0, 0, 0, 0.28));
}

/* The price, as a sticker slapped on the card */
.sticker {
  /* Placed so it never covers the QR code: the hero card must still scan */
  position: absolute; left: -21%; top: 0;
  width: clamp(124px, 36vw, 184px); aspect-ratio: 1;
  display: grid; place-content: center; text-align: center;
  border-radius: 50%;
  background: var(--mango); color: var(--ink);
  box-shadow: inset 0 0 0 7px var(--mango), inset 0 0 0 9px rgba(16, 38, 25, 0.85), 0 14px 22px rgba(0, 0, 0, 0.35);
  transform: rotate(-11deg);
  animation: slap 0.55s cubic-bezier(0.2, 1.5, 0.4, 1) 0.35s both;
}
.sticker__price {
  display: block;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 900; font-stretch: 62%;
  font-size: clamp(54px, 15.5vw, 80px); line-height: 0.85; letter-spacing: -0.02em;
}
.sticker__per {
  display: block; margin-top: 6px;
  font-weight: 700; font-stretch: 85%; font-size: clamp(15px, 4vw, 20px); line-height: 1.1;
  word-spacing: 0.12em;
}
:lang(km) .sticker__per { font-family: "Kantumruy Pro", system-ui, sans-serif; font-size: clamp(13px, 3.4vw, 17px); line-height: 1.5; margin-top: 2px; }
@keyframes slap {
  0% { transform: scale(1.7) rotate(-34deg); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: scale(1) rotate(-11deg); opacity: 1; }
}

.hero__scan {
  justify-self: start;
  display: flex; align-items: center; gap: 10px;
  max-width: 34ch; font-size: 15px; line-height: 1.4; color: var(--on-dark-2);
}
.hero__scan svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--mango); stroke-width: 1.8; stroke-linecap: round; }
:lang(km) .hero__scan { line-height: 1.7; }

@media (min-width: 760px) and (max-width: 959px) { .hero__stack { width: min(290px, 100%); } }
@media (min-width: 760px) {
  .hero { padding: 64px 0 96px; }
  .hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 32px; }
  .hero__art { padding-top: 0; justify-items: center; }
  .hero__stack { width: min(340px, 100%); margin-right: 0; }
  .hero__scan { justify-self: center; }
  .sticker { width: clamp(132px, 15vw, 188px); left: -23%; top: -2%; }
  .sticker__price { font-size: clamp(56px, 6.6vw, 82px); }
  .sticker__per { font-size: clamp(15px, 1.7vw, 20px); }
}

/* ------------------------------------------------------------ designs */
.designs { padding: 40px 0 88px; }
.designs__head { display: grid; gap: 32px; margin-bottom: 40px; }
.points { display: grid; gap: 22px 28px; }
.point { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.point svg { width: 26px; height: 26px; margin-top: 1px; fill: none; stroke: var(--mango); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.point h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.point p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--on-dark-2); }
:lang(km) .point h3 { font-size: 16px; line-height: 1.6; }
:lang(km) .point p { line-height: 1.75; }
@media (min-width: 640px) { .points { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .designs { padding-top: 56px; }
  .designs__head { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; margin-bottom: 48px; }
  .points { padding-top: 10px; }
}

/* Two rows: "Choose your website" (phones) above "Choose your QR" (small cards) */
.rows {
  --phone-w: 196px;
  --qr-w: 128px;
  --qr-h: 168px;
  display: grid; gap: 18px;
}
@media (min-width: 380px) { .rows { --phone-w: 206px; --qr-w: 136px; --qr-h: 176px; } }
@media (min-width: 760px) { .rows { --phone-w: 216px; --qr-w: 164px; --qr-h: 210px; gap: 22px; } }
@media (min-width: 1100px) { .rows { --phone-w: 232px; --qr-w: 176px; --qr-h: 224px; } }

.picker {
  min-width: 0; display: flex; flex-direction: column; align-items: center;
  padding: 22px 0 24px;
  border-radius: 28px;
  background: var(--forest-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* The QR row sits on a darker "table top" so the two rows never look alike */
.picker--qr { background: #102a1f; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 0 0 1px rgba(233, 161, 0, 0.14); }

.picker__head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  width: 100%; padding: 0 22px;
}
@media (min-width: 760px) { .picker__head { padding: 0 30px; } }
.picker__badge {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--mango); color: var(--ink);
}
.picker__badge svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.picker__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 74%; font-synthesis-weight: none;
  font-size: clamp(24px, 3.2vw, 32px); line-height: 1.05; color: var(--on-dark);
}
:lang(km) .picker__title { font-size: clamp(20px, 2.6vw, 26px); line-height: 1.5; }
.picker__sub { margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--on-dark-2); }
:lang(km) .picker__sub { line-height: 1.7; }
.picker__count { font-size: 15px; font-weight: 600; color: var(--on-dark-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.picker__pause {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: var(--on-dark); cursor: pointer;
}
.picker__pause:hover { border-color: var(--on-dark); }
.picker__pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.picker__tools { display: flex; align-items: center; gap: 10px; }
@media (max-width: 519px) { .picker__head { align-items: start; } .picker__tools { padding-top: 6px; } }

.picker__stage { position: relative; width: 100%; }
.picker__track {
  --slide-w: var(--phone-w);
  display: flex; align-items: center; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 18px calc(50% - var(--slide-w) / 2) 20px;
  scrollbar-width: none;
  position: relative;
}
.picker__track::-webkit-scrollbar { display: none; }
.picker--qr .picker__track { --slide-w: var(--qr-w); gap: 12px; padding-block: 16px 14px; }

.slide {
  flex: 0 0 var(--slide-w);
  scroll-snap-align: center;
  transform: scale(0.84);
  opacity: 0.42;
  transition: transform 0.35s ease, opacity 0.35s ease;
  cursor: pointer;
}
.picker--qr .slide { transform: scale(0.8); opacity: 0.55; }
.slide.is-active, .picker--qr .slide.is-active { transform: none; opacity: 1; }
.picker--web .slide.is-active { cursor: zoom-in; }
.picker__track.is-jumping .slide { transition: none; }   /* the invisible jump that makes the row loop */

/* phone frame */
.phone {
  padding: 8px;
  border-radius: 34px;
  background: #0c1611;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 22px 34px rgba(0, 0, 0, 0.34);
}
.phone__screen { position: relative; overflow: hidden; border-radius: 26px; background: #1b2620; aspect-ratio: 390 / 844; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* QR card shot */
.cardshot { display: grid; place-items: center; height: var(--qr-h); }
.cardshot__in { position: relative; display: block; }
.cardshot img {
  display: block; width: auto; height: auto; max-width: var(--qr-w); max-height: var(--qr-h);
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.42)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}
/* After a tap, the chosen card gets a check mark */
.picker--qr.is-chosen .slide.is-active .cardshot__in::after {
  content: ""; position: absolute; top: -10px; right: -10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--mango) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102619' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 0 0 3px #102a1f, 0 4px 8px rgba(0, 0, 0, 0.35);
}

.picker__arrow {
  position: absolute; top: 50%; z-index: 2;
  width: 46px; height: 46px; margin-top: -23px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--on-dark); color: var(--ink);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.picker__arrow:hover { transform: scale(1.06); }
.picker__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.picker__arrow--prev { left: 8px; }
.picker__arrow--next { right: 8px; }
.picker--qr .picker__arrow { width: 38px; height: 38px; margin-top: -19px; }
.picker--qr .picker__arrow svg { width: 18px; height: 18px; }
@media (max-width: 759px) {
  .picker__arrow { width: 40px; height: 40px; margin-top: -20px; }
  .picker__arrow svg { width: 19px; height: 19px; }
}
@media (min-width: 760px) { .picker__arrow--prev { left: 18px; } .picker__arrow--next { right: 18px; } }

.picker__caption { width: 100%; padding: 0 24px; text-align: center; }
.picker__name {
  font-family: var(--f-display); font-weight: 800; font-stretch: 78%; font-synthesis-weight: none;
  font-size: 28px; line-height: 1.1; color: var(--on-dark);
}
.picker__note { margin: 6px auto 0; max-width: 46ch; min-height: 3em; font-size: 15px; line-height: 1.5; color: var(--on-dark-2); }
:lang(km) .picker__note { line-height: 1.75; min-height: 3.5em; }
.picker--qr .picker__name { font-size: 21px; }
.picker--qr .picker__note { min-height: 1.5em; font-size: 14px; }
:lang(km) .picker--qr .picker__note { min-height: 1.75em; }
.picker__live { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--mango); text-underline-offset: 3px; }
.picker__live:hover { color: var(--mango-2); }

.picker__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; margin-top: 12px; padding: 0 16px; }
.dot { border: 0; background: transparent; padding: 9px 5px; cursor: pointer; }
.dot::before {
  content: ""; display: block; width: 9px; height: 9px; border-radius: 9px;
  background: var(--on-dark-2); opacity: 0.45;
  transition: width 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}
.dot[aria-current="true"]::before { width: 24px; background: var(--mango); opacity: 1; }

/* Your pick */
.pickbar {
  display: grid; gap: 14px 28px; align-items: center;
  padding: 20px 22px 4px;
}
@media (min-width: 900px) {
  .pickbar { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 30px 4px; }
  .pickbar__note { grid-column: 1 / -1; }
}
.pickbar__text { font-size: 18px; line-height: 1.45; color: var(--on-dark-2); max-width: 52ch; }
.pickbar__text b { color: var(--on-dark); font-weight: 700; }
:lang(km) .pickbar__text { font-size: 17px; line-height: 1.8; }
.pickbar__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pickbar__note { font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }
.pickbar__note.is-done { color: var(--mango); font-weight: 600; }
:lang(km) .pickbar__note { line-height: 1.75; }

.table__error { padding: 18px 20px; border-radius: 14px; background: rgba(0, 0, 0, 0.2); color: var(--on-dark); }
.table__error a { color: var(--mango); }

/* --------------------------------------------- light part of the page */
.how, .price { background: var(--rice); color: var(--ink); --focus: var(--forest); }
.how .lede, .price .lede { color: var(--on-light-2); }

.how { padding: 88px 0 40px; }
.steps { display: grid; gap: 34px; margin-top: 44px; counter-reset: none; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--ink); }
.step__n {
  display: block;
  font-family: var(--f-display); font-weight: 900; font-stretch: 62%; font-synthesis-weight: none;
  font-size: 76px; line-height: 0.9; color: var(--forest);
}
:lang(km) .step__n { font-family: "Koulen", "Archivo", sans-serif; font-weight: 400; font-size: 62px; line-height: 1.25; }
.step h3 { margin-top: 14px; font-size: 21px; font-weight: 700; font-stretch: 90%; line-height: 1.25; }
.step p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--on-light-2); max-width: 32ch; }
:lang(km) .step h3 { font-size: 19px; line-height: 1.6; }
:lang(km) .step p { line-height: 1.85; }

.price { padding: 72px 0 96px; }
.price__in { display: grid; gap: 40px; align-items: start; }
.price__copy .btn { margin-top: 28px; }
@media (min-width: 960px) {
  .price__in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
  .price__copy { position: sticky; top: 104px; }
}

/* The price list, set like a restaurant menu board */
.board {
  padding: 28px 22px 24px;
  border-radius: 24px;
  background: var(--forest); color: var(--on-dark);
  --focus: var(--mango);
}
@media (min-width: 640px) { .board { padding: 36px 40px 30px; } }
.board__head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 18px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15px; font-weight: 600; color: var(--on-dark-2);
}
.board__head img { width: 28px; height: 28px; border-radius: 4px; }
.item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
}
.item:last-child { border-bottom: 0; }
.item dt {
  display: flex; align-items: baseline;
  font-size: 19px; font-weight: 700; font-stretch: 92%; line-height: 1.3;
}
.item dt::after {
  content: ""; flex: 1 1 auto; min-width: 20px; margin-left: 12px;
  border-bottom: 2px dotted rgba(243, 238, 226, 0.34);
  transform: translateY(-0.28em);
}
.item__price {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800; font-stretch: 70%; font-size: 28px; line-height: 1; color: var(--mango);
  white-space: nowrap;
}
:lang(km) .item__price { font-family: var(--f-display); font-size: 24px; line-height: 1.5; }
.item__desc { grid-column: 1 / -1; margin-top: 8px; max-width: 54ch; font-size: 15px; line-height: 1.55; color: var(--on-dark-2); }
:lang(km) .item dt { font-size: 18px; line-height: 1.6; }
:lang(km) .item__desc { line-height: 1.85; }

.item--main dt { font-size: 23px; }
.item--main .item__price { font-size: clamp(60px, 9vw, 84px); font-weight: 900; font-stretch: 62%; letter-spacing: -0.02em; }
:lang(km) .item--main dt { font-size: 20px; }
:lang(km) .item--main .item__price { font-family: "Archivo", system-ui, sans-serif; line-height: 1; }

.item--quiet dt { font-size: 17px; font-weight: 600; }
.item--quiet .item__price { font-size: 20px; color: var(--on-dark); font-stretch: 85%; }
.item--quiet .item__desc { font-size: 14px; }

.board__foot { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark-2); }

/* ------------------------------------------------------------ contact */
.contact { background: var(--mango); color: var(--ink); padding: 72px 0; --focus: var(--forest); }
.contact .lede { color: rgba(16, 38, 25, 0.78); }
.contact__in { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .contact__in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; } }
.contact__actions { display: grid; gap: 12px; justify-items: start; }
.contact__actions .btn { min-width: 260px; }
.contact__address { font-size: 16px; font-weight: 600; }
.contact__address a { text-underline-offset: 3px; }
.contact__custom { margin-top: 8px; max-width: 40ch; font-size: 15px; line-height: 1.5; color: rgba(16, 38, 25, 0.78); }
:lang(km) .contact__custom { line-height: 1.8; }

/* ------------------------------------------------------------- footer */
.foot { padding: 56px 0 28px; color: var(--on-dark-2); font-size: 15px; }
.foot__in { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot__in { grid-template-columns: 1.4fr 0.8fr 1fr; } }
.brand--foot { color: var(--on-dark); }
.brand--foot .brand__mark { width: 36px; height: 36px; }
.foot__tag { margin-top: 12px; max-width: 34ch; }
.foot__nav, .foot__contact { display: grid; gap: 8px; align-content: start; }
.foot__nav a, .foot__contact a { text-decoration: none; }
.foot__nav a:hover, .foot__contact a:hover { color: var(--on-dark); text-decoration: underline; }
.foot__h { font-size: 15px; font-weight: 700; color: var(--on-dark); margin-bottom: 2px; }
.foot__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 14px; }

/* ----------------------------------------------------- live demo dialog */
.demo {
  padding: 0; border: 0; background: transparent; color: var(--on-dark);
  max-width: none; max-height: none; overflow: visible;
}
.demo::backdrop { background: rgba(8, 20, 14, 0.82); }
.demo[open] { display: grid; justify-items: center; gap: 14px; }
.demo__bar { display: flex; align-items: center; gap: 18px; width: 100%; min-width: 300px; }
.demo__title { font-size: 18px; font-weight: 700; margin-right: auto; }
.demo__open { font-size: 15px; font-weight: 600; color: var(--mango); text-underline-offset: 3px; }
.demo__close {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--on-dark); color: var(--ink); cursor: pointer;
}
.demo__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.phone--demo { height: min(860px, calc(100vh - 110px)); aspect-ratio: 406 / 860; }
.phone--demo .phone__screen { height: 100%; aspect-ratio: auto; background: #fff; }
.phone--demo iframe {
  position: absolute; left: 0; top: 0;
  width: 390px; height: 844px; border: 0;
  transform-origin: 0 0; transform: scale(var(--s, 1));
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
