/* Omni ACA - built on the 8B "Sill" template design system (MIT, https://github.com/8bsite/pet-boarding-website-template).
   Flat colour panels on a dark page, separated by gutters. Colours and fonts live in :root. */
@layer tokens, base, atoms, sections;

@layer tokens {
:root {
  --color-1: #0b1726;   /* page + gutters (deep navy) */
  --color-2: #f6f4ef;   /* off-white text */
  --color-3: #f2b544;   /* amber panels, wordmark */
  --color-4: #123e6b;   /* deep blue panels */
  --color-5: #2a5fc0;   /* bright blue panels */
  --color-6: #dce7f2;   /* pale blue panels, forms */
  --color-7: #9ccbbf;   /* sage panels */
  --color-8: #0e6658;   /* deep teal panels */
  --color-9: #ece2cf;   /* sand panels */
  --color-10: #ffd27a;  /* button hover */
  --ok: #0e6658; --err: #b3261e;
  --font-1: "Gabarito", "Arial Black", Arial, sans-serif;
  --font-2: "Rethink Sans", Arial, Helvetica, sans-serif;
  --space-1: clamp(8px, 1.1vw, 16px);
  --space-2: clamp(18px, 2.3vw, 34px);
}
}

@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { margin: 0; background: var(--color-1); color: var(--color-2); font-family: var(--font-2); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
  img, svg { display: block; max-width: 100%; }
  h1, h2, h3, h4, p, ol, ul, figure, address, dl, dd { margin: 0; }
  ol, ul { padding: 0; list-style: none; }
  address { font-style: normal; }
  a { color: inherit; }
  button, input, select, textarea { font: inherit; color: inherit; }
  :focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
}

@layer atoms {
.m-text { font-family: var(--font-2); font-size: clamp(16px, 1.15vw, 18px); font-weight: 400; line-height: 1.55; }
.m-text-2 { font-family: var(--font-1); font-size: clamp(44px, 7vw, 112px); font-weight: 900; line-height: .92; letter-spacing: -.035em; }
.m-text-3 { font-family: var(--font-1); font-size: clamp(36px, 4.8vw, 74px); font-weight: 800; line-height: .96; letter-spacing: -.03em; }
.m-text-4 { font-family: var(--font-2); font-size: 13px; font-weight: 600; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; }
.m-text-6 { font-family: var(--font-1); font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.m-text-7 { font-family: var(--font-2); font-size: clamp(18px, 1.55vw, 22px); font-weight: 400; line-height: 1.42; letter-spacing: -.005em; }
.m-small { font-size: 14px; line-height: 1.55; }

.m-btn, .m-btn-2 { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; font-family: var(--font-2); font-weight: 600; line-height: 1.2; letter-spacing: .01em; text-decoration: none; cursor: pointer; }
.m-btn { min-height: 54px; padding: 14px 28px; background: var(--color-1); color: var(--color-2); font-size: 17px; }
.m-btn-2 { min-height: 44px; padding: 10px 20px; background: var(--color-2); color: var(--color-1); font-size: 15px; }
.m-btn::before, .m-btn-2::before { content: ""; position: absolute; z-index: -1; left: -12%; right: -12%; top: 0; height: 150%; border-radius: 50% 50% 0 0 / 34% 34% 0 0; background: var(--color-10); transform: translateY(101%); transition: transform .5s cubic-bezier(.25, .8, .25, 1); }
.m-btn > span, .m-btn-2 > span { transition: color .3s; }
@media (hover: hover) {
  .m-btn:hover::before, .m-btn-2:hover::before { transform: translateY(-12%); }
  .m-btn:hover > span, .m-btn-2:hover > span { color: var(--color-1); }
}
.m-btn[disabled] { opacity: .6; cursor: progress; }
.m-btn--light { background: var(--color-2); color: var(--color-1); }

.m-link { color: inherit; font-weight: 600; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 100% 2px; background-position: 100% 100%; padding-bottom: 3px; }
@keyframes m-link-swipe { 0% { background-size: 100% 2px; background-position: 100% 100%; } 45% { background-size: 0% 2px; background-position: 100% 100%; } 46% { background-size: 0% 2px; background-position: 0% 100%; } 100% { background-size: 100% 2px; background-position: 0% 100%; } }
@media (hover: hover) { .m-link:hover { animation: m-link-swipe .7s cubic-bezier(.6, 0, .3, 1); } }

.m-iconbtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid currentColor; background: transparent; color: var(--color-2); cursor: pointer; }
.m-iconbtn__icon { position: relative; width: 18px; height: 12px; }
.m-iconbtn__icon::before, .m-iconbtn__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: currentColor; }
.m-iconbtn__icon::before { top: 0; } .m-iconbtn__icon::after { bottom: 0; }

.m-surface { background: var(--color-3); color: var(--color-1); }
.m-surface-2 { background: var(--color-4); color: var(--color-2); }
.m-surface-3 { background: var(--color-5); color: var(--color-2); }
.m-surface-4 { background: var(--color-6); color: var(--color-1); }
.m-surface-5 { background: var(--color-7); color: var(--color-1); }
.m-surface-6 { background: var(--color-8); color: var(--color-2); }
.m-surface-7 { background: var(--color-9); color: var(--color-1); }
.m-surface-8 { background: var(--color-2); color: var(--color-1); }

.m-curl { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; overflow: visible; }
.m-check { flex: none; width: 26px; height: 26px; }

.m-field { display: grid; gap: 6px; align-content: start; }
.m-field__label { font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.m-field__label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.m-field__input { width: 100%; min-height: 50px; padding: 11px 14px; border: 2px solid var(--color-1); border-radius: 0; background: #fff; color: var(--color-1); font-size: 17px; line-height: 1.4; }
.m-field__input::placeholder { color: #5b6878; }
.m-field__input:focus-visible { outline: 3px solid var(--color-5); outline-offset: 2px; }
.m-field__input[aria-invalid="true"] { border-color: var(--err); }
.m-field__error { min-height: 0; color: var(--err); font-size: 14px; font-weight: 600; }
.m-field__error:empty { display: none; }

.u-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.u-wrap { padding-inline: var(--space-1); }
}

@layer sections {
/* ---------- navigation ---------- */
.nav__bar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 var(--space-1) 0 calc(var(--space-1) + 10px); background: var(--color-1); color: var(--color-2); transition: transform .4s cubic-bezier(.3, .7, .2, 1); }
.nav[data-hidden] .nav__bar { transform: translateY(-100%); }
.nav__brand { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-1); font-size: 28px; font-weight: 900; letter-spacing: -.04em; line-height: 1; text-decoration: none; }
.nav__brand b { color: var(--color-3); }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav__toggle { display: none; }
.nav__menu:not([hidden]) { position: fixed; z-index: 60; inset: 0; display: grid; grid-template-rows: auto 1fr; gap: var(--space-1); padding: var(--space-1); background: var(--color-1); overflow-y: auto; }
.nav__close { justify-self: end; }
.nav__close .m-iconbtn__icon { transform: rotate(45deg); height: 18px; }
.nav__close .m-iconbtn__icon::before, .nav__close .m-iconbtn__icon::after { top: 50%; bottom: auto; margin-top: -1.5px; }
.nav__close .m-iconbtn__icon::after { transform: rotate(90deg); }
.nav__menu ul { display: grid; gap: var(--space-1); grid-auto-rows: minmax(64px, 1fr); }
.nav__menu a { display: flex; align-items: flex-end; height: 100%; padding: 16px 18px; font-family: var(--font-1); font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1; text-decoration: none; }
@media (max-width: 900px) {
  .nav__bar { height: 56px; gap: 10px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: inline-grid; }
}
@media (max-width: 380px) { .nav__cta { padding-inline: 12px; font-size: 14px; } }

/* ---------- shared grid ---------- */
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-1); }
.panel { position: relative; padding: var(--space-2); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.section { padding: clamp(56px, 9svh, 110px) var(--space-1) 0; }

/* ---------- opening (hero) ---------- */
.op { padding: calc(64px + var(--space-1)) var(--space-1) 0; }
.op .grid12 { min-height: calc(100svh - 64px - 2 * var(--space-1)); grid-template-rows: minmax(0, 1.25fr) minmax(0, 1fr); }
.op-a { grid-column: 1 / 9; grid-row: 1; justify-content: flex-end; }
.op-a .m-text-2 { max-width: 9.5em; }
.op-b { grid-column: 9 / 13; grid-row: 1 / 3; justify-content: space-between; }
.op-b ul { display: grid; gap: 22px; }
.op-b li { display: flex; gap: 14px; }
.op-b li h3 { font-family: var(--font-1); font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; margin-bottom: 4px; }
.op-c { grid-column: 1 / 4; grid-row: 2; justify-content: flex-end; }
.op-d { grid-column: 4 / 7; grid-row: 2; justify-content: space-between; }
.op-e { grid-column: 7 / 9; grid-row: 2; justify-content: space-between; }
.op-curl { position: absolute; right: 9%; top: 10%; width: clamp(56px, 6vw, 96px); height: auto; }
.zipform { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.zipform__row { display: flex; gap: 0; min-width: 0; }
.zipform input { flex: 1 1 0; width: 100%; min-width: 0;min-height: 54px; padding: 12px 14px; border: 2px solid var(--color-1); border-right: 0; background: #fff; color: var(--color-1); font-size: 17px; }
.zipform .m-btn { flex: none; padding-inline: 20px; }
@media (max-width: 1100px) {
  .op-a { grid-column: 1 / 13; }
  .op-b { grid-column: 1 / 13; grid-row: auto; }
  .op-c { grid-column: 1 / 7; grid-row: 2; }
  .op-d { grid-column: 7 / 13; grid-row: 2; }
  .op-e { grid-column: 1 / 13; grid-row: auto; }
  .op .grid12 { min-height: 0; grid-template-rows: none; }
  .op-a { min-height: 46svh; }
  .op-b ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .op-c, .op-d { grid-column: 1 / 13; grid-row: auto; }
  .op-b ul { grid-template-columns: 1fr; }
  .op-a { min-height: 52svh; }
}

/* ---------- how it works ---------- */
.hw-head { grid-column: 1 / 6; justify-content: space-between; min-height: 340px; }
.hw-steps { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-1); }
.hw-step { justify-content: space-between; min-height: 340px; }
.hw-num { font-family: var(--font-1); font-size: clamp(64px, 7vw, 110px); font-weight: 900; line-height: .8; letter-spacing: -.05em; }
@media (max-width: 1000px) { .hw-head, .hw-steps { grid-column: 1 / 13; } .hw-head, .hw-step { min-height: 0; } .hw-num { margin-bottom: 26px; } }
@media (max-width: 640px) { .hw-steps { grid-template-columns: 1fr; } }

/* ---------- coverage facts ---------- */
.cv-head { grid-column: 1 / 13; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.cv-head p { max-width: 46ch; }
.cv-card { grid-column: span 4; min-height: 300px; justify-content: space-between; }
.cv-card--wide { grid-column: span 8; }
.cv-ehb { columns: 2; column-gap: var(--space-2); }
.cv-ehb li { break-inside: avoid; padding: 6px 0; border-top: 2px solid currentColor; }
.cv-metals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cv-metals li { padding: 12px 10px; border: 2px solid currentColor; font-weight: 600; text-align: center; }
@media (max-width: 1000px) { .cv-card, .cv-card--wide { grid-column: span 6; } }
@media (max-width: 680px) { .cv-card, .cv-card--wide { grid-column: 1 / 13; min-height: 0; } .cv-ehb { columns: 1; } .cv-metals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- enrollment ---------- */
.en-a { grid-column: 1 / 8; min-height: 380px; justify-content: space-between; }
.en-b { grid-column: 8 / 13; justify-content: space-between; }
.en-c { grid-column: 1 / 5; justify-content: space-between; }
.en-d { grid-column: 5 / 13; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.en-events { display: flex; flex-wrap: wrap; gap: 8px; }
.en-events li { padding: 8px 14px; border: 2px solid currentColor; font-weight: 600; font-size: 15px; }
@media (max-width: 900px) { .en-a, .en-b, .en-c, .en-d { grid-column: 1 / 13; min-height: 0; } }

/* ---------- faq ---------- */
.fq-head { grid-column: 1 / 6; justify-content: space-between; gap: 28px; min-height: 380px; }
.fq-list { grid-column: 6 / 13; display: grid; gap: var(--space-1); align-content: start; }
.fq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px var(--space-2); cursor: pointer; list-style: none; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(currentColor, currentColor) center / 100% 3px no-repeat, linear-gradient(currentColor, currentColor) center / 3px 100% no-repeat; transition: transform .35s; }
.fq-item[open] summary::after { transform: rotate(45deg); }
.fq-item summary:focus-visible { outline-offset: -6px; }
.fq-a { padding: 0 var(--space-2) var(--space-2); max-width: 64ch; display: grid; gap: 10px; }
@media (max-width: 900px) { .fq-head, .fq-list { grid-column: 1 / 13; } .fq-head { min-height: 0; } }

/* ---------- disclosures ---------- */
.ds { grid-column: 1 / 13; }
.ds ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--space-2); }
.ds li { padding-top: 10px; border-top: 2px solid currentColor; font-size: 15px; line-height: 1.55; }
@media (max-width: 760px) { .ds ul { grid-template-columns: 1fr; } }

/* ---------- cta band ---------- */
.cta { grid-column: 1 / 13; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; min-height: 260px; }

/* ---------- footer ---------- */
.ft { padding: clamp(64px, 11svh, 120px) var(--space-1) 0; color: var(--color-2); }
.ft-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--space-1); padding: 0 10px; }
.ft-nav { grid-column: 1 / 4; } .ft-nav ul { display: grid; gap: 10px; }
.ft-contact { grid-column: 4 / 8; display: grid; gap: 10px; align-content: start; justify-items: start; }
.ft-note { grid-column: 8 / 13; display: grid; gap: 10px; align-content: start; font-size: 14px; color: #c9d1db; }
.ft-mark { position: relative; overflow: hidden; margin-top: clamp(40px, 8svh, 90px); }
.ft-word { display: block; color: var(--color-3); font-family: var(--font-1); font-weight: 900; letter-spacing: -.05em; font-size: min(28vw, calc((100vw - 2 * var(--space-1)) / 4.6)); line-height: .9; padding-top: .02em; white-space: nowrap; }
.ft-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 18px 10px 26px; font-size: 14px; color: #c9d1db; }
.ft-legal nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 767.98px) { .ft-nav, .ft-contact, .ft-note { grid-column: 1 / 13; } }

/* ---------- lead form page ---------- */
.lf { padding: calc(64px + var(--space-1)) var(--space-1) 0; }
.lf-intro { grid-column: 1 / 5; justify-content: space-between; min-height: 300px; }
.lf-form { grid-column: 5 / 13; grid-row: 1 / 4; padding: var(--space-2); }
.lf-side { grid-column: 1 / 5; }
.lf-form form { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px var(--space-2); }
.lf-form h1 { grid-column: 1 / 7; }
.lf-form .m-field { grid-column: span 3; }
.lf-form .lf-wide { grid-column: 1 / 7; }
.lf-consent { grid-column: 1 / 7; display: grid; gap: 12px; padding: 18px; border: 2px solid var(--color-1); background: #fff; }
.lf-consent__row { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.lf-consent input[type="checkbox"] { width: 26px; height: 26px; margin: 2px 0 0; accent-color: var(--color-4); cursor: pointer; }
.lf-consent label { font-size: 14.5px; line-height: 1.6; cursor: pointer; }
.lf-consent a { font-weight: 600; }
.lf-alt { font-size: 14px; }
.lf-send { grid-column: 1 / 7; display: grid; gap: 14px; justify-items: start; }
.lf-send .m-btn { width: 100%; min-height: 60px; background: var(--color-4); font-size: 18px; }
.lf-status { font-weight: 600; }
.lf-status[data-kind="error"] { color: var(--err); }
.tf-box { grid-column: 1 / 7; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; border: 2px dashed var(--color-4); font-size: 14px; }
.tf-box__label { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.tf-box code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
.tf-dot { width: 10px; height: 10px; border-radius: 50%; background: #c78a00; flex: none; }
.tf-box[data-state="ready"] .tf-dot { background: var(--ok); }
.tf-box[data-state="blocked"] .tf-dot { background: var(--err); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1000px) {
  .lf-intro, .lf-form, .lf-side { grid-column: 1 / 13; grid-row: auto; }
  .lf-intro { min-height: 0; }
}
@media (max-width: 640px) { .lf-form .m-field { grid-column: 1 / 7; } }

/* ---------- simple text pages ---------- */
.doc { grid-column: 2 / 12; padding: var(--space-2); }
.doc h1 { margin-bottom: 18px; }
.doc h2 { font-family: var(--font-1); font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin: 34px 0 10px; }
.doc p, .doc li { max-width: 72ch; margin-bottom: 10px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc .notice { padding: 14px 16px; border: 2px dashed currentColor; margin-bottom: 20px; font-size: 15px; }
@media (max-width: 900px) { .doc { grid-column: 1 / 13; } }
}
