/* Shidah AI — shared styles. Matches the live ads landing page:
   Archivo (condensed, uppercase) headings, Inter body, black / white / paper sections, red square buttons. */

:root {
  --x-black: #0a0a0a;
  --x-white: #ffffff;
  --x-paper: #f3f1ee;
  --x-ink: #0a0a0a;
  --x-grey: #4a4a4a;
  --x-grey-dark: #b9b9b9;
  --x-red: #e0241b;
  --x-red-dark: #b81a12;
  --x-line: rgba(10, 10, 10, 0.14);
  --x-line-dark: rgba(255, 255, 255, 0.18);
  --x-head: "Archivo", "Inter", system-ui, sans-serif;
  --x-body: "Inter", system-ui, -apple-system, sans-serif;
  --x-pad: 22px;
  --x-max: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--x-white); color: var(--x-ink);
  font-family: var(--x-body); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; }
figure { margin: 0; }
[id] { scroll-margin-top: 84px; }

.x-wrap { max-width: var(--x-max); margin: 0 auto; padding-inline: var(--x-pad); }
.x-sec { padding-block: 80px; }
.x-dark { background: var(--x-black); color: var(--x-white); }
.x-light { background: var(--x-white); color: var(--x-ink); }
.x-paper { background: var(--x-paper); color: var(--x-ink); }
.x-dark p { color: #e6e6e6; }
.x-rule { border-top: 1px solid var(--x-line); }

h1, h2, h3 {
  font-family: var(--x-head); font-stretch: 78%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.98; margin: 0;
}
h1 { font-size: clamp(44px, 12.5vw, 104px); }
h2 { font-size: clamp(36px, 9.6vw, 80px); }
h3 { font-size: clamp(24px, 5.6vw, 32px); line-height: 1.05; }
.x-dark h1, .x-dark h2, .x-dark h3 { color: var(--x-white); }
.x-lead { font-size: 20px; line-height: 1.45; font-weight: 500; }
.x-dark .x-lead { color: var(--x-white); }
.x-strong {
  font-family: var(--x-head); font-stretch: 85%; font-weight: 700; text-transform: uppercase;
  font-size: 22px; line-height: 1.2; letter-spacing: 0.01em;
}
.x-dark .x-strong { color: var(--x-white); }
.x-measure { max-width: 680px; }
.x-head-gap { margin-top: 28px; }
.x-muted { color: var(--x-grey); }
.x-dark .x-muted { color: var(--x-grey-dark); }
.x-visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.x-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--x-red); color: #fff; padding: 10px 16px; }
.x-skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.x-btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; min-height: 56px; padding: 14px 22px; gap: 8px;
  border-radius: 0; border: 2px solid var(--x-red); background: var(--x-red); color: var(--x-white);
  font-family: var(--x-head); font-stretch: 90%; font-weight: 700; font-size: 16px;
  line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.x-btn:hover { background: var(--x-red-dark); border-color: var(--x-red-dark); }
.x-btn--ghost { background: transparent; color: var(--x-white); border-color: var(--x-white); }
.x-btn--ghost:hover { background: var(--x-white); color: var(--x-black); border-color: var(--x-white); }
.x-btn--ink { background: var(--x-black); border-color: var(--x-black); color: var(--x-white); }
.x-btn--ink:hover { background: #2a2a2a; border-color: #2a2a2a; }
.x-btn--line { background: transparent; color: var(--x-ink); border-color: var(--x-ink); }
.x-btn--line:hover { background: var(--x-ink); color: var(--x-white); border-color: var(--x-ink); }
.x-btn[disabled] { opacity: 0.6; cursor: progress; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible {
  outline: 3px solid var(--x-red); outline-offset: 3px;
}
.x-btns { display: grid; gap: 12px; margin-top: 32px; }
.x-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.x-link:hover { color: var(--x-red); }

/* ---------- nav ---------- */
.x-nav {
  position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  color: var(--x-white); border-bottom: 1px solid var(--x-line-dark);
}
.x-nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.x-brand {
  font-family: var(--x-head); font-stretch: 78%; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 18px; color: var(--x-white); text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center; flex: none;
}
.x-brand span { color: var(--x-red); }
.x-nav__links { display: flex; align-items: center; gap: 32px; list-style: none; padding: 0; margin: 0; }
.x-nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap;
  font-family: var(--x-head); font-stretch: 85%; font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: #cfcfcf;
  border-bottom: 2px solid transparent; padding-top: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.x-nav__links a:hover { color: var(--x-white); }
.x-nav__links a[aria-current="page"] { color: var(--x-white); border-bottom-color: var(--x-red); }
.x-menu-btn { display: none; }
.x-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(10, 10, 10, 0.55); }
.x-scrim[hidden] { display: none; }
html.x-lock, html.x-lock body { overflow: hidden; }
[data-view]:focus, [data-view] h1:focus { outline: none; }

@media (max-width: 860px) {
  .x-menu-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
    padding: 0; border: 0; background: transparent; color: var(--x-white); cursor: pointer;
  }
  .x-menu-btn__bars { position: relative; display: block; width: 22px; height: 14px; }
  .x-menu-btn__bars span {
    position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
    transition: transform 0.22s ease, top 0.22s ease, opacity 0.15s ease;
  }
  .x-menu-btn__bars span:nth-child(1) { top: 0; }
  .x-menu-btn__bars span:nth-child(2) { top: 6px; }
  .x-menu-btn__bars span:nth-child(3) { top: 12px; }
  .x-menu-btn[aria-expanded="true"] .x-menu-btn__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .x-menu-btn[aria-expanded="true"] .x-menu-btn__bars span:nth-child(2) { opacity: 0; }
  .x-menu-btn[aria-expanded="true"] .x-menu-btn__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
  .x-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--x-black); border-bottom: 1px solid var(--x-line-dark);
    padding: 8px var(--x-pad) 32px; max-height: calc(100vh - 65px); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .x-nav.is-open .x-menu { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .x-nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .x-nav__links li { border-bottom: 1px solid var(--x-line-dark); }
  .x-nav__links a {
    display: flex; min-height: 68px; padding-top: 0; border-bottom: 0;
    font-stretch: 78%; font-weight: 800; font-size: 30px; letter-spacing: 0; color: var(--x-white);
  }
  .x-nav__links a[aria-current="page"] { color: var(--x-red); }
}

/* ---------- layout helpers ---------- */
.x-two { display: grid; gap: 28px; }
.x-split { display: grid; gap: 40px; }

/* ---------- hero ---------- */
.x-hero { padding-block: 44px 72px; }
.x-hero__grid { display: flex; flex-direction: column; }
.x-hero__copy { display: contents; }
.x-hero__copy h1 { order: -2; }
.x-hero__grid > .x-reels { order: -1; margin-top: 32px; }
.x-hero__copy .x-lead { margin-top: 28px; }

/* ---------- reels: vertical brand videos in phone-shaped frames ---------- */
.x-reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: 64%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--x-pad) * -1); padding-inline: var(--x-pad); scroll-padding-inline: var(--x-pad);
  -webkit-overflow-scrolling: touch;
}
.x-reels::-webkit-scrollbar { display: none; }
.x-reel {
  position: relative; scroll-snap-align: start; max-width: 360px;
  border-radius: 22px; overflow: hidden; background: #1a1a1a;
  border: 1px solid var(--x-line-dark); aspect-ratio: 9 / 16;
}
.x-light .x-reel, .x-paper .x-reel { border-color: var(--x-line); }
.x-reel video { width: 100%; height: 100%; object-fit: cover; background: #1a1a1a; }
.x-reel__poster {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; transition: opacity 0.25s ease;
}
.x-reel.is-playing .x-reel__poster { opacity: 0; }
.x-sound {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
  background: rgba(10, 10, 10, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--x-white); cursor: pointer;
  font-family: var(--x-head); font-stretch: 85%; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.x-sound:hover { background: rgba(10, 10, 10, 0.82); }
.x-sound svg { width: 18px; height: 18px; flex: none; }
.x-sound .x-ico-on { display: none; }
.x-sound[aria-pressed="true"] { background: var(--x-red); border-color: var(--x-red); }
.x-sound[aria-pressed="true"] .x-ico-on { display: block; }
.x-sound[aria-pressed="true"] .x-ico-off { display: none; }
.x-play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  border: 0; padding: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,0.5));
  cursor: pointer; color: var(--x-white);
}
.x-play span {
  width: 72px; height: 72px; border-radius: 50%; background: var(--x-red);
  display: grid; place-items: center; transition: transform 0.18s ease;
}
.x-play:hover span { transform: scale(1.06); }
.x-play svg { width: 26px; height: 26px; margin-left: 4px; }
.x-play[hidden] { display: none; }
.x-reel__cap { position: absolute; left: 16px; bottom: 14px; z-index: 3; pointer-events: none;
  font-family: var(--x-head); font-stretch: 85%; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--x-white); }

/* ---------- stats ---------- */
.x-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 48px; border-top: 2px solid currentColor; }
.x-stat { padding: 24px 16px 24px 0; border-bottom: 1px solid var(--x-line-dark); min-width: 0; }
.x-light .x-stat, .x-paper .x-stat { border-color: var(--x-line); }
.x-stat--main { grid-column: 1 / -1; }
.x-stat__fig {
  display: block; font-family: var(--x-head); font-stretch: 80%; font-weight: 800;
  font-size: clamp(40px, 11vw, 52px); line-height: 1; letter-spacing: -0.01em; color: var(--x-red);
  white-space: nowrap;
}
.x-stat--main .x-stat__fig { font-size: clamp(80px, 22vw, 148px); }
.x-stat__label {
  display: block; margin-top: 10px; font-family: var(--x-head); font-stretch: 85%; font-weight: 700;
  font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase;
}
.x-stat__sub { display: block; font-size: 15px; color: var(--x-grey); }
.x-dark .x-stat__sub { color: var(--x-grey-dark); }

/* ---------- features ---------- */
.x-feats { display: grid; gap: 0; margin-top: 48px; border-top: 2px solid currentColor; }
.x-feat { padding: 26px 0; border-bottom: 1px solid var(--x-line); }
.x-dark .x-feat { border-color: var(--x-line-dark); }
.x-feat h3 { font-size: clamp(22px, 5.4vw, 28px); }
.x-feat p { margin-top: 10px; }
.x-feat__n { display: block; font-family: var(--x-head); font-stretch: 80%; font-weight: 800; font-size: 18px; color: var(--x-red); margin-bottom: 10px; }

/* image strip */
.x-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--x-pad); scroll-padding-inline: var(--x-pad); margin-top: 48px;
}
.x-strip::-webkit-scrollbar { display: none; }
.x-strip figure { scroll-snap-align: start; }
.x-strip img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: #e9e9e9; }

/* ---------- offer cards (Home) ---------- */
.x-offers { display: grid; gap: 40px; margin-top: 48px; }
.x-offer { display: flex; flex-direction: column; border-top: 3px solid currentColor; padding-top: 22px; }
.x-offer__media { margin-bottom: 22px; background: var(--x-black); }
.x-offer__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.x-offer h3 { font-size: clamp(24px, 5.6vw, 30px); }
.x-offer p { margin-top: 12px; }
.x-offer .x-price { margin-top: 18px; }
.x-offer .x-btns { margin-top: auto; padding-top: 24px; }
.x-price { font-family: var(--x-head); font-stretch: 80%; font-weight: 800; font-size: 44px; line-height: 1; color: var(--x-red); letter-spacing: -0.01em; }

/* typographic card for the Elite Society (no image) */
.x-type {
  aspect-ratio: 4 / 5; background: var(--x-black); color: var(--x-white);
  display: flex; flex-direction: column; justify-content: space-between; padding: 26px;
  border: 1px solid var(--x-line-dark); position: relative; overflow: hidden;
}
.x-type::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,0.22); pointer-events: none; }
.x-type__mark { width: 40px; height: 6px; background: var(--x-red); }
.x-type__word {
  font-family: var(--x-head); font-stretch: 75%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(56px, 16vw, 92px); line-height: 0.9; letter-spacing: -0.01em;
}
.x-type__word em { font-style: normal; color: var(--x-red); }
.x-type__foot { font-family: var(--x-head); font-stretch: 85%; font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: #cfcfcf; }

/* ---------- about ---------- */
.x-portrait { max-width: 1284px; }
.x-portrait img { width: 100%; max-width: 1284px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; background: #e9e9e9; }

/* ---------- ways to work (two columns) ---------- */
.x-cols { display: grid; gap: 20px; margin-top: 48px; }
.x-col { border: 1px solid var(--x-line-dark); padding: 30px 22px; display: flex; flex-direction: column; }
.x-light .x-col, .x-paper .x-col { border-color: var(--x-line); background: var(--x-white); }
.x-col h3 { font-size: clamp(24px, 5.6vw, 32px); }
.x-col p { margin-top: 14px; }
.x-col .x-for { margin-top: auto; padding-top: 20px; font-family: var(--x-head); font-stretch: 85%; font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: 0.04em; color: var(--x-red); }

/* ---------- lists ---------- */
.x-sub { font-family: var(--x-head); font-stretch: 85%; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 20px; line-height: 1.2; margin-top: 40px !important; }
.x-list { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--x-line); }
.x-list li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--x-line); }
.x-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 9px; height: 9px; background: var(--x-red); }
.x-list b { font-weight: 700; }
.x-dark .x-list, .x-dark .x-list li { border-color: var(--x-line-dark); }
.x-dark .x-list li { color: #e6e6e6; }
.x-dark .x-list b { color: var(--x-white); }

/* numbered steps */
.x-steps { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: step; display: grid; gap: 0; border-top: 2px solid currentColor; }
.x-steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--x-line); }
.x-dark .x-steps li { border-color: var(--x-line-dark); }
.x-steps li::before {
  content: counter(step, decimal-leading-zero); grid-row: span 2;
  font-family: var(--x-head); font-stretch: 80%; font-weight: 800; font-size: 36px; line-height: 1; color: var(--x-red);
}
.x-steps b { font-family: var(--x-head); font-stretch: 85%; font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1.2; letter-spacing: 0.01em; }
.x-steps span { color: var(--x-grey); }
.x-dark .x-steps span { color: #e6e6e6; }

/* ---------- course sections ---------- */
.x-course__top { border-top: 3px solid currentColor; padding-top: 22px; }
.x-course__tag { font-size: 21px; line-height: 1.4; font-weight: 600; margin-top: 18px; max-width: 760px; }
.x-course__grid { display: grid; gap: 36px; margin-top: 40px; }
.x-flyer { background: var(--x-black); }
.x-flyer img { width: 100%; height: auto; aspect-ratio: 1100 / 1377; object-fit: contain; }
.x-flyer .x-type { aspect-ratio: 1100 / 1377; }
.x-buy { margin-top: 44px; padding: 28px 22px; border: 2px solid var(--x-ink); background: var(--x-white); }
.x-buy h3 { font-size: 26px; }
.x-buy .x-price { font-size: 60px; margin-top: 16px; }
.x-terms { font-size: 15px; color: var(--x-grey); margin-top: 10px !important; }
.x-buy .x-btns { margin-top: 22px; }

/* categories grid */
.x-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.x-cat { position: relative; background: #e9e9e9; overflow: hidden; }
.x-cat img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.x-cat figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 12px 12px;
  background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,0.78));
  color: var(--x-white); font-family: var(--x-head); font-stretch: 85%; font-weight: 700;
  font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.15;
}

/* table */
.x-table { width: 100%; border-collapse: collapse; margin-top: 40px; border-top: 2px solid currentColor; }
.x-table th, .x-table td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--x-line-dark); vertical-align: top; }
.x-table thead th { font-family: var(--x-head); font-stretch: 85%; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--x-grey-dark); }
.x-table td { font-size: 18px; color: #e6e6e6; }
.x-table td a { font-family: var(--x-head); font-stretch: 85%; font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.01em; color: var(--x-white); text-decoration: none; border-bottom: 2px solid var(--x-red); }
.x-table td a:hover { color: var(--x-red); }

/* ---------- FAQ accordions ---------- */
.x-faq { margin-top: 8px; border-top: 2px solid var(--x-ink); }
.x-faq details { border-bottom: 1px solid var(--x-line); }
.x-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; font-weight: 600; font-size: 18px; line-height: 1.35;
}
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border: 1.5px solid var(--x-ink); font-size: 22px; font-weight: 400; line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.x-faq details[open] summary::after { content: "\2212"; background: var(--x-ink); color: var(--x-white); }
.x-faq details p { padding: 0 52px 22px 0; color: var(--x-grey); }

/* ---------- forms ---------- */
.x-form { margin-top: 40px; padding: 28px 22px; background: var(--x-white); border: 2px solid var(--x-ink); color: var(--x-ink); }
.x-form h3 { font-size: 26px; margin-bottom: 8px; }
.x-fields { display: grid; gap: 22px; margin-top: 18px; }
.x-field { display: grid; gap: 8px; }
.x-field > label, .x-field > legend { font-weight: 600; font-size: 16px; line-height: 1.35; padding: 0; }
.x-field fieldset, fieldset.x-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.x-help { font-size: 15px; color: var(--x-grey); margin-top: -2px; }
.x-input {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--x-ink); border-radius: 0;
  background: var(--x-white); color: var(--x-ink); font: inherit; font-size: 16px;
  -webkit-appearance: none; appearance: none;
}
textarea.x-input { min-height: 150px; resize: vertical; }
select.x-input {
  background-image: linear-gradient(45deg, transparent 50%, var(--x-ink) 50%), linear-gradient(135deg, var(--x-ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px;
}
.x-input:focus { outline: 3px solid var(--x-red); outline-offset: 1px; }
.x-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.x-check { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--x-line); cursor: pointer; font-size: 16px; }
.x-check:has(input:checked) { border-color: var(--x-ink); background: var(--x-paper); }
.x-check input { width: 20px; height: 20px; accent-color: var(--x-red); margin: 0; flex: none; }
.x-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.x-form .x-btns { margin-top: 28px; }
.x-status { margin-top: 18px !important; padding: 16px 18px; font-weight: 600; border-left: 4px solid var(--x-ink); background: var(--x-paper); }
.x-status[hidden] { display: none; }
.x-status--ok { border-color: #1f8a4c; }
.x-status--err { border-color: var(--x-red); color: var(--x-red-dark); }

/* ---------- footer ---------- */
.x-foot { background: var(--x-black); color: #cfcfcf; border-top: 1px solid var(--x-line-dark); padding-block: 64px 28px; font-size: 15px; }
.x-foot p { color: #cfcfcf; }
.x-foot .x-brand { font-size: 22px; margin-bottom: 12px; }
.x-foot__grid { display: grid; gap: 40px; }
.x-foot__about p { max-width: 420px; }
.x-foot__h {
  font-family: var(--x-head); font-stretch: 85%; font-weight: 700; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--x-grey-dark) !important; margin-bottom: 6px;
}
.x-foot__list { list-style: none; padding: 0; margin: 0; display: grid; }
.x-foot__list a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--x-white);
  text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.3;
}
.x-foot__list a:hover { color: var(--x-red); }
.x-foot__social { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.x-foot__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--x-line-dark); color: var(--x-white);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.x-foot__social a:hover { background: var(--x-red); border-color: var(--x-red); }
.x-foot__social svg { width: 20px; height: 20px; }
.x-foot__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--x-line-dark); }
.x-foot__base p { color: var(--x-grey-dark); font-size: 14px; }

/* ---------- link in bio ---------- */
.x-bio { min-height: 100vh; background: var(--x-black); color: var(--x-white); padding: 48px var(--x-pad) 56px; }
.x-bio__in { max-width: 520px; margin: 0 auto; text-align: center; }
.x-avatar { width: 128px; height: 128px; max-width: 400px; border-radius: 50%; object-fit: cover; object-position: center; margin: 0 auto; border: 2px solid var(--x-red); background: #1a1a1a; }
.x-bio .x-brand { margin-top: 18px; }
.x-bio h1 { font-size: clamp(40px, 12vw, 56px); margin-top: 10px; }
.x-bio__intro { margin-top: 14px !important; color: #e6e6e6; }
.x-bio__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; text-align: left; }
.x-bio__item { border: 1px solid var(--x-line-dark); padding: 20px; }
.x-bio__item h2 { font-size: 24px; line-height: 1.05; }
.x-bio__item p { margin-top: 6px; color: #cfcfcf; font-size: 16px; }
.x-bio__item .x-btn { margin-top: 16px; }
.x-social { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.x-social .x-btn { text-transform: none; letter-spacing: 0.01em; font-size: 17px; }
.x-social a { min-height: 52px; }
.x-bio__h { font-family: var(--x-head); font-stretch: 85%; font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 40px; }
.x-bio__foot { margin-top: 40px !important; font-size: 14px; color: var(--x-grey-dark) !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .x-btn, .x-faq summary::after, .x-sound, .x-play span { transition: none; }
}

@media (min-width: 720px) {
  :root { --x-pad: 40px; }
  .x-sec { padding-block: 120px; }
  .x-btns { grid-template-columns: repeat(auto-fit, minmax(0, max-content)); }
  .x-offer .x-btns, .x-buy .x-btns, .x-form .x-btns, .x-col .x-btns { grid-template-columns: 1fr; }
  .x-stats { grid-template-columns: repeat(4, 1fr); }
  .x-stat { padding-right: 24px; }
  .x-feats { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .x-strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: var(--x-max); margin-inline: auto; }
  .x-cols { grid-template-columns: 1fr 1fr; }
  .x-col { padding: 40px 34px; }
  .x-buy, .x-form { padding: 40px 36px; }
  .x-cats { grid-template-columns: repeat(3, 1fr); }
  .x-fields--two { grid-template-columns: 1fr 1fr; }
  .x-fields--two .x-field--full { grid-column: 1 / -1; }
  .x-checks { grid-template-columns: repeat(3, 1fr); }
  .x-reels { grid-auto-columns: 40%; }
  .x-foot__grid { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
  .x-foot__about { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .x-menu, .x-nav.is-open .x-menu, .x-menu-btn__bars span, .x-nav__links a, .x-foot__social a { transition: none; }
}

@media (min-width: 1000px) {
  .x-hero { padding-block: 72px 120px; }
  h2 { font-size: clamp(56px, 6.4vw, 80px); }
  .x-two { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
  .x-split { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
  .x-split--flip > :first-child { order: 2; }
  .x-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
  .x-hero__copy { display: block; }
  .x-hero__grid > .x-reels { order: 0; margin-top: 0; }
  .x-reels {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible;
    margin-inline: 0; padding-inline: 0; align-items: start;
  }
  .x-reels--stagger .x-reel:nth-child(2) { margin-top: 56px; }
  .x-reels--wide { max-width: 980px; }
  .x-stat--main { grid-column: auto; }
  .x-stats--five { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .x-stat__fig { font-size: clamp(48px, 5vw, 68px); }
  .x-stat--main .x-stat__fig { font-size: clamp(72px, 9vw, 120px); }
  .x-feats { grid-template-columns: repeat(4, 1fr); }
  .x-offers { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .x-course__grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
  .x-course__grid--flip { grid-template-columns: 6fr 5fr; }
  .x-course__grid--flip .x-flyer { order: 2; }
  .x-flyer { position: sticky; top: 96px; }
  .x-portrait { position: sticky; top: 96px; }
  .x-foot__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; column-gap: 48px; }
  .x-foot__about { grid-column: auto; }
}

/* ================= DESKTOP ALIGNMENT (861px and up only; mobile untouched) ================= */
@media (min-width: 861px) {
  /* one heading scale, one two-column rhythm */
  h2 { font-size: clamp(44px, 5.2vw, 72px); }
  .x-two { grid-template-columns: 1.1fr 1fr; column-gap: clamp(48px, 5vw, 72px); row-gap: 28px; align-items: start; }

  /* paragraph bottom-aligned with the heading's last line */
  .x-two--end { align-items: end; }
  .x-two--cta { row-gap: 0; }
  .x-two--cta > div { display: contents; }
  .x-two--cta > h2 { grid-column: 1; grid-row: 1; }
  .x-two--cta > div > * { grid-column: 2; }
  .x-two--cta > div > :first-child { align-self: end; }

  .x-two--even { grid-template-columns: 1fr 1fr; }
  .x-two--rows { grid-template-columns: minmax(0, 1fr); row-gap: 0; }

  /* stats: 75K centred on top, platforms in an even centred row */
  .x-stats--five { grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
  .x-stats--five .x-stat { padding: 28px 16px; }
  .x-stats--five .x-stat--main { grid-column: 1 / -1; padding-block: 36px 32px; }
  .x-stats--five .x-stat:nth-child(n + 3) { border-left-width: 1px; border-left-style: solid; }
  .x-dark .x-stats--five .x-stat:nth-child(n + 3) { border-left-color: var(--x-line-dark); }
  .x-light .x-stats--five .x-stat:nth-child(n + 3), .x-paper .x-stats--five .x-stat:nth-child(n + 3) { border-left-color: var(--x-line); }

  /* education cards: one row, shared tracks so every title, text, price and button lines up */
  .x-offers { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; row-gap: 0; align-items: start; }
  @supports (grid-template-rows: subgrid) {
    .x-offer { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
    .x-offer .x-btns { margin-top: 0; align-self: end; }
  }
  .x-offer__media img { aspect-ratio: 4 / 5; }

  /* video creation intro: heading left, copy right, bottoms level */
  .x-intro {
    display: grid; grid-template-columns: 1.1fr 1fr; column-gap: clamp(48px, 5vw, 72px); align-items: end;
    border-top: 3px solid currentColor; padding-top: 22px;
  }
  .x-intro .x-course__top { border-top: 0; padding-top: 0; }
  .x-intro > .x-two { display: block; margin-top: 0; }
  .x-intro > .x-two > div { margin-top: 1em; }

  /* "What Shidah can create": an even grid */
  .x-list--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }

  /* numbered steps in one even row */
  .x-steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .x-steps--row li { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; padding: 26px 0; }
  .x-steps--row li::before { grid-row: auto; margin-bottom: 8px; }

  /* enquiry blocks: intro then a full-width form (two columns from 1200px) */
  .x-enquire > *, .x-enquire > :first-child > :first-child { margin-top: 0; }
  .x-enquire > .x-form { margin-top: 40px; }
  .x-enquire:not(:first-child) { margin-top: 96px; }
  .x-enquire > .x-two { display: block; }
  .x-enquire > .x-two .x-lead { margin-top: 28px; }

  /* forms: tidy two-column field grid */
  .x-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 22px; align-items: start; }
  .x-fields--two .x-field--full { grid-column: 1 / -1; }
  .x-field { min-width: 0; align-content: start; }
  .x-input:not(textarea) { height: 52px; min-height: 52px; line-height: 1.4; }
  input[type="date"].x-input { display: block; }
  input[type="date"].x-input::-webkit-date-and-time-value { text-align: left; }
  .x-form .x-btns { grid-template-columns: max-content; justify-content: start; }
  .x-form .x-btn { width: auto; padding-inline: 36px; }
}

@media (min-width: 1000px) {
  /* hero: larger phone-frame videos */
  .x-hero__grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
  .x-hero__grid h1 { font-size: clamp(64px, 6.6vw, 92px); }
  .x-reels { gap: 16px; }
}

@media (min-width: 1100px) {
  .x-list--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .x-enquire { display: grid; grid-template-columns: 4fr 7fr; column-gap: 72px; align-items: start; }
  .x-enquire > :first-child { position: sticky; top: 96px; }
  .x-enquire > .x-form { margin-top: 0; }
}

/* ================= DESKTOP TYPE SCALE + HERO STACK (861px and up only; mobile untouched) =================
   Kept last so no earlier section rule can override it. */
@media (min-width: 861px) {
  :root {
    --x-h1: clamp(48px, 4.4vw, 64px);   /* ~56px at 1280, ~60px at 1366, ~63px at 1440 */
    --x-h2: clamp(34px, 3.1vw, 44px);   /* ~40px at 1280, ~42px at 1366, 44px at 1440 */
    --x-h3: clamp(22px, 1.7vw, 24px);   /* 22px to 24px */
  }

  /* one H1 size for every view's hero, Links included */
  h1, .x-hero__grid h1, .x-bio h1 { font-size: var(--x-h1); line-height: 1.05; }

  /* one H2 size for every section on every view */
  h2, .x-bio__h { font-size: var(--x-h2); line-height: 1.05; }

  /* one H3 size for every card and subsection title (Links card titles are h2 tags but card-level) */
  h3, .x-feat h3, .x-offer h3, .x-col h3, .x-buy h3, .x-form h3, .x-sub, .x-bio__item h2 {
    font-size: var(--x-h3); line-height: 1.1;
  }

  /* heroes and closing banners: heading, then paragraph, then buttons, in one left column */
  .x-hero .x-two, .x-two--cta { display: block; }
  .x-two--cta > div { display: block; }
  .x-hero .x-two > div, .x-two--cta > div { margin-top: 28px; }
  .x-hero .x-two > div > p, .x-two--cta > div > p, .x-hero__copy p { max-width: 560px; }
  .x-hero .x-btns, .x-two--cta .x-btns { justify-content: start; }

  /* heading beside text: always top-aligned, so neither column floats */
  .x-two, .x-two--end { align-items: start; }
  .x-intro { align-items: start; }
}
