/* Ilham public site. Direction from the owner's own taste rules (taste.md, 2026-10-16/17):
   dark canvas + one radiant colour, one clever visual idea, huge confident type with an italic-serif counterpoint,
   floating glass UI cards, big numbers as design elements, gradients only as soft light, no strict Swiss grid.
   Arabic: Cairo. Latin accent: Instrument Serif italic. Never Reem Kufi. */
:root {
  --night: #06070b;
  --night-2: #0d0f17;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-line: rgba(255, 255, 255, 0.12);
  --text: #f4f5f8;
  --text-2: #a9aec0;
  --volt: #3b5bff;          /* the one radiant colour */
  --volt-glow: rgba(59, 91, 255, 0.55);
  --paper: #f4f5f8;
  --ink: #06070b;
  --ink-2: #4a5063;
  --gutter: clamp(16px, 4vw, 56px);
  font-family: "Cairo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font-size: 18px; line-height: 1.75; overflow-x: clip; }
a { color: #9fb0ff; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid #9fb0ff; outline-offset: 3px; border-radius: 6px; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }


/* ---- hero: headline over a curved arc of reference cards ---- */
.hero { position: relative; text-align: center; padding-block: clamp(36px, 7vw, 90px) 0; isolation: isolate; overflow-x: clip; }
.hero::before { /* soft light behind the headline, the only gradient used as atmosphere */
  content: ""; position: absolute; inset: -10% 10% auto; height: 70%; z-index: -1;
  background: radial-gradient(42% 46% at 50% 50%, var(--volt-glow), transparent 64%); filter: blur(36px); opacity: .49; }
.hero h1 { font-size: clamp(54px, 9.5vw, 148px); line-height: 0.98; font-weight: 900; margin: 0 auto; max-width: 11ch; }
.hero .serif { display: block; font-size: clamp(26px, 3.4vw, 46px); color: var(--text-2); margin-top: 14px; direction: ltr; }
.hero p { max-width: 52ch; margin: 22px auto 30px; color: #dfe3ee; font-size: 21px; line-height: 1.7; }
.cta { display: inline-block; background: var(--volt); color: #fff; font-weight: 700; padding: 14px 32px; border-radius: 999px;
       text-decoration: none; }
.cta.ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); margin-inline-start: 10px; }

.arc { position: relative; height: clamp(300px, 34vw, 470px); margin-top: clamp(96px, 10vw, 140px); perspective: 1400px; --mx: 0; --my: 0; }
.card { position: absolute; top: 50%; left: 50%; width: clamp(120px, 15vw, 210px); aspect-ratio: 3 / 4; border-radius: 18px;
        overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
        /* --move / --turn follow the pointer (site.js sets --mx/--my on .arc); centre cards sit closer, so they move more */
        --move: translate3d(calc(var(--mx, 0) * (5 - var(--d)) * 7px), calc(var(--my, 0) * (5 - var(--d)) * 5px), 0);
        --turn: rotateY(calc(var(--mx, 0) * 14deg)) rotateX(calc(var(--my, 0) * -10deg));
        transform: var(--move) translate(-50%, -50%) translateX(calc(var(--i) * clamp(118px, 15.5vw, 222px)))
                   translateY(calc(var(--d) * var(--d) * 9px)) rotateY(calc(var(--i) * -13deg)) var(--turn) scale(calc(1 + var(--d) * .06)); }
.card.focus { outline: 3px solid var(--volt); outline-offset: 4px; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .9); z-index: 2; }
/* abstract "references": all drawn in CSS, nobody's artwork is copied */
.c1 { background: #f4f5f8; display: grid; place-items: center; color: #06070b; font-weight: 900; font-size: clamp(90px, 11vw, 160px); line-height: 1; }
.c2 { background: radial-gradient(circle at 35% 30%, #8aa0ff, #2440d8 45%, #050716 75%); }
.c2::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); }
.c3 { background: #171a24; color: #f4f5f8; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.c3 b { font-size: clamp(54px, 7vw, 96px); line-height: .9; font-weight: 900; direction: ltr; text-align: left; color: #7d93ff; }
.c3 small { font-weight: 700; font-size: 13px; }
.c4 { background: #101218; display: grid; grid-template-columns: repeat(4, 1fr); }
.c4 span:nth-child(1) { background: #3b5bff; } .c4 span:nth-child(2) { background: #06070b; }
.c4 span:nth-child(3) { background: #f4f5f8; } .c4 span:nth-child(4) { background: #8c93a8; }
.c5 { background: #f4f5f8; color: #06070b; display: grid; place-items: center; }
.c5 i { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(64px, 8vw, 112px); line-height: 1; }
.c6 { background: #3b5bff; display: grid; place-items: center; }
.c6::before { content: ""; width: 44%; aspect-ratio: 1; background: #f4f5f8; border-radius: 50% 50% 0 50%; }
.c7 { background: #15171f; padding: 14px; display: grid; gap: 8px; align-content: center; }
.c7 span { height: 10px; border-radius: 6px; background: rgba(255,255,255,.14); }
.c7 span:first-child { width: 70%; height: 22px; background: #f4f5f8; }
.c7 span:nth-child(4) { width: 46%; height: 26px; background: var(--volt); border-radius: 999px; }

.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px;
        background: rgba(18, 21, 32, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        box-shadow: inset 0 0 0 1px var(--glass-line), 0 20px 50px -20px rgba(0,0,0,.9); font-size: 15px; text-align: start; }
.chip strong { font-size: 26px; font-weight: 900; color: #fff; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: #3b5bff; flex: none; }
.chip.score { top: 4%; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.chip.note { bottom: 4%; right: 8%; max-width: 280px; }
.chip.swatches { bottom: 10%; left: 6%; direction: ltr; font-size: 14px; font-weight: 600; color: var(--text-2); }
.chip.swatches i { width: 22px; height: 22px; border-radius: 6px; display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .card { animation: fan .9s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc((3 - var(--d)) * 60ms); }
  @keyframes fan { from { opacity: 0; transform: translate(-50%, -40%) scale(.9); } }
}

/* ---- big numbers ---- */
.numbers { display: flex; flex-wrap: wrap; gap: 18px 64px; justify-content: space-between; padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 80px); }
.numbers div { min-width: 200px; }
.numbers b { display: block; font-size: clamp(64px, 9vw, 132px); line-height: 1; font-weight: 900; direction: ltr; text-align: start; }
.numbers b em { font-style: normal; color: var(--volt); }
.numbers span { color: var(--text-2); }

/* ---- sections ---- */
section { padding-block: clamp(56px, 8vw, 110px); }
h2 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.08; font-weight: 900; margin: 0 0 18px; max-width: 16ch; }
h2 .serif { display: block; font-size: max(18px, .55em); color: var(--text-2); margin-top: 8px; direction: ltr; text-align: start; }
[dir="rtl"] h2 .serif { text-align: right; }
[dir="ltr"] h2 .serif { text-align: left; }
h3 { font-size: 22px; line-height: 1.4; margin: 0 0 6px; font-weight: 800; }
.lede { max-width: 58ch; color: var(--text-2); margin: 0 0 44px; }

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.flow li { counter-increment: s; padding: 26px 22px 28px; border-radius: 20px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); }
.flow li:nth-child(even) { transform: translateY(36px); }
.flow li::before { content: counter(s, decimal); display: block; font-size: 64px; line-height: 1; font-weight: 900; color: var(--volt); margin-bottom: 18px; }
.flow p { margin: 0; color: var(--text-2); font-size: 17px; }

/* bento: one big tile, the rest smaller; sizes follow importance */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { border-radius: 22px; padding: 28px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--glass-line); grid-column: span 2; }
.tile p { margin: 0; color: var(--text-2); font-size: 17px; }
.tile.big { grid-column: span 4; grid-row: span 2; background: var(--volt); box-shadow: none;
            display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; }
.tile.big h3 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.tile.big p { color: #e3e8ff; max-width: 40ch; }
.tile.lime { background: #f4f5f8; color: #06070b; }
.tile.lime p { color: #4a5063; }
.tile.wide { grid-column: span 3; }

/* ---- light section for rhythm: pricing ---- */
.light { background: var(--paper); color: var(--ink); }
.light .lede, .light p { color: var(--ink-2); }
.light h2 .serif { color: var(--ink-2); }
.light a:not(.cta) { color: #2440d8; }
.light .cta { color: #fff; }

.en { direction: ltr; text-align: left; }

/* ---- documents (terms, privacy, refunds) ---- */
.doc { max-width: 760px; padding-block: clamp(32px, 6vw, 72px) 80px; }
.doc h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; font-weight: 900; margin: 0 0 10px; }
.doc h2 { font-size: 26px; margin: 40px 0 10px; max-width: none; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); }
.doc .updated { font-size: 15px; }
.doc hr { border: 0; border-top: 1px solid var(--glass-line); margin: 56px 0; }
section.flat { padding: 0; }
.notfound { padding-block: clamp(60px, 12vw, 160px); }


@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:nth-child(even) { transform: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.big { grid-column: span 2; grid-row: auto; min-height: 280px; }
  .chip.note { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .flow, .bento { grid-template-columns: 1fr; }
  .tile.big { grid-column: auto; }
  .card { width: 110px; transform: var(--move) translate(-50%, -50%) translateX(calc(var(--i) * 104px)) translateY(calc(var(--d) * var(--d) * 6px))
                                   rotateY(calc(var(--i) * -13deg)) var(--turn); }
  .arc { height: 260px; }
  .chip.swatches { display: none; }
  .cta.ghost { margin: 12px 0 0; }
}

/* Studio lighting on the reference cards: a soft key light from the top-left, a rim of light on the top edge,
   and a darker base, so each card reads as a physical object floating in space (taste linter, 2026-10-17). */
.card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -40px 60px -30px rgba(0, 0, 0, .45),
                    0 2px 0 rgba(255, 255, 255, .05), 0 34px 60px -22px rgba(0, 0, 0, .9); }
.card .sheen { position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
               background: linear-gradient(135deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .08) 28%, transparent 46%); }
.card.focus { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 44px 70px -24px rgba(0, 0, 0, .95); }
.card .sheen { background: linear-gradient(135deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, .10) 26%, transparent 46%),
                           linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .30) 100%); }
.arc::after { /* studio floor: a soft contact shadow under the arc */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -2%; height: 60px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .85), transparent 70%); filter: blur(10px); z-index: -1; }
/* the right-hand card: a tag cloud like the library's own labels */
.c7 { display: flex; flex-wrap: wrap; align-content: center; gap: 7px; padding: 16px; }
.c7 span, .c7 span:first-child, .c7 span:nth-child(4) { width: auto; height: auto; background: rgba(255, 255, 255, .1); color: #f4f5f8;
  border-radius: 999px; padding: 3px 11px; font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.c7 span.on { background: #3b5bff; box-shadow: none; }

/* pointer: the light slides across each card, and the floating chips drift the other way for depth */
.card .sheen { inset: -25%; translate: calc(var(--mx) * -14%) calc(var(--my) * -14%); }
.chip { translate: calc(var(--mx) * -16px) calc(var(--my) * -12px); }

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

/* ---- generated photography (ChatGPT, 2026-10-17): original images, no third-party artwork ---- */
.card.photo { background: #06070b; display: block; padding: 0; }
.card.photo::before, .card.photo::after { content: none; }
.card.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.big.photo { position: relative; overflow: hidden; isolation: isolate; background: #06070b; }
.tile.big.photo .tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile.big.photo::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 7, 11, 0) 30%, rgba(6, 7, 11, .88) 100%); }
.tile.big.photo p { color: #dfe3ee; }
.tile.media { padding-top: 12px; }
.tile.media .tile-media { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; margin-bottom: 18px; }

/* =====================================================================
   Shared components (2026-10-17): header, footer, buttons, pricing.
   Source: site-src/components.css (appended to site/style.css by build.py).
   Header and footer markup is generated by site-src/build.py.
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 20px; height: 20px; flex: none; }

/* buttons: one shape, four roles */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px;
       font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .15s, box-shadow .15s; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--volt); color: #fff; }
.btn-primary:hover { background: #2f4ef0; }
.btn-ghost { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.btn-light { background: #fff; color: #1c33c7; }
.btn-light:hover { background: #e9edff; }
.btn-outline-light { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.btn-outline-light:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn:focus-visible, .lang-link:focus-visible, .primary-nav a:focus-visible, .brand:focus-visible { outline: 3px solid #9fb0ff; outline-offset: 3px; border-radius: 999px; }

/* header: sticky, translucent, one row; collapses into a disclosure menu under 860px */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6, 7, 11, .78); border-bottom: 1px solid rgba(255, 255, 255, .07);
               -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px); }
.header-inner { display: flex; align-items: center; gap: 40px; height: 68px; }
.brand { display: inline-flex; color: var(--text); flex: none; }
.brand .logo { height: 26px; width: auto; display: block; }
.primary-nav { display: flex; gap: 30px; }
.primary-nav a, .lang-link { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 16px; }
.primary-nav a:hover, .lang-link:hover { color: var(--text); }
.primary-nav a[aria-current="page"] { color: var(--text); text-decoration: underline 2px var(--volt); text-underline-offset: 10px; }
.header-actions { display: flex; align-items: center; gap: 20px; margin-inline-start: auto; }
.lang-link { display: inline-flex; align-items: center; gap: 6px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
                color: var(--text); box-shadow: inset 0 0 0 1px var(--glass-line); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline: 3px solid #9fb0ff; outline-offset: 2px; }
.menu .ic-close, .menu[open] .ic-menu { display: none; }
.menu[open] .ic-close { display: block; }
.menu-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); display: grid; gap: 2px;
              padding: 10px; border-radius: 18px; background: #10121a; box-shadow: inset 0 0 0 1px var(--glass-line), 0 30px 60px -20px #000; }
.menu-panel a:not(.btn) { padding: 12px 14px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 600; }
.menu-panel a:not(.btn):hover, .menu-panel a[aria-current="page"] { background: var(--glass); }
.menu-panel .btn { margin-top: 8px; }
@media (max-width: 860px) {
  .primary-nav, .header-actions > .lang-link, .header-actions > .btn { display: none; }
  .menu { display: block; }
  .header-inner { height: 60px; }
}

/* footer: brand column + three link columns, then a legal bar */
.site-footer { border-top: 1px solid var(--glass-line); margin-top: clamp(40px, 6vw, 80px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px 40px; }
.footer-brand p { color: var(--text-2); max-width: 36ch; margin: 18px 0; font-size: 16px; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.footer-mail:hover span { text-decoration: underline; }
.site-footer h2 { font-size: 15px; line-height: 1.4; font-weight: 800; color: var(--text); margin: 4px 0 16px; max-width: none; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col .current { color: var(--text-2); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-col .current { color: var(--text); font-weight: 700; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 22px 32px;
                 border-top: 1px solid rgba(255, 255, 255, .07); font-size: 14px; color: var(--text-2); }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }

/* ---- pricing ---- */
.pricing section { padding-block: clamp(40px, 6vw, 72px); }
.pricing .price-hero { text-align: center; padding-block: clamp(56px, 8vw, 104px) 20px; }
.price-hero h1 { font-size: clamp(44px, 7vw, 100px); line-height: 1.04; font-weight: 900; margin: 0 auto 20px; max-width: 13ch; }
.pricing h1 .serif, .pricing h2 .serif { display: block; font-size: max(18px, .42em); color: var(--text-2); margin-top: 14px; direction: ltr; text-align: center; font-weight: 400; }
.price-hero .lede { margin: 0 auto 36px; max-width: 56ch; font-size: 19px; }
.billing { display: inline-flex; gap: 4px; padding: 5px; margin: 0; border: 0; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); }
.billing input { position: absolute; opacity: 0; pointer-events: none; }
.billing label { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 700; color: var(--text-2); cursor: pointer; }
.billing input:checked + label { background: #fff; color: var(--ink); }
.billing input:focus-visible + label { outline: 3px solid #9fb0ff; outline-offset: 2px; }
.billing .save { font-size: 13px; padding: 2px 9px; border-radius: 999px; background: rgba(159, 176, 255, .16); color: #c3cdff; }
.billing input:checked + label .save { background: var(--volt); color: #fff; }

.pricing .tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1000px; align-items: start; padding-block: 28px 0; }
.tier { border-radius: 28px; padding: clamp(26px, 3vw, 40px); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--glass-line); }
.tier h2 { font-size: 24px; line-height: 1.3; margin: 0; max-width: none; }
.tier-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: #fff; color: #1c33c7; }
.tier-desc { color: var(--text-2); margin: 6px 0 22px; font-size: 16px; }
.tier-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 24px; }
.tier-price .amount { font-size: clamp(56px, 6vw, 76px); font-weight: 900; line-height: 1; direction: ltr; }
.tier-price .per { color: var(--text-2); font-size: 16px; font-weight: 600; }
.tier-price.yearly { display: none; }
.pricing:has(#bill-y:checked) .tier-price.monthly { display: none; }
.pricing:has(#bill-y:checked) .tier-price.yearly { display: flex; }
.tier-feats { list-style: none; margin: 26px 0 0; padding: 26px 0 0; border-top: 1px solid var(--glass-line); display: grid; gap: 12px; }
.tier-feats li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.tier-feats .ic-check { color: #7d93ff; margin-top: 3px; }
.tier-pro { background: var(--volt); color: #fff; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .9); }
.tier-pro .tier-desc, .tier-pro .per, .tier-pro li { color: #fff; }
.tier-pro .ic-check { color: #fff; }
.tier-lead { font-weight: 800; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .3); }
.tier-pro .tier-feats { margin-top: 14px; padding-top: 0; border-top: 0; }
.guarantee { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 15px; font-weight: 600; }

.pricing .trust-wrap { padding-block: 20px 0; }
.trust { list-style: none; padding: 0; margin: 0 auto; max-width: calc(1000px - 2 * var(--gutter)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 20px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); }
.trust .ic { color: #9fb0ff; width: 22px; height: 22px; margin-top: 2px; }
.trust b { display: block; font-size: 15px; line-height: 1.4; }
.trust span { display: block; color: var(--text-2); font-size: 14px; line-height: 1.5; margin-top: 4px; }

.compare h2, .faq h2 { text-align: center; margin-inline: auto; max-width: 20ch; }
.table-scroll { position: relative; overflow-x: auto; max-width: calc(1000px - 2 * var(--gutter)); margin: 40px auto 0; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--glass-line); }
.table-scroll:focus-visible { outline: 3px solid #9fb0ff; outline-offset: 3px; }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 15px 22px; text-align: start; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.compare thead th { font-size: 18px; font-weight: 800; vertical-align: bottom; padding-block: 22px; }
.compare thead th span { display: block; font-size: 14px; font-weight: 600; color: var(--text-2); margin-top: 2px; }
.compare thead th:not(:first-child), .compare td { text-align: center; width: 24%; }
.compare tbody th[scope="row"] { font-weight: 500; color: var(--text); }
.compare .group th { font-size: 14px; font-weight: 800; color: #c3cdff; background: rgba(255, 255, 255, .03); padding-block: 12px; }
.compare td .ic { margin-inline: auto; display: block; }
.compare td .ic-check { color: #7d93ff; }
.compare td .ic-dash { color: #5b6074; }
.compare thead th:last-child, .compare td:last-child { background: rgba(59, 91, 255, .09); }
.compare tbody tr:last-child > * { border-bottom: 0; }

.faq-list { max-width: 820px; margin: 36px auto 0; border-top: 1px solid var(--glass-line); }
.faq details { border-bottom: 1px solid var(--glass-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 4px; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: -6px; border-right: 2px solid currentColor;
                      border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq summary:focus-visible { outline: 3px solid #9fb0ff; outline-offset: 2px; border-radius: 8px; }
.faq .answer p { margin: 0 4px 24px; color: var(--text-2); max-width: 68ch; }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; max-width: calc(1000px - 2 * var(--gutter));
            margin-inline: auto; padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: var(--volt); color: #fff; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 0 0 6px; max-width: none; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pricing .fine { max-width: 70ch; margin: 24px auto 0; font-size: 14px; color: var(--text-2); text-align: center; }

@media (max-width: 860px) {
  .pricing .tiers { grid-template-columns: 1fr; max-width: 600px; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .compare table { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare thead th { font-size: 16px; }
  .compare thead th:not(:first-child), .compare td { width: 72px; }
}
@media (max-width: 520px) {
  .trust { grid-template-columns: 1fr; }
  .billing label { padding: 0 14px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
