:root {
  --asphalt: #1C2230;
  --asphalt-2: #2A3244;
  --yellow: #F2B705;
  --yellow-ink: #3A2C00;
  --cobalt: #1D4E89;
  --sand: #EDE3CF;
  --paper: #FFFFFF;
  --ink: #1C2230;
  --muted: #5B6475;
  --line: #DDE1E8;
  --red: #C8372D;
  --green: #2E7D4F;
  --font: 'Archivo', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-stretch: 112%; font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
.ar { font-family: 'Noto Kufi Arabic', sans-serif; font-weight: 700; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; font-stretch: 105%; border-radius: 6px; padding: 10px 18px; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn.big { padding: 15px 24px; font-size: 17px; }
.btn.block { width: 100%; }
.btn.yellow { background: var(--yellow); color: var(--yellow-ink); }
.btn.yellow:hover { background: #FFC71F; }
.btn.yellow:active { transform: translateY(1px); }
.btn.ghost { color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.line { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.line:hover { background: rgba(255,255,255,.12); }

/* Navigation */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 18px 32px; color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 118%; font-size: 21px; }
.brand img { width: 38px; height: 38px; display: block; }
.brand span { font-weight: 500; }
.brand b { font-weight: 800; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { text-decoration: none; font-weight: 600; opacity: .9; }
.links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { display: flex; gap: 8px; }

/* Hero */
.hero { position: relative; min-height: 100svh; color: #fff; background: var(--asphalt); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,25,36,.94) 0%, rgba(20,25,36,.82) 45%, rgba(20,25,36,.35) 100%); }
.hero-inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 120px 24px 80px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; width: 100%; }
.kicker { color: var(--yellow); font-weight: 700; font-stretch: 105%; margin-bottom: 16px; font-size: 16px; }
.lead { font-size: 19px; color: #E4E8EF; max-width: 58ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.fine { font-size: 14px; color: #B9C1CF; }

/* Planning board in the hero */
.board { margin: 0; background: #fff; color: var(--ink); border-radius: 10px; padding: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.45); border-top: 6px solid var(--yellow); animation: rise .7s cubic-bezier(.2,.8,.2,1) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.board figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 15px; }
.board figcaption span { color: var(--muted); font-size: 13px; }
.board-days, .board li { display: grid; grid-template-columns: 92px repeat(6, 1fr); align-items: center; }
.board-days { font-size: 12px; color: var(--muted); text-align: center; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.board-days span:first-child { grid-column: 2; }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { min-height: 46px; border-bottom: 1px dashed var(--line); font-size: 13px; position: relative; }
.board li b { font-stretch: 90%; font-weight: 700; font-size: 13px; }
.bar { grid-row: 1; grid-column: calc(var(--s) + 2) / span var(--w); margin: 0 2px; padding: 5px 8px; border-radius: 5px; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar.rent { background: var(--cobalt); color: #fff; }
.bar.fix { background: #FBE3E1; color: var(--red); border: 1px solid #F1B9B4; }
.bar.free { background: repeating-linear-gradient(135deg, #F3F5F8 0 8px, #fff 8px 16px); color: var(--muted); border: 1px solid var(--line); }
.board-foot { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.dot.rent { background: var(--cobalt); } .dot.fix { background: var(--red); } .dot.free { background: #CDD3DC; }

/* Problem → solution */
.stakes { padding: 96px 0; }
.stakes p { color: var(--muted); font-size: 18px; max-width: 52ch; }
.swap { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.swap li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.swap s { color: #9AA2B1; text-decoration-color: var(--red); text-decoration-thickness: 2px; font-size: 15px; }
.swap span { font-weight: 600; }

/* Features */
.features { padding: 40px 0 96px; }
.features h2 { margin-bottom: 56px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.feat:last-child { margin-bottom: 0; }
.feat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--sand); }
.feat.flip img { order: 2; }
.feat p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; font-weight: 600; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--cobalt); border-bottom: 3px solid var(--cobalt); transform: rotate(-45deg); }

/* Materials */
.materials { background: var(--sand); padding: 72px 0; }
.materials h2 { max-width: 22ch; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 2px solid var(--asphalt); border-radius: 999px; padding: 8px 18px; font-weight: 700; font-stretch: 105%; }

/* Pricing */
.pricing { padding: 104px 0; background: var(--asphalt); color: #fff; }
.pricing p { color: #C5CCD8; font-size: 18px; max-width: 46ch; }
.pricing .ar.small { color: var(--yellow); font-size: 20px; margin-top: 18px; }
.price-card { background: #fff; color: var(--ink); border-radius: 10px; padding: 32px; border-top: 6px solid var(--yellow); }
.pricing .price-card p { color: var(--ink); max-width: none; font-size: inherit; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.price strong { font-size: 72px; font-stretch: 120%; line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.pricing .price-card .offer { color: var(--yellow-ink); }
.price-card .price span { color: var(--muted); }
.offer { display: inline-block; background: #FFF4CC; color: var(--yellow-ink); font-weight: 700; padding: 4px 10px; border-radius: 4px; margin: 12px 0 20px; }
.price-card .ticks { margin-bottom: 24px; }

/* FAQ */
.faq { padding: 96px 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--cobalt); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.final { background: var(--yellow); padding: 72px 0; text-align: center; }
.final h2 { color: var(--yellow-ink); }


/* Footer with zellige strip */
.foot { background: var(--asphalt); color: #fff; }
.zellige { height: 36px; background-color: var(--cobalt); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cg fill='none' stroke='%23F2B705' stroke-width='1.5'%3E%3Cpath d='M18 4l4 10 10 4-10 4-4 10-4-10-10-4 10-4z'/%3E%3Cpath d='M8 8h20v20H8z' transform='rotate(45 18 18)' stroke='%23ffffff' stroke-opacity='.35'/%3E%3C/g%3E%3C/svg%3E"); }

/* Reassurance under the hero CTA */
.assure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #D5DAE3; font-size: 15px; }
.assure li { padding-left: 24px; position: relative; }
.assure li::before { content: ''; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px; border-left: 2.5px solid var(--yellow); border-bottom: 2.5px solid var(--yellow); transform: rotate(-45deg); }

/* Proof bar */
.proofbar { background: var(--asphalt-2); color: #fff; padding: 20px 0; border-top: 1px solid #343D52; }
.proof-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.proof-inner p { margin: 0; font-weight: 700; font-stretch: 105%; }
.proof-inner ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: #C5CCD8; font-size: 15px; }
.proof-inner li::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--yellow); border-radius: 1px; margin-right: 9px; vertical-align: 2px; transform: rotate(45deg); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }
.features h2 { margin-bottom: 16px; }
.tag { color: var(--cobalt); font-weight: 700; font-size: 15px; margin-bottom: 8px; }

/* Steps */
.steps { padding: 96px 0; background: #F6F7F9; }
.step-list { list-style: none; counter-reset: step; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-list li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; position: relative; }
.step-list li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--asphalt); color: var(--yellow); font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.step-list h3 { font-size: 20px; }
.step-list p { color: var(--muted); margin: 0; }

.pricing .value { color: #fff; font-weight: 600; border-left: 3px solid var(--yellow); padding-left: 16px; margin-top: 24px; }
.price-card .fine { color: var(--muted); font-size: 14px; text-align: center; margin: 12px 0 0; }
.btn.dark { background: var(--asphalt); color: #fff; }
.btn.dark:hover { background: var(--asphalt-2); }
.final p { color: var(--yellow-ink); font-size: 18px; margin-bottom: 24px; }

/* Footer */
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; padding: 48px 24px 32px; }
.foot-grid a { display: block; color: #C5CCD8; text-decoration: none; margin-bottom: 8px; font-size: 15px; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-grid p { margin: 0 0 8px; }
.foot-grid .muted a { display: inline; }
.foot-brand { font-weight: 800; font-stretch: 115%; font-size: 20px; }
.foot-title { font-weight: 700; color: #fff; margin-bottom: 14px !important; }
.foot .muted { color: #9AA2B1; font-size: 15px; }
.foot-bottom { border-top: 1px solid #343D52; padding: 18px 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #9AA2B1; }

/* Legal pages */
.nav.solid { position: sticky; top: 0; background: var(--asphalt); }
.legal { padding: 56px 0 88px; }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-nav { position: sticky; top: 96px; display: grid; gap: 2px; }
.legal-nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: 15px; }
.legal-nav a:hover { background: #F1F2F5; color: var(--ink); }
.legal-nav a[aria-current] { background: var(--yellow-soft, #FFF4CC); color: var(--ink); }
.legal article { max-width: 72ch; }
.legal article h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 24px; }
.legal article h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal article h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal article p, .legal article li { color: #3A4252; }
.legal article ul { padding-left: 22px; margin: 0 0 1em; }
.legal article li { margin-bottom: 6px; }
.legal article a { color: var(--cobalt); }
.legal mark { background: #FFF4CC; color: var(--yellow-ink); padding: 0 4px; border-radius: 3px; }

@media (max-width: 920px) {
  .step-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr; gap: 24px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .legal-nav a { background: #F1F2F5; }
  .links { display: none; }
  .nav { padding: 14px 16px; }
  .nav-cta { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 110px; gap: 40px; }
  .two, .feat { grid-template-columns: 1fr; gap: 28px; }
  .feat.flip img { order: 0; }
  .feat { margin-bottom: 64px; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .proof-inner { display: grid; }
  .stakes, .steps { padding: 64px 0; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-cta .ghost { display: none; }
  .brand span { font-size: 18px; }
  .hero-inner { padding: 96px 16px 56px; }
  .hero-cta .btn { width: 100%; }
  .board-days, .board li { grid-template-columns: 76px repeat(6, 1fr); }
  .board li b { font-size: 11px; }
  .bar { font-size: 10px; padding: 4px 5px; }
  .faq, .pricing { padding: 64px 0; }
  .price strong { font-size: 60px; }
}

/* Wordmark */
.brand span { text-transform: uppercase; letter-spacing: .06em; font-stretch: 125%; font-weight: 800; color: var(--yellow); font-size: 18px; }
.brand b { color: #fff; font-weight: 800; }
.foot-brand { text-transform: uppercase; letter-spacing: .06em; font-stretch: 125%; }
