@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("fonts/ibm-plex-sans-arabic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("fonts/ibm-plex-sans-arabic-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --paper: #f3eee1; --ink: #12261f; --text: #47574f; --faint: #5a6862; --line: #dcd5c2; --white: #faf6ea;
  --accent: #cdf15a; --accent-2: #bce63f; --deep: #174b39;
  --lime: #eef8c6; --mint: #dcf1e3; --sand: #e9dfc6; --sky: #dcecf1;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.55 "Instrument Sans", "IBM Plex Sans Arabic", system-ui, sans-serif; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 92px); line-height: 1; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.25; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; color: var(--text); }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .icon.flip { transform: scaleX(-1); }
:focus-visible { outline: 2px solid var(--deep); outline-offset: 2px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { top: 8px; }
.fine { color: var(--faint); font-size: 14px; }
figcaption { color: var(--faint); font-size: 14px; margin-block-start: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px 28px; border-radius: 99px; background: var(--accent); color: var(--ink); font-weight: 600; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--accent-2); }
.btn.soon { pointer-events: none; }
.btn.small { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn.plain { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.plain:hover { background: var(--sand); }
.btn.dark-ink { background: var(--ink); color: #fff; }
.btn.dark-ink:hover { background: var(--deep); }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-underline-offset: 4px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Floating navigation */
.top { position: sticky; top: 12px; z-index: 20; margin-block-start: 12px; }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; padding-inline: 20px 10px; background: rgb(250 246 234 / .92); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 99px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.brand-name { width: auto; height: 18px; }
.main-nav { display: flex; gap: 2px; margin-inline: auto; }
.main-nav a, .login, .langs summary { padding: 8px 13px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 15px; }
.main-nav a:hover, .main-nav a[aria-current], .login:hover, .langs summary:hover { background: var(--sand); }
.top-end { display: flex; align-items: center; gap: 2px; }
.top-end .btn { margin-inline-start: 6px; }
details { position: relative; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.burger { display: none; }
.burger summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sand); }
.drop { position: absolute; inset-inline-end: 0; top: calc(100% + 12px); min-width: 200px; display: grid; gap: 2px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px rgb(18 38 31 / .12); }
.drop a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; }
.drop a:hover, .drop a[aria-current] { background: var(--sand); }

/* Opening */
.opening { padding-block-start: clamp(56px, 8vw, 104px); text-align: center; }
.opening h1 { width: fit-content; margin-inline: auto; font-size: min(92px, max(7vw, min(44px, (100vw - 32px) / 9))); line-height: 1.12; white-space: nowrap; }
.opening h1 > span { display: block; }
.opening h1 > .title-fit { display: flex; align-items: baseline; gap: .24em; }
.title-fit img { flex: 1 1 0; width: 0; min-width: 0; height: auto; }
.word-logo { display: inline-block; width: auto; height: .76em; vertical-align: -.02em; }
.opening .lead { margin-block-start: 24px; }
.opening .cta { justify-content: center; margin-block-start: 32px; }
.opening .fine { margin-block-start: 16px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block-start: 20px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 18px 7px 14px; border-radius: 12px; background: #000; color: #fff; font-size: 17px; font-weight: 600; line-height: 1.15; text-align: start; text-decoration: none; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 500; }
.stage { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; margin-block-start: clamp(44px, 6vw, 72px); padding: clamp(20px, 3.4vw, 44px); border-radius: 40px; background: var(--mint); text-align: start; }
.stage-col { display: grid; gap: 20px; margin-block-start: 56px; }
.stage-col.mid { margin-block-start: 0; }
.stage figcaption { grid-column: 1 / -1; justify-self: start; margin: 0; padding: 4px 12px; background: var(--white); border-radius: 99px; color: var(--ink); font-size: 13px; }
.piece { overflow: hidden; border-radius: 20px; background: var(--white); box-shadow: 0 10px 30px rgb(18 38 31 / .1); }
.piece img { width: 100%; }

/* Sections */
.block { padding-block-start: clamp(80px, 10vw, 144px); }
.block.tight { padding-block-start: clamp(32px, 4vw, 56px); }
.block.last { padding-block-end: clamp(48px, 6vw, 72px); }
.title { margin-block-end: clamp(32px, 4vw, 52px); }
.title .lead { margin-block-start: 16px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { grid-column: span 5; display: flex; flex-direction: column; padding: 32px; border-radius: 32px; }
.tile .piece { flex: 1; background: #fff; }
.tile.wide { grid-column: span 7; }
.tile p { margin-block: 8px 28px; color: var(--text); max-width: 30em; }
.lime { background: var(--lime); } .mint { background: var(--mint); } .sand { background: var(--sand); } .sky { background: var(--sky); }
.bento + .fine { margin-block-start: 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block: 36px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 99px; font-size: 15px; font-weight: 600; }
.chips .icon { color: var(--deep); }

/* Steps as three descending blocks */
.flow-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-block-end: clamp(32px, 4vw, 52px); }
.flow-head .lead { margin-block-start: 16px; }
.flow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: n; }
.flow-list li { display: flex; flex-direction: column; min-height: 340px; padding: 32px; border-radius: 32px; background: var(--lime); counter-increment: n; }
.flow-list li:nth-child(2) { background: var(--mint); }
.flow-list li:nth-child(3) { background: var(--sky); }
.flow-list li::before { content: counter(n); margin-block-end: auto; padding-block-end: 32px; color: var(--deep); font-size: clamp(88px, 10vw, 136px); font-weight: 600; line-height: .9; letter-spacing: -.04em; }
.flow-list h3 { font-size: clamp(24px, 2.2vw, 30px); min-height: 2.4em; }
.flow-list p { margin-block-start: 8px; color: var(--text); }

/* Phone and promises */
.safe { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.safe .lead { margin-block: 16px 20px; }
.safe-art { padding: 40px 40px 16px; border-radius: 32px; background: var(--sky); text-align: center; }
.handset { max-width: 340px; margin-inline: auto; overflow: hidden; border: 6px solid var(--white); border-radius: 36px; box-shadow: 0 16px 40px rgb(18 38 31 / .16); }
.checks { display: grid; gap: 4px; margin-block: 28px; }
.checks li { display: flex; align-items: center; gap: 16px; padding-block: 12px; font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; line-height: 1.3; }
.dot { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--mint); color: var(--deep); }

.checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.checks.two li { padding: 24px; border-radius: 24px; background: var(--lime); }
.checks.two .dot { background: var(--white); }

/* Closing */
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(32px, 5vw, 64px); border-radius: 40px; background: var(--lime); }
.closing > div:first-child { flex: 1 1 320px; }
.closing h2 { max-width: 12em; }
.closing .cta { flex: none; }
.closing .btn { background: var(--ink); color: #fff; }
.closing .btn:hover { background: var(--deep); }
.closing .btn.plain { background: transparent; color: var(--ink); }
.closing .btn.plain:hover { background: var(--accent); }

/* Inner pages */
.intro { padding-block-start: clamp(56px, 8vw, 104px); text-align: center; }
.intro h1 { font-size: clamp(40px, 5vw, 64px); }
.intro .lead { max-width: 40em; margin: 20px auto 0; white-space: pre-line; }
.phone-break { display: none; }
@media (max-width: 640px) { .phone-break { display: inline; } }
.stack { display: grid; gap: 20px; }
.wide-tile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: 32px; }
.wide-tile h2 { font-size: clamp(28px, 3vw, 40px); }
.wide-tile .lead { margin-block-start: 14px; }
.stack > :nth-child(2) figure { max-width: 380px; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-block-start: 44px; }
.title + .notes { margin-block-start: 0; }
.notes p { margin-block-start: 6px; color: var(--text); }
.notes h3 { font-size: 21px; }
.notes.tinted { gap: 20px; margin-block-end: 32px; }
.notes.tinted li { padding: 28px; border-radius: 28px; background: var(--sand); }
.notes.tinted li:nth-child(2) { background: var(--mint); }
.notes.tinted li:nth-child(3) { background: var(--sky); }
.notes.tinted li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
.notes.tinted .dot { background: var(--white); }
.notes.tinted p { grid-column: 1 / -1; margin-block-start: 14px; }

/* Pricing */
.plan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; border-radius: 40px; background: var(--white); border: 1px solid var(--line); }
.plan-price { padding: clamp(28px, 4vw, 56px); background: var(--lime); }
.amount { margin-block: 12px 28px; color: var(--text); }
.amount strong { display: inline-block; font-size: clamp(56px, 7vw, 88px); font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.plan-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; align-content: center; padding: clamp(28px, 4vw, 56px); }
.plan-items li { display: flex; gap: 10px; line-height: 1.35; }
.plan-items .icon { color: var(--deep); margin-block-start: 1px; }

/* Calculators: one at a time, questions beside the answer */
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-block-end: 12px; }
.tab { display: grid; align-content: space-between; gap: 20px; min-height: 116px; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); font-size: 16px; font-weight: 600; line-height: 1.25; cursor: pointer; }
.tab input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tab:hover { background: var(--sand); }
.tab:has(:checked) { background: var(--accent); border-color: var(--accent); }
.tab:has(:focus-visible) { outline: 2px solid var(--deep); outline-offset: 2px; }
.calc { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 32px; background: var(--white); }
.calc-area:has(.tab:nth-child(1) :checked) .calc:nth-child(1),
.calc-area:has(.tab:nth-child(2) :checked) .calc:nth-child(2),
.calc-area:has(.tab:nth-child(3) :checked) .calc:nth-child(3),
.calc-area:has(.tab:nth-child(4) :checked) .calc:nth-child(4) { display: grid; }
.calc-ask { padding: clamp(16px, 3vw, 32px); }
.calc h2 { font-size: clamp(26px, 3vw, 36px); }
.calc-desc { margin-block-start: 8px; color: var(--text); }
.calc-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-block-start: 28px; }
.calc-fields label > span:first-child { display: block; margin-block-end: 6px; font-size: 15px; font-weight: 600; }
.calc-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.calc-input:focus-within { outline: 2px solid var(--deep); }
.calc-input input { flex: 1; min-width: 0; min-height: 54px; padding: 8px 16px; border: 0; background: transparent; font: inherit; color: inherit; outline: 0; }
.calc-input b { padding-inline: 16px; color: var(--faint); font-size: 15px; }
.calc-answer { display: grid; align-content: center; min-height: 280px; padding: clamp(20px, 3vw, 40px); border-radius: 22px; background: var(--mint); }
.calc-message { color: var(--text); text-align: center; }
.calc-results { display: grid; margin: 0; }
.calc-results div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-block-start: 1px solid rgb(18 38 31 / .14); }
.calc-results div:first-child { display: grid; gap: 6px; padding-block: 0 22px; border: 0; }
.calc-results div:first-child dd { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.02em; text-align: start; }
.calc-results dd { margin: 0; font-weight: 700; text-align: end; }
.calc-area > .fine { margin-block-start: 20px; }

/* Legal */
.legal-page { padding-block: clamp(24px, 3vw, 40px) clamp(56px, 7vw, 96px); }
.legal-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--lime); }
.legal-banner h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; }
@media (min-width: 1081px) { .legal-banner h1 { font-size: clamp(40px, 4vw, 60px); white-space: nowrap; } .legal-banner div p { max-width: none; white-space: nowrap; } }
.legal-banner p { margin: 14px 0 0; max-width: 34em; color: var(--text); }
.legal-banner .legal-date { flex: none; margin: 0; font-size: 15px; }
.legal-sheet { margin-block-start: 12px; padding-inline: clamp(20px, 5vw, 64px); border: 1px solid var(--line); border-radius: 32px; background: var(--white); }
.legal-sheet section { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px clamp(32px, 5vw, 72px); padding-block: clamp(28px, 3.5vw, 44px); border-block-start: 1px solid var(--line); }
.legal-sheet section:first-child { border: 0; }
.legal-sheet h2 { font-size: clamp(21px, 2vw, 25px); line-height: 1.25; letter-spacing: -.015em; }
.legal-sheet p { margin: 0 0 14px; color: var(--text); }
.legal-sheet p:last-child { margin-block-end: 0; }

footer { padding-block: 40px 28px; border-top: 1px solid var(--line); margin-block-start: clamp(48px, 6vw, 72px); font-size: 15px; }
.block.last + footer, main:has(.block.last) + footer { margin-block-start: 0; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; }
.foot-row + .foot-row { margin-block-start: 20px; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-row nav a { text-decoration: none; font-weight: 600; }
.foot-row nav a:hover, .foot-row nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.foot-copy { color: var(--faint); font-size: 14px; }
.soon-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1200px); align-content: center; justify-content: center; justify-items: center; gap: 24px; text-align: center; padding: 32px 20px; }
.soon-page h1 { font-size: clamp(40px, 6vw, 72px); }
.soon-page .lead { max-width: 28em; }
.soon-langs, .soon-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.soon-langs a, .soon-legal a { text-decoration: none; font-weight: 600; }
.soon-langs a[aria-current], .soon-langs a:hover, .soon-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.soon-legal a { color: var(--faint); font-size: 14px; font-weight: 400; }
.lost { min-height: 100vh; display: grid; place-content: center; gap: 12px; text-align: center; padding: 16px; }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .top-end { margin-inline-start: auto; }
  .burger { display: block; margin-inline-start: 6px; }
  .tile, .tile.wide { grid-column: span 12; }
  .safe, .wide-tile, .plan, .legal-sheet section { grid-template-columns: minmax(0, 1fr); }
  .legal-banner { flex-direction: column; align-items: start; }
  .flow-list { grid-template-columns: minmax(0, 1fr); }
  .flow-list li { min-height: 240px; }
  .flow-list h3 { min-height: 0; }
  .stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-col:last-of-type { display: none; }
}
@media (max-width: 860px) {
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-area:has(.tab :checked) .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-answer { min-height: 160px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .top-in { gap: 8px; min-height: 58px; padding-inline: 14px 7px; }
  .top-end > .btn.small, .top-end > .login { display: none; }
  .cta, .opening .cta { flex-direction: column; }
  .btn:not(.small) { width: 100%; }
  .soon-page .btn { width: auto; }
  .stage { grid-template-columns: minmax(0, 1fr); border-radius: 28px; }
  .stage-col:first-child { display: none; }
  .stage-col.mid { margin: 0; }
  .tile, .tile.wide { padding: 20px; border-radius: 28px; }
  .notes, .plan-items, .checks.two { grid-template-columns: minmax(0, 1fr); }
  .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .chips li { display: flex; padding: 12px; border-radius: 14px; font-size: 14px; line-height: 1.25; }
  .chips .icon { flex: none; }
  .foot-row + .foot-row { flex-direction: column-reverse; align-items: flex-start; }
  .foot-row { row-gap: 16px; }
  .foot-row + .foot-row { margin-block-start: 16px; }
  .foot-row:first-child { flex-direction: column; align-items: flex-start; }
  .foot-row nav { flex-wrap: nowrap; gap: 8px 14px; font-size: 14px; white-space: nowrap; }
  .plan, .closing, .safe-art { border-radius: 28px; }
}
@media (max-width: 360px) {
  .top-in { gap: 8px; padding-inline: 12px 8px; }
  .brand-name { height: 14px; }
  .foot-row nav { gap: 8px 10px; font-size: 13px; }
  .tab { padding: 14px; font-size: 14px; }
}

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