/* Aliaa — site styles. Tokens from brand kit v1.1 (02-colour/aliaa-tokens.css, 03-type/fonts.md). */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/plex-sans.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --navy: #13246A; --gold: #E6B03C; --brass: #93640F; --paper: #F6F2E9; --ink: #12151F;
  --stone: #5A6070; --mist: #C5CAD8; --white: #FFFFFF; --line: #D9D6CC;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1120px; --pad: 20px; --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/25px var(--sans); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.panel :focus-visible { outline-color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); margin: 0; }
h1 { font-size: 34px; line-height: 40px; letter-spacing: -0.01em; }
h2 { font-size: 26px; line-height: 32px; }
h3 { font-size: 20px; line-height: 26px; }
h1, h2 { text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.label { font-size: 12px; line-height: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--brass); }
.panel .label { color: var(--mist); }
.lead { font-size: 18px; line-height: 28px; color: var(--ink); max-width: 44em; }
.muted { color: var(--stone); }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand img { width: 118px; }
.nav { position: relative; }
.nav summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--navy); padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.nav summary::-webkit-details-marker { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav[open] ul { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; z-index: 5; box-shadow: 0 8px 24px rgba(18, 21, 31, 0.08); }
.nav[open] li a { display: block; padding: 10px 12px; border-radius: 8px; }
.nav[open] li a:hover { background: var(--paper); }
.nav-desktop { display: none; }
.nav-desktop ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop li a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 16px; }
.nav-desktop li a:hover { color: var(--navy); text-decoration: underline; }
.nav-desktop li a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* buttons */
.btn { display: inline-block; font: 600 16px/20px var(--sans); text-decoration: none; padding: 14px 22px; border-radius: 10px; border: 2px solid var(--navy); background: var(--navy); color: var(--paper); cursor: pointer; }
.btn:hover { background: #0E1B50; border-color: #0E1B50; }
.btn-quiet { background: transparent; color: var(--navy); }
.btn-quiet:hover { background: var(--white); border-color: var(--navy); }
.panel .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.panel .btn:hover { background: #F0C462; border-color: #F0C462; }
.panel .btn-quiet { background: transparent; border-color: var(--mist); color: var(--paper); }
.panel .btn-quiet:hover { border-color: var(--paper); background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* navy panel */
.panel { background: var(--navy); color: var(--paper); border-radius: 20px; padding: 36px 24px; }
.panel h1, .panel h2, .panel h3 { color: var(--white); }
.panel p { color: var(--mist); }
.panel a:not(.btn) { color: var(--paper); }
.panel .strong { color: var(--white); font-weight: 600; }

/* sections */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 32px; }
.section-head h2 + p { margin-top: 12px; }
.section-head .label + h2, .section-head .label + h1 { margin-top: 12px; }
.hero { padding: 24px 0 8px; }
.hero .panel { padding: 44px 24px 40px; }
.hero h1 { font-size: 38px; line-height: 44px; margin-top: 16px; max-width: 13em; }
.hero p.cat { margin-top: 18px; font-size: 17px; line-height: 27px; max-width: 36em; }
.page-head { padding: 48px 0 8px; }
.page-head h1 { margin-top: 12px; max-width: 18em; }
.page-head .lead { margin-top: 16px; }

/* ruled columns (no cards) */
.cols { display: grid; gap: 28px; }
.col { border-top: 2px solid var(--navy); padding-top: 18px; }
.col h3 + p, .col h3 + ul { margin-top: 10px; }
.col p + p { margin-top: 10px; }
.col .more { display: inline-block; margin-top: 14px; font-weight: 600; }
ul.plain { margin: 0; padding-left: 1.1em; }
ul.plain li + li { margin-top: 6px; }

/* steps */
ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
ol.steps li:last-child { border-bottom: 1px solid var(--line); }
ol.steps li::before { content: counter(s); font: 600 22px/28px var(--serif); color: var(--brass); }
ol.steps strong { display: block; color: var(--navy); }

/* trust band */
.trust .panel { padding: 44px 24px; }
.trust h2 { font-size: 32px; line-height: 38px; margin-top: 14px; }
.pen { display: inline-block; position: relative; white-space: nowrap; color: var(--gold); }
.pen::after { content: ""; position: absolute; left: -3%; width: 106%; bottom: -0.2em; height: 0.34em; background: url("/img/aliaa-pen-line-on-navy.svg") center / 100% 100% no-repeat; }
.pen-brass { color: inherit; }
.pen-brass::after { background-image: url("/img/aliaa-pen-line.svg"); }
.trust p { margin-top: 26px; max-width: 38em; }
.trust .actions { margin-top: 24px; }

/* split */
.split { display: grid; gap: 28px; }

/* closing CTA */
.closing { padding: 56px 0 64px; }
.closing .inner { border-top: 2px solid var(--navy); padding-top: 28px; display: grid; gap: 20px; }
.closing p { max-width: 36em; margin-top: 10px; }

/* prose (legal + long text) */
.prose { max-width: 46em; padding-bottom: 56px; }
.prose h2 { margin-top: 36px; font-size: 22px; line-height: 28px; scroll-margin-top: 16px; }
.prose h2 a.anchor { color: var(--stone); text-decoration: none; margin-left: 8px; font-family: var(--sans); font-weight: 500; }
.prose h2 a.anchor:hover, .prose h2 a.anchor:focus { color: var(--brass); }
.prose p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 1.4em; }
.prose li + li { margin-top: 8px; }
.prose strong { font-weight: 600; }
.prose a { overflow-wrap: anywhere; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0 0; }
.prose .table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 22px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); min-width: 9em; }
.prose tr:first-child th, .prose tbody tr:first-child td { border-top: 0; }
.prose thead + tbody tr:first-child td { border-top: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--navy); background: var(--paper); }
.updated { margin-top: 14px; font-size: 13.5px; line-height: 20px; color: var(--stone); }

/* form */
.form { display: grid; gap: 18px; max-width: 34em; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: 400 16px/24px var(--sans); color: var(--ink); background: var(--white); border: 1px solid #8C8A82; border-radius: 10px; padding: 12px 14px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.hint { font-size: 13.5px; line-height: 20px; color: var(--stone); margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; gap: 40px; padding-bottom: 64px; }
.aside { border-top: 2px solid var(--navy); padding-top: 18px; max-width: 28em; }
.aside p + p { margin-top: 12px; }
.aside h2 { font-size: 22px; line-height: 28px; margin-bottom: 10px; }

/* footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 40px 0 28px; font-size: 14px; line-height: 21px; }
.site-footer .top { display: grid; gap: 28px; }
.site-footer .lockup img { width: 112px; }
.site-footer .about { margin-top: 12px; color: var(--stone); max-width: 26em; }
.site-footer h2 { font: 600 12px/14px var(--sans); text-transform: uppercase; letter-spacing: 0.09em; color: var(--stone); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 6px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--stone); }
.sig img { width: 132px; }
.links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

@media (min-width: 760px) {
  :root { --pad: 32px; }
  body { font-size: 17px; line-height: 27px; }
  h1 { font-size: 44px; line-height: 50px; }
  h2 { font-size: 30px; line-height: 36px; }
  .hero .panel { padding: 72px 64px 64px; }
  .hero h1 { font-size: 56px; line-height: 62px; }
  .hero p.cat { font-size: 19px; line-height: 30px; }
  .page-head { padding: 72px 0 16px; }
  .section { padding: 80px 0; }
  .cols { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .cols.two { grid-template-columns: repeat(2, 1fr); }
  .cols.one { grid-template-columns: minmax(0, 2fr) 1fr; }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .trust .panel { padding: 64px; }
  .trust h2 { font-size: 44px; line-height: 52px; }
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
  .site-footer .top { grid-template-columns: 1.3fr 2fr; }
  .links { grid-template-columns: repeat(3, 1fr); }
  .closing .inner { grid-template-columns: 1.5fr auto; align-items: end; }
}
@media (min-width: 980px) {
  .nav-mobile { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: 26px; }
  .nav-desktop ul { display: flex; gap: 22px; }
  .nav-desktop .btn { padding: 10px 18px; }
  .brand img { width: 128px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
