/* Page styles. A light grey ground (#f2f2f2), true-white cards lifted off it, near-black ink, greys.
   No accent colour anywhere. One typeface for all Arabic: Kufam. JetBrains Mono only for Latin
   addresses, numerals in rules and codes.
   The graphic system, used the same way everywhere:
   - a four-column hairline grid behind every section (two columns on phones);
   - a ruled strip that opens each section: numeral, name, hairline, registration cross;
   - two corner marks on every figure, and a numbered, ruled caption under it;
   - the name as a large outlined letterform in the hero and the closing. */

@font-face { font-family: "Kufam"; src: url("fonts/Kufam.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ground: #f2f2f2;
  --card: #ffffff;
  --alt: #e7e7e5;
  --ink: #0a0a0a;
  --ink-2: #2a2a2a;
  --ink-3: #595959;
  --line: #d8d8d5;
  --line-2: #b9b9b5;
  --grid: rgba(10, 10, 10, .06);
  --sans: "Kufam", "Segoe UI", Tahoma, system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --band: clamp(76px, 10vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--line-2) transparent; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.85; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; counter-reset: sec fig; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
.band--ink ::selection { background: #fff; color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-size: .88em; unicode-bidi: isolate; }

.wrap { position: relative; z-index: 1; width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(1440px + 2 * var(--gutter)); }

/* ───────── type ───────── */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.35; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.05rem + 3.5vw, 3.9rem); line-height: 1.3; }
h3 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.2rem); }
.lead { font-size: clamp(1.14rem, 1.03rem + .5vw, 1.38rem); line-height: 1.95; color: var(--ink-2); max-width: 33em; text-wrap: pretty; }
.fine { font-size: .92rem; line-height: 1.85; color: var(--ink-3); max-width: 44em; }
.fine b { color: var(--ink); font-weight: 600; }

/* ───────── buttons and links ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.4; text-decoration: none; cursor: pointer; transition: background-color .3s, color .3s, transform .5s var(--ease); }
.btn:hover { background: #2b2b2b; }
.btn:active { transform: scale(.98); }
.btn .arw { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover .arw { transform: translateX(-4px); } /* forward in a right-to-left page is to the left */
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .94rem; }
.btn--lg { min-height: 62px; padding: 0 36px; font-size: 1.1rem; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.band--ink .btn { background: #fff; color: var(--ink); border-color: #fff; }
.band--ink .btn:hover { background: #dcdcdc; }
.link { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 6px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.link:hover { text-decoration-thickness: 2px; }

/* ───────── header ───────── */
.top { position: sticky; top: 0; z-index: 60; background: rgba(242, 242, 242, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-stuck { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.mark { font-size: 1.7rem; font-weight: 700; line-height: 1.5; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav { display: none; margin-inline: auto; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: .96rem; color: var(--ink-3); text-decoration: none; transition: color .25s, background-color .25s; }
.nav a:hover { color: var(--ink); background: #fff; }
.top .btn { margin-inline-start: auto; }
@media (min-width: 980px) { .nav { display: flex; } .top .btn { margin-inline-start: 0; } }

/* ───────── the structural grid: four hairline columns behind every section ───────── */
.hero, .band { position: relative; }
.hero::before, .band::before { content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; left: max(var(--gutter), calc((100% - var(--max)) / 2)); right: max(var(--gutter), calc((100% - var(--max)) / 2)); pointer-events: none; border-right: 1px solid var(--grid); background: repeating-linear-gradient(to right, var(--grid) 0 1px, transparent 1px 50%); }
@media (min-width: 760px) { .hero::before, .band::before { background: repeating-linear-gradient(to right, var(--grid) 0 1px, transparent 1px 25%); } }

/* ───────── the strip that opens a section: numeral, name, rule, registration cross ───────── */
.band { counter-increment: sec; padding-block: clamp(22px, 2.6vw, 34px) var(--band); }
.rule { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(52px, 7.5vw, 108px); font-size: .86rem; line-height: 1.6; color: var(--ink-3); }
.rule__n::before { content: counter(sec, decimal-leading-zero); font-family: var(--mono); font-size: .78rem; color: var(--ink); }
.rule i { flex: 1; height: 1px; background: var(--line-2); }
.rule::after { content: ""; flex: none; width: 11px; height: 11px; color: var(--ink); background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; }
.band--ink .rule::after, .band--ink .rule__n::before { color: #fff; }

/* ───────── the name as a large outlined letterform ───────── */
.glyph { position: absolute; z-index: 0; top: clamp(8px, 2vw, 40px); left: max(8px, calc((100% - var(--max)) / 2 - 24px)); font-size: clamp(8rem, 17.5vw, 17.5rem); font-weight: 800; line-height: 1.25; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(10, 10, 10, .17); pointer-events: none; user-select: none; }
.close .glyph { top: auto; bottom: clamp(-30px, -1vw, 0px); -webkit-text-stroke-color: rgba(255, 255, 255, .17); }
@media (max-width: 899px) { .glyph { left: -12px; top: 150px; -webkit-text-stroke-color: rgba(10, 10, 10, .1); } .close .glyph { top: auto; -webkit-text-stroke-color: rgba(255, 255, 255, .12); } }

/* ───────── hero ───────── */
.hero { padding-block: clamp(48px, 7.5vw, 112px) clamp(64px, 8vw, 120px); overflow: clip; }
.hero__h { font-size: clamp(2.5rem, .5rem + 8.6vw, 6rem); font-weight: 650; line-height: 1.32; }
.line { display: block; }
.hero__row { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 52px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
@media (min-width: 900px) { .hero__row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } .hero__cta { justify-content: flex-end; } }
.hero__fig { margin-top: clamp(40px, 6vw, 84px); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--ink); }
.facts > div { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .86rem; color: var(--ink-3); }
.facts dd { font-weight: 600; font-size: 1.05rem; line-height: 1.7; padding-inline-end: 12px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .facts > div { padding-inline-start: 16px; } .facts > div:first-child { padding-inline-start: 0; } }

/* ───────── kashida and selection ───────── */
.kashida { display: inline-block; white-space: nowrap; }
.ksh { position: relative; overflow-x: clip; display: inline-block; white-space: nowrap; vertical-align: baseline; direction: rtl; }
.ksh__base { visibility: hidden; }
.ksh__p { position: absolute; top: 0; right: 0; white-space: nowrap; will-change: transform; }
.sel { position: relative; display: inline-block; white-space: nowrap; isolation: isolate; }
.sel__box { position: absolute; z-index: -1; top: 16%; bottom: 8%; right: -.09em; width: calc(var(--p, 0) * (100% + .18em)); background: rgba(10, 10, 10, .14); border-radius: .06em; }
.sel__box i { position: absolute; left: -.02em; top: -.06em; bottom: -.06em; width: max(2px, .04em); border-radius: 2px; background: currentColor; opacity: 0; }
.sel.is-sel .sel__box i { opacity: 1; }
.sel.is-done .sel__box i { animation: caret 1.05s steps(1) 4 forwards; }
.band--ink .sel__box { background: rgba(255, 255, 255, .24); }
@keyframes caret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ───────── figures: white cards with two corner marks and a numbered, ruled caption ───────── */
.fig { position: relative; counter-increment: fig; }
.fig::before, .fig::after { content: ""; position: absolute; z-index: 2; top: -8px; width: 13px; height: 13px; border-top: 1px solid var(--ink); pointer-events: none; }
.fig::before { right: -8px; border-right: 1px solid var(--ink); }
.fig::after { left: -8px; border-left: 1px solid var(--ink); }
.band--ink .fig::before, .band--ink .fig::after { border-color: rgba(255, 255, 255, .7); }
.fig figcaption { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; font-size: .88rem; color: var(--ink-3); line-height: 1.75; }
.fig figcaption::before { content: counter(fig, decimal-leading-zero); flex: none; font-family: var(--mono); font-size: .76rem; color: var(--ink); padding-left: 36px; background: linear-gradient(var(--line-2), var(--line-2)) left 0 top 52% / 24px 1px no-repeat; }
.band--ink .fig figcaption::before { color: #fff; }
.ph figcaption { margin-top: 12px; font-size: .86rem; color: var(--ink-3); line-height: 1.7; }
.shot { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: 0 40px 70px -48px rgba(0, 0, 0, .4), 0 2px 6px rgba(0, 0, 0, .04); }
.shot img { width: 100%; }
.shot__bar { display: flex; align-items: center; justify-content: center; height: 36px; border-bottom: 1px solid var(--line); background: #fafafa; }
.shot__url { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); direction: ltr; padding: 2px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); line-height: 1.5; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.band--ink .shot { border-color: rgba(255, 255, 255, .16); background: #0b0b0b; box-shadow: none; }
.rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ───────── bands ───────── */
.band--ink { background: var(--ink); color: #f4f4f4; --line: rgba(255, 255, 255, .17); --line-2: rgba(255, 255, 255, .3); --ink-2: #e0e0e0; --ink-3: #ababab; --grid: rgba(255, 255, 255, .075); }
.band--mist { background: var(--alt); --grid: rgba(10, 10, 10, .07); }
.split { display: grid; gap: clamp(24px, 4vw, 40px); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); } .split__head { position: sticky; top: 110px; align-self: start; } }

.pts { display: grid; gap: 0 clamp(24px, 3vw, 44px); }
.pts > div { padding-block: 18px 20px; border-top: 1px solid var(--line); }
.pts dt { font-weight: 600; font-size: 1.08rem; line-height: 1.7; }
.pts dd { color: var(--ink-3); font-size: 1rem; margin-top: 2px; max-width: 31em; }
@media (min-width: 640px) { .pts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pts--one { grid-template-columns: minmax(0, 1fr); } }
.lead + .pts, .lead + .rules { margin-top: clamp(28px, 4vw, 48px); }

/* ───────── the idea: three statements ───────── */
.say { display: grid; gap: 18px 40px; padding-block: clamp(32px, 5vw, 64px); border-top: 1px solid var(--ink); }
.say:last-child { padding-bottom: 0; }
.say__h { font-size: clamp(1.9rem, 1rem + 3.6vw, 3.9rem); font-weight: 600; line-height: 1.35; }
.say__b { display: grid; gap: 22px; align-content: start; }
.say__b p { font-size: clamp(1.08rem, 1rem + .32vw, 1.22rem); line-height: 1.95; color: var(--ink-2); max-width: 32em; }
.say__b .fig { margin-top: 12px; }
@media (min-width: 960px) { .say { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.tree { margin-top: 10px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: .97rem; max-width: 36em; box-shadow: 0 30px 50px -44px rgba(0, 0, 0, .35); }
.tree figcaption { font-size: .86rem; color: var(--ink-3); margin-bottom: 10px; }
.tree ul ul { margin-inline-start: 7px; padding-inline-start: 18px; border-inline-start: 1px solid var(--line-2); }
.tree li { padding-block: 3px; line-height: 1.8; }
.tree b { font-weight: 600; }
.tree small { font-size: .78rem; color: var(--ink-3); margin-inline-start: 8px; padding: 1px 9px; border: 1px solid var(--line); border-radius: 999px; }
.tree__file { color: var(--ink-3); }

/* ───────── the demo band ───────── */
.try .split { margin-bottom: clamp(32px, 5vw, 60px); }
.try .split__head { position: static; }
.try__tag { display: flex; justify-content: center; margin-bottom: -1px; }
.try__tag span { display: inline-block; padding: 7px 20px 6px; font-size: .86rem; font-weight: 600; background: var(--ink); color: #fff; border-radius: 10px 10px 0 0; line-height: 1.7; }
.try__fine { margin: 18px auto 0; text-align: center; }

/* ───────── tour ───────── */
.tour__open, .needs__open, .plans__open { display: grid; gap: 20px 60px; margin-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 960px) { .tour__open, .needs__open, .plans__open { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: end; } }
.ch { display: grid; gap: clamp(28px, 4vw, 52px) clamp(36px, 5vw, 80px); }
.ch + .ch { margin-top: clamp(84px, 11vw, 168px); }
.ch__head h3 { margin-bottom: 12px; }
.ch__head p { color: var(--ink-2); max-width: 31em; }
.ch__text { display: grid; gap: 28px; align-content: start; }
.ch__fig { display: grid; gap: 36px; align-content: start; min-width: 0; }
.pair, .trio { display: grid; gap: 36px 28px; align-items: start; }
@media (min-width: 960px) {
  .ch--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .ch--wide > .ch__fig { grid-column: 1 / -1; }
  .ch--side { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .ch--flip > .ch__text { order: 2; }
  .ch--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .ch--pair > .ch__head { max-width: 40em; }
  .pair { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); }
  .pair--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); }
  .ch__pts--full { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ch__pts--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tablewrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: 0 30px 50px -44px rgba(0, 0, 0, .35); }
.perm { width: 100%; min-width: 470px; border-collapse: collapse; font-size: .95rem; }
.perm caption { text-align: start; padding: 16px 18px 10px; font-weight: 600; font-size: 1.02rem; }
.perm th, .perm td { padding: 11px 14px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; line-height: 1.6; }
.perm thead th { font-weight: 600; font-size: .86rem; color: var(--ink-3); white-space: nowrap; }
.perm th[scope="row"], .perm thead th:first-child { text-align: start; font-weight: 400; padding-inline-start: 18px; }
.perm i { display: inline-block; vertical-align: middle; }
.perm i.y { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.perm i.n { width: 12px; height: 1px; background: var(--line-2); }
.perm small { display: block; font-size: .74rem; color: var(--ink-3); }

/* ───────── light and dark band ───────── */
.night__head { display: grid; gap: 18px 60px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 960px) { .night__head { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: end; } }

/* ───────── phone ───────── */
.rail { position: relative; z-index: 1; display: flex; gap: clamp(18px, 2.4vw, 30px); align-items: flex-start; justify-content: safe center; overflow-x: auto; padding: clamp(40px, 6vw, 72px) var(--gutter) 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ph { flex: none; width: min(60vw, 204px); scroll-snap-align: center; }
.phone { border: 7px solid var(--ink); border-radius: 34px; overflow: hidden; background: #fff; aspect-ratio: 780 / 1688; box-shadow: 0 34px 60px -40px rgba(0, 0, 0, .45); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ph figcaption { text-align: center; }
@media (min-width: 900px) { .rail { flex-wrap: wrap; overflow: visible; row-gap: 40px; } }
@media (min-width: 1400px) { .rail { flex-wrap: nowrap; gap: 24px; } .ph { width: 186px; } }

/* ───────── privacy ───────── */
.vow { margin-block: clamp(32px, 5vw, 60px) clamp(44px, 7vw, 88px); padding-block: clamp(28px, 4vw, 48px); border-block: 1px solid var(--line); }
.vow p { font-weight: 500; font-size: clamp(1.5rem, .9rem + 2.7vw, 3rem); line-height: 1.7; max-width: 21em; text-wrap: balance; }
.privacy__grid { display: grid; gap: 40px clamp(40px, 6vw, 100px); }
.privacy__note { display: grid; gap: 18px; align-content: start; }
.privacy__note p { font-size: 1.1rem; line-height: 1.95; color: var(--ink-2); max-width: 30em; }
@media (min-width: 960px) { .privacy__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ───────── requirements: one thing against many ───────── */
.cols { display: grid; gap: 48px clamp(40px, 6vw, 100px); align-items: start; }
@media (min-width: 900px) { .cols--needs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.cols__h { font-size: 1.3rem; padding-bottom: 16px; }
.one { position: relative; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 40px 70px -52px rgba(0, 0, 0, .4); }
.one .cols__h { padding-bottom: 0; }
.one__n { font-family: var(--mono); font-size: clamp(6rem, 11vw, 9.5rem); font-weight: 400; line-height: 1.15; color: var(--ink); }
.one__t { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); font-weight: 600; line-height: 1.5; }
.one__d { margin-top: 10px; color: var(--ink-2); }
.one .fine { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ───────── why: the cost table ───────── */
.calc { padding: clamp(18px, 2.6vw, 36px); border: 1px solid var(--line); border-top: 1px solid var(--ink); border-radius: 0 0 14px 14px; background: var(--card); box-shadow: 0 40px 70px -52px rgba(0, 0, 0, .4); }
.calc__top { display: grid; gap: 12px 28px; align-items: center; margin-bottom: 22px; }
.calc__lab { display: flex; align-items: baseline; gap: 14px; font-weight: 600; font-size: 1.08rem; }
.calc__n { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 600; line-height: 1.2; min-width: 1.4em; font-variant-numeric: tabular-nums lining-nums; }
.calc__range { width: 100%; height: 44px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.calc__quick { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__quick button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; font-size: .94rem; color: var(--ink-2); transition: background-color .3s, color .3s, border-color .3s; }
.calc__quick button:hover { border-color: var(--ink); }
.calc__quick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 900px) { .calc__top { grid-template-columns: auto minmax(0, 1fr) auto; } }
.calc__store { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: -6px 0 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc__lab2 { font-weight: 600; font-size: 1rem; margin: 0; }
.calc__wrap { box-shadow: none; border-radius: 10px; }
.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 1rem; }
.cmp th, .cmp td { padding: 15px 16px; text-align: start; border-top: 1px solid var(--line); line-height: 1.7; vertical-align: baseline; }
.cmp thead th { border-top: 0; font-weight: 600; font-size: .86rem; color: var(--ink-3); }
.cmp tbody th { font-weight: 600; unicode-bidi: plaintext; }
.cmp td { color: var(--ink-2); }
.cmp .num { font-size: 1.35rem; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.cmp__us th, .cmp__us td, .cmp__us .num { background: var(--ink); color: #fff; }
.cmp__us th { font-size: 1.3rem; }
@media (max-width: 719px) { /* on phones each option is a small block: name, how it is counted, then the two totals side by side */
  .cmp { min-width: 0; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cmp tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 14px 14px 16px; border-top: 1px solid var(--line); }
  .cmp tbody tr:first-child { border-top: 0; }
  .cmp tbody th, .cmp tbody td { padding: 0; border: 0; }
  .cmp tbody th, .cmp tbody td:not(.num) { grid-column: 1 / -1; }
  .cmp tbody td:not(.num) { font-size: .92rem; margin-bottom: 8px; }
  .cmp .num::before { content: attr(data-l); display: block; font-size: .78rem; font-weight: 400; color: var(--ink-3); }
  .cmp__us { background: var(--ink); }
  .cmp__us .num::before { color: #c4c4c4; }
}
.calc__diff { margin-top: 20px; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 600; line-height: 1.7; }
.calc__note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); max-width: none; }
.why__more { margin-top: clamp(56px, 8vw, 110px); }
.why .split__head { position: static; }
.fair { margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line-2); border-radius: 14px; display: grid; gap: 10px; }
.fair h4 { font-size: 1.15rem; }
.fair p { color: var(--ink-2); max-width: 36em; }

/* ───────── plans ───────── */
.cycle { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 26px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); }
.cycle button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: .95rem; font-weight: 500; color: var(--ink-3); transition: background-color .3s, color .3s; }
.cycle button:hover { color: var(--ink); }
/* the one touch of colour on the page: the annual saving */
.save { display: inline-block; margin-inline-start: 8px; padding: 2px 10px; border-radius: 999px; background: #e3f5e8; color: #0b7a34; font-size: .82em; font-weight: 700; line-height: 1.7; white-space: nowrap; }
.plan__sub .save { margin-inline: 0 6px; }
.plan--featured .save { background: #1f9d4d; color: #fff; }
.cycle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plans__grid { display: grid; border: 1px solid var(--line); border-top: 1px solid var(--ink); border-radius: 0 0 14px 14px; background: var(--card); box-shadow: 0 40px 70px -52px rgba(0, 0, 0, .4); }
.plan { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px) clamp(20px, 2.6vw, 36px); border-bottom: 1px solid var(--line); }
.plan:last-child { border-bottom: 0; }
.plan__name { font-size: 1.7rem; }
.plan__who { color: var(--ink-3); font-size: 1rem; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 26px; min-height: 5.6rem; }
.plan__n { font-size: clamp(3.6rem, 2.6rem + 3vw, 5.2rem); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.plan__u { font-size: 1rem; color: var(--ink-2); }
.plan__ask { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); font-weight: 600; line-height: 1.5; align-self: flex-end; }
.plan__sub { font-size: .9rem; color: var(--ink-3); margin-top: 4px; min-height: 1.8em; }
.plan .ticks { margin-block: 26px 30px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.ticks li { position: relative; padding: 9px 0; padding-inline-start: 26px; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.7; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 1.05em; width: 11px; height: 6px; border: solid var(--ink); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
@media (min-width: 900px) {
  .plans__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan { border-bottom: 0; }
  .plan + .plan { border-inline-start: 1px solid var(--line); }
}
.plan--featured { position: relative; order: -1; background: var(--ink); color: #fff; --line: rgba(255, 255, 255, .22); --ink-2: #e8e8e8; --ink-3: #b8b8b8; }
.plan--featured .ticks li::before { border-color: #fff; }
.plan--featured .btn { background: #fff; color: var(--ink); border-color: #fff; }
.plan--featured .btn:hover { background: #dcdcdc; }
.plan__tag { align-self: flex-start; margin-bottom: 14px; padding: 4px 16px 3px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .88rem; font-weight: 700; line-height: 1.7; }
.plan__why { margin-top: 10px; font-size: .95rem; line-height: 1.8; color: var(--ink-2); max-width: 24em; }
@media (min-width: 900px) {
  .plan--featured { order: 0; margin-block: -18px; padding-block: calc(clamp(26px, 3vw, 40px) + 18px); border-radius: 14px; box-shadow: 0 40px 60px -36px rgba(0, 0, 0, .6); border-inline-start: 0 !important; }
  .plan--featured + .plan { border-inline-start: 0; }
  .plan:not(.plan--featured) .plan__name { margin-top: 0; }
}
.plans__notes { display: grid; gap: 14px 60px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 900px) { .plans__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps__h { margin-top: clamp(64px, 9vw, 120px); margin-bottom: 24px; }
.steps { display: grid; counter-reset: s; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; padding-block: 22px; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-size: .86rem; color: var(--ink-3); margin-bottom: 6px; }
.steps h4 { font-size: 1.3rem; }
.steps p { color: var(--ink-3); font-size: 1rem; max-width: 24em; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps li { border-bottom: 0; padding-inline-end: 32px; } .steps li + li { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); } }

/* ───────── plainly, FAQ ───────── */
.rules li { padding-block: 18px; border-top: 1px solid var(--line-2); max-width: 42em; color: var(--ink-2); }
.rules li:last-child { border-bottom: 1px solid var(--line-2); }
.qa { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding-inline: clamp(18px, 2.4vw, 32px); box-shadow: 0 40px 70px -52px rgba(0, 0, 0, .4); }
.qa details + details { border-top: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding-block: 14px; cursor: pointer; font-weight: 600; font-size: 1.1rem; line-height: 1.7; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .5s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--ink-3); }
.qa details p { padding-bottom: 24px; color: var(--ink-2); max-width: 38em; }

/* ───────── closing and footer ───────── */
.close { overflow: clip; }
.close__h { font-size: clamp(2.5rem, .5rem + 8.4vw, 6rem); font-weight: 650; line-height: 1.34; }
.close__row { display: grid; gap: 36px 60px; margin-top: clamp(36px, 5vw, 64px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid rgba(255, 255, 255, .34); }
@media (min-width: 900px) { .close__row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.next { counter-reset: n; display: grid; gap: 4px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); padding-block: 10px; font-size: 1.12rem; color: #e6e6e6; }
.next li::before { content: counter(n, decimal-leading-zero); font-family: var(--mono); font-size: .86rem; color: var(--ink-3); padding-top: .25em; }
.close__cta { display: grid; gap: 14px; justify-items: start; align-content: start; }
.foot { padding-block: 40px 56px; border-top: 1px solid var(--line); }
.foot__in { display: grid; gap: 14px; }
.foot__mark { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.foot__mark b { font-size: 1.5rem; font-weight: 700; }
.foot__mark span, .foot__note, .foot__dom { color: var(--ink-3); font-size: .92rem; }
.foot__note { max-width: 46em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .rv { opacity: 1; transform: none; }
}
.cmp tbody th { text-align: right; }

.noscript { margin: 0; padding: 14px var(--gutter); background: var(--ink); color: #fff; text-align: center; font-size: .95rem; }
