/* Pythagoras landing site — shared styles. Arabic, right-to-left, no build step. */

@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cairo-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cairo-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/cairo-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/cairo-arabic-800-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cairo-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cairo-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/cairo-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/cairo-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */

:root {
  --paper: #fbf8f3;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #615a55;
  --line: #e9e4dc;
  --line-strong: #d9d2c7;

  --brand: #1c1917;
  --brand-2: #44403c;
  --brand-deep: #0c0a09;
  --on-brand: #ffffff;
  --accent: #a16207;
  --accent-soft: #fef3c7;
  --tint: #f5f0e8;
  --tint-2: #efe8dc;

  --clothes: #6d2458;
  --clothes-2: #be185d;
  --clothes-tint: #fdf2f8;
  --market: #0f766e;
  --market-2: #0d9488;
  --market-tint: #effcf9;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgb(28 25 23 / 6%), 0 1px 1px rgb(28 25 23 / 4%);
  --shadow: 0 10px 30px -12px rgb(28 25 23 / 22%), 0 2px 6px rgb(28 25 23 / 6%);
  --shadow-lg: 0 40px 80px -30px rgb(28 25 23 / 35%), 0 8px 24px -8px rgb(28 25 23 / 12%);

  --container: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);

  color-scheme: light;
}

.theme-clothes {
  --brand: #6d2458;
  --brand-2: #be185d;
  --brand-deep: #4a1239;
  --accent: #a16207;
  --accent-soft: #fef3c7;
  --tint: #fcf1f6;
  --tint-2: #f8e3ee;
  --paper: #fdf9f6;
}

.theme-market {
  --brand: #0f766e;
  --brand-2: #0d9488;
  --brand-deep: #073b3f;
  --accent: #b45309;
  --accent-soft: #fef3c7;
  --tint: #ecfaf6;
  --tint-2: #d5f3eb;
  --paper: #f9fbf8;
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "Cairo", Tahoma, "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }

svg.i {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

ul,
ol { margin: 0; padding: 0; list-style: none; }

.num {
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
}
.brand img,
.brand .mark { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.brand small {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.9875rem;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.nav-links a:hover { background: var(--tint); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--tint-2); color: var(--brand-deep); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .btn { margin-inline-start: auto; }
}

@media (max-width: 520px) {
  .nav { gap: 12px; min-height: 64px; }
  .brand { font-size: 1rem; gap: 10px; }
  .brand small { display: none; }
  .brand img,
  .brand .mark { width: 36px; height: 36px; }
  .nav .btn { padding-inline: 14px; }
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--on-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--btn-bg) 80%, transparent);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.btn:hover { background: var(--brand-deep); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-2); }

.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.9375rem; }

.btn-light {
  --btn-bg: #ffffff;
  --btn-fg: var(--brand-deep);
}
.btn-light:hover { background: var(--accent-soft); }

.btn-outline-light {
  --btn-bg: transparent;
  --btn-fg: #ffffff;
  border-color: rgb(255 255 255 / 45%);
  box-shadow: none;
}
.btn-outline-light:hover { background: rgb(255 255 255 / 12%); }

/* Arrow points "forward" — left in RTL. */
.arrow { transform: scaleX(-1); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%);
  pointer-events: none;
}

.hero-hub::before {
  inset: -30% auto auto -15%;
  background: radial-gradient(closest-side, rgb(190 24 93 / 10%), transparent 70%);
}
.hero-hub::after {
  content: "";
  position: absolute;
  inset: -25% -15% auto auto;
  width: 60vw;
  max-width: 760px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(13 148 136 / 11%), transparent 70%);
  pointer-events: none;
}
.hero-hub > .container { position: relative; z-index: 1; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 700;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgb(22 163 74 / 15%);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  line-height: 1.22;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand-2);
}

.lede {
  margin-top: 20px;
  max-width: 34em;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
}
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips svg { width: 18px; height: 18px; color: var(--brand); }

/* ---------- App window mockup ---------- */

.window {
  position: relative;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.6;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(180deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 700;
}
.window-bar img { width: 26px; height: 26px; border-radius: 7px; }
.window-bar .who {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
  font-size: 0.75rem;
  font-weight: 600;
}
.window-bar .who::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
}

.window-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  background: var(--tint);
}

@media (max-width: 560px) {
  .window-body { grid-template-columns: 1fr; }
}

.scan {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1.5px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  color: var(--muted);
}
.scan svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.scan .caret {
  width: 2px; height: 18px;
  background: var(--brand);
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

.panel {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row b { font-weight: 700; color: var(--ink); }
.cart-row .meta { color: var(--muted); font-size: 0.8125rem; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cart-row .price { font-weight: 700; align-self: center; grid-row: 1 / span 2; grid-column: 2; }
.tag {
  display: inline-block;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--tint-2);
  color: var(--brand-deep);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.7;
}
.tag-gold { background: var(--accent-soft); color: #7c2d12; }

.totals { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.totals .line { display: flex; justify-content: space-between; color: var(--ink-2); }
.totals .line.discount { color: #b91c1c; }
.totals .grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 1.125rem;
}
.totals .grand .num { font-size: 1.5rem; color: var(--brand-deep); }
.pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.pay span {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.pay span.primary {
  grid-column: 1 / -1;
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  min-height: 44px;
  font-size: 0.9375rem;
}
.loyalty {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: #7c2d12;
  font-size: 0.8125rem;
  font-weight: 700;
}
.loyalty svg { width: 16px; height: 16px; }

/* Floating note on the mockup */
.float-card {
  position: absolute;
  inset-inline-start: -28px;
  bottom: -46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  font-weight: 700;
}
.float-card .icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #dcfce7;
  color: #15803d;
}
.float-card .icon svg { width: 20px; height: 20px; }
.float-card small { display: block; color: var(--muted); font-weight: 600; }

.mock-wrap { position: relative; }

@media (max-width: 980px) {
  .float-card { inset-inline-start: 12px; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section-tint { background: var(--tint); }
.section-surface { background: var(--surface); border-block: 1px solid var(--line); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-2);
  font-weight: 800;
  font-size: 0.9375rem;
}
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; }

/* ---------- Feature grid ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.feature {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.feature .ficon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--tint-2);
  color: var(--brand);
}
.feature .ficon svg { width: 24px; height: 24px; }
.feature h3 { margin-top: 18px; font-size: 1.1875rem; }
.feature p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; }
.feature ul { margin-top: 12px; display: grid; gap: 6px; color: var(--ink-2); font-size: 0.9625rem; }
.feature li { position: relative; padding-inline-start: 18px; }
.feature li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.75em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-2);
}

/* ---------- Split highlight ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.split + .split { margin-top: clamp(72px, 9vw, 120px); }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}
.split h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.split p { margin-top: 14px; color: var(--ink-2); font-size: 1.0625rem; }
.checks { margin-top: 20px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--brand-2); }

.card-mock {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.9375rem;
}
.card-mock h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1rem;
}
.card-mock h4 small { color: var(--muted); font-weight: 600; font-size: 0.8125rem; }

/* Size grid */
.size-grid { width: 100%; border-collapse: separate; border-spacing: 6px; text-align: center; }
.size-grid th { font-size: 0.8125rem; color: var(--muted); font-weight: 700; }
.size-grid th[scope="row"] { width: 1%; padding-inline-end: 10px; text-align: start; color: var(--ink); white-space: nowrap; }
.size-grid td {
  padding: 8px 0;
  border-radius: 10px;
  background: var(--tint);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.size-grid td.low { background: var(--accent-soft); color: #7c2d12; }
.size-grid td.out { background: #fee2e2; color: #b91c1c; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-inline-end: 6px; vertical-align: -1px; border: 1px solid rgb(0 0 0 / 12%); }

.legend { display: flex; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; }

/* KPI dashboard */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 14px; border-radius: 14px; background: var(--tint); }
.kpi span { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 700; }
.kpi strong { display: block; margin-top: 2px; font-size: 1.375rem; font-weight: 800; }
.kpi .up { color: #15803d; font-size: 0.8125rem; font-weight: 700; }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 92px;
  margin-top: 16px;
  padding: 10px 12px 0;
  border-radius: 14px;
  background: var(--tint);
}
.bars span { flex: 1; border-radius: 5px 5px 0 0; background: color-mix(in srgb, var(--brand-2) 55%, white); }
.bars span.hi { background: var(--brand-2); }
.attention { margin-top: 14px; display: grid; gap: 8px; }
.attention li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.875rem;
}
.attention li b { color: #b91c1c; }

/* Receipt */
.receipt {
  width: min(100%, 300px);
  margin-inline: auto;
  padding: 24px 22px 28px;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-size: 0.8125rem;
  line-height: 1.7;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x;
  mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x;
}
.receipt header { text-align: center; padding-bottom: 10px; border-bottom: 1px dashed #a8a29e; }
.receipt header strong { display: block; font-size: 1rem; }
.receipt .r-line { display: flex; justify-content: space-between; gap: 8px; }
.receipt .r-items { padding-block: 10px; border-bottom: 1px dashed #a8a29e; }
.receipt .r-total { display: flex; justify-content: space-between; padding-top: 10px; font-weight: 800; font-size: 1rem; }
.barcode {
  height: 42px;
  margin-top: 14px;
  background: repeating-linear-gradient(90deg, #1c1917 0 2px, transparent 2px 4px, #1c1917 4px 5px, transparent 5px 8px, #1c1917 8px 11px, transparent 11px 12px);
}
.receipt .r-foot { margin-top: 6px; text-align: center; color: var(--muted); font-size: 0.75rem; }

/* Account statement */
.statement { display: grid; gap: 2px; }
.statement .row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.statement .row:last-child { border-bottom: 0; }
.statement .head { color: var(--muted); font-weight: 700; font-size: 0.8125rem; }
.statement .debit { color: #b91c1c; font-weight: 700; }
.statement .credit { color: #15803d; font-weight: 700; }
.statement .balance {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--tint);
  font-weight: 800;
}

/* ---------- Trust band ---------- */

.band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 60%, var(--brand-2));
  color: #fff;
}
.band::after {
  content: "";
  position: absolute;
  inset: auto auto -160px -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgb(255 255 255 / 7%);
}
.band .section-head p,
.band p { color: rgb(255 255 255 / 86%); }
.band .kicker { color: var(--accent-soft); }
.band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 900px) { .band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .band-grid { grid-template-columns: 1fr; } }
.band-grid svg { width: 28px; height: 28px; color: var(--accent-soft); }
.band-grid h3 { margin-top: 12px; font-size: 1.0625rem; }
.band-grid p { margin-top: 6px; font-size: 0.9625rem; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, arabic-indic);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
}
.steps h3 { margin-top: 16px; font-size: 1.0625rem; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: 0.9625rem; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-inline-end: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- CTA ---------- */

.cta {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background: var(--brand-deep);
  background-image:
    radial-gradient(600px 300px at 85% 0%, color-mix(in srgb, var(--brand-2) 55%, transparent), transparent),
    radial-gradient(500px 260px at 10% 100%, color-mix(in srgb, var(--brand) 70%, transparent), transparent);
  color: #fff;
}
.cta h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.cta p { margin: 14px auto 0; max-width: 36em; color: rgb(255 255 255 / 86%); font-size: 1.125rem; }
.cta .actions { justify-content: center; }

/* ---------- Product cards (hub) ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }

.product {
  --p: var(--clothes);
  --p2: var(--clothes-2);
  --pt: var(--clothes-tint);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--pt), var(--surface) 55%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.product.market { --p: var(--market); --p2: var(--market-2); --pt: var(--market-tint); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product img { width: 76px; height: 76px; border-radius: 20px; box-shadow: var(--shadow); }
.product h3 { margin-top: 22px; font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
.product .for { margin-top: 4px; color: var(--p2); font-weight: 700; }
.product p { margin-top: 12px; color: var(--ink-2); }
.product ul { margin-top: 18px; display: grid; gap: 10px; }
.product li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 0.9875rem; }
.product li svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--p2); }
.product .btn { --btn-bg: var(--p); margin-top: 28px; align-self: flex-start; }
.product .btn:hover { background: var(--p2); }
.product .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Comparison */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  outline: 1px solid var(--line);
  font-size: 0.9875rem;
}
.compare th,
.compare td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--tint); font-size: 1rem; }
.compare thead th:nth-child(2) { color: var(--clothes); }
.compare thead th:nth-child(3) { color: var(--market); }
.compare tbody th { color: var(--ink-2); font-weight: 700; width: 24%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 56px 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h2 { font-size: 0.9375rem; color: var(--ink); margin-bottom: 12px; }
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-grid p { margin-top: 12px; max-width: 30em; }
.copyright {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .reveal-2 { animation-delay: 120ms; }
  .reveal-3 { animation-delay: 240ms; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }
}

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

/* ---------- 404 ---------- */

.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); }
.notfound p { margin-top: 12px; color: var(--ink-2); }
.notfound .actions { justify-content: center; }
