/* هم‌تیمی · modern luminous landing · WCAG 2.1 */

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/vazirmatn_regular.ttf") format("truetype");
  font-weight: 300 500;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/vazirmatn_bold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font: "Vazirmatn", Tahoma, ui-sans-serif, system-ui, sans-serif;
  --base: 16.5px;
  --wrap: 1140px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 22px;
  --r-sm: 14px;

  --bg: oklch(97.5% 0.01 220);
  --bg-2: oklch(95% 0.02 200);
  --surface: oklch(100% 0.005 220 / 0.72);
  --surface-solid: oklch(100% 0 0);
  --ink: oklch(22% 0.03 240);
  --muted: oklch(45% 0.025 240);
  --line: oklch(22% 0.03 240 / 0.1);
  --brand: oklch(55% 0.12 195);
  --brand-deep: oklch(38% 0.08 210);
  --accent: oklch(62% 0.18 35);
  --sky: oklch(78% 0.12 220);
  --mint: oklch(82% 0.12 175);
  --shadow: 0 24px 60px oklch(22% 0.03 240 / 0.12);
  --shadow-sm: 0 10px 28px oklch(22% 0.03 240 / 0.08);
  --header-bg: oklch(100% 0.005 220 / 0.7);
  --phone: linear-gradient(165deg, oklch(28% 0.05 230), oklch(18% 0.04 250));
  --shine: linear-gradient(120deg, oklch(55% 0.14 195), oklch(70% 0.14 220), oklch(62% 0.16 35));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: oklch(16% 0.025 250);
  --bg-2: oklch(19% 0.03 245);
  --surface: oklch(22% 0.03 245 / 0.72);
  --surface-solid: oklch(22% 0.03 245);
  --ink: oklch(96% 0.01 220);
  --muted: oklch(78% 0.02 220);
  --line: oklch(96% 0.01 220 / 0.12);
  --brand: oklch(78% 0.12 185);
  --brand-deep: oklch(70% 0.1 210);
  --accent: oklch(72% 0.16 40);
  --shadow: 0 24px 60px oklch(0% 0 0 / 0.45);
  --shadow-sm: 0 10px 28px oklch(0% 0 0 / 0.3);
  --header-bg: oklch(16% 0.025 250 / 0.72);
  --phone: linear-gradient(165deg, oklch(30% 0.06 230), oklch(18% 0.05 255));
}

body.high-contrast {
  --bg: #000 !important;
  --bg-2: #000 !important;
  --surface: #000 !important;
  --surface-solid: #000 !important;
  --ink: #fff !important;
  --muted: #ffe566 !important;
  --line: #ff0 !important;
  --brand: #ff0 !important;
  --brand-deep: #ff0 !important;
  --accent: #0ff !important;
  --shadow: none !important;
  --header-bg: #000 !important;
}
body.high-contrast a,
body.high-contrast button { border: 2px solid #ff0 !important; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: var(--base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
  text-align: right;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
  isolation: isolate;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-deep); }
button { font: inherit; }
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .marquee__track { animation: none !important; transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }

.skip-link {
  position: absolute; top: -120px; right: 1rem; z-index: 10000;
  background: var(--brand-deep); color: #fff; font-weight: 800;
  padding: .85rem 1.1rem; border-radius: var(--r-sm); text-decoration: none;
}
.skip-link:focus { top: .75rem; }

/* Ambient mesh */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(50px);
  opacity: .55; mix-blend-mode: multiply;
}
html[data-theme="dark"] .orb { mix-blend-mode: screen; opacity: .35; }
.orb-a {
  width: 42vw; height: 42vw; top: -12%; right: -8%;
  background: radial-gradient(circle, var(--mint), transparent 70%);
  animation: float 14s ease-in-out infinite;
}
.orb-b {
  width: 36vw; height: 36vw; top: 18%; left: -10%;
  background: radial-gradient(circle, var(--sky), transparent 70%);
  animation: float 18s ease-in-out infinite reverse;
}
.orb-c {
  width: 28vw; height: 28vw; bottom: 8%; right: 20%;
  background: radial-gradient(circle, color-mix(in oklch, var(--accent) 55%, white), transparent 70%);
  animation: float 16s ease-in-out infinite;
}
.noise {
  position: absolute; inset: 0; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2%, 3%, 0) scale(1.06); }
}

/* A11y + header */
.a11y-bar {
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklch, var(--surface-solid) 80%, transparent);
  backdrop-filter: blur(12px);
}
.a11y-bar__row {
  min-height: 46px; display: flex; flex-wrap: wrap; gap: .6rem;
  align-items: center; justify-content: space-between; padding: .45rem 0;
  color: var(--muted); font-size: .88rem; font-weight: 600;
}
.a11y-bar__tools { display: flex; flex-wrap: wrap; gap: .35rem; }
.pill {
  border: 1px solid var(--line); background: var(--surface-solid); color: var(--ink);
  border-radius: 999px; padding: .35rem .75rem; font-size: .84rem; font-weight: 700;
  cursor: pointer; transition: .2s var(--ease);
}
.pill:hover, .pill[aria-pressed="true"] {
  background: var(--brand-deep); color: #fff; border-color: var(--brand-deep);
}

.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header.is-solid {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header__row {
  min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink);
}
.logo__badge {
  width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in oklch, var(--brand) 18%, var(--surface-solid));
  border: 1px solid var(--line);
}
.logo__copy { display: grid; line-height: 1.2; }
.logo__copy strong { font-size: 1.18rem; font-weight: 900; letter-spacing: -.02em; }
.logo__copy small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.menu { display: flex; gap: .2rem 1.05rem; }
.menu a {
  color: var(--muted); text-decoration: none; font-weight: 700; font-size: .94rem;
  padding: .35rem 0; border-bottom: 2px solid transparent; transition: .2s var(--ease);
}
.menu a:hover, .menu a[aria-current="true"] {
  color: var(--ink); border-bottom-color: var(--brand);
}
.header__actions { display: flex; align-items: center; gap: .5rem; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface-solid); place-items: center; gap: 5px; flex-direction: column; cursor: pointer;
}
.burger i { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border-radius: 16px; padding: .9rem 1.25rem; font-weight: 800; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .55rem .95rem; font-size: .9rem; background: color-mix(in oklch, var(--brand) 16%, transparent); color: var(--brand-deep); }
.btn-primary {
  color: #062018;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  box-shadow: 0 16px 36px color-mix(in oklch, var(--brand) 30%, transparent);
}
.btn-glass {
  background: var(--surface); border-color: var(--line); color: var(--ink);
  backdrop-filter: blur(10px);
}
.btn-glass.playing {
  border-color: var(--accent); color: var(--accent);
  background: color-mix(in oklch, var(--accent) 12%, var(--surface-solid));
}
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i {
  width: 3px; background: currentColor; border-radius: 2px;
  animation: eq 1s ease-in-out infinite;
}
.eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq i:nth-child(2) { height: 80%; animation-delay: .1s; }
.eq i:nth-child(3) { height: 100%; animation-delay: .2s; }
.eq i:nth-child(4) { height: 55%; animation-delay: .15s; }
@keyframes eq {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1); }
}

/* Hero */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0 0; position: relative; }
.hero__layout {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  min-height: min(78vh, 680px);
}
.kicker {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--brand-deep); font-weight: 800; font-size: .9rem; margin-bottom: .9rem;
}
.kicker .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 5px color-mix(in oklch, var(--brand) 18%, transparent);
}
.hero h1, .section__head h2, .about h2, .download h2 {
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.18; letter-spacing: -.035em;
  font-weight: 900; margin-bottom: 1rem;
}
.text-shine {
  background: var(--shine); -webkit-background-clip: text; background-clip: text;
  color: transparent; background-size: 200% auto; animation: shine 5s linear infinite;
}
@keyframes shine {
  to { background-position: 200% center; }
}
.hero__lead, .section__head p, .about p, .download p {
  color: var(--muted); font-size: 1.06rem; max-width: 36rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.4rem; }
.stats {
  list-style: none; display: flex; flex-wrap: wrap; gap: .7rem;
}
.stats li {
  min-width: 7.5rem; padding: .8rem 1rem; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(10px);
  display: grid; gap: .1rem;
}
.stats strong { font-size: 1.02rem; font-weight: 900; }
.stats span { color: var(--muted); font-size: .8rem; }

.phone { perspective: 1000px; }
.phone__bezel {
  border-radius: 36px; padding: 12px; background: linear-gradient(160deg, #1b2433, #0b1220);
  box-shadow: var(--shadow); transform: rotateY(-6deg) rotateX(3deg);
  transition: transform .5s var(--ease);
}
.phone:hover .phone__bezel { transform: rotateY(0) rotateX(0); }
.phone__notch {
  width: 38%; height: 18px; margin: 4px auto 10px; border-radius: 999px; background: #05080f;
}
.phone__screen {
  border-radius: 28px; background: var(--phone); min-height: 430px;
  display: flex; flex-direction: column; overflow: hidden; color: #eef7ff;
}
.phone__top {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.status {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700;
  background: rgba(255,255,255,.08); padding: .25rem .6rem; border-radius: 999px;
}
.status i {
  width: 7px; height: 7px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .18);
}
.chat { flex: 1; padding: 1rem; display: grid; gap: .65rem; align-content: start; }
.msg {
  max-width: 88%; padding: .75rem .9rem; border-radius: 16px; font-size: .92rem; line-height: 1.65;
  animation: pop .45s var(--ease) both;
}
.msg-user {
  justify-self: start; background: rgba(251, 146, 60, .18); border: 1px solid rgba(251,146,60,.28);
}
.msg-ai {
  justify-self: end; background: rgba(94, 234, 212, .14); border: 1px solid rgba(94,234,212,.22);
}
.msg.is-typing { display: inline-flex; gap: 5px; align-items: center; min-width: 64px; }
.msg.is-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: #9fe8d8;
  animation: blink 1.1s infinite ease-in-out;
}
.msg.is-typing span:nth-child(2) { animation-delay: .15s; }
.msg.is-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink {
  0%, 80%, 100% { opacity: .25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.phone__composer {
  margin: .5rem .75rem 0.9rem; border-radius: 16px; padding: .75rem .9rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.65); font-size: .85rem;
}

.marquee {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-block: 1px solid var(--line);
  background: color-mix(in oklch, var(--surface-solid) 55%, transparent);
  overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 2.5rem; width: max-content; padding: 1rem 0;
  animation: marquee 28s linear infinite; font-weight: 800; color: var(--muted);
}
.marquee__track span::after { content: "·"; margin-right: 2.5rem; opacity: .4; }
@keyframes marquee {
  to { transform: translateX(50%); }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt {
  background: linear-gradient(180deg, transparent, color-mix(in oklch, var(--bg-2) 80%, transparent) 12%, var(--bg-2));
}
.section__head { max-width: 40rem; margin-bottom: 2rem; }
.section__head h2 { margin-bottom: .55rem; }

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.feature {
  height: 100%;
  min-height: 11.5rem;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  animation: rise .7s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: color-mix(in oklch, var(--brand) 40%, var(--line));
}
.feature--hot {
  background:
    linear-gradient(145deg, color-mix(in oklch, var(--accent) 12%, transparent), transparent 55%),
    var(--surface);
}
.feature__icon {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in oklch, var(--brand) 14%, transparent); color: var(--brand-deep);
  font-weight: 900; margin-bottom: .85rem; flex: 0 0 auto;
}
.feature h3 {
  font-size: 1.05rem; font-weight: 900; margin-bottom: .4rem; letter-spacing: -.01em;
  min-height: 2.6em;
}
.feature p {
  color: var(--muted); font-size: .95rem; margin-top: auto;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.showcase {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}
.showcase__tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.showcase__tabs button {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 999px; padding: .5rem 1rem; font-weight: 800; cursor: pointer; transition: .2s var(--ease);
}
.showcase__tabs button[aria-selected="true"] {
  background: linear-gradient(135deg, var(--mint), var(--sky));
  color: #062018; border-color: transparent;
}
.showcase__panel {
  border-radius: 22px; min-height: 9rem; padding: 1.4rem 1.25rem;
  background:
    radial-gradient(600px 180px at 100% 0%, color-mix(in oklch, var(--mint) 25%, transparent), transparent 60%),
    radial-gradient(500px 160px at 0% 100%, color-mix(in oklch, var(--accent) 16%, transparent), transparent 55%),
    var(--bg);
  border: 1px solid var(--line);
}
.showcase__q {
  font-size: clamp(1.2rem, 2.6vw, 1.55rem); font-weight: 900; letter-spacing: -.02em;
  line-height: 1.5; margin-bottom: .55rem;
}
.showcase__a { color: var(--muted); font-size: 1.02rem; }

.brands {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.brands__title {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.brands__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .75rem;
}
.brands__grid li {
  min-height: 6.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: .85rem .5rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.brands__grid li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: color-mix(in oklch, var(--brand) 35%, var(--line));
}
.brands__grid img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
}
.brands__grid span {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
}

.about, .download {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.4rem; align-items: stretch;
}
.quote {
  border-radius: 28px; padding: 1.5rem 1.35rem; color: #eefcff;
  background: linear-gradient(160deg, #0f2a3a, #123447 45%, #1a3f3a);
  box-shadow: var(--shadow);
}
.quote h3 { color: var(--mint); margin-bottom: .7rem; font-size: .95rem; }
.quote p { font-size: 1.12rem; font-weight: 800; line-height: 1.8; color: #eefcff; max-width: none; }
.quote__note {
  margin-top: 1rem !important; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .9rem !important; font-weight: 500 !important; color: rgba(238,252,255,.72) !important;
}
.download {
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 30px;
  padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
.download .btn { margin-top: 1.1rem; }
.facts { display: grid; gap: .7rem; }
.facts > div {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: .95rem 1rem;
}
.facts dt { color: var(--muted); font-size: .82rem; }
.facts dd { font-weight: 900; font-size: 1.15rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 1.25rem;
  align-items: start;
}
.contact-form {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
.field {
  display: grid;
  gap: .35rem;
  font-weight: 800;
  font-size: .9rem;
}
.field--full { grid-column: 1 / -1; }
.field span { color: var(--ink); }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 14px;
  padding: .85rem .95rem;
  font: inherit;
  font-weight: 600;
  resize: vertical;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--brand) 18%, transparent);
}
.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #dc2626;
}
.form-hint {
  margin-top: .9rem;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}
.form-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
}
.form-status {
  color: var(--brand-deep);
  font-weight: 800;
  font-size: .92rem;
}
.form-status.is-error { color: #dc2626; }
.form-status.is-ok { color: #15803d; }
.contact-form .btn[disabled] { opacity: .65; cursor: wait; }

.contact {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
.contact li {
  min-height: 5.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.1rem 1.05rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition: transform .2s var(--ease);
}
.contact li:hover { transform: translateY(-4px); }
.contact h3 { color: var(--brand-deep); font-size: .9rem; margin-bottom: .4rem; }
.contact a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--brand) 50%, transparent);
}
.contact p { margin-top: .35rem; color: var(--muted); font-size: .9rem; }

.custom-section-body {
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 22px;
  padding: 1.3rem 1.2rem; box-shadow: var(--shadow-sm);
}

.footer {
  border-top: 1px solid var(--line); padding: 1.5rem 0 2rem;
  background: color-mix(in oklch, var(--surface-solid) 70%, transparent);
}
.footer__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  color: var(--muted); font-size: .92rem;
}
.footer nav { display: flex; flex-wrap: wrap; gap: .9rem 1.1rem; }
.footer a { color: var(--muted); text-decoration: none; font-weight: 700; }
.footer a:hover { color: var(--brand-deep); }

.float-top {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 40;
  width: 48px; height: 48px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--surface-solid); color: var(--ink); font-size: 1.15rem; font-weight: 900;
  cursor: pointer; box-shadow: var(--shadow-sm);
}
.float-top[hidden] { display: none !important; }

[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .brands__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .hero__layout, .about, .download, .contact-layout { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .burger { display: grid; }
  .menu {
    position: absolute; inset: calc(100% + .5rem) 1rem auto 1rem;
    display: none; flex-direction: column; gap: .2rem;
    background: var(--surface-solid); border: 1px solid var(--line); border-radius: 18px;
    padding: .7rem; box-shadow: var(--shadow);
  }
  .header__row { position: relative; }
  .menu.is-open { display: flex; }
  .menu a { padding: .75rem .85rem; border: 0; border-radius: 12px; }
  .menu a:hover { background: color-mix(in oklch, var(--brand) 12%, transparent); }
  .header__actions .btn-sm { display: none; }
  .phone__bezel { transform: none; }
}
@media (max-width: 720px) {
  .hero__layout, .about, .download, .contact-layout, .form-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature { min-height: 12rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .logo__copy small { display: none; }
  .hero__layout { min-height: auto; }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .a11y-bar__row { flex-direction: column; align-items: flex-start; }
}
