@charset "utf-8";
/* ============================================================
   دكان — styles.css
   RTL-first, mobile-first. Logical properties everywhere except
   inside the phone mockup, where left/right describe a physical
   object (side keys) and must not mirror.
   ============================================================ */

/* ---------- 1. Fonts ---------------------------------------- */
@font-face {
  font-family: "Thmanyah Sans";
  src: url("thmanyah%20typeface/thmanyahsans/woff2/thmanyahsans-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("thmanyah%20typeface/thmanyahsans/woff2/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("thmanyah%20typeface/thmanyahsans/woff2/thmanyahsans-Black.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ---------- 2. Tokens --------------------------------------- */
:root {
  --paper: #FFFFFF;  --paper-2: #F7F5F1; --paper-3: #EFEBE4;
  --night: #0A0A0A;  --night-2: #141414; --night-3: #1E1E1E;
  --ink: #141414;    --ink-2: #5E5A55;   --ink-3: #9A958E;
  --red: #A92F32;    --red-2: #8C2326;   --red-lite: #E0474B; --red-wash: #F5E8E7;
  --line: #E6E1D9;   --line-dark: #262626;
  --wa: #25D366;
  --wa-deep: #075E54;   /* WhatsApp's dark brand teal — white text on --wa is only 1.98:1 */

  /* caption grey, per surface: --ink-3 is 2.97:1 on paper and would fail */
  --meta: #6E6960;

  --sans: "Thmanyah Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);

  --maxw: 1240px;
  --gutter: 24px;
  --rail: 12px;
  --marker: clamp(52px, 8vw, 68px);

  --fs-h1: clamp(44px, 7.2vw, 88px);
  --fs-h2: clamp(32px, 5.4vw, 56px);
  --fs-h3: clamp(20px, 1.9vw, 25px);
  --fs-body: clamp(17px, 1.4vw, 19px);
  --fs-kicker: clamp(14px, 1.2vw, 16px);
  --fs-giant: clamp(96px, 20vw, 180px);

  /* redefined per surface by the .s-* classes */
  --rail-c: var(--line);
  --accent: var(--red);
  --muted: var(--ink-2);
}

@media (min-width: 768px) { :root { --gutter: 48px; --rail: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 64px; --rail: 36px; } }

/* ---------- 3. Reset & base --------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
svg { fill: none; }

/* Thmanyah's ink runs far past its declared line box (head yMax 1289 /
   yMin -629 on 1000 upm). Line-heights below are measured against the real
   strings on this page: h1 needs 1.21, the h2s up to 1.44, the h3s up to 1.55. */
:where(h1, h2, h3, h4) { text-wrap: balance; font-weight: 900; }
h1 { font-size: var(--fs-h1); line-height: 1.3; }
h2 { font-size: var(--fs-h2); line-height: 1.45; }
h3 { font-size: var(--fs-h3); line-height: 1.45; font-weight: 700; }
p { text-wrap: pretty; max-width: 62ch; }

:focus-visible { outline: 3px solid var(--red-lite); outline-offset: 3px; border-radius: 4px; }

.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; white-space: nowrap; }
.sprite { position: absolute; }
.ico-fill { fill: currentColor; stroke: none; }
.ico-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note-start { text-align: start; }

.skip {
  position: fixed; inset-block-start: 10px; inset-inline-start: -200vw;
  z-index: 200; background: var(--red); color: #fff;
  padding: 12px 22px; border-radius: 100px; font-weight: 700;
}
.skip:focus { inset-inline-start: 16px; }

/* ---------- 4. Layout & surfaces ---------------------------- */
.wrap {
  inline-size: 100%; max-inline-size: var(--maxw);
  margin-inline: auto; padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(76px, 10vw, 140px);
  background: var(--paper);
  scroll-margin-block-start: 80px;
}

/* margin rails — they live in the gutter, never behind text */
.rails { position: relative; }
.rails::before, .rails::after {
  content: ""; position: absolute; inset-block: 0;
  inline-size: 1px; background: var(--rail-c); pointer-events: none;
}
.rails::before { inset-inline-start: var(--rail); }
.rails::after  { inset-inline-end: var(--rail); }

.s-paper   { background: var(--paper); }
.s-paper-2 { background: var(--paper-2); }

.s-night {
  background: var(--night); color: #fff;
  --rail-c: var(--line-dark);
  --accent: var(--red-lite);
  --muted: #B8B3AC;
  --meta: var(--ink-3);
}

.s-red {
  background: var(--red); color: #fff;
  --rail-c: rgba(255, 255, 255, .16);
  --accent: #fff;
  --muted: rgba(255, 255, 255, .9);
  --meta: rgba(255, 255, 255, .84);
}
.s-red :focus-visible { outline-color: #fff; }
/* white cards on dark/red surfaces get the dark ring back */
.s-night .plan-pro :focus-visible, .s-red .contact :focus-visible { outline-color: var(--red); }

/* ---------- 5. Section furniture ---------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: var(--fs-kicker); font-weight: 700; line-height: 1.4;
  color: var(--accent); margin-block-end: clamp(14px, 1.8vw, 20px);
}
.kicker::before {
  content: ""; inline-size: 34px; block-size: 4px;
  border-radius: 100px; background: currentColor; flex: none;
}

.accent { color: var(--accent); }
.swash { font-feature-settings: "swsh" 1; padding-inline-end: .12em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin-block-start: 20px; }

/* two-column section head: title start, supporting line end */
.head { display: grid; gap: clamp(16px, 2.2vw, 26px); margin-block-end: clamp(34px, 4.4vw, 58px); }
@media (min-width: 900px) {
  .head { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 80px); align-items: end; }
  .head-side { padding-block-end: 10px; }
}
.head-side { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-inline-size: 44ch; }

/* sticky heading beside a long body column */
.split { display: grid; gap: clamp(32px, 4vw, 52px); }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(48px, 6vw, 88px); align-items: start; }
  .split-head { position: sticky; inset-block-start: 116px; align-self: start; }
}

.punch {
  margin-block-start: clamp(24px, 3vw, 34px);
  padding-block-start: clamp(20px, 2.6vw, 28px);
  border-block-start: 1px solid var(--line);
  font-size: clamp(20px, 2.2vw, 27px); font-weight: 900; line-height: 1.45;
  max-inline-size: 24ch;
}

.note { font-size: 13px; color: var(--meta); margin-block-start: 22px; text-align: center; }

/* ---------- 6. Logo ----------------------------------------- */
.logo {
  display: inline-block; font-weight: 900;
  font-size: clamp(26px, 3.2vw, 32px); line-height: 1.3;
  font-feature-settings: "swsh" 1;
  padding-inline-end: .5em;        /* room for the ن tail (left, in RTL) */
  color: var(--ink); white-space: nowrap;
}
.logo-light { color: #fff; }

/* ---------- 7. Buttons -------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-block-size: 54px; padding: 13px 28px;
  border-radius: 100px; font-weight: 700; font-size: 17px; line-height: 1.4;
  text-align: center;
  transition: background-color .15s var(--ease), color .15s var(--ease),
              transform .15s var(--ease), border-color .15s var(--ease);
}
.btn svg { inline-size: 20px; block-size: 20px; stroke: currentColor; stroke-width: 2; flex: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-2); transform: translateY(-2px); }
.btn-ghost { border: 1px solid currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.s-paper .btn-ghost:hover, .s-paper-2 .btn-ghost:hover { background: rgba(0, 0, 0, .05); }
.btn-sm { min-block-size: 46px; padding: 10px 22px; font-size: 16px; }
.btn-block { inline-size: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: clamp(28px, 3.4vw, 38px); }

/* ---------- 8. Icon tiles ----------------------------------- */
.icon-tile {
  inline-size: 60px; block-size: 60px; border-radius: 18px;
  background: var(--red-wash); color: var(--red);
  display: grid; place-items: center; flex: none;
}
.icon-tile svg { inline-size: 26px; block-size: 26px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-night .icon-tile { background: rgba(224, 71, 75, .14); color: var(--red-lite); }
.s-red .icon-tile { background: rgba(255, 255, 255, .16); color: #fff; }
.icon-tile-solid { background: var(--red); color: #fff; }
.s-red .icon-tile-solid { background: #fff; color: var(--red); }

/* ---------- 9. Header --------------------------------------- */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 90;
  background: var(--night); color: #fff;
  border-block-end: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  --rail-c: var(--line-dark);
}
.site-header.is-stuck {
  background: rgba(10, 10, 10, .8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-block-end-color: var(--line-dark);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-block-size: 76px;
}
.nav { display: none; }
@media (min-width: 1060px) {
  .nav { display: flex; align-items: center; gap: 28px; }
  .nav a { font-size: 16px; color: rgba(255, 255, 255, .78); transition: color .15s var(--ease); }
  .nav a:hover { color: #fff; }
}
.header-cta { display: none; }
@media (min-width: 1060px) { .header-cta { display: inline-flex; } }

.scroll-progress {
  position: absolute; inset-inline: 0; inset-block-end: -1px;
  block-size: 2px; overflow: hidden;
}
.scroll-progress span { display: block; block-size: 100%; inline-size: 0; background: var(--red); }

.burger {
  display: grid; place-items: center;
  inline-size: 48px; block-size: 48px; border-radius: 14px;
  border: 1px solid var(--line-dark); color: #fff;
}
.burger svg { inline-size: 22px; block-size: 22px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (min-width: 1060px) { .burger { display: none; } }

.sheet {
  position: fixed; inset: 0; z-index: 120;
  background: var(--night); color: #fff;
  display: flex; flex-direction: column;
  padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.sheet[hidden] { display: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-block-size: 54px; }
.sheet-nav { display: flex; flex-direction: column; gap: 2px; margin-block: 30px auto; }
.sheet-nav a { font-size: clamp(27px, 7.4vw, 38px); font-weight: 900; line-height: 1.4; padding-block: 6px; }
.sheet-nav a:hover { color: var(--red-lite); }
.sheet .btn { margin-block-start: 26px; }

/* ---------- 10. Floating WhatsApp --------------------------- */
.wa-float {
  position: fixed; inset-inline-end: 18px; inset-block-end: 18px; z-index: 80;
  inline-size: 56px; block-size: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .45);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wa-float svg { inline-size: 28px; block-size: 28px; fill: currentColor; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: pulse 6s var(--ease) infinite;
}
.wa-float.is-off { opacity: 0; transform: scale(.5); pointer-events: none; }
@keyframes pulse {
  0%, 70%, 100% { transform: scale(1); opacity: 0; }
  72% { transform: scale(1); opacity: .9; }
  92% { transform: scale(1.7); opacity: 0; }
}

/* ---------- 11. Hero ---------------------------------------- */
.hero { padding-block: clamp(50px, 6vw, 84px) clamp(72px, 9vw, 120px); }
.hero-grid { display: grid; gap: clamp(46px, 6vw, 76px); align-items: center; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); }
}
.hero h1 { margin-block-start: 4px; }
.hero h1 span { display: block; }
.hero-lede { color: var(--muted); margin-block-start: 26px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: clamp(28px, 3.4vw, 38px); }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 17px; border-radius: 100px;
  border: 1px solid var(--line-dark); background: var(--night-2);
  font-size: 15px; font-weight: 700; color: #E8E4DE;
}
.chip::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--red-lite); flex: none; }

/* ---------- 12. Phone mockup -------------------------------- */
.hero-visual { display: grid; justify-items: center; }
.phone-wrap { position: relative; perspective: 1200px; inline-size: max-content; }
.phone-float { animation: float 6s ease-in-out infinite; will-change: transform; }
@keyframes float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }

.device {
  position: relative;
  inline-size: clamp(292px, 82vw, 344px);
  aspect-ratio: 9 / 19.5;
  padding: 11px; border-radius: 56px;
  background: linear-gradient(145deg, #6A6A6A 0%, #1E1E1E 16%, #0B0B0B 50%, #232323 84%, #6A6A6A 100%);
  box-shadow: 0 60px 110px -46px rgba(0, 0, 0, .95), 0 3px 10px rgba(0, 0, 0, .5);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .4s var(--ease);
}
.device-screen {
  position: relative; block-size: 100%;
  border-radius: 45px; overflow: hidden;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column;
  font-size: 11px; line-height: 1.5;
}
.device-island {
  position: absolute; inset-block-start: 20px; inset-inline: 0;
  margin-inline: auto; inline-size: 88px; block-size: 26px;
  border-radius: 100px; background: #000; z-index: 6;
}
/* physical side keys — deliberately left/right, they must not mirror */
.device-key { position: absolute; background: linear-gradient(180deg, #4A4A4A, #171717); border-radius: 2px; }
.device-key-mute  { left: -2px; top: 108px; width: 3px; height: 26px; }
.device-key-up    { left: -2px; top: 150px; width: 3px; height: 46px; }
.device-key-down  { left: -2px; top: 206px; width: 3px; height: 46px; }
.device-key-power { right: -2px; top: 172px; width: 3px; height: 64px; }

.ui-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 24px 3px; font-size: 11px; font-weight: 700; flex: none;
}
.ui-sys { display: flex; align-items: center; gap: 4px; }
.ui-sys i { display: block; }
.ui-sig {
  inline-size: 14px; block-size: 9px;
  background:
    linear-gradient(currentColor 0 0) 0 100% / 2.4px 40% no-repeat,
    linear-gradient(currentColor 0 0) 4px 100% / 2.4px 62% no-repeat,
    linear-gradient(currentColor 0 0) 8px 100% / 2.4px 82% no-repeat,
    linear-gradient(currentColor 0 0) 12px 100% / 2.4px 100% no-repeat;
}
.ui-wifi { inline-size: 11px; block-size: 9px; background: currentColor; clip-path: polygon(50% 8%, 100% 100%, 0 100%); }
.ui-bat { position: relative; inline-size: 19px; block-size: 10px; border: 1px solid currentColor; border-radius: 3px; opacity: .9; }
.ui-bat::before { content: ""; position: absolute; inset-block: 1.5px; inset-inline-start: 1.5px; inline-size: 66%; background: currentColor; border-radius: 1.5px; }
.ui-bat::after { content: ""; position: absolute; inset-block: 3px; inset-inline-end: -3px; inline-size: 2px; background: currentColor; border-radius: 2px; }

.ui-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 15px 10px; border-block-end: 1px solid var(--line); flex: none;
}
.ui-brand { font-weight: 900; font-size: 16px; font-feature-settings: "swsh" 1; padding-inline-end: .5em; }
.ui-icon { position: relative; inline-size: 26px; block-size: 26px; display: grid; place-items: center; }
.ui-icon svg { inline-size: 15px; block-size: 15px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ui-cart i {
  position: absolute; inset-block-start: -1px; inset-inline-start: -3px;
  min-inline-size: 14px; block-size: 14px; padding-inline: 3px;
  border-radius: 100px; background: var(--red); color: #fff;
  font-size: 8px; font-style: normal; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}

.ui-scroll { flex: 1; overflow: hidden; padding: 10px 12px 0; display: flex; flex-direction: column; gap: 10px; }

.ui-search {
  display: flex; align-items: center; gap: 7px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 100px; padding: 7px 12px;
  color: var(--ink-2); font-size: 10.5px; max-width: none;
}
.ui-search svg { inline-size: 12px; block-size: 12px; stroke: currentColor; stroke-width: 2; flex: none; }

.ui-chips { display: flex; gap: 6px; overflow: hidden; }
.ui-chips span {
  padding: 4px 10px; border-radius: 100px; border: 1px solid var(--line);
  font-size: 9.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap;
}
.ui-chips .is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.ui-hero {
  position: relative; overflow: hidden;
  border-radius: 16px; padding: 13px 14px; color: #fff;
  background-color: var(--red-2);
  background-image: linear-gradient(135deg, var(--red), var(--red-2));
}
.ui-hero::after {
  content: ""; position: absolute; inset-block-start: -34%; inset-inline-end: -12%;
  inline-size: 104px; block-size: 104px; border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.ui-hero-tag {
  display: inline-block; background: rgba(255, 255, 255, .22);
  padding: 3px 9px; border-radius: 100px;
  font-size: 8.5px; font-weight: 700; margin-block-end: 6px;
}
.ui-hero b { display: block; font-size: 14px; font-weight: 900; line-height: 1.45; position: relative; }
.ui-hero-sub { font-size: 9.5px; opacity: .9; }

.ui-sec { display: flex; align-items: center; justify-content: space-between; }
.ui-sec b { font-size: 11.5px; font-weight: 900; }
.ui-sec span { font-size: 9.5px; font-weight: 700; color: var(--red); }

.ui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ui-card { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--paper); }
.ui-thumb {
  display: grid; place-items: center;
  aspect-ratio: 1 / .9; overflow: hidden;
  background: linear-gradient(160deg, #F5F0E9, #E6DDD0);
}
.ui-thumb svg { inline-size: 68%; block-size: auto; }
.ui-card:nth-child(2) .ui-thumb { background: linear-gradient(160deg, #F2EDE5, #DFD6C7); }
.ui-card:nth-child(3) .ui-thumb { background: linear-gradient(160deg, #EFEBE6, #DCD5CB); }
.ui-card:nth-child(4) .ui-thumb { background: linear-gradient(160deg, #F5EEEB, #E4D6D1); }
.theme-night .ui-thumb { background: linear-gradient(160deg, #26242C, #16151A); }
.theme-night .ui-card:nth-child(2) .ui-thumb { background: linear-gradient(160deg, #2A2730, #18171C); }
.theme-night .ui-card:nth-child(3) .ui-thumb { background: linear-gradient(160deg, #242229, #151419); }
.theme-night .ui-card:nth-child(4) .ui-thumb { background: linear-gradient(160deg, #2C2930, #191820); }
.ui-meta { display: block; padding: 7px 9px 9px; }
.ui-meta b { display: block; font-size: 10px; font-weight: 700; }
.ui-price { display: block; font-size: 10px; font-weight: 900; color: var(--red); margin-block-start: 2px; }

.ui-bar { padding: 9px 12px 6px; border-block-start: 1px solid var(--line); background: var(--paper); flex: none; }
.ui-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--wa-deep); color: #fff; border-radius: 100px;
  padding: 9px; font-size: 11px; font-weight: 700;
}
.ui-btn svg { inline-size: 13px; block-size: 13px; }
.ui-home { display: block; inline-size: 96px; block-size: 4px; border-radius: 100px; background: var(--ink); opacity: .22; margin: 0 auto 7px; flex: none; }

/* the demo-store themes used in “من شغلنا” */
.theme-night .device-screen { background: var(--night); color: #fff; }
.theme-night .ui-top { border-block-end-color: var(--line-dark); }
.theme-night .ui-card { background: var(--night-2); border-color: var(--line-dark); }
.theme-night .ui-bar { background: var(--night); border-block-start-color: var(--line-dark); }
.theme-night .ui-hero { background-color: var(--night-3); background-image: linear-gradient(135deg, #2E2E2E, #101010); }
.theme-night .ui-price { color: var(--red-lite); }
.theme-night .ui-home { background: #fff; }
.theme-warm .device-screen { background: var(--paper-2); }
.theme-warm .ui-hero { background-color: #5E1416; background-image: linear-gradient(135deg, var(--red-2), #5E1416); }
.theme-warm .ui-card, .theme-warm .ui-bar { background: var(--paper); }

/* WhatsApp notification overlapping the phone */
.notif {
  position: absolute; inset-inline-end: -22px; inset-block-end: 74px; z-index: 7;
  inline-size: min(252px, 78%);
  display: flex; gap: 11px; align-items: flex-start;
  padding: 12px 14px; border-radius: 20px;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 28px 56px -22px rgba(0, 0, 0, .8);
  color: var(--ink);
}
.notif-app { inline-size: 32px; block-size: 32px; border-radius: 9px; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; }
.notif-app svg { inline-size: 18px; block-size: 18px; }
.notif-body { display: block; min-inline-size: 0; }
.notif-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 10.5px; color: var(--ink-2); }
.notif-head b { font-weight: 700; font-size: 10.5px; letter-spacing: .02em; }
.notif-title { display: block; font-size: 14px; font-weight: 900; line-height: 1.45; }
.notif-sub { display: block; font-size: 11.5px; color: var(--ink-2); line-height: 1.5; }
.notif-amount { display: block; font-size: 15px; font-weight: 900; color: var(--red); margin-block-start: 2px; }

/* ---------- 13. Problem rows -------------------------------- */
.rows { display: grid; }
.row {
  display: flex; gap: clamp(16px, 2vw, 22px); align-items: flex-start;
  padding-block: clamp(22px, 2.6vw, 30px);
  border-block-start: 1px solid var(--line);
}
.rows .row:first-child { border-block-start: 0; padding-block-start: 0; }
.row h3 { margin-block-end: 6px; }
.row p { color: var(--ink-2); font-size: 17px; }

/* ---------- 14. Flow (solution) ----------------------------- */
.flow { display: grid; gap: 14px; }
@media (min-width: 920px) {
  .flow { grid-auto-flow: column; grid-auto-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
}
.flow-step {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 28px; padding: clamp(24px, 3vw, 30px);
  display: flex; flex-direction: column; gap: 16px;
}
.flow-step h3 { font-size: clamp(19px, 1.9vw, 23px); }
.flow-step p { color: var(--ink-2); font-size: 16px; }
.flow-step-final { background: var(--red); border-color: var(--red); color: #fff; }
.flow-step-final p { color: rgba(255, 255, 255, .9); }
.flow-arrow { display: grid; place-items: center; color: var(--red); padding: 4px 18px; }
/* the icon rotates, not the wrapper — the wrapper's transform is the reveal */
.flow-arrow svg { inline-size: 30px; block-size: 30px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-90deg); }
@media (min-width: 920px) { .flow-arrow svg { transform: none; } }

.order-bar {
  margin-block-start: clamp(30px, 4vw, 44px);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--night); color: #fff;
  border-radius: 24px; padding: 20px clamp(20px, 2.6vw, 28px);
}
.wa-badge { inline-size: 42px; block-size: 42px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; }
.wa-badge svg { inline-size: 23px; block-size: 23px; fill: currentColor; }
.order-txt b { font-size: clamp(17px, 1.8vw, 20px); font-weight: 900; }
.order-txt small { display: block; font-size: 14px; color: var(--ink-3); }
.order-bar .amount { margin-inline-start: auto; font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; color: var(--red-lite); }

/* ---------- 15. Features grid (hairlines) ------------------- */
.hairgrid { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 720px) { .hairgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .hairgrid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--paper-2);
  padding: clamp(26px, 3.2vw, 38px) clamp(20px, 2.4vw, 30px);
  display: flex; flex-direction: column; gap: 16px;
}
.feature h3 { margin-block-start: 4px; }
.feature p { color: var(--ink-2); font-size: 17px; }

/* ---------- 16. Speed band ---------------------------------- */
.speed { display: grid; gap: clamp(26px, 3.6vw, 44px); }
.speed-a .kicker { margin-block-end: clamp(10px, 1.4vw, 16px); }
.speed-figure { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); flex-wrap: wrap; max-width: none; }
.speed-num { font-size: var(--fs-giant); font-weight: 900; line-height: .9; }
.speed-label { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; line-height: 1.4; }
.speed-label span { display: block; font-size: clamp(15px, 1.4vw, 18px); font-weight: 400; opacity: .84; }
.speed-text { font-size: clamp(19px, 2.1vw, 26px); font-weight: 700; line-height: 1.6; max-inline-size: 28ch; }
.speed-text b { border-block-end: 3px solid rgba(255, 255, 255, .5); }
@media (max-width: 899px) {
  .speed-a { border-block-end: 2px solid rgba(255, 255, 255, .28); padding-block-end: clamp(24px, 4vw, 34px); }
}
@media (min-width: 900px) {
  .speed { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 84px); }
  .speed-a { border-inline-end: 2px solid rgba(255, 255, 255, .28); padding-inline-end: clamp(40px, 6vw, 84px); }
}

/* ---------- 17. Process timeline ---------------------------- */
.steps { position: relative; display: grid; gap: clamp(20px, 2.6vw, 30px); }
.steps::before {
  content: ""; position: absolute; inset-block: 22px;
  inset-inline-start: calc(var(--marker) / 2 - 1px);
  inline-size: 2px; background: var(--line);
}
.step {
  position: relative; display: grid;
  grid-template-columns: var(--marker) minmax(0, 1fr);
  gap: clamp(14px, 2.2vw, 24px); align-items: start;
}
.step-marker {
  inline-size: var(--marker); block-size: var(--marker); border-radius: 50%;
  background: var(--paper); border: 2px solid var(--red); color: var(--red);
  display: grid; place-items: center;
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 900; line-height: 1;
  position: relative; z-index: 1;
}
.step:last-child .step-marker { background: var(--red); color: #fff; }
.step-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 2.6vw, 28px); }
.step-card p { color: var(--ink-2); font-size: 17px; margin-block-start: 8px; }

/* ---------- 18. Work rail ----------------------------------- */
.work-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(272px, 72vw);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-block-end: 14px;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.work-item { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.work-meta b { font-size: 18px; font-weight: 900; }
.tag { display: inline-block; padding: 5px 13px; border-radius: 100px; background: var(--red-wash); color: var(--red); font-size: 13px; font-weight: 700; }
.work-link { font-weight: 700; color: var(--red); font-size: 16px; text-align: start; padding: 0; }
.work-link:disabled { color: var(--ink-2); cursor: not-allowed; }

.device-mini { inline-size: 100%; aspect-ratio: 9 / 17.6; padding: 8px; border-radius: 40px; }
.device-mini .device-screen { border-radius: 33px; font-size: 10px; }
.device-mini .device-island { inset-block-start: 14px; inline-size: 64px; block-size: 19px; }
.device-mini .ui-top { padding-block-start: 30px; }
.device-mini .ui-scroll { padding: 9px 10px 0; gap: 9px; }
.device-mini .ui-hero b { font-size: 12.5px; }

/* ---------- 19. Pricing ------------------------------------- */
.plans { display: grid; gap: 22px; }
@media (min-width: 940px) { .plans { grid-template-columns: 1fr 1fr; align-items: start; } }
.plan { position: relative; border-radius: 32px; padding: clamp(28px, 3.4vw, 40px); }
.plan-basic { background: var(--night-2); border: 1px solid var(--line-dark); }
.plan-pro { order: -1; background: var(--paper); color: var(--ink); box-shadow: 0 50px 90px -46px rgba(0, 0, 0, .95); }
@media (min-width: 940px) { .plan-pro { order: 0; } }
.badge { display: inline-block; background: var(--red); color: #fff; padding: 7px 17px; border-radius: 100px; font-size: 13px; font-weight: 700; margin-block-end: 16px; }
.plan h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 900; }
.plan-desc { font-size: 16px; color: var(--ink-3); margin-block-start: 8px; }
.plan-pro .plan-desc { color: var(--ink-2); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-block: 22px 8px; }
.price b { font-size: clamp(50px, 6vw, 68px); font-weight: 900; line-height: 1.1; }
.price span { font-size: 16px; color: var(--ink-3); font-weight: 700; }
.plan-pro .price span { color: var(--ink-2); }
.plan hr { border: 0; border-block-start: 1px solid var(--line-dark); margin-block: 24px; }
.plan-pro hr { border-block-start-color: var(--line); }
.plan ul { display: grid; gap: 14px; margin-block-end: 30px; }
.plan li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; line-height: 1.6; }
.plan li svg { inline-size: 21px; block-size: 21px; flex: none; margin-block-start: 5px; stroke: var(--red-lite); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.plan-pro li svg { stroke: var(--red); }

/* ---------- 20. FAQ ----------------------------------------- */
.faq { border-block-start: 1px solid var(--line); }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-block: clamp(20px, 2.4vw, 26px);
  font-size: clamp(18px, 1.7vw, 21px); font-weight: 700; line-height: 1.45;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq-sign {
  inline-size: 38px; block-size: 38px; border-radius: 50%; flex: none;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--red); transition: transform .35s var(--ease), background-color .2s;
}
.faq-sign svg { inline-size: 17px; block-size: 17px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.faq details[open] .faq-sign { transform: rotate(45deg); background: var(--red-wash); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq details[open] .faq-body { grid-template-rows: 1fr; }
.faq details[open].is-closing .faq-body { grid-template-rows: 0fr; }
.faq-body > div { overflow: hidden; }
.faq-body p { color: var(--ink-2); padding-block-end: 24px; }

/* ---------- 21. Final CTA ----------------------------------- */
.cta-grid { display: grid; gap: clamp(36px, 5vw, 60px); align-items: center; }
@media (min-width: 1000px) { .cta-grid { grid-template-columns: 1fr 1fr; } }
.contact { background: var(--paper); color: var(--ink); border-radius: 32px; padding: clamp(14px, 1.8vw, 20px); }
.contact-row {
  display: flex; align-items: center; gap: clamp(12px, 3vw, 16px);
  padding: clamp(12px, 1.8vw, 18px); border-radius: 22px;
  transition: background-color .15s var(--ease);
}
.contact-row + .contact-row { border-block-start: 1px solid var(--line); }
a.contact-row:hover { background: var(--paper-2); }
.contact-row .icon-tile { background: var(--red-wash); color: var(--red); inline-size: clamp(46px, 13vw, 54px); block-size: clamp(46px, 13vw, 54px); }
.contact-txt { min-inline-size: 0; }
.contact-txt small { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.contact-txt b { display: block; font-size: clamp(15px, 4.2vw, 20px); font-weight: 900; line-height: 1.45; }
.contact-go {
  margin-inline-start: auto; flex: none;
  inline-size: 42px; block-size: 42px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--red);
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.contact-go svg { inline-size: 18px; block-size: 18px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a.contact-row:hover .contact-go { background: var(--red); color: #fff; }
.save-line {
  display: flex; align-items: center; gap: 12px;
  margin-block-start: clamp(26px, 3.4vw, 38px);
  font-size: 16px; color: rgba(255, 255, 255, .92);
}
.save-line svg { inline-size: 20px; block-size: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 22. Footer -------------------------------------- */
.site-footer { background: var(--night); color: #fff; --rail-c: var(--line-dark); padding-block: clamp(52px, 6vw, 78px) 34px; position: relative; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid p { color: var(--ink-3); font-size: 16px; margin-block-start: 14px; max-inline-size: 34ch; }
.footer-title { font-size: 15px; font-weight: 700; color: #fff; margin-block-end: 16px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: var(--ink-3); font-size: 16px; transition: color .15s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-links a span { display: inline-flex; align-items: center; gap: 9px; }
.footer-links svg { inline-size: 17px; block-size: 17px; }
.footer-bottom { margin-block-start: clamp(40px, 5vw, 60px); padding-block-start: 26px; border-block-start: 1px solid var(--line-dark); font-size: 15px; color: var(--ink-3); }

/* ---------- 23. Reveal -------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ---------- 24. Reduced motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .phone-float { animation: none; }
  .device { transform: none !important; }
  .btn:hover, a.contact-row:hover .contact-go { transform: none; }
}
