/* The company and help pages of the redesign's PR 3 (2026-10-22, from the approved previews): About, Partners, Our
   Brands, Contact (views/pages.js), How it works, FAQ and the policy pages (views/trips/pages.js) and the 404 page
   (views/errors.js); the shared parts are views/companyKit.js. Loads after site.css (and trips.css on the trip-mode
   pages) on those pages only; every rule is scoped to body.co-page or uses a co- class, so nothing here reaches
   another page. The status labels (.tag-*) are site.css's. Motion stops under prefers-reduced-motion. */

/* The homepage's scale unit (site.css .corp): the help and policy pages and the 404 page wear the trip chrome, which
   does not set it. Lists are unstyled, as site.css leaves only ul. */
.co-page { --u: clamp(1px, 100vw / 1024, 1.40625px); }
.co-page main ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Type ---------- */
.co-page .co-eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #2c3f55; margin-bottom: 10px; }
.co-page .co-eyebrow-light { color: rgba(214, 231, 248, .86); }
.co-page .co-eyebrow-gold { color: var(--gold-deep); }
.co-page .co-rule { display: inline-flex; align-items: center; gap: 12px; }
.co-page .co-rule::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.co-page .co-title { font-size: 28px; font-weight: 700; letter-spacing: -0.022em; line-height: 1.12; }
.co-page .co-serif { font-family: var(--serif); letter-spacing: -0.01em; }
.co-page .co-lead { margin-top: 12px; font-size: 17.5px; line-height: 1.5; color: var(--text); max-width: 720px; }
.co-page .co-lead a { color: var(--blue-500); text-underline-offset: 3px; }
.co-page .co-lead-gap { margin: 12px 0 22px; }
.co-page .co-head { max-width: 760px; margin-bottom: 32px; }
.co-page .co-center { margin-inline: auto; text-align: center; }
.co-page .co-center .co-lead { margin-inline: auto; }
@media (min-width: 641px) { .co-page .co-title { font-size: 36px; } .co-page .co-eyebrow { font-size: 14px; } }
@media (min-width: 1024px) {
  .co-page .co-eyebrow { font-size: calc(10.5 * var(--u)); letter-spacing: .28em; }
  .co-page .co-title { font-size: calc(30 * var(--u)); line-height: 1.1; }
  .co-page .co-lead { font-size: calc(14.5 * var(--u)); line-height: 1.45; }
  .co-page .co-head { margin-bottom: 44px; }
}

/* ---------- Sections, grids and cards ---------- */
.co-page .co-section { padding: 56px 0; }
.co-page .co-soft { background: var(--sky-50); }
@media (min-width: 1024px) { .co-page .co-section { padding: 92px 0; } }
.co-page .co-next { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 641px) { .co-page .co-next { grid-template-columns: repeat(2, minmax(0, 1fr)); } .co-page .co-next-photo { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .co-page .co-next { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } .co-page .co-next-photo { grid-column: auto; aspect-ratio: auto; min-height: 320px; } }
.co-page .co-grid2, .co-page .co-grid3, .co-page .co-grid4 { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 641px) { .co-page .co-grid2, .co-page .co-grid3, .co-page .co-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .co-page .co-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .co-page .co-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .co-page .co-grid2 { gap: 24px; } }
.co-page .co-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.co-page .co-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.co-page .co-card p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.co-page .co-card > .tag { margin-bottom: 14px; }
.co-page .co-card-btn { margin-top: 18px; }
.co-page .co-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-50); color: var(--blue-500); display: grid; place-items: center; margin-bottom: 16px; }
.co-page .co-icon .icon { width: 24px; height: 24px; }
.co-page .co-icon.is-gold { background: var(--ivory-2); color: var(--gold-deep); }
.co-page .co-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.co-page .co-split-top { align-items: start; }
@media (min-width: 1024px) { .co-page .co-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.co-page .co-split > div > .co-head { margin-bottom: 24px; }
.co-page .co-checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 16.5px; line-height: 1.5; }
.co-page .co-checklist .icon { flex: none; width: 20px; height: 20px; color: var(--blue-500); margin-top: 3px; }
.co-page .co-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 14px; }
.co-page .co-tags .tag { white-space: normal; }

/* ---------- Hero: the coast picture under a navy veil, the serif title with the homepage's gradient accent ---------- */
/* The picture is the earlier .page-hero's (site.css): public/img/coast-hero.webp, the 800px copy on phones; the
   layout preloads both (layout.js COAST_HERO matches .co-hero-media). The veil keeps the copy's side dark enough
   for white text (WCAG AA) and lets the coast show on the right. */
.co-page .co-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-900); }
.co-page .co-hero-media { position: absolute; inset: 0; z-index: -3; background: url(/img/coast-hero.webp) center 60% / cover no-repeat; }
.co-page .co-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(40% 60% at 95% 100%, rgba(194, 162, 101, .18) 0%, rgba(194, 162, 101, 0) 70%),
  linear-gradient(90deg, rgba(8, 33, 64, .97) 0%, rgba(10, 40, 76, .9) 35%, rgba(12, 52, 96, .55) 65%, rgba(12, 52, 96, .25) 100%); }
@media (max-width: 800px) { .co-page .co-hero-media { background-image: url(/img/coast-hero-800.webp); } }
@media (max-width: 1023px) { .co-page .co-hero::before { background: linear-gradient(90deg, rgba(8, 33, 64, .95) 0%, rgba(10, 40, 76, .88) 60%, rgba(12, 52, 96, .78) 100%); } }
.co-page .co-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(194, 162, 101, 0), rgba(194, 162, 101, .7) 50%, rgba(194, 162, 101, 0)); }
.co-page .co-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 52px 0 56px; align-items: center; }
.co-page .co-hero h1 { color: #fff; font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1.04; letter-spacing: -0.01em; margin-bottom: 16px; text-shadow: 0 2px 18px rgba(2, 30, 52, .35); overflow-wrap: break-word; }
.co-page .co-accent { display: block; text-wrap: balance; background: linear-gradient(180deg, #e2f3ff 0%, #b4ddff 45%, #86c6fb 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.co-page .co-hero-lead { font-size: 17.5px; line-height: 1.5; color: rgba(255, 255, 255, .92); max-width: 580px; }
.co-page .co-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.co-page .co-actions .btn { min-height: 52px; padding: 0 26px; font-size: 16px; }
.co-page .co-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 22px; font-size: 13.5px; color: rgba(226, 236, 246, .86); }
.co-page .co-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.co-page .co-hero .tag-planned { background: rgba(124, 188, 247, .14); color: #cfe6fd; border-color: rgba(124, 188, 247, .35); }
.co-page .co-hero .tag-planned::before { border-color: #cfe6fd; }
.co-page .co-hero .tag-soon { border-color: rgba(194, 162, 101, .45); }
.co-page .co-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 4px; font-size: 14.5px; color: rgba(226, 236, 246, .9); }
.co-page .co-meta span { display: inline-flex; align-items: center; gap: 8px; }
.co-page .co-meta .icon { width: 16px; height: 16px; color: var(--gold); }
@media (min-width: 1024px) {
  .co-page .co-hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; padding: 84px 0 88px; }
  .co-page .co-hero-solo { grid-template-columns: minmax(0, 1fr); }
  .co-page .co-hero-short .co-hero-inner { padding: 72px 0 80px; }
  .co-page .co-hero h1 { font-size: calc(48 * var(--u)); }
  .co-page .co-hero-lead { font-size: calc(14.5 * var(--u)); }
}
@media (max-width: 640px) { .co-page .co-actions .btn { max-width: 100%; white-space: normal; text-align: center; } }

/* ---------- Photos: a repo photo or a catalog photo, never an empty box ---------- */
/* A photo the repo has no licensed copy of draws nothing: its section carries the class co-photo--<name> only. */
.co-page .co-photo { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 10; min-height: 0; background: var(--ivory-2); box-shadow: var(--shadow); }
.co-page .co-hero .co-photo { box-shadow: 0 0 0 1px rgba(194, 162, 101, .45), 0 24px 60px rgba(2, 30, 52, .4); }
.co-page .co-photo.has-photo .tx-img { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: transparent; }
.co-page .co-photo-file { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .co-page .co-photo-story { align-self: stretch; aspect-ratio: auto; min-height: 360px; } }
/* The site's licensed photos in their frames (views/sitePhotos.js, companyKit.js photoFrame; the redesign's PR 9): the
   <picture> lets its <img> be the figure's own child for images.css, the frame keeps the slot's ratio. */
.co-page .tx-img > picture { display: contents; }
.co-page .co-hero-photo { width: 100%; }
.co-page .co-photo-contact { aspect-ratio: 16 / 9; margin-bottom: 18px; }
.co-page .co-photo-aside { aspect-ratio: 4 / 3; }
.co-page .co-brand-photo { align-self: stretch; aspect-ratio: 16 / 9; margin: -28px -24px 22px; border-radius: 0; box-shadow: none; }
@media (min-width: 1024px) { .co-page .co-brand-photo { margin: -34px -32px 24px; } }
@media (max-width: 380px) { .co-page .co-brand-photo { margin: -24px -20px 20px; } }
.co-page .co-brand.co-photo--hotel-room { overflow: hidden; }

/* ---------- About ---------- */
.co-page .co-builds { display: grid; gap: 14px; }
.co-page .co-builds li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.co-page .co-builds .co-icon { width: 44px; height: 44px; margin: 0; }
.co-page .co-builds .co-icon .icon { width: 20px; height: 20px; }
.co-page .co-builds b { display: block; font-size: 17px; color: var(--ink); }
.co-page .co-builds span span, .co-page .co-builds div > span { display: block; color: var(--muted); font-size: 15px; }

/* ---------- Our Brands ---------- */
.co-page .co-brands { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .co-page .co-brands { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; } }
.co-page .co-brand { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.co-page .co-brand-mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; background: var(--navy-900); color: #d6e7f8; }
.co-page .co-brand-mark .icon { width: 28px; height: 28px; }
.co-page .co-brand--ai .co-brand-mark { background: radial-gradient(70% 70% at 50% 40%, rgba(194, 162, 101, .4) 0%, rgba(194, 162, 101, 0) 75%), var(--navy-900); color: var(--gold); }
.co-page .co-brand-name { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.15; color: var(--ink); margin-bottom: 10px; }
.co-page .co-brand-name span { color: var(--blue-600); }
.co-page .co-brand-tagline { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.co-page .co-brand-text { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin-bottom: 22px; }
.co-page .co-brand .btn { margin-top: auto; max-width: 100%; white-space: normal; text-align: center; }
@media (min-width: 1024px) {
  .co-page .co-brand { padding: 34px 32px; }
  .co-page .co-brand-name { font-size: calc(22 * var(--u)); }
}
.co-page .co-soon-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; }
.co-page .co-soon-list li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.co-page .co-soon-list .icon { width: 18px; height: 18px; color: var(--gold-deep); }

/* ---------- Contact ---------- */
.co-page .co-lux { width: 100%; max-width: 440px; justify-self: end; padding: 32px 28px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--gold-line); box-shadow: 0 24px 60px rgba(2, 30, 52, .35); color: var(--ink); }
.co-page .co-lux .co-eyebrow { font-size: 12px; }
.co-page .co-lux-line { font-family: var(--serif); font-size: 22px; line-height: 1.3; margin: 4px 0 20px; color: var(--ink); }
@media (max-width: 1023px) { .co-page .co-lux { justify-self: start; } }
.co-page .co-facts { padding: 6px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.co-page .co-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.co-page .co-facts li + li { border-top: 1px solid var(--gold-line); }
.co-page .co-facts .icon { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--gold-deep); }
.co-page .co-facts a { color: var(--ink); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }

/* ---------- The enquiry form (views/pages.js leadForm, unchanged markup) ---------- */
.co-page .form-card { border-radius: 20px; padding: 28px; box-shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 18px 48px rgba(11, 37, 69, .1); }
.co-page .form-card .field input, .co-page .form-card .field select, .co-page .form-card .field textarea { border-radius: 10px; min-height: 48px; }
.co-page .form-card .field textarea { min-height: 130px; }
.co-page .form-card .btn[type="submit"] { width: 100%; justify-content: center; min-height: 56px; }
@media (min-width: 1024px) { .co-page .form-card { padding: 32px; } }

/* ---------- How it works ---------- */
.co-page .co-three { width: 100%; max-width: 500px; justify-self: end; padding: 22px; border-radius: 18px; background: #fff; color: var(--text); box-shadow: 0 24px 60px rgba(2, 30, 52, .35); }
.co-page .co-three h2 { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2c3f55; margin-bottom: 14px; }
.co-page .co-three ol { display: grid; gap: 10px; }
.co-page .co-three li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.co-page .co-three li.is-pick { background: var(--ivory); border-color: var(--gold); }
.co-page .co-three b { display: block; font-size: 15px; color: var(--ink); }
.co-page .co-three li span:not(.co-three-ic) { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.co-page .co-three-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-500); }
.co-page .is-pick .co-three-ic { background: var(--navy-800); color: var(--gold); }
.co-page .co-three-ic .icon { width: 17px; height: 17px; }
.co-page .co-three-foot { display: flex; gap: 8px; margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.co-page .co-three-foot .icon { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--gold-deep); }
@media (max-width: 1023px) { .co-page .co-three { justify-self: start; } }
.co-page .co-aside-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 1024px) {
  .co-page .co-aside-wrap { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
  .co-page .co-aside-left { grid-template-columns: 280px minmax(0, 1fr); }
  .co-page .co-aside { position: sticky; top: 96px; }
}
.co-page .co-aside { display: grid; gap: 18px; min-width: 0; }
.co-page .co-steps { counter-reset: co-step; }
.co-page .co-steps li { counter-increment: co-step; position: relative; padding: 26px 0 26px 72px; border-bottom: 1px solid var(--line); }
.co-page .co-steps li:first-child { padding-top: 0; }
.co-page .co-steps li:last-child { border-bottom: 0; }
.co-page .co-steps li::before { content: counter(co-step, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1; color: var(--gold-deep); }
.co-page .co-steps li:first-child::before { top: -4px; }
.co-page .co-steps h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.co-page .co-steps p { font-size: 16px; line-height: 1.65; color: var(--text); }
@media (max-width: 640px) { .co-page .co-steps li { padding-left: 54px; } .co-page .co-steps li::before { font-size: 28px; } }
.co-page .co-helpcard { position: relative; overflow: hidden; padding: 26px; border-radius: var(--radius); background: var(--navy-900); color: rgba(255, 255, 255, .88); }
.co-page .co-helpcard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, rgba(194, 162, 101, 0), var(--gold) 50%, rgba(194, 162, 101, 0)); }
.co-page .co-helpcard h2 { font-family: var(--serif); font-size: 23px; color: #fff; margin-bottom: 10px; }
.co-page .co-helpcard p { font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
.co-page .co-helplinks { display: grid; gap: 10px; }
.co-page .co-helplinks a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.co-page .co-helplinks a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(194, 162, 101, .6); }
.co-page .co-helplinks .icon { width: 16px; height: 16px; color: var(--gold); }
.co-page .co-ipanel { padding: 28px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--gold-line); }
.co-page .co-ipanel h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 12px; }
.co-page .co-ipanel p { font-size: 15.5px; line-height: 1.6; color: var(--text); }
.co-page .co-never li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.co-page .co-never li + li { border-top: 1px solid var(--gold-line); }
.co-page .co-never .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--danger); }

/* ---------- FAQ ---------- */
.co-page .co-qa { border-top: 1px solid var(--line); }
.co-page .co-faq { border-bottom: 1px solid var(--line); }
.co-page .co-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; color: var(--ink); }
.co-page .co-faq summary::-webkit-details-marker { display: none; }
.co-page .co-faq summary:hover { color: var(--blue-600); }
.co-page .co-faq summary:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 6px; }
.co-page .co-chev { flex: none; width: 34px; height: 34px; padding: 9px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: transform .2s ease, background-color .2s ease; }
.co-page .co-faq[open] .co-chev { transform: rotate(180deg); background: var(--navy-800); border-color: var(--navy-800); color: var(--gold); }
.co-page .co-faq p { padding: 0 0 24px; max-width: 760px; font-size: 16.5px; line-height: 1.7; color: var(--text); }
.co-page .co-mini { display: grid; gap: 10px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.co-page .co-mini a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.co-page .co-mini a:hover { color: var(--blue-600); }
.co-page .co-mini .icon { flex: none; width: 17px; height: 17px; color: var(--blue-500); }
.co-page .co-mini small { font-size: 13.5px; color: var(--muted); }

/* ---------- Policies ---------- */
.co-page .co-toc { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.co-page .co-toc h2 { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2c3f55; margin: 0 4px 10px; }
.co-page .co-toc ol { counter-reset: co-toc; display: grid; gap: 2px; }
.co-page .co-toc li { counter-increment: co-toc; }
.co-page .co-toc a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 10px; border-radius: 8px; color: var(--ink); font-size: 15.5px; text-decoration: none; }
.co-page .co-toc a::before { content: counter(co-toc, decimal-leading-zero); font-size: 12.5px; font-weight: 700; color: var(--gold-deep); }
.co-page .co-toc a:hover { background: var(--sky-50); }
.co-page .co-toc a[aria-current="page"] { background: var(--navy-800); color: #fff; font-weight: 600; }
.co-page .co-toc a[aria-current="page"]::before { color: var(--gold); }
.co-page .co-legal { min-width: 0; max-width: 760px; }
.co-page .co-legal .alert { border: 1px solid #f4e2b0; margin-bottom: 36px; font-size: 15.5px; line-height: 1.55; }
.co-page .co-legal h2 { font-family: var(--serif); font-size: 28px; color: var(--ink); margin-bottom: 22px; }
.co-page .co-clauses p { font-size: 17.5px; line-height: 1.75; color: var(--text); margin-bottom: 22px; }
.co-page .co-clauses.is-numbered { counter-reset: co-clause; }
.co-page .co-clauses.is-numbered p { counter-increment: co-clause; position: relative; padding-left: 52px; }
.co-page .co-clauses.is-numbered p::before { content: counter(co-clause); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--gold-line); font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--gold-deep); }
.co-page .co-legal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.co-page .co-legal-foot a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--blue-600); text-decoration: none; }
.co-page .co-legal-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.co-page .co-legal-foot .icon { width: 16px; height: 16px; }
.co-page .co-legal-full > p, .co-page .co-legal-section p, .co-page .co-legal-section li { font-size: 17px; line-height: 1.7; color: var(--text); }
.co-page .co-legal-full > p { margin-bottom: 18px; }
.co-page .co-legal-section { margin-top: 34px; }
.co-page .co-legal-section h3 { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 14px; text-wrap: balance; }
.co-page .co-legal-section p { margin-bottom: 16px; }
.co-page .co-legal-section ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 10px; }
.co-page .co-legal-full a { color: var(--blue-600); overflow-wrap: anywhere; }
@media (max-width: 640px) { .co-page .co-clauses p { font-size: 16.5px; } .co-page .co-clauses.is-numbered p { padding-left: 44px; } }

/* ---------- 404 ---------- */
.co-page .co-nf { background: radial-gradient(60% 70% at 50% 0%, var(--blue-50) 0%, rgba(234, 243, 253, 0) 70%); }
.co-page .co-nf-in { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 72px 0 40px; }
.co-page .co-nf-mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px; background: #fff; color: var(--navy-800); box-shadow: 0 0 0 1px var(--line), 0 12px 30px rgba(11, 37, 69, .1); }
.co-page .co-nf-mark .icon { width: 30px; height: 30px; }
.co-page .co-nf h1 { font-family: var(--serif); font-size: 46px; line-height: 1.05; color: var(--ink); margin: 2px 0 14px; }
.co-page .co-nf-lead { font-size: 18px; color: var(--text); margin-bottom: 28px; max-width: 560px; }
.co-page .co-nf-next { padding: 32px 0 72px; }
.co-page .co-nf-next h2 { text-align: center; font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #2c3f55; margin-bottom: 20px; }
.co-page .co-nf-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 641px) { .co-page .co-nf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .co-page .co-nf-in { padding: 104px 0 48px; }
  .co-page .co-nf h1 { font-size: calc(46 * var(--u)); }
  .co-page .co-nf-grid.co-n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .co-page .co-nf-grid.co-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .co-page .co-nf-grid.co-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .co-page .co-nf-grid.co-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; margin-inline: auto; }
}
.co-page .co-nf-grid a { display: flex; gap: 14px; align-items: flex-start; height: 100%; min-height: 64px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; }
.co-page .co-nf-grid a:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.co-page .co-nf-grid a > .icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--blue-500); }
.co-page .co-nf-grid b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.co-page .co-nf-grid small { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- Narrow phones and motion ---------- */
@media (max-width: 380px) {
  .co-page .co-hero h1 { font-size: 34px; }
  .co-page .co-card, .co-page .co-ipanel, .co-page .co-helpcard { padding: 20px; }
  .co-page .form-card { padding: 20px; }
  .co-page .co-brand { padding: 24px 20px; }
  .co-page .co-nf h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .co-page .co-chev { transition: none; }
}
@media (forced-colors: active) {
  .co-page .co-accent { -webkit-text-fill-color: currentColor; background: none; }
  .co-page .co-photo { border: 1px solid CanvasText; }
}
