/* ==========================================================================
   Namou — "Land desk" redesign mockup
   Layer 1: tokens (from DESIGN.md)  ·  Layer 2: components  ·  Layer 3: pages
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* transitions.dev Accordion: in-page dropdowns open like an accordion */
  --acc-expand: 250ms;
  --acc-collapse: 250ms;
  --acc-chevron: 250ms;
  --acc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bg: #FDFDFD;
  --bg-alt: #F5F5F5;
  --ink: #121212;
  --ink-soft: #3A3A3A;
  --ink-mute: #6B6B6B;
  --rule: #E2E2E2;
  --accent: #00B073;
  --accent-hover: oklch(60% 0.158 160);
  --accent-deep: #003D2E;
  --accent-tint: oklch(96% 0.03 160);
  --danger: #C8392F;
  --warn-ink: #855A06;
  --on-deep: #F4F7F5;
  --on-deep-soft: rgba(244, 247, 245, 0.66);
  --on-deep-rule: rgba(244, 247, 245, 0.14);

  --font-sans: "DM Sans", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms;
  --t-mid: 400ms;
  --t-slow: 600ms;

  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 144px);
  --maxw: 1320px;
  --radius: 16px;
  --radius-sm: 12px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-tint); color: var(--accent-deep); }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
.display, .h2, .h3 { font-weight: 600; }
.display {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
}
.h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -0.028em; }
.h3 { font-size: clamp(1.25rem, 1.5vw, 1.5rem); line-height: 1.25; letter-spacing: -0.018em; }
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.875rem; }
/* No eyebrow/kicker labels in this system. Small meta text is sentence case. */
.meta { font-size: 0.875rem; color: var(--ink-soft); }
.eyebrow { display: none !important; }
.mono, .num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--accent-deep); color: var(--on-deep); }
.section--deep .muted, .section--deep .lead { color: var(--on-deep-soft); }
.section--deep .meta { color: var(--on-deep-soft); }
.bleed { width: 100%; }
.stack-s > * + * { margin-top: 12px; }
.stack-m > * + * { margin-top: 20px; }
.stack-l > * + * { margin-top: 32px; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.head-row .lead { margin-top: 14px; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--accent); color: var(--bg);
  font-weight: 600; font-size: 0.9375rem; line-height: 1; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.96); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: var(--bg-alt); border-color: #CFCFCF; }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: #2A2A2A; }
.btn--light { background: var(--on-deep); color: var(--accent-deep); }
.btn--light:hover { background: #FFFFFF; }
.btn--ghost-light { background: transparent; color: var(--on-deep); border-color: var(--on-deep-rule); }
.btn--ghost-light:hover { background: rgba(244,247,245,.08); }
.btn--sm { min-height: 40px; padding: 10px 16px; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 6px; text-decoration-thickness: 1px;
  transition: text-decoration-color var(--t-fast) var(--ease);
}
.link:hover { text-decoration-color: currentColor; }
.link .arr { transition: transform var(--t-fast) var(--ease); }
.link:hover .arr { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1120px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--accent-deep); color: var(--on-deep);
  border-radius: 999px; padding-block: 8px; padding-inline: 24px 8px;
  box-shadow: 0 1px 2px rgba(0, 61, 46, .12), 0 8px 24px -12px rgba(0, 61, 46, .35);
}
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 14px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500;
  color: var(--on-deep-soft); transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__links a:hover { color: var(--on-deep); }
.nav__links a[aria-current="page"] { color: var(--on-deep); background: rgba(244, 247, 245, .1); }
.nav__menu { display: none; }
/* language picker: round flag + code, menu of all four (flags are inline SVG so they show on Windows too) */
.flag { flex: none; display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .10); }
.flag.f-en { background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><rect width='60' height='60' fill='%23012169'/><path d='M0 0L60 60M60 0L0 60' stroke='%23fff' stroke-width='12'/><path d='M0 0L60 60M60 0L0 60' stroke='%23C8102E' stroke-width='4'/><path d='M30 0V60M0 30H60' stroke='%23fff' stroke-width='20'/><path d='M30 0V60M0 30H60' stroke='%23C8102E' stroke-width='12'/></svg>"); }
.flag.f-ar { background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><rect width='60' height='60' fill='%23fff'/><rect width='60' height='20' fill='%2300732F'/><rect y='40' width='60' height='20' fill='%23000'/><rect width='18' height='60' fill='%23FF0000'/></svg>"); }
.flag.f-zh { background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><rect width='60' height='60' fill='%23EE1C25'/><polygon points='20.0,11.0 22.5,18.6 30.5,18.6 24.0,23.3 26.5,30.9 20.0,26.2 13.5,30.9 16.0,23.3 9.5,18.6 17.5,18.6' fill='%23FFDE00'/><polygon points='37.8,8.7 36.4,10.9 38.1,12.9 35.5,12.3 34.1,14.5 33.9,11.9 31.4,11.3 33.8,10.3 33.7,7.7 35.3,9.7' fill='%23FFDE00'/><polygon points='44.4,17.8 42.3,19.4 43.2,21.8 41.0,20.4 39.0,22.0 39.7,19.5 37.5,18.0 40.2,17.9 40.9,15.4 41.8,17.9' fill='%23FFDE00'/><polygon points='44.6,29.0 42.1,29.8 42.1,32.4 40.6,30.3 38.1,31.1 39.6,29.0 38.1,26.9 40.6,27.7 42.1,25.6 42.1,28.2' fill='%23FFDE00'/><polygon points='38.4,37.2 35.8,37.1 34.9,39.6 34.2,37.1 31.5,37.0 33.7,35.5 33.0,33.0 35.0,34.6 37.2,33.2 36.3,35.6' fill='%23FFDE00'/></svg>"); }
.flag.f-ru { background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><rect width='60' height='20' fill='%23fff'/><rect y='20' width='60' height='20' fill='%230039A6'/><rect y='40' width='60' height='20' fill='%23D52B1E'/></svg>"); }
.lang { position: relative; margin-inline-start: auto; }
.nav__lang {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 9px; border-radius: 999px; border: 1px solid var(--on-deep-rule);
  background: transparent; color: var(--on-deep-soft); font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer;
}
.nav__lang:hover, .nav__lang[aria-expanded="true"] { color: var(--on-deep); }
.lang__menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 180px; padding: 6px; border-radius: 14px;
  background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 16px 32px -12px rgba(0, 0, 0, .28);
}
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 0.9375rem; }
.lang__menu a:hover, .lang__menu a:focus-visible { background: var(--bg-alt); outline: none; }
.lang__menu a[aria-current] { font-weight: 600; }
.sheet__lang { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sheet__lang a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--bg); }
.sheet__lang a[aria-current] { border-color: var(--ink); font-weight: 600; }
.sheet { display: none; }

@media (max-width: 900px) {
  .nav { padding-block: 6px; padding-inline: 20px 6px; }
  .nav__links, .nav__cta, .lang { display: none; }
  .nav__menu {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
    background: rgba(244, 247, 245, .1); border: 0; color: var(--on-deep); font-weight: 600; font-size: 0.9375rem;
  }
  .sheet {
    display: block; position: fixed; inset: 0; z-index: 49; background: var(--bg);
    padding: 96px var(--gutter) 32px; opacity: 0; pointer-events: none; transform: translateY(-12px);
    transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
  }
  .sheet.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .sheet a.sheet__link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em;
  }
  .sheet .btn { width: 100%; margin-top: 28px; }
}

/* ---------- Cards / surfaces ---------- */
.card { background: var(--bg-alt); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.card--line { background: var(--bg); border: 1px solid var(--rule); }
.frame { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.01em; background: var(--bg-alt); color: var(--ink-soft); white-space: nowrap;
}
.badge--line { background: transparent; border: 1px solid var(--rule); }
.badge--accent { background: var(--accent-tint); color: var(--accent-deep); }
.badge--gold { background: oklch(95.5% 0.06 92); color: oklch(42% 0.09 75); }
.badge--warn { background: oklch(96% 0.04 85); color: var(--warn-ink); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Stat block ---------- */
.stat__num { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: 0.45em; letter-spacing: -0.01em; font-weight: 500; margin-inline-start: 4px; color: var(--ink-soft); }
.stat__label { margin-top: 12px; font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.005em; }
.stat__src { margin-top: 4px; font-size: 0.8125rem; color: var(--ink-soft); }
.section--deep .stat__src, .section--deep .stat__num small { color: var(--on-deep-soft); }

/* ---------- Spec list (mono values) ---------- */
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--ink-soft); font-size: 0.875rem; }
.spec dd { margin: 0; font-size: 0.9375rem; font-weight: 500; text-align: end; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .spec { grid-template-columns: 1fr; } }

/* ---------- Plot row (inventory list) ---------- */
.plots { border-top: 1px solid var(--rule); }
.plot-row {
  display: grid; grid-template-columns: 112px minmax(0, 2.4fr) 1fr 1fr 1.1fr 40px; gap: 24px; align-items: center;
  padding: 16px 12px; margin: 0 -12px; border-bottom: 1px solid var(--rule); border-radius: var(--radius-sm);
  transition: background-color var(--t-fast) var(--ease);
}
.plot-row:hover { background: var(--bg-alt); }
.plot-row__img { width: 112px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.plot-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.plot-row:hover .plot-row__img img { transform: scale(1.05); }
.plot-row__name { font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
.plot-row__meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.plot-row__meta .badge { height: 24px; padding: 0 9px; }
.plot-row__cell { font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.plot-row__cell small, .plot-row__price small { display: block; font-size: 0.8125rem; color: var(--ink-mute); margin-bottom: 2px; font-weight: 400; }
.plot-row__price { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.plot-row__go {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule);
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.plot-row:hover .plot-row__go { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: translateX(2px); }
@media (max-width: 900px) {
  .plot-row { grid-template-columns: 88px 1fr; gap: 6px 16px; padding: 16px 0; margin: 0; border-radius: 0; }
  .plot-row:hover { background: transparent; }
  .plot-row__img { width: 88px; grid-row: span 3; align-self: start; }
  .plot-row__price, .plot-row__cell--ppsf, .plot-row__go { display: none; }
  .plot-row__cell--size { font-weight: 600; }
  .plot-row__cell--size small { display: none; }
}

/* compact rows: used when rows sit under an area header that already shows the photo */
.plots--compact .plot-row { grid-template-columns: minmax(0, 2.4fr) 1fr 1fr 1.1fr 40px; }
.plots--compact .plot-row__img { display: none; }
@media (max-width: 900px) {
  .plots--compact .plot-row { grid-template-columns: 1fr auto; align-items: start; }
  .plots--compact .plot-row__cell--size { text-align: end; white-space: nowrap; }
}

/* ---------- Form controls ---------- */
.field { display: inline-flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.8125rem; color: var(--ink-soft); font-weight: 500; }
.select, .input {
  appearance: none; height: 44px; padding: 0 40px 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--bg);
  font: inherit; font-size: 0.9375rem; color: var(--ink); min-width: 0;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233A3A3A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.input { padding-inline-end: 16px; }

/* ---------- In-page dropdown (replaces the device's own select menu) ---------- */
/* transitions.dev "Accordion" snippet, verbatim */
/* grid-template-rows 0fr → 1fr gives a clean height animation
   with no JS measurement; the inner element clips overflow. */
.t-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel {
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--acc-expand) var(--acc-ease);
}
.t-acc-panel-inner {
  overflow: hidden;
  opacity: 0;
  filter: blur(2px);
  transition:
    opacity var(--acc-collapse) var(--acc-ease),
    filter var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel-inner {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity var(--acc-expand) var(--acc-ease),
    filter var(--acc-expand) var(--acc-ease);
}
/* Flip the chevron vertically to turn the "v" into a "^". */
.t-acc-chevron {
  display: inline-flex;
  transform: scaleY(1);
  transform-origin: center;
  transition: transform var(--acc-chevron) var(--acc-ease);
}
.t-acc-chevron path { vector-effect: non-scaling-stroke; }
.t-acc[data-open="true"] .t-acc-chevron {
  transform: scaleY(-1);
}

@media (prefers-reduced-motion: reduce) {
  .t-acc-panel, .t-acc-panel-inner, .t-acc-chevron {
    transition: none !important;
  }
}
/* the trigger keeps the select's pill look; the options open in the page below it */
.dd { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 16px 14px; background-image: none; cursor: pointer; white-space: nowrap; }
.dd .t-acc-chevron svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dd[aria-expanded="true"] { border-color: var(--ink); }
.dd > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dd .t-acc-chevron { flex: none; }
.dd-panel .t-acc-panel-inner > .seg { padding-block: 4px 16px; }
.select:focus, .input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--bg); font-size: 0.875rem; font-weight: 500;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.seg button:hover { border-color: #CFCFCF; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 12px; border-radius: 999px;
  background: var(--bg-alt); font-size: 0.8125rem; border: 0;
}
.chip span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 12px; line-height: 1; }

/* ---------- Leader card ---------- */
.leader { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.leader__photo { width: clamp(120px, 14vw, 180px); aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--rule); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
@media (max-width: 640px) { .leader { grid-template-columns: 1fr; } }

/* ---------- Steps / numbered list ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 8px 20px; padding: 24px 0; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 0.875rem; font-weight: 500; color: var(--ink-soft); padding-top: 3px; font-variant-numeric: tabular-nums; }
.steps h3 { grid-column: 2; }
.steps p { grid-column: 2; color: var(--ink-soft); max-width: 52ch; }
.section--deep .steps li { border-color: var(--on-deep-rule); }
.section--deep .steps li::before, .section--deep .steps p { color: var(--on-deep-soft); }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 22px 0; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--rule); position: relative; transition: transform var(--t-mid) var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--t-mid) var(--ease); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .faq__a { padding: 0 0 24px; color: var(--ink-soft); max-width: 68ch; }
.faq .faq__a small { display: block; margin-top: 10px; font-size: 0.75rem; }

/* ---------- Footer ---------- */
.footer { background: var(--accent-deep); color: var(--on-deep); padding: clamp(64px, 8vw, 112px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__logo img { height: 34px; width: auto; }
.footer h4 { font-size: 0.875rem; font-weight: 500; color: var(--on-deep-soft); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer__logo { color: var(--on-deep); opacity: .86; transition: opacity var(--t-fast) var(--ease); }
.footer ul a:hover { opacity: 1; }
.footer__bottom { margin-top: clamp(48px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--on-deep-rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--on-deep-soft); }
.footer__bottom a { color: var(--on-deep-soft); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 900ms var(--ease) forwards; animation-delay: calc(var(--d, 0) * 60ms + 150ms); }
@keyframes draw { 99% { stroke-dashoffset: 0; stroke-dasharray: 1; } to { stroke-dashoffset: 0; stroke-dasharray: none; } }
.fade-in { opacity: 0; animation: fade 600ms var(--ease) forwards; animation-delay: var(--delay, 0ms); }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .draw { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; }
  .fade-in { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- Mockup banner ---------- */
.mock-note {
  position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg); font-size: 0.75rem; padding: 8px 8px 8px 14px; border-radius: 999px;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,.4);
}
.mock-note a { background: rgba(255,255,255,.12); padding: 6px 10px; border-radius: 999px; }
.mock-note button { background: transparent; border: 0; color: var(--bg); opacity: .6; padding: 4px 6px; }

/* Source image carries a watermark at top-left; keep it out of frame */
img[src*="nakheel"] { object-position: right center; }
/* Agriculture banner has baked-in title text on the left; show only the fields */
img[src*="agri"] { object-position: right center; }

/* Animated icons, ported from itshover (github.com/itshover/itshover, Apache-2.0).
   Lines draw in on reveal; hover motion is played from app.js (N.icons). */
.ih path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ih g, .ih path { transform-box: fill-box; transform-origin: center; }
.is-in .ih path { animation: draw 1100ms var(--ease) forwards; animation-delay: calc(var(--i, 0) * 160ms + 250ms); }
@media (prefers-reduced-motion: reduce) { .ih path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; } }
.ih-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--rule); background: var(--bg); color: var(--accent-deep); }
.ih-n svg { width: 22px; height: 22px; }

/* WhatsApp button: brand mark beside the label */
.btn--wa { gap: 8px; }
.btn--wa .wa-ic { width: 18px; height: 18px; fill: #25D366; flex: none; }

/* Zoom pop-up for deck screenshots */
img[data-zoom] { cursor: zoom-in; }
.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; animation: zoom-in 220ms var(--ease); }
.zoom::backdrop { background: rgba(8, 12, 10, .84); animation: zoom-in 220ms var(--ease); }
@keyframes zoom-in { from { opacity: 0; } }
.zoom__body { width: 100%; height: 100%; overflow: auto; display: grid; place-items: center; padding: 56px 16px 24px; overscroll-behavior: contain; }
.zoom img { display: block; max-width: min(1400px, 100%); max-height: calc(100dvh - 96px); border-radius: 12px; cursor: zoom-in; }
.zoom.is-big .zoom__body { place-items: start; }
.zoom.is-big img { max-width: none; max-height: none; width: max(170vw, 1100px); cursor: zoom-out; }
.zoom__x { position: fixed; top: 14px; inset-inline-end: 14px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 16px; cursor: pointer; }
.zoom__x:hover { background: rgba(255,255,255,.24); }

/* ---------- Arabic (right to left) ---------- */
[dir="rtl"] .ico-arrow, [dir="rtl"] .arr, [dir="rtl"] .go, [dir="rtl"] svg:has(> path[d^="M5 12h14"]) { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .link:hover .arr { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .plot-row:hover .plot-row__go { transform: translateX(-2px); }
[dir="rtl"] .select { background-position: left 16px center; padding: 0 16px 0 40px; }
[dir="rtl"] .dd { padding-inline: 16px 14px; }
[dir="rtl"] .tools .input { background-position: right 16px center; }
[lang="ar"] *, [lang="zh"] * { letter-spacing: 0 !important; }
[lang="zh"] .display, [lang="zh"] h1, [lang="zh"] h2 { text-wrap: wrap; }
[dir="rtl"] .stat__num { direction: ltr; text-align: right; }
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; line-height: 1.25; } } /* tracking breaks the joins between Arabic letters */
