/*
 * mutassfhati.app (CEO, 08-Oct-2026). Brand identity v1.0: ink #1A1A1A,
 * amber #F5A524, warm neutrals, Tajawal only. Shapes: buttons are pills,
 * cards 24px, inputs 14px. No glow, no gradients on colour, no blur.
 * Content is visible at rest; landing.js only adds motion on top.
 */
:root {
  --ink: #1A1A1A;
  --ink-2: #222120;
  --ink-line: #34322E;
  --on-ink: #FFFFFF;
  --on-ink-muted: #B9B5AC;
  --on-ink-subtle: #8F8B83;
  --amber: #F5A524;
  --amber-deep: #D98A0B;
  --amber-soft: #FDF1DA;
  --paper: #F6F5F2;
  --paper-2: #EEECE6;
  --surface: #FFFFFF;
  --line: #E4E1DA;
  --text: #1A1A1A;
  --muted: #625E57;
  --green: #1E7A46;
  --green-soft: #E3F2E9;
  --danger: #B3261E;
  --r-card: 24px;
  --r-input: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --shadow: 0 1px 2px rgba(26, 26, 26, 0.06), 0 12px 32px -12px rgba(26, 26, 26, 0.18);
  --font: 'Tajawal', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.preview-bar { position: sticky; top: 0; z-index: 60; background: var(--amber); color: var(--ink); text-align: center; font-weight: 700; font-size: 14px; padding: 6px 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-weight: 700; line-height: 1; padding: 14px 24px; font-size: 16px;
  transition: transform 160ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 18px 30px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #FFB43A; }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: #000; }
[dir="rtl"] .btn svg[data-flip], [dir="rtl"] .hero-join svg:last-child { transform: none; }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 176px;
  padding: 10px 18px 10px 16px; border-radius: 14px; text-decoration: none;
  background: #000; color: #fff; border: 1px solid #3A3936;
  transition: transform 160ms var(--ease), border-color 200ms var(--ease);
}
.store:hover { border-color: var(--amber); transform: translateY(-2px); }
.store-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-text small { font-size: 12px; font-weight: 500; opacity: 0.85; }
.store-text strong { font-size: 19px; font-weight: 800; letter-spacing: 0.1px; }
.store-logo { display: grid; place-items: center; }
.store.is-soon { cursor: default; color: #fff; opacity: 0.92; }
.store.is-soon small { color: var(--amber); opacity: 1; font-weight: 700; }
.store.is-soon:hover { transform: none; border-color: #3A3936; }

/* Header */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; color: var(--on-ink); transition: background-color 240ms var(--ease), color 240ms var(--ease), box-shadow 240ms var(--ease); }
.preview-bar + .nav { top: 33px; }
.nav-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }
.brand-on-light { display: none !important; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; color: inherit; opacity: 0.86; transition: opacity 160ms, background-color 160ms; }
.nav-links a:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.nav-lang-m { display: none !important; }
.nav-end { display: flex; align-items: center; gap: 10px; }
.nav-lang { text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border: 1px solid var(--ink-line); border-radius: 999px; }
.nav-lang:hover { border-color: var(--amber); color: var(--amber); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; border-radius: 12px; }
.nav.is-solid { background: var(--paper); color: var(--text); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .brand-on-dark { display: none !important; }
.nav.is-solid .brand-on-light { display: block !important; }
.nav.is-solid .nav-links a:hover { background: var(--paper-2); }
.nav.is-solid .nav-lang { border-color: var(--line); }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--on-ink); padding: 128px 0 56px; overflow: hidden; isolation: isolate; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; opacity: 0.55;
  background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
[dir="rtl"] .chip-open { left: auto; right: calc(50% + 80px); }
[dir="rtl"] .chip-licence { left: calc(50% + 70px); }
[dir="rtl"] .chip-price { left: auto; right: calc(50% + 30px); }
[dir="rtl"] .hero-grid-bg { -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); gap: 48px; align-items: center; min-height: min(720px, calc(100dvh - 180px)); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--amber); border: 1px solid var(--ink-line); padding: 6px 14px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero-title { margin-top: 22px; font-weight: 800; font-size: clamp(40px, 5vw, 70px); line-height: 1.22; letter-spacing: -0.5px; }
[lang="en"] .hero-title { letter-spacing: -1.5px; line-height: 1.08; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span { display: inline-block; }
.amber { color: var(--amber); }
.hero-lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.8; color: var(--on-ink-muted); max-width: 56ch; }
.hero .stores { margin-top: 34px; }
.hero-join { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--on-ink); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--ink-line); padding-bottom: 4px; transition: color 160ms, border-color 160ms; }
.hero-join:hover { color: var(--amber); border-color: var(--amber); }
[dir="rtl"] .hero-join svg:last-child { transform: none; }

.hero-art { position: relative; height: 620px; }
.ring { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: var(--amber); top: 52%; left: calc(50% - 20px); transform: translate(-50%, -50%); }
[dir="rtl"] .ring { left: calc(50% + 15px); }
.ring::after { content: ""; position: absolute; inset: 54px; border-radius: 50%; border: 2px dashed rgba(26, 26, 26, 0.35); }
.phone {
  position: relative; margin: 0; background: #0B0B0A; border-radius: 46px; padding: 10px;
  box-shadow: 0 0 0 1.5px #3A3936, 0 40px 70px -28px rgba(0, 0, 0, 0.6);
}
.phone img { width: 100%; height: auto; border-radius: 36px; aspect-ratio: 600 / 1298; object-fit: cover; object-position: top; background: var(--paper); }
.hero-art .phone { position: absolute; width: 270px; }
.phone-front { top: 34px; left: calc(50% - 95px); z-index: 2; transform: rotate(-3deg); }
.phone-back { top: 92px; left: calc(50% - 215px); width: 236px !important; z-index: 1; transform: rotate(-11deg); }
[dir="rtl"] .phone-front { left: calc(50% - 175px); transform: rotate(3deg); }
[dir="rtl"] .phone-back { left: calc(50% - 30px); transform: rotate(11deg); }
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--surface); color: var(--text); font-size: 14px; font-weight: 700; line-height: 1;
  padding: 11px 14px; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
}
.chip svg { flex: none; }
.chip-open { top: 96px; left: calc(50% + 70px); color: var(--green); }
.chip-licence { top: 330px; left: calc(50% - 250px); background: var(--green-soft); color: var(--green); }
.chip-price { bottom: 70px; left: calc(50% + 40px); background: var(--ink); color: var(--on-ink); box-shadow: 0 0 0 1.5px var(--ink-line), 0 10px 30px -10px rgba(0, 0, 0, 0.6); }
.chip-price svg { color: var(--amber); }

.stats { margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink-line); }
.stats > div { padding: 24px 24px 0; border-inline-start: 1px solid var(--ink-line); }
.stats > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stats dt { font-size: 15px; color: var(--on-ink-subtle); order: 2; }
.stats dd { margin: 0 0 4px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1.2; color: var(--on-ink); font-variant-numeric: tabular-nums; }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

/* Category ribbon */
.ribbon { background: var(--amber); color: var(--ink); overflow: hidden; border-block: 1px solid var(--ink); }
.ribbon-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
[dir="rtl"] .ribbon-track { animation-name: marquee-rtl; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-list { display: flex; list-style: none; margin: 0; padding: 0; }
.ribbon-list li { display: flex; align-items: center; gap: 28px; padding: 16px 0 16px 28px; font-weight: 800; font-size: 18px; white-space: nowrap; }
[dir="rtl"] .ribbon-list li { padding: 16px 28px 16px 0; }
.ribbon-list li::after { content: ""; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon-track { animation: none; } }

/* Section heads */
section { position: relative; }
.how, .features, .faq, .contact { padding: clamp(80px, 10vw, 128px) 0; }
.sec-head { max-width: 760px; }
.kicker { font-size: 15px; font-weight: 800; color: var(--amber-deep); letter-spacing: 0.2px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: currentColor; }
.sec-title { margin-top: 14px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.25; font-weight: 800; letter-spacing: -0.3px; }
[lang="en"] .sec-title { letter-spacing: -1px; line-height: 1.12; }
.sec-lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 60ch; }

/* How it works */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; margin-top: 48px; }
.how-steps { list-style: none; margin: 0; padding: 0; }
.how-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; min-height: 46vh; align-content: center; padding: 24px 0; transition: opacity 400ms var(--ease); }
.how-live .how-step:not(.is-on) { opacity: 0.4; }
.how-num { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 28px; font-weight: 800; background: var(--surface); border: 1px solid var(--line); transition: background-color 300ms, color 300ms, border-color 300ms; }
.how-step.is-on .how-num { background: var(--ink); color: var(--amber); border-color: var(--ink); }
.how-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.how-step h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; font-weight: 800; margin-top: 4px; }
.how-step p:not(.how-label) { margin-top: 10px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.how-inline { display: none; }
.how-stage { position: sticky; top: 110px; height: calc(100dvh - 140px); max-height: 760px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.how-stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--paper-2); z-index: -1; }
.phone-lg { width: min(330px, 80%); }
.phone-lg img { position: absolute; inset: 10px; width: calc(100% - 20px); opacity: 0; transition: opacity 450ms var(--ease), transform 450ms var(--ease); transform: scale(0.985); }
.phone-lg img.is-on { position: relative; inset: auto; width: 100%; opacity: 1; transform: none; }
.how-progress { width: 4px; height: 160px; border-radius: 4px; background: var(--line); overflow: hidden; }
.how-progress span { display: block; width: 100%; height: 33.4%; background: var(--amber); border-radius: 4px; transition: height 450ms var(--ease); }

/* Features */
.features { background: var(--surface); }
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; overflow: hidden; }
.tile h3 { font-size: 24px; line-height: 1.35; font-weight: 800; margin-top: 18px; }
.tile p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.tile-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-deep); }
.tile-ai { grid-column: span 8; background: var(--ink); color: var(--on-ink); border-color: var(--ink); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 24px; padding-bottom: 0; min-height: 380px; }
.tile-ai p { color: var(--on-ink-muted); }
.tile-ai .tile-icon { background: rgba(245, 165, 36, 0.14); color: var(--amber); }
.tile-copy { padding-bottom: 30px; }
.tile-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px !important; font-size: 14px !important; font-weight: 700; color: var(--amber) !important; }
.tile-shot { margin: 0; align-self: end; border-radius: 30px 30px 0 0; overflow: hidden; border: 8px solid #0B0B0A; border-bottom: 0; background: #0B0B0A; max-height: 330px; }
.tile-shot img { width: 100%; height: auto; border-radius: 22px 22px 0 0; }
.tile-shot-top img { object-fit: cover; object-position: top; }
.tile-sectors { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; }
.tile-prices { grid-column: span 8; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 24px; padding-bottom: 0; min-height: 340px; background: var(--amber-soft); border-color: #F3DDB0; }
.tile-prices .tile-icon { background: var(--surface); }
.tile-prices .tile-shot { border-color: var(--ink); background: var(--ink); max-height: 300px; }
.tile-small { grid-column: span 3; }
.tile-small h3 { font-size: 21px; }
.tile-small p { font-size: 16px; }

.sector-board { margin-top: auto; padding-top: 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cell { display: grid; place-items: center; height: 38px; border-radius: 10px; font-size: 13px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; }
.cell.wide { grid-column: span 2; }
.cell.l1 { background: #FCE9C4; border-color: #F6D898; color: var(--ink); }
.cell.l2 { background: #F9D48A; border-color: #F3C365; color: var(--ink); }
.cell.l3 { background: var(--amber); border-color: var(--amber-deep); color: var(--ink); }
.cell.l4 { background: var(--ink); border-color: var(--ink); color: var(--amber); }
.board-legend { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: 14px !important; font-size: 13px !important; }
.board-legend .sw { width: 14px; height: 14px; border-radius: 4px; }
.board-legend .sw:last-of-type { margin-inline-end: 8px; }
.sw.l1 { background: #FCE9C4; } .sw.l2 { background: #F9D48A; } .sw.l3 { background: var(--amber); } .sw.l4 { background: var(--ink); }

/* Principles */
.trust { background: var(--ink); color: var(--on-ink); padding: clamp(80px, 10vw, 128px) 0; }
.trust .kicker { color: var(--amber); }
.trust-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink-line); }
.trust-list li { padding: 32px 28px 8px; border-inline-start: 1px solid var(--ink-line); }
.trust-list li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.trust-num { font-size: 15px; font-weight: 800; color: var(--amber); font-variant-numeric: tabular-nums; }
.trust-list h3 { font-size: 22px; line-height: 1.4; font-weight: 800; margin-top: 14px; }
.trust-list p { margin-top: 10px; color: var(--on-ink-muted); font-size: 16px; }

/* For workshops */
.shops { background: var(--amber); color: var(--ink); padding: clamp(72px, 9vw, 112px) 0; }
.shops .kicker { color: var(--ink); }
.shops .sec-lead { color: #3E3420; }
.shops-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.shops .btn { margin-top: 32px; }
.shops-note { margin-top: 12px; font-size: 15px; font-weight: 500; color: #3E3420; }
.shops-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.shops-points li { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 18px; padding: 18px 20px; font-weight: 700; font-size: 17px; line-height: 1.5; box-shadow: 0 1px 0 rgba(26, 26, 26, 0.08); }
.tick { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--amber); }

/* FAQ */
.faq-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq .sec-head { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; transition: border-color 200ms; }
.faq details[open] { border-color: #D8D3C8; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 800; font-size: 18px; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: transform 240ms var(--ease), background-color 200ms; }
.faq details[open] .faq-icon { transform: rotate(180deg); background: var(--amber); }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 64ch; }

/* Download */
.download { background: var(--ink); color: var(--on-ink); padding: clamp(56px, 7vw, 88px) 0; }
.download-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.download .sec-title { margin-top: 0; }
.download .sec-lead { color: var(--on-ink-muted); margin-top: 10px; }

/* Contact */
.contact-row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; margin-top: 48px; align-items: start; }
.contact-info { display: grid; gap: 28px; }
.contact-block h3 { font-size: 15px; font-weight: 800; color: var(--muted); margin-bottom: 12px; }
.channels { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.channels a { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; transition: border-color 200ms, transform 160ms var(--ease); }
.channels a:hover { border-color: var(--ink); transform: translateY(-1px); }
.channels small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.channels bdi { font-weight: 800; font-size: 17px; }
.ch-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--amber); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; transition: background-color 200ms, color 200ms, border-color 200ms; }
.socials a:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form h3 { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row .field { margin-bottom: 0; }
.field label { font-size: 15px; font-weight: 700; }
.field input, .field textarea, .select select {
  width: 100%; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-input);
  padding: 13px 16px; font-size: 16px; line-height: 1.5; transition: border-color 160ms, background-color 160ms;
}
.field input:focus, .field textarea:focus, .select select:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field textarea { resize: vertical; min-height: 130px; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.select { position: relative; }
.select select { appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select svg { position: absolute; top: 50%; inset-inline-end: 14px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.hint { font-size: 14px; color: var(--muted); margin: 6px 0 14px; }
.err { font-size: 14px; color: var(--danger); font-weight: 500; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--muted); margin: 6px 0 20px; cursor: pointer; line-height: 1.6; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); }
.consent a { color: var(--text); font-weight: 700; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sent { text-align: center; padding: 48px 16px; }
.sent-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.sent h3 { font-size: 26px; font-weight: 800; }
.sent p { margin-top: 8px; color: var(--muted); }
.sent-off .sent-icon { background: var(--amber-soft); color: var(--amber-deep); }

/* Footer */
.foot { background: var(--ink); color: var(--on-ink-muted); padding: 72px 0 32px; border-top: 1px solid var(--ink-line); }
.foot-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr); gap: 40px; }
.foot-brand img { height: 36px; width: auto; }
.foot-brand p { margin-top: 16px; max-width: 38ch; }
.foot-socials { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foot-socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ink-line); color: var(--on-ink); transition: background-color 200ms, color 200ms, border-color 200ms; }
.foot-socials a:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h3 { font-size: 15px; color: var(--on-ink); font-weight: 800; margin-bottom: 4px; }
.foot-col a { text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--amber); }
.foot-addr { text-align: start; }
[dir="rtl"] .foot-addr { text-align: right; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink-line); display: grid; gap: 6px; font-size: 14px; color: var(--on-ink-subtle); }



/* Tablet */
@media (max-width: 1100px) {
  .tile-small { grid-column: span 6; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-list li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .trust-list li:nth-child(n + 3) { border-top: 1px solid var(--ink-line); margin-top: 8px; }
}
@media (max-width: 960px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); color: var(--text); padding: 12px var(--gutter) 20px; margin: 0;
    box-shadow: 0 20px 40px -20px rgba(26, 26, 26, 0.35); display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav-links a:hover { background: none; }
  .nav-lang-m { display: flex !important; align-items: center; gap: 8px; border-bottom: 0 !important; }
  .nav-lang { display: none; }
  .nav-toggle { display: grid; }
  .nav-end { margin-inline-start: auto; }
  .hero { padding-top: 112px; }
  .hero-row { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .hero-art { height: 560px; max-width: 520px; width: 100%; margin-inline: auto; }
  .ring { width: 380px; height: 380px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stats > div:nth-child(n + 3) { margin-top: 8px; }
  .how-grid { grid-template-columns: 1fr; gap: 0; }
  .how-stage { display: none; }
  .how-live .how-step:not(.is-on) { opacity: 1; }
  .how-step { min-height: 0; grid-template-columns: 52px minmax(0, 1fr); padding: 28px 0; border-top: 1px solid var(--line); }
  .how-num { width: 52px; height: 52px; font-size: 22px; border-radius: 16px; }
  .how-inline { display: block; grid-column: 1 / -1; width: min(300px, 78%); margin: 20px auto 0; }
  .tile-ai, .tile-prices { grid-column: 1 / -1; }
  .tile-sectors { grid-column: 1 / -1; grid-row: auto; }
  .shops-row, .faq-row, .contact-row { grid-template-columns: 1fr; gap: 32px; }
  .faq .sec-head { position: static; }
  .foot-row { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-row { height: 68px; }
  .nav-links { inset-block-start: 68px; }
  .brand img { height: 30px; }
  .nav-end .btn { display: none; }
  .hero-title { font-size: clamp(36px, 10.5vw, 48px); }
  .hero-art { height: 470px; }
  .hero-art .phone { width: 210px; }
  .phone-front { top: 24px; left: calc(50% - 80px); }
  .phone-back { width: 184px !important; top: 70px; left: calc(50% - 170px); }
  [dir="rtl"] .phone-front { left: calc(50% - 130px); }
  [dir="rtl"] .phone-back { left: calc(50% - 14px); }
  .ring { width: 320px; height: 320px; left: calc(50% - 15px); }
  [dir="rtl"] .ring { left: calc(50% + 15px); }
  .ring::after { inset: 38px; }
  .phone { border-radius: 36px; padding: 8px; }
  .phone img { border-radius: 29px; }
  .chip { font-size: 13px; padding: 9px 12px; }
  .chip-open { top: 60px; left: auto; right: 0; }
  .chip-licence { top: 300px; left: 0; }
  .chip-price { bottom: 40px; left: auto; right: 0; }
  [dir="rtl"] .chip-open { right: auto; left: 0; }
  [dir="rtl"] .chip-licence { left: auto; right: 0; }
  [dir="rtl"] .chip-price { right: auto; left: 0; }
  .store { min-width: 0; flex: 1 1 150px; }
  .stats dd { font-size: 30px; }
  .stats > div { padding: 18px 14px 0; }
  .bento { gap: 12px; }
  .tile { padding: 24px; }
  .tile-ai, .tile-prices { grid-template-columns: 1fr; padding-bottom: 0; }
  .tile-shot { max-width: 260px; margin-inline: auto; width: 100%; max-height: 260px; }
  .tile-small { grid-column: 1 / -1; }
  .sector-board { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .cell { height: 34px; font-size: 12px; border-radius: 8px; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li { border-inline-start: 0 !important; padding-inline-start: 0 !important; border-top: 1px solid var(--ink-line); margin-top: 0 !important; }
  .trust-list li:first-child { border-top: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field { margin-bottom: 14px; }
  .download-row { flex-direction: column; align-items: stretch; }
  .foot-row { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 360px) {
  .hero-art { height: 430px; }
  .hero-art .phone { width: 190px; }
  .phone-back { width: 168px !important; }
  .chip-price { display: none; }
}
