/* Shared by the About, Terms, Privacy and Contact pages: the landing page's palette and type. */
:root {
  --navy: #1B2A4A; --navy-deep: #111C33; --navy-light: #2A3B60;
  --gold: #C9A84C; --gold-light: #E8C96A; --gold-ink: #8A6A17; --burgundy: #6B1A2A;
  --cream: #FDF9F2; --paper: #F5F1EA; --line: #E8E4DC; --ink: #1B2A4A; --ink-2: #45464E; --ink-3: #75777F;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: 100%; max-width: 860px; margin: 0 auto; padding-inline: 20px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.nav { position: sticky; top: 0; z-index: 10; background: var(--navy-deep); color: #fff; }
.nav__row { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 600; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav__links a { color: rgba(255,255,255,.72); text-decoration: none; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--gold-light); }

.head { background: radial-gradient(110% 80% at 80% 10%, var(--navy-light) 0%, var(--navy) 45%, var(--navy-deep) 100%); color: #fff; padding: 64px 0 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.head h1 { margin: 14px 0 0; font-size: clamp(34px, 5vw, 54px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
.head p { margin: 14px 0 0; color: rgba(245,241,234,.7); max-width: 46em; }
.updated { margin-top: 18px; font-size: 13px; color: rgba(245,241,234,.5); }

main { padding: 48px 0 80px; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 20px 50px rgba(27,42,74,.06); }

/* The app's markup, rendered as it is in the app: gold headings, numbered sections, caret bullets. */
.rt > * { margin: 0; }
.rt .h { font-size: 22px; font-weight: 600; color: var(--gold-ink); margin-top: 32px; }
.rt .s { display: flex; align-items: center; gap: 12px; margin-top: 36px; font-size: 20px; font-weight: 600; }
.rt .s i { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 600 12px var(--sans); font-style: normal; color: var(--navy); background: var(--gold); }
.rt .p { color: var(--ink-2); white-space: pre-line; }
.rt .b { color: var(--ink-2); padding-left: 22px; text-indent: -22px; }
.rt .b::before { content: "▸"; color: var(--gold); display: inline-block; width: 22px; text-indent: 0; }
.rt .h + *, .rt .s + * { margin-top: 10px; }
.rt .sp { margin-top: 18px; }
.rt .h.sp { margin-top: 32px; } .rt .s.sp { margin-top: 36px; }
.rt .h:first-child, .rt .s:first-child { margin-top: 0; }
.rt b { color: var(--ink); } .rt .a { color: var(--gold-ink); font-weight: 600; }
.doc .empty { color: var(--ink-3); }

/* contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.ways a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .2s; }
.ways a:hover { transform: translateY(-2px); }
.ways i { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(201,168,76,.16); color: var(--gold-ink); }
.ways b { display: block; font-size: 15px; } .ways small { color: var(--ink-3); font-size: 13px; }
.card-form { padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(27,42,74,.06); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; } .field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); font: 15px var(--sans); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; padding: 16px 26px; font: 600 15px/1 var(--sans); cursor: pointer; background: var(--burgundy); color: #fff; width: 100%; margin-top: 22px; transition: background .2s, transform .2s; }
.btn:hover { background: #57131f; transform: translateY(-2px); } .btn:disabled { opacity: .6; transform: none; }
.status { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-size: 14px; display: none; }
.status.ok { display: block; background: #E8F5E9; color: #166534; } .status.err { display: block; background: #FDECEC; color: #9B1C1C; }
.status.is-leaving { opacity: 0; transition: opacity .4s; }

footer { background: var(--navy-deep); color: rgba(245,241,234,.55); font-size: 13px; }
/* padding-block, not the shorthand: .foot sits on a .wrap, whose side gutter a 0 would wipe. */
.foot { display: flex; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 26px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; } .foot a { text-decoration: none; } .foot a:hover { color: var(--gold-light); }

@media (max-width: 760px) {
  .nav__links { gap: 14px; font-size: 13px; }
  .contact-grid, .fields { grid-template-columns: 1fr; }
  .head { padding: 44px 0 40px; }
}
/* A small phone cannot fit the name and four links on one line: the links drop to a row of their own. */
@media (max-width: 520px) {
  .nav__row { flex-wrap: wrap; height: auto; gap: 6px 18px; padding-block: 12px; }
  .nav__links { margin-left: 0; width: 100%; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
