/* Axis Tax Pro design preview. Shared tokens and site styles. */
:root {
  --ink: #0d2240;        /* logo navy: headings, main text */
  --ink-2: #33455f;      /* body text */
  --muted: #637389;      /* secondary text */
  --blue: #0b4fa3;       /* logo blue: actions and links */
  --blue-deep: #083c7e;
  --blue-wash: #e8f0fa;
  --gold: #c8a24a;       /* logo gold: used sparingly */
  --gold-ink: #85651c;
  --paper: #ffffff;
  --sheet: #f3f6fa;      /* cool form-paper tint for alternating sections */
  --line: #dde4ee;
  --line-2: #c9d3e1;
  --ok: #17704f;
  --ok-wash: #e5f3ec;
  --warn: #9a560b;
  --warn-wash: #fcf0e0;
  --green: #2b8566;      /* logo green ("TAX PRO") */
  --green-wash: #e7f3ee;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --display: "Red Hat Display", "Segoe UI", Arial, sans-serif;
  --text: "Red Hat Text", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(11, 79, 163, .35);
  outline-offset: 2px;
  border-radius: 6px;
}
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(29px, 3.4vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Placeholder text that Yasin still has to give us */
.ph { color: var(--muted); border-bottom: 1px dashed var(--line-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--text); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 16px 22px; border-radius: 12px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-quiet { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-small { padding: 11px 16px; font-size: 15px; border-radius: 10px; }

/* Preview bar: only owners see the new site before it goes live */
.preview-bar { background: var(--ink); color: #dfe7f2; font-size: 14px; }
.preview-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.preview-bar strong { color: #fff; font-weight: 600; }
.preview-bar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: 1px; }
.preview-bar a { color: #fff; font-weight: 600; white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand .mark { height: 52px; width: auto; }
.brand .word { height: 48px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.signin-link { color: var(--ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.signin-link svg { width: 18px; height: 18px; color: var(--blue); }
.signin-link:hover { color: var(--blue); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero-copy h1 .nb { white-space: nowrap; }
/* "نتكلم العربية": a message card floating over the banner picture, beside the phone */
.lang-card {
  position: absolute; left: -44px; top: 4px; z-index: 3;
  display: flex; align-items: center; gap: 14px; padding: 12px 26px 12px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px 20px 20px 6px;
  box-shadow: 0 30px 60px -28px rgba(13,34,64,.55), 0 2px 6px rgba(13,34,64,.06);
  animation: lang-in .7s cubic-bezier(.2,.7,.2,1) .6s both;
}
.lang-card .lc-ico { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(145deg, #36a27e, var(--green)); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 8px 16px -8px rgba(43,133,102,.8); }
.lang-card .lc-ico svg { width: 22px; height: 22px; }
.lang-card .lc-ar { font-family: "Cairo", var(--text); font-weight: 700; font-size: 24px; line-height: 1.3; color: var(--ink); }
@keyframes lang-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lang-card { animation: none; } }
.hero-copy .lead { font-size: 20px; line-height: 1.6; color: var(--ink-2); margin-top: 26px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 16px; }
.hero-contact span, .hero-contact a { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-2); text-decoration: none; }
.hero-contact svg { width: 18px; height: 18px; color: var(--blue); }

/* Hero visual: a client's checklist on a phone, over a tax form */
.hero-visual { position: relative; height: 640px; }
.form-sheet {
  position: absolute; top: 34px; left: 2%; width: 400px; height: 520px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  transform: rotate(-5deg); box-shadow: 0 24px 60px -30px rgba(13,34,64,.35);
  padding: 26px 26px 0; overflow: hidden;
}
.form-sheet .fs-head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.form-sheet .fs-title { width: 132px; height: 12px; border-radius: 3px; background: var(--ink); opacity: .85; }
.form-sheet .fs-year { font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.form-sheet .fs-row { display: grid; grid-template-columns: 30px 1fr 96px; gap: 12px; align-items: center; height: 38px; border-bottom: 1px solid var(--line); }
.form-sheet .fs-num { font-size: 12px; font-weight: 700; color: var(--muted); }
.form-sheet .fs-label { height: 7px; border-radius: 4px; background: var(--line); }
.form-sheet .fs-box { height: 24px; border: 1px solid var(--line-2); border-radius: 2px; }
.form-sheet .fs-row.total { border-bottom: 2px solid var(--ink); }
.form-sheet .fs-row.total .fs-box { border-color: var(--ink); }

.device {
  position: absolute; right: 4%; top: 0; width: 318px;
  background: var(--ink); border-radius: 46px; padding: 10px;
  box-shadow: 0 40px 80px -36px rgba(13,34,64,.55), 0 2px 0 rgba(255,255,255,.08) inset;
}
.screen { background: #fff; border-radius: 37px; overflow: hidden; height: 620px; display: flex; flex-direction: column; }
.screen-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.screen-top .notch { width: 90px; height: 24px; border-radius: 14px; background: var(--ink); }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 8px 20px 14px; border-bottom: 1px solid var(--line); }
.app-bar img { height: 30px; width: auto; }
.app-bar .hi { margin-left: auto; font-size: 13px; color: var(--muted); }
.app-body { padding: 18px 18px 0; flex: 1; }
.app-year { display: flex; justify-content: space-between; align-items: baseline; }
.app-year h4 { font-size: 19px; }
.app-year .count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.progress { height: 6px; border-radius: 4px; background: var(--sheet); margin: 10px 0 14px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 4px; transition: width .5s ease; }
.doc { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.doc:last-of-type { border-bottom: 0; }
.doc .doc-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--sheet); display: grid; place-items: center; color: var(--ink); flex: none; }
.doc .doc-ico svg { width: 18px; height: 18px; }
.doc .doc-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.doc .doc-sub { font-size: 12px; color: var(--muted); }
.chip { margin-left: auto; flex: none; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.chip svg { width: 13px; height: 13px; }
.chip.waiting { background: var(--sheet); color: var(--muted); }
.chip.received { background: var(--ok-wash); color: var(--ok); }
.chip.again { background: var(--warn-wash); color: var(--warn); }
.chip.add { background: var(--blue); color: #fff; }
.doc .chip .on { display: none; }
.doc.is-received .chip { background: var(--ok-wash); color: var(--ok); }
.doc.is-received .chip .on { display: inline-flex; align-items: center; gap: 5px; }
.doc.is-received .chip .off { display: none; }
.app-msg { margin: 14px 0 0; background: var(--blue-wash); border-radius: 16px 16px 16px 4px; padding: 13px 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.app-msg.show { opacity: 1; transform: none; }
.app-msg .from { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.app-tabs { display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding: 10px 0 18px; font-size: 11px; color: var(--muted); }
.app-tabs span { display: grid; justify-items: center; gap: 3px; }
.app-tabs svg { width: 20px; height: 20px; }
.app-tabs .on { color: var(--blue); font-weight: 600; }

/* Sections */
.section { padding: 104px 0; }
.section.tint { background: var(--sheet); }
.section-head { max-width: 640px; }
.section-head p { font-size: 19px; margin-top: 16px; color: var(--ink-2); }

/* Services: two lists, not a card grid */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 56px; }
.services h3 { font-size: 15px; font-family: var(--text); font-weight: 600; color: var(--muted); letter-spacing: 0; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.svc { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.svc strong { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.svc span { grid-column: 1; color: var(--ink-2); font-size: 16px; }
.svc svg { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 20px; height: 20px; color: var(--line-2); transition: color .15s, transform .15s; }
.svc:hover strong { color: var(--blue); }
.svc:hover svg { color: var(--blue); transform: translateX(3px); }

/* How it works: a real sequence, so it is numbered */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 74px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink);
}
.step::after { content: ""; position: absolute; top: 26px; left: 64px; right: -28px; height: 2px; background: var(--line-2); }
.step:last-child::after { display: none; }
.step h3 { font-size: 22px; }
.step p { margin-top: 10px; }

/* Portal privacy section */
.portal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.facts { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 26px; }
.facts li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.facts .ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); }
.facts .ico svg { width: 21px; height: 21px; }
.facts strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.facts p { font-size: 16px; }
.portal .hero-actions { margin-top: 40px; }

.flow { position: relative; display: grid; gap: 18px; }
.mail-card, .msg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: 0 20px 50px -34px rgba(13,34,64,.45); }
.mail-card { padding: 20px 22px; max-width: 420px; }
.mail-card .mc-head { display: flex; gap: 12px; align-items: center; }
.mail-card .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-wash); display: grid; place-items: center; }
.mail-card .avatar img { width: 26px; height: auto; }
.mail-card .mc-from { font-weight: 600; color: var(--ink); font-size: 15px; }
.mail-card .mc-time { font-size: 13px; color: var(--muted); margin-left: auto; }
.mail-card .mc-subject { margin-top: 12px; font-weight: 600; color: var(--ink); font-size: 16px; }
.mail-card .mc-body { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.flow-note { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); padding-left: 22px; }
.flow-note svg { width: 18px; height: 18px; color: var(--gold); }
.msg-card { padding: 22px; margin-left: 12%; }
.msg-card .mg-head { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.msg-card .mg-head .lock { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.msg-card .mg-head .lock svg { width: 16px; height: 16px; }
.msg-card .mg-text { margin-top: 14px; color: var(--ink); font-size: 17px; line-height: 1.55; }
.msg-card .mg-doc { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.msg-card .mg-doc .doc-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--sheet); display: grid; place-items: center; color: var(--ink); }
.msg-card .mg-doc .doc-ico svg { width: 18px; height: 18px; }
.msg-card .mg-doc b { color: var(--ink); font-size: 14px; display: block; }
.msg-card .mg-doc small { color: var(--muted); font-size: 13px; }
.msg-card .btn { margin-top: 16px; }

/* What to bring: a checklist with form-style boxes */
.bring { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 52px; }
.bring-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 30px 32px; }
.bring-col h3 { font-size: 21px; margin-bottom: 8px; }
.bring-col ul { list-style: none; margin: 0; padding: 0; }
.bring-col li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.bring-col li:last-child { border-bottom: 0; }
.bring-col li::before { content: ""; width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 4px; margin-top: 3px; }
.bring-note { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; font-size: 18px; color: var(--ink); }

/* About and contact */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: start; }
.about-copy p { font-size: 19px; margin-top: 20px; max-width: 36em; }
.contact-card { background: var(--ink); color: #dfe7f2; border-radius: var(--radius-l); padding: 36px; }
.contact-card h3 { color: #fff; font-size: 24px; }
.contact-card dl { margin: 22px 0 0; display: grid; gap: 18px; }
.contact-card dt { font-size: 14px; color: #9fb0c8; }
.contact-card dd { margin: 2px 0 0; color: #fff; font-size: 17px; font-weight: 500; }
.contact-card dd a { color: #fff; text-decoration: none; }
.contact-card .ph { color: #b9c6d8; border-bottom-color: #4a5f7f; }
.contact-card .btn { margin-top: 28px; width: 100%; }
.contact-card .btn-primary { background: #fff; color: var(--ink); }
.contact-card .btn-primary:hover { background: var(--blue-wash); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 120px; width: auto; }
.foot-brand p { margin-top: 16px; max-width: 26em; color: var(--muted); }
.site-footer h4 { font-family: var(--text); font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-bottom .credit { color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* Phone bar with the two main actions */
.mobile-bar { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero { padding: 48px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { height: 600px; max-width: 520px; width: 100%; margin: 0 auto; }
  .services, .portal, .about { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 36px 76px; min-height: 52px; }
  .step::after { top: 60px; bottom: 6px; left: 25px; right: auto; width: 2px; height: auto; }
  .step:last-child { padding-bottom: 0; }
  .bring { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .preview-bar .wrap { font-size: 13px; }
  .preview-bar .long { display: none; }
  .site-header .wrap { height: 66px; gap: 12px; }
  .brand .mark { height: 44px; }
  .brand .word { height: 40px; }
  .header-actions .btn, .signin-link .label { display: none; }
  .signin-link { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line-2); border-radius: 10px; }
  .menu-btn { display: inline-flex; margin-left: 0; }
  .hero-copy .lead { font-size: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { height: 580px; }
  .form-sheet { width: 250px; height: 420px; left: -60px; top: 50px; padding: 20px 18px 0; }
  .device { width: 300px; right: auto; left: 50%; transform: translateX(-44%); }
  .lang-card { left: 50%; top: -50px; translate: -50% 0; white-space: nowrap; padding: 10px 22px 10px 10px; gap: 12px; }
  .lang-card .lc-ico { width: 42px; height: 42px; }
  .lang-card .lc-ar { font-size: 21px; }
  .screen { height: 560px; }
  .app-year h4 { font-size: 17px; }
  .doc .doc-sub { white-space: nowrap; }
  .section { padding: 72px 0; }
  .section-head p { font-size: 17px; }
  .svc strong { font-size: 19px; }
  .bring-col { padding: 22px 20px; }
  .msg-card { margin-left: 0; }
  .contact-card { padding: 28px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: 14px 6px; font-size: 15px; gap: 8px; white-space: nowrap; }
}

/* ---- Added for the real site ---- */
.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav a[aria-current="page"] { color: var(--blue); }

/* Phone menu */
.mobile-nav { display: none; }
.mobile-nav.open { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(13,34,64,.45); }
.mobile-nav .sheet { background: #fff; margin-left: auto; width: min(320px, 86vw); height: 100%; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; box-shadow: -20px 0 50px -20px rgba(13,34,64,.4); }
.mobile-nav .close { align-self: flex-end; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; margin-bottom: 8px; }
.mobile-nav .close svg { width: 20px; height: 20px; }
.mobile-nav a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; font-size: 18px; }
.mobile-nav .btn { margin-top: 18px; border-bottom: 0; font-size: 16px; }

/* Inner page heading */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero .crumb { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.page-hero .crumb a { color: var(--muted); text-decoration: none; }
.page-hero .crumb a:hover { color: var(--blue); }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); max-width: 18ch; }
.page-hero p { font-size: 20px; margin-top: 18px; max-width: 36em; }
.page-body { padding: 56px 0 96px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }

/* Long text from the panel (Markdown) and legal pages */
.prose { max-width: 42em; font-size: 18px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); }
.prose strong { color: var(--ink); }

.side-card { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; position: sticky; top: 100px; }
.side-card h3 { font-size: 20px; }
.side-card p { margin-top: 8px; font-size: 16px; }
.side-card .btn { width: 100%; margin-top: 14px; }
.side-card .more { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.side-card .more h4 { font-family: var(--text); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 8px; }
.side-card .more a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.side-card .more a:hover { color: var(--blue); }

/* Forms on the public site */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 34px; }
.form-card h2 { font-size: 26px; }
.form-card .sub { margin-top: 6px; color: var(--ink-2); }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { font: inherit; font-size: 16px; color: var(--ink); border: 1.5px solid var(--line-2); border-radius: 10px; padding: 13px 14px; background: #fff; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(11,79,163,.15); }
.field .err { color: #b42318; font-size: 14px; }
.field .hint { color: var(--muted); font-size: 14px; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: #d92d20; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 9px 16px; font-weight: 500; cursor: pointer; }
.radios input { accent-color: var(--blue); }
.form-card .btn { margin-top: 26px; }
.note-small { margin-top: 14px; font-size: 14px; color: var(--muted); }
.flash { border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; font-weight: 500; }
.flash.ok { background: var(--ok-wash); color: var(--ok); }
.flash.bad { background: #fdecea; color: #b42318; }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .side-card { position: static; }
}
@media (max-width: 640px) {
  .page-hero { padding: 40px 0 28px; }
  .page-hero p { font-size: 18px; }
  .page-body { padding: 36px 0 72px; }
  .prose { font-size: 17px; }
  .form-card { padding: 22px 18px; }
  .two { grid-template-columns: 1fr; gap: 0; }
}
.mobile-nav a.btn { color: #fff; justify-content: center; padding: 16px; border-bottom: 0; }
