/* ─────────────────────────────────────────────────────────────
   Onwards Digital — design system
   Paper-white editorial. Serif display, grotesk body, hairlines,
   square corners. No gradients, no glow, no rounded cards.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #f6f4ef;
  --paper: #fbfaf7;
  --stone: #e4dfd4;
  --stone-2: #dcd6ca;
  --ink: #1a1917;
  --body: #3d3833;
  --muted: #6b6257;
  --hair: #d9d4c9;
  --hair-soft: #e3ded4;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 48px;
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

/* Type ------------------------------------------------------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.cap { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.muted { color: var(--muted); }
.lede { font-size: 16px; line-height: 1.6; color: var(--body); }
.h-display { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -0.01em; text-wrap: pretty; }
.h-section { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -0.01em; }
.h-sub { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 44px); line-height: 1.05; }
.price { font-family: var(--serif); font-size: 48px; line-height: 1; }
.price small { font-family: var(--serif); font-size: 20px; color: var(--muted); }

/* Layout ----------------------------------------------------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 104px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 32px; }
.section-head .stack { display: flex; flex-direction: column; gap: 8px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.rule { border-top: 1px solid var(--ink); }
.hair { border-top: 1px solid var(--hair); }

/* Buttons ---------------------------------------------------- */
.btn, .btn-line, .btn-text {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--ink); transition: background .15s ease, color .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn { background: var(--ink); color: var(--bg); }
.btn:hover { background: #2e2c29; color: var(--bg); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-text { border: 0; min-height: 0; padding: 0 0 3px 0; border-bottom: 1px solid var(--ink); }
.btn-text:hover { color: var(--muted); border-color: var(--muted); }
.btn[disabled], .btn-line[disabled] { opacity: .4; cursor: not-allowed; }
.btn-block { width: 100%; }

/* Currency dropdown ------------------------------------------ */
.cur-dd { font: inherit; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: var(--ink); background: transparent; border: 1px solid var(--ink); padding: 8px 32px 8px 14px; border-radius: 0; -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1917' stroke-width='1.5'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; }
.cur-dd:focus { outline: none; box-shadow: inset 0 0 0 1px var(--ink); }
.cur-dd.small { border: 0; padding: 4px 22px 4px 0; background-position: right 4px center; color: var(--muted); }
.cur-dd.small:hover { color: var(--ink); }
.cur-select { display: inline-flex; align-items: center; gap: 14px; }

/* Utility bar + header --------------------------------------- */
.utility { border-bottom: 1px solid var(--hair); font-size: 12px; color: var(--muted); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.utility .right { display: flex; gap: 24px; align-items: center; }
.currency { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; user-select: none; }
.currency span { padding: 2px 0; }
.currency .on { color: var(--ink); border-bottom: 1px solid var(--ink); }

.header { padding-top: 30px; }
.header .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.wordmark { font-family: var(--serif); font-size: 34px; line-height: 1; letter-spacing: 0; }
.nav { display: flex; gap: 40px; justify-content: center; width: 100%; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.nav a { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; padding: 4px 0; }
.nav-toggle { display: none; }

/* Sub-page header (compact) ---------------------------------- */
.header.compact { padding-top: 22px; }
.header.compact .wrap { flex-direction: row; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.header.compact .wordmark { font-size: 26px; }
.header.compact .back { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }

/* Hero ------------------------------------------------------- */
.hero { margin-top: 0; }
.hero-band { position: relative; background: var(--stone); min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding: 72px; display: flex; flex-direction: column; gap: 22px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; padding-top: 6px; flex-wrap: wrap; }
.browser { position: absolute; right: 72px; top: 80px; width: 640px; background: var(--paper); border: 1px solid #cfc9bc; display: flex; flex-direction: column; }
.browser-bar { height: 34px; border-bottom: 1px solid var(--hair-soft); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.browser-bar i { width: 8px; height: 8px; border: 1px solid #b8b1a4; display: block; }
.browser-bar span { margin-left: 14px; font-size: 11px; color: #9a9184; }
.browser-body { padding: 36px 40px; display: flex; flex-direction: column; gap: 26px; }
.browser-body .ph { height: 200px; background: #d8d1c4; }
.mini-row { display: flex; justify-content: space-between; font-size: 13px; border-top: 1px solid var(--hair-soft); padding-top: 8px; }

/* Tiles ------------------------------------------------------ */
.tile { display: flex; flex-direction: column; gap: 14px; }
.tile .ph { aspect-ratio: 1 / 1; background: var(--stone); position: relative; overflow: hidden; }
.tile .ph.alt { background: var(--stone-2); }
.tile .ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile .name { font-size: 16px; }
.tile .sub { font-size: 13px; color: var(--muted); }
.tile .meta { display: flex; flex-direction: column; gap: 4px; }

/* Steps ------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.step { padding: 28px 28px 8px 0; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 14px; }
.step:last-child { border-right: 0; }
.step + .step { padding-left: 28px; }
.step .n { font-family: var(--serif); font-size: 40px; line-height: 1; }
.step .t { font-size: 16px; }
.step .d { font-size: 14px; line-height: 1.55; color: var(--body); }

/* Pricing ---------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ink); }
.plan { padding: 32px 28px; display: flex; flex-direction: column; gap: 24px; border-right: 1px solid var(--ink); }
.plan:last-child { border-right: 0; }
.plan.featured { background: var(--paper); }
.plan-head { display: flex; flex-direction: column; gap: 14px; }
.plan-head .row { display: flex; justify-content: space-between; align-items: baseline; }
.plan-head .tag { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.plan-desc { font-size: 14px; line-height: 1.55; color: var(--body); }
.features { display: flex; flex-direction: column; font-size: 14px; }
.features li { padding: 11px 0; border-top: 1px solid var(--hair); }
.features li:last-child { border-bottom: 1px solid var(--hair); }
.plan .btn, .plan .btn-line { margin-top: auto; }

/* Editor band ------------------------------------------------ */
.band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.band-visual { padding: 56px 56px 56px 0; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--hair); }
.band-copy { padding: 56px 0 56px 72px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.editor-card { width: 300px; background: var(--paper); border: 1px solid #cfc9bc; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.editor-card .row { display: flex; justify-content: space-between; font-size: 13px; padding: 10px 0; border-top: 1px solid var(--hair-soft); }
.editor-card .row.active { padding: 10px; margin: 0 -10px; border: 1px solid var(--ink); }
.editor-card .row.last { border-bottom: 1px solid var(--hair-soft); }
.editor-card .actions { display: flex; gap: 8px; padding-top: 6px; }
.editor-card .actions .btn, .editor-card .actions .btn-line { flex: 1; min-height: 40px; padding: 0; font-size: 11px; }
.ul { border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

/* Testimonials ----------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.quote { padding: 32px 32px 32px 0; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 18px; }
.quote + .quote { padding-left: 32px; }
.quote:last-child { border-right: 0; }
.quote .q { font-family: var(--serif); font-size: 24px; line-height: 1.25; }
.quote .who { font-size: 13px; color: var(--muted); }

/* CTA band --------------------------------------------------- */
.cta-band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 72px 0; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band .stack { display: flex; flex-direction: column; gap: 12px; }

/* Footer ----------------------------------------------------- */
.footer { border-top: 1px solid var(--ink); padding: 40px 0 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer .col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer .col .cap { color: var(--muted); }
.footer .brand { font-family: var(--serif); font-size: 22px; }
.footer .about { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 240px; }
.footer-wrap { margin-top: 104px; }

/* ── Plan / form pages ─────────────────────────────────────── */
.plan-page { display: grid; grid-template-columns: 5fr 7fr; gap: 0; margin-top: 56px; }
.plan-aside { padding-right: 56px; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 28px; }
.plan-aside .sticky { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 28px; }
.plan-main { padding-left: 72px; }
.form-title { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.form-sub { font-size: 15px; color: var(--body); margin-top: 8px; }
.form { display: flex; flex-direction: column; gap: 0; margin-top: 32px; border-top: 1px solid var(--ink); }
.field { display: flex; flex-direction: column; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.field label.cap { color: var(--muted); }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--hair); padding: 14px 16px; min-height: 48px;
  border-radius: 0; -webkit-appearance: none; appearance: none; outline: none;
  transition: border-color .15s ease;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: #a39b8e; }
.select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a1917' stroke-width='1.5'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid var(--hair); background: var(--paper); font-size: 14px; transition: border-color .15s ease; }
.choice input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + span { border-color: var(--ink); }
.upload { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 120px; border: 1px dashed #b8b1a4; background: var(--paper); cursor: pointer; text-align: center; padding: 20px; }
.upload:hover { border-color: var(--ink); }
.upload .t { font-size: 14px; }
.upload .h { font-size: 12px; color: var(--muted); }
.upload-preview { display: none; flex-direction: column; gap: 10px; }
.upload-preview .file { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border: 1px solid var(--hair); background: var(--paper); font-size: 14px; }
.upload-preview .file button { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--body); line-height: 1.5; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.addon { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--hair); background: var(--paper); cursor: pointer; transition: border-color .15s ease; }
.addon.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.addon .box { width: 18px; height: 18px; border: 1px solid var(--ink); flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; }
.addon .box svg { width: 12px; height: 12px; display: none; }
.addon.on .box svg { display: block; }
.addon .name { font-size: 15px; }
.addon .desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.submit-row { padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.submit-note { font-size: 13px; color: var(--muted); }
.success { display: none; padding: 48px 0; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); margin-top: 32px; }
.success.show { display: flex; }
.aside-features { display: flex; flex-direction: column; font-size: 14px; }
.aside-features li { padding: 11px 0; border-top: 1px solid var(--hair); }
.aside-features li:last-child { border-bottom: 1px solid var(--hair); }
.picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); margin-top: 32px; }
.pick { padding: 24px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--ink); cursor: pointer; transition: background .15s ease; }
.pick:last-child { border-right: 0; }
.pick:hover { background: var(--paper); }
.pick.on { background: var(--ink); color: var(--bg); }
.pick.on .muted { color: #b8b1a4; }
.pick .p { font-family: var(--serif); font-size: 32px; line-height: 1; }
.pick .p small { font-size: 14px; font-family: var(--sans); }
.pick .d { font-size: 13px; line-height: 1.5; }

/* ── Payment page ──────────────────────────────────────────── */
.pay { display: grid; grid-template-columns: 7fr 5fr; margin-top: 56px; }
.pay-main { padding-right: 72px; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 40px; }
.pay-aside { padding-left: 56px; display: flex; flex-direction: column; gap: 24px; }
.summary { border: 1px solid var(--ink); }
.summary .top { padding: 28px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--ink); }
.summary .rows { padding: 8px 28px; }
.summary .row { display: flex; justify-content: space-between; padding: 12px 0; font-size: 14px; border-top: 1px solid var(--hair); }
.summary .row:first-child { border-top: 0; }
.summary .row.total { font-size: 16px; border-top: 1px solid var(--ink); margin-top: 8px; padding-top: 16px; }
.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.method { border: 1px solid var(--hair); background: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 16px; cursor: pointer; transition: border-color .15s ease; position: relative; }
.method:hover, .method.on { border-color: var(--ink); }
.method.on { box-shadow: inset 0 0 0 1px var(--ink); }
.method .logo { height: 24px; display: flex; align-items: center; }
.method .logo svg { height: 22px; width: auto; }
.method .d { font-size: 13px; color: var(--body); line-height: 1.5; }
.method .radio { position: absolute; top: 20px; right: 20px; width: 16px; height: 16px; border: 1px solid var(--ink); border-radius: 50%; }
.method.on .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); }
.method.unavailable { opacity: .55; cursor: not-allowed; }
.next-steps { display: flex; flex-direction: column; }
.next-steps li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hair); font-size: 14px; line-height: 1.5; color: var(--body); }
.next-steps li:last-child { border-bottom: 1px solid var(--hair); }
.next-steps .n { font-family: var(--serif); font-size: 22px; line-height: 1; min-width: 20px; }
.secure { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }

/* Validation ------------------------------------------------- */
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: #9a3b2a; }
.field.invalid .choice span { border-color: #c9a79f; }
.field.invalid .upload { border-color: #9a3b2a; }
.err { display: none; font-size: 13px; color: #9a3b2a; margin-top: 2px; }
.field.invalid .err { display: block; }
.form-error { display: none; font-size: 14px; color: #9a3b2a; padding: 12px 0; border-top: 1px solid #9a3b2a; }
.form-error.show { display: block; }

/* Reveal ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }


/* ── Homepage v2 additions ─────────────────────────────────── */
.hero-text { padding-top: 72px; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.hero-left { display: flex; flex-direction: column; gap: 24px; }
.h-hero { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.015em; text-wrap: pretty; }
.hero-right { display: flex; flex-direction: column; gap: 28px; padding-bottom: 8px; }
.lede-lg { font-size: 18px; line-height: 1.6; color: var(--body); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 80px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.fact { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--hair); }
.fact + .fact { padding-left: 28px; }
.fact:last-child { border-right: 0; }
.fact .serif { font-size: 34px; line-height: 1; }
.fact .serif small { font-size: 18px; color: var(--muted); }

.pov { display: grid; grid-template-columns: 2fr 10fr; gap: 24px; border-top: 1px solid var(--ink); padding-top: 32px; }
.pov-body { display: flex; flex-direction: column; gap: 32px; max-width: 1040px; }
.pov-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.pov-cols p { font-size: 17px; line-height: 1.65; color: var(--body); }

.tile .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92); transition: transform .6s ease; }
.tile:hover .ph img { transform: scale(1.03); }


.need { display: flex; flex-direction: column; gap: 8px; margin-top: 56px; border-top: 1px solid var(--ink); padding-top: 28px; }
.need-title { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: 0.01em; }
.need-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; max-width: 1040px; }
.need-list li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.need-list li .muted { font-size: 14px; }

.included { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--hair); }
.inc { padding: 28px 24px 32px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 12px; }
.inc .t { font-size: 17px; }
.inc p { font-size: 14px; line-height: 1.55; color: var(--body); }

.fine { font-size: 13px; color: var(--muted); margin-top: 20px; max-width: 720px; line-height: 1.5; }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 28px; color: var(--muted); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 26px; max-width: 760px; font-size: 16px; line-height: 1.6; color: var(--body); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid var(--hair); }
  .pov, .need { grid-template-columns: 1fr; gap: 16px; }
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-text { padding-top: 40px; }
  .facts { grid-template-columns: 1fr; margin-top: 48px; }
  .fact { border-right: 0; border-bottom: 1px solid var(--hair); padding: 18px 0; }
  .fact + .fact { padding-left: 0; }
  .fact:last-child { border-bottom: 0; }
  .pov-cols { grid-template-columns: 1fr; gap: 20px; }
  .need-list { grid-template-columns: 1fr; }
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; }
  .inc { padding: 18px 14px 20px 0; }
  .inc:nth-child(even) { border-right: 0; padding-left: 14px; }
  .inc .t { font-size: 15px; }
  .inc p { font-size: 13px; }
  .faq summary { font-size: 20px; padding: 18px 0; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .browser { width: 520px; right: 40px; }
  .hero-copy { padding: 56px 48px; max-width: 480px; }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:nth-child(2) { border-right: 0; }
  .plan:nth-child(1), .plan:nth-child(2) { border-bottom: 1px solid var(--ink); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; }
  .quotes { grid-template-columns: 1fr; }
  .quote { border-right: 0; border-bottom: 1px solid var(--hair); padding: 28px 0; }
  .quote + .quote { padding-left: 0; }
  .plan-page, .pay { grid-template-columns: 1fr; }
  .plan-aside { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--hair); padding-bottom: 40px; }
  .plan-aside .sticky { position: static; }
  .plan-main { padding-left: 0; padding-top: 40px; }
  .pay-main { padding-right: 0; border-right: 0; }
  .pay-aside { padding-left: 0; padding-top: 40px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .utility .left { display: none; }
  .utility .wrap { justify-content: flex-end; }
  .header { padding-top: 22px; }
  .header .wrap { gap: 16px; }
  .wordmark { font-size: 28px; }
  .nav { gap: 0; flex-direction: column; align-items: stretch; display: none; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--hair); }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; padding: 12px 0; width: 100%; justify-content: center; border-bottom: 1px solid var(--ink); }
  .header .wrap.menu-open .nav-toggle { border-bottom: 1px solid var(--hair); }
  .hero-band { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-copy { padding: 40px 24px 32px; max-width: none; }
  .hero-actions .btn, .hero-actions .btn-line { flex: 1; }
  .browser { position: relative; right: auto; top: auto; width: auto; margin: 0 24px -1px 24px; border-bottom: 0; }
  .browser-body { padding: 24px; gap: 18px; }
  .browser-body .ph { height: 140px; }
  .browser-body .grid-2 { grid-template-columns: 1fr; gap: 12px; }
  .section { padding-top: 48px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .grid-5, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .plans, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan { padding: 22px 14px 24px; gap: 18px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
  .plan:nth-child(even) { border-right: 0; }
  .plan:nth-child(3), .plan:nth-child(4) { border-bottom: 0; }
  .plan-head .row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .plan .price { font-size: 30px; }
  .plan .price small { font-size: 14px; }
  .plan-desc, .features { font-size: 13px; }
  .features li { padding: 9px 0; }
  .plan .btn, .plan .btn-line { padding: 0 8px; font-size: 11px; min-height: 42px; white-space: normal; text-align: center; line-height: 1.2; }
  .plan:last-child { border-bottom: 0; }
  .step { padding: 20px 14px 20px 0; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); gap: 10px; }
  .step:nth-child(even) { border-right: 0; padding-left: 14px; }
  .step:nth-child(3), .step:nth-child(4) { border-bottom: 0; }
  .step .n { font-size: 30px; }
  .step .t { font-size: 15px; }
  .step .d { font-size: 13px; }
  .band { grid-template-columns: 1fr; }
  .band-visual { padding: 40px 0; border-right: 0; border-bottom: 1px solid var(--hair); }
  .band-copy { padding: 40px 0 8px; }
  .editor-card { width: 100%; max-width: 340px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 0; }
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .footer-wrap { margin-top: 64px; }
  .choices { grid-template-columns: 1fr; }
  .picker { grid-template-columns: 1fr; }
  .pick { border-right: 0; border-bottom: 1px solid var(--ink); }
  .pick:last-child { border-bottom: 0; }
  .methods { grid-template-columns: 1fr; }
  .price { font-size: 40px; }
  .form-title { font-size: 28px; }
  .plan-page, .pay { margin-top: 32px; }
  .submit-row .btn { white-space: normal; text-align: center; padding: 12px 20px; line-height: 1.3; }
}

/* ── Legal pages ───────────────────────────────────────────── */
.legal { display: grid; grid-template-columns: 4fr 8fr; margin-top: 56px; }
.legal-aside { padding-right: 56px; border-right: 1px solid var(--hair); }
.legal-aside .sticky { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 14px; }
.legal-main { padding-left: 72px; max-width: 760px; }
.legal-toc { display: flex; flex-direction: column; margin-top: 8px; border-top: 1px solid var(--ink); }
.legal-toc a { font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.legal-links { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; font-size: 14px; }
.legal-links a { border-bottom: 1px solid var(--ink); align-self: flex-start; padding-bottom: 2px; }
.legal-intro p, .legal-sec p, .legal-list li { font-size: 16px; line-height: 1.65; color: var(--body); }
.legal-intro p + p, .legal-sec p + p, .legal-sec ul + p, .legal-sec p + ul { margin-top: 14px; }
.legal-intro { padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.legal-sec { padding: 40px 0 8px; }
.legal-sec .h-section { font-size: 28px; margin-bottom: 16px; }
.legal-sec em { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink); }
.legal-list { display: flex; flex-direction: column; }
.legal-list li { padding: 12px 0; border-top: 1px solid var(--hair); }
.legal-list li:last-child { border-bottom: 1px solid var(--hair); }
.legal-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ink); font-size: 14px; }
mark.ph { background: #f3e6b8; color: var(--ink); padding: 0 4px; }
@media (max-width: 1100px) {
  .legal { grid-template-columns: 1fr; }
  .legal-aside { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--hair); padding-bottom: 28px; }
  .legal-aside .sticky { position: static; }
  .legal-main { padding-left: 0; padding-top: 32px; }
  .legal-toc { display: none; }
}
.footer .col a, .footer .col span, .legal-foot, .submit-note { overflow-wrap: anywhere; }
/* Logo mark next to the wordmark */
.wordmark, .footer .brand { display: inline-flex; align-items: center; gap: 12px; }
.wordmark .mark { flex-shrink: 0; margin-top: -2px; }
.footer .brand .mark { flex-shrink: 0; }

/* ── Phone-only compaction (≤760px) ────────────────────────── */
@media (max-width: 760px) {

  /* Plan pages: tighter form and aside */
  .plan-page { margin-top: 24px; }
  .plan-aside { padding-bottom: 24px; }
  .plan-aside .sticky { gap: 16px; }
  .plan-aside .lede { font-size: 15px; }
  .aside-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .aside-features li { font-size: 13px; padding: 9px 0; border-bottom: 1px solid var(--hair); }
  .aside-features li:first-child, .aside-features li:nth-child(2) { border-top: 1px solid var(--hair); }
  .aside-features li:last-child { border-bottom: 1px solid var(--hair); }
  .plan-aside [data-currency-note] { display: none; }
  .plan-main { padding-top: 24px; }
  .form { margin-top: 20px; }
  .field { padding: 16px 0; gap: 8px; }
  .input, .select { min-height: 46px; padding: 11px 14px; }
  .textarea { min-height: 88px; }
  .upload { min-height: 84px; padding: 14px; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .choice span { min-height: 44px; padding: 0 12px; font-size: 13px; }
  .addon { padding: 14px; gap: 12px; }
  .addon .desc { font-size: 12px; }
  .submit-row { padding-top: 20px; }
  .picker { margin-top: 20px; }
  .pick { padding: 16px; gap: 6px; }
  .pick .p { font-size: 26px; }

  /* Checkout */
  .pay { margin-top: 24px; }
  .pay-main { gap: 24px; }
  .pay-aside { padding-top: 28px; gap: 18px; }
  .method { padding: 18px; gap: 10px; }
  .summary .top { padding: 20px; }
  .summary .rows { padding: 4px 20px; }

  /* Legal pages */
  .legal { margin-top: 24px; }
  .legal-sec { padding: 28px 0 4px; }
  .legal-sec .h-section { font-size: 24px; }
  .legal-intro { padding-bottom: 22px; }

  /* General rhythm */
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 14px 0; }
  .fact .serif { font-size: 24px; }
  .faq summary { font-size: 17px; padding: 14px 0; }
  .need-list li { padding: 12px 0; }
}
@media (max-width: 760px) {
  .facts { margin-top: 40px; }
  .fact:nth-child(odd) { border-right: 1px solid var(--hair); padding-right: 14px; }
  .fact:nth-child(even) { padding-left: 14px; }
  .fact:nth-child(3), .fact:nth-child(4) { border-bottom: 0; }
}
@media (max-width: 760px) {
  .footer .col:last-child { grid-column: 1 / -1; }
  .footer .col:last-child a:first-of-type { font-size: 14px; }
}

/* Hero kicker (centred, under the header rule) */
.hero-kicker { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); text-align: left; margin: 0 0 -4px; letter-spacing: 0.01em; }
@media (max-width: 760px) { .hero-kicker { margin: 0; font-size: 22px; } }
/* Currency dropdown: breathing room + centred text */
.cur-dd { text-align: center; text-align-last: center; }
.cur-dd.small { padding: 4px 22px 4px 8px; }
.cur-dd option { text-align: left; }

/* Dirham symbol drawn inline before AED prices */
.dh { display: inline-block; width: 0.62em; height: 0.62em; vertical-align: -0.02em; margin-right: 0.08em; }
.price .dh, .fact .dh { width: 0.66em; height: 0.66em; vertical-align: 0.02em; margin-right: 0.04em; }

.cur-dd.small:focus { box-shadow: none; }
.cur-dd.small:focus-visible { outline: 1px dotted var(--muted); outline-offset: 2px; }

/* Custom currency menu (pricing section) — can show the dirham symbol */
.cur-menu { position: relative; }
.cur-btn { display: inline-flex; align-items: center; gap: 10px; min-width: 110px; justify-content: space-between; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: var(--ink); background: transparent; border: 1px solid var(--ink); padding: 9px 12px 9px 14px; }
.cur-btn:focus-visible { box-shadow: inset 0 0 0 1px var(--ink); outline: none; }
.cur-btn .dh { width: 1em; height: 1em; max-width: none; flex: none; vertical-align: -0.2em; margin-right: 0; }
.cur-list { position: absolute; right: 0; top: calc(100% - 1px); min-width: 100%; margin: 0; padding: 0; list-style: none; background: var(--paper); border: 1px solid var(--ink); z-index: 20; }
.cur-list li { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 10px 14px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; cursor: pointer; border-top: 1px solid var(--hair); }
.cur-list li:first-child { border-top: 0; }
.cur-list li:hover, .cur-list li.active { background: var(--ink); color: var(--bg); }
.cur-list li[aria-selected="true"] { text-decoration: underline; text-underline-offset: 3px; }
.cur-list .sym { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 15px; display: inline-flex; align-items: center; }
.cur-list .dh { width: 0.85em; height: 0.85em; max-width: none; flex: none; margin: 0; vertical-align: 0; }
.cur-list .dh path { stroke-width: 5.5; }
.cur-btn .dh path { stroke-width: 6.5; }
/* Belt and braces: the list is only ever shown when the menu is open */
.cur-list[hidden] { display: none !important; }
#pricing .section-head { position: relative; z-index: 30; }

/* Bare variant of the currency menu (top-right utility bar) */
.cur-menu.bare .cur-btn { border: 0; padding: 4px 0 4px 8px; min-width: 0; color: var(--muted); gap: 8px; }
.cur-menu.bare .cur-btn:hover { color: var(--ink); }
.cur-menu.bare .cur-btn:focus-visible { box-shadow: none; outline: 1px dotted var(--muted); outline-offset: 2px; }
.cur-menu.bare .cur-list { top: calc(100% + 6px); z-index: 50; }
.utility .right { position: relative; z-index: 40; }

/* The currency already chosen is not offered again in the list */
.cur-list li[aria-selected="true"] { display: none; }

/* Currency menu in the homepage nav (far right, on the nav line) and in the
   compact sub-page header (next to "All plans"). The utility-bar version is gone. */
.nav-bar { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--ink); position: relative; z-index: 30; }
.nav-bar .nav { grid-column: 2; width: auto; padding-bottom: 0; border-bottom: 0; }
.nav-bar .nav-cur { grid-column: 3; justify-self: end; }
.head-right { display: flex; align-items: center; gap: 28px; }
.header.compact .wrap { position: relative; z-index: 30; }
@media (max-width: 760px) {
  .nav-bar { display: flex; flex-wrap: wrap; align-items: center; padding-bottom: 0; }
  .nav-bar .nav-toggle { flex: 1; width: auto; justify-content: flex-start; border-bottom: 0; }
  .nav-bar .nav-cur { margin-left: auto; }
  .nav-bar .nav { width: 100%; order: 3; padding-bottom: 8px; }
  .nav-bar .nav.open { border-top: 1px solid var(--hair); }
  .nav-bar .nav a:first-child { border-top: 0; }
  .header .wrap.menu-open .nav-toggle { border-bottom: 0; }
  .head-right { gap: 16px; }
  .head-right .back { font-size: 11px; }
}
@media (max-width: 480px) {
  .header.compact .wrap { flex-wrap: wrap; gap: 12px; }
  .head-right { width: 100%; justify-content: space-between; }
}
/* Dirham symbol inside the black submit button */
.btn .dh { width: 0.95em; height: 0.95em; max-width: none; vertical-align: -0.16em; margin-right: 0.06em; }
.btn .dh path { stroke-width: 6.5; }
.summary .dh, .submit-note .dh { width: 0.8em; height: 0.8em; max-width: none; vertical-align: -0.08em; }



/* Phone: less scrolling on the homepage */
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .fact { border-right: 1px solid var(--hair); padding: 14px 10px 14px 0; }
  .fact:nth-child(even) { border-right: 0; padding-left: 12px; }
  .fact:nth-child(3), .fact:nth-child(4) { border-bottom: 0; }
  .fact .serif { font-size: 22px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .steps .step { padding: 16px 12px 18px 0; }
  .step p { font-size: 13.5px; }
  .faq summary { font-size: 18px; padding: 14px 0; }
  .faq details p { padding-bottom: 18px; font-size: 15px; }
}

@media (max-width: 760px) {
  .step .h-sub, .steps h3 { font-size: 18px; }
  .features li { padding: 6px 0; font-size: 12.5px; }
  .plan { gap: 12px; }
  .inc p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* What we build ------------------------------------------------
   The five demo sites with their write-ups, in one section (the separate
   "Our work, up close" section with live previews is gone). Three across on
   a laptop, two on a tablet, one on a phone. Photos are 4:3 with soft
   corners and lift a little on hover — no hairline box around them. */
.cases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin-top: 8px; }
.cases .tile-wrap { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cases .tile { gap: 12px; }
.cases .tile .ph { aspect-ratio: 4 / 3; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(26,25,23,.06); transition: transform .5s ease, box-shadow .5s ease; }
.cases .tile .ph img { border-radius: 14px; transition: transform .8s ease, filter .5s ease; }
.cases .tile:hover .ph { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(26,25,23,.06), 0 18px 40px -20px rgba(26,25,23,.35); }
.cases .tile:hover .ph img { transform: scale(1.04); filter: saturate(1); }
.cases .tile .meta { display: none; }
.cases .tile-copy { display: flex; flex-direction: column; gap: 12px; }
.cases .tile-copy .cap { font-size: 11.5px; }
.cases .tile-copy .h-sub { font-size: clamp(24px, 2.2vw, 30px); }
.cases .tile-copy .lede { font-size: 14.5px; line-height: 1.55; }
.cases .case-list { display: flex; flex-direction: column; font-size: 13.5px; margin-top: 4px; }
.cases .case-list li { padding: 8px 0; border-top: 1px solid var(--hair); }
.cases .case-list li:last-child { border-bottom: 1px solid var(--hair); }
.cases .tile-copy .btn-text { align-self: flex-start; margin-top: 2px; }
@media (max-width: 1100px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}
@media (max-width: 760px) {
  /* Phone: one column, photo 16:10, copy clamped and the bullet lists hidden to keep the section short */
  .cases { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
  .cases .tile-wrap { gap: 10px; padding: 18px 0; border-top: 1px solid var(--hair); }
  .cases .tile-wrap:first-child { border-top: 1px solid var(--ink); }
  .cases .tile-wrap:last-child { border-bottom: 1px solid var(--hair); }
  .cases .tile .ph, .cases .tile .ph img { aspect-ratio: 16 / 10; border-radius: 12px; }
  .cases .tile-copy { gap: 6px; }
  .cases .tile-copy .cap { font-size: 11px; }
  .cases .tile-copy .h-sub { font-size: 22px; }
  .cases .tile-copy .lede { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cases .case-list, .cases .tile-copy .btn-text { display: none; }
}

/* ── Header switch between the two main pages ──────────────── */
.site-switch { display: inline-flex; border: 1px solid var(--ink); }
.site-switch a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; padding: 10px 14px; transition: background .2s ease, color .2s ease; white-space: nowrap; }
.site-switch a + a { border-left: 1px solid var(--ink); }
.site-switch a:hover { background: var(--paper); color: var(--ink); }
.site-switch a.on { background: var(--ink); color: var(--bg); }
.nav-bar:has(.site-switch) { grid-template-rows: auto auto; row-gap: 14px; }
.nav-bar .site-switch { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
.nav-bar:has(.site-switch) .nav, .nav-bar:has(.site-switch) .nav-cur { grid-row: 2; }
@media (max-width: 760px) {
  .nav-bar .site-switch { order: -1; width: 100%; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 4px; }
  .site-switch a { text-align: center; padding: 10px 6px; font-size: 11px; }
}

