/* Agent65 page CSS: only what the kit leaves to the page. Tokens, grid, type, motion: /kit.
   Brand: the logo's navy (#002532, the ink), blue (#0348C6, every action) and orange (#FE5615,
   the arrow disc, life signs and the one coloured word a page). */

:root {
  --brand-orange: #fe5615;
  --brand-orange-text: #d63f05;   /* the coloured word: 4.5:1 on white */
  --brand-blue: #0348c6;
  --brand-navy: #002532;
  --ok: #0f7b4a; --ok-bg: #e6f4ec;
  --warn: #8a5a00; --warn-bg: #fdf2dc;
  --bad: #b42318; --bad-bg: #fdecea;
  --info: #0348c6; --info-bg: #e8effc;
}

/* ---- buttons: the reference's pill with the arrow in a disc, in the logo's blue and orange ---- */
html[data-radius][data-buttons] { --r-btn: 999px; }
html[data-buttons="arrow"] .btn--primary { padding-right: 6px; gap: var(--s-3); }
html[data-buttons="arrow"] .btn--primary::after {
  width: 32px; height: 32px; margin-right: 0; border-radius: 50%;
  -webkit-mask: none; mask: none;
  background: var(--brand-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6h8.5M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ground-inverse .btn--primary::after { background-color: var(--brand-orange); }
button.btn { font: inherit; cursor: pointer; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }

/* ---- the client's logo file ---- */
.nav__logo .nav__logo-img { height: 34px; width: auto; display: block; }
.footer .nav__logo .nav__logo-img { height: 44px; }
@media (max-width: 639px) { .nav__logo .nav__logo-img { height: 28px; } }

/* ---- the one coloured word on a page, and the orange life signs ---- */
.hl-word { color: var(--brand-orange-text); }
.hero__kicker .dot { background: var(--brand-orange); }
.ly-live::before { background: var(--brand-orange); }
.ui-win__st.is-you { background: #fff1ea; color: #8c2c05; border-color: #ffd2bd; }

/* ---- portal window on the home page ---- */
.portal__lead { margin: 0; font-size: var(--t-lead); line-height: 1.5; }
.portal__frame { margin-top: var(--s-7); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-height: 360px; }
.portal__win { --w: 1120px; }
.portal__win .ui-brand { width: 14px; height: 16px; object-fit: contain; }
@media (max-width: 639px) { .portal__frame { min-height: 260px; } }

/* ---- plan rows: name, tickets, what it adds, price, action ---- */
.plan-rows { list-style: none; margin: 0; padding: 0; }
.plan-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line);
}
.plan-row > * { margin: 0; }
.plan-row__name { grid-column: 1 / span 3; display: grid; gap: var(--s-1); }
.plan-row__name h3 { font: 500 var(--t-lead)/1.4 var(--font-text); margin: 0; }
.plan-row__tickets { grid-column: 4 / span 2; }
.plan-row__count { font: 500 var(--t-lead)/1 var(--font-text); }
.plan-row__adds { grid-column: 6 / span 3; }
.plan-row__price { grid-column: 9 / span 2; }
.plan-row__amount { font: var(--display-weight) var(--t-h3)/1 var(--font-display); letter-spacing: var(--display-tracking); }
.plan-row__btn { grid-column: 11 / span 2; justify-self: end; }
html[data-buttons] .plan-row__btn { padding-left: 0; }
.plans__note { margin: var(--s-6) 0 0; }
.plans__qhead { margin: 0; font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); }
@media (max-width: 1023px) {
  .plan-row { row-gap: var(--s-2); }
  .plan-row__name { grid-column: 1 / span 6; }
  .plan-row__price { grid-column: 7 / span 6; justify-self: end; text-align: right; }
  .plan-row__tickets { grid-column: 1 / span 4; }
  .plan-row__adds { grid-column: 5 / span 8; }
  .plan-row__btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 639px) {
  .plan-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
  .plan-row__name { grid-column: 1; }
  .plan-row__price { grid-column: 2; }
  .plan-row__tickets, .plan-row__adds, .plan-row__btn { grid-column: 1 / -1; }
}

/* ---- plan cards (pricing page): three columns, the featured one in the logo's blue ---- */
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--s-5); padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.plan-card h3 { margin: 0; font: 500 var(--t-lead)/1.3 var(--font-text); display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.plan-card .price { margin: 0; }
.plan-card .price .t-stat { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
.plan-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); align-content: start; }
.plan-card li { display: grid; grid-template-columns: 18px 1fr; gap: var(--s-3); line-height: 1.5; }
.plan-card li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--info-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%230348c6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan-card .btn { width: 100%; justify-content: space-between; }
.plan-card.is-featured { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); --ink: #fff; --muted: #a8b9c0; --line: rgba(255,255,255,.16); }
.plan-card.is-featured li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%23fe5615' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-card.is-featured .btn--primary { background: #fff; color: var(--brand-navy); }
.plan-card .badge { background: var(--brand-orange); color: #fff; border: 0; font-size: 13px; }
.plan-card__who { margin: 0; color: var(--muted); }
@media (max-width: 1023px) { .plan-cards { grid-template-columns: minmax(0, 1fr); } .plan-card { grid-template-rows: none; } }

/* compare table */
.compare { width: 100%; border-collapse: collapse; font-size: var(--t-body); }
.compare th, .compare td { text-align: left; padding: var(--s-4) var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 500 var(--t-small)/1.3 var(--font-text); color: var(--muted); }
.compare tbody th { font-weight: 500; width: 34%; }
.compare .yes { color: var(--ok); font-weight: 500; }
.compare .no { color: var(--muted); }
.compare-wrap { overflow-x: auto; }
@media (max-width: 639px) { .compare th, .compare td { padding: var(--s-3) var(--s-2); font-size: 14px; } .compare tbody th { width: auto; } }

/* ---- service index (services page): numbered rows with a real photograph each ---- */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.svc { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.svc__num { font: 500 var(--t-small)/1.6 var(--font-text); color: var(--brand-orange-text); }
.svc h3 { margin: 0 0 var(--s-2); font: 500 var(--t-card)/1.3 var(--font-text); }
.svc p { margin: 0; }
@media (max-width: 767px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }

/* ---- feature tiles with photographs (about, why us) ---- */
.pic-card { display: grid; gap: var(--s-4); align-content: start; }
.pic-card__media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.pic-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--m-image-out, .4s) var(--ease); }
a.pic-card:hover .pic-card__media img { transform: scale(1.03); transition-duration: var(--m-image, .6s); }
.pic-card h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.pic-card p { margin: 0; }

/* the reference's "problem vs fix" pair, in the brand's colours */
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; position: relative; }
.versus__side { border-radius: var(--r-lg); padding: var(--s-7) var(--s-6); display: grid; gap: var(--s-5); align-content: start; }
.versus__side h3 { margin: 0; font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); }
.versus__side--before { background: var(--surface); }
.versus__side--after { background: var(--brand-navy); color: #fff; --ink: #fff; --muted: #a8b9c0; --line: rgba(255,255,255,.16); }
.versus__label { margin: 0; font: 500 var(--t-label)/1 var(--font-text); display: inline-flex; align-items: center; gap: var(--s-2); color: var(--muted); }
.versus__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.versus__side--after .versus__label { color: #ffb48f; }
.versus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.versus li { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-4); border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); line-height: 1.45; }
.versus__side--after li { background: rgba(255,255,255,.06); }
.versus li small { color: var(--muted); font-size: 14px; white-space: nowrap; }
@media (max-width: 767px) { .versus { grid-template-columns: minmax(0, 1fr); } .versus li { flex-direction: column; gap: 2px; } .versus li small { white-space: normal; } }

/* ---- page intro for the account, sign-in, form and legal pages ---- */
.page-intro { padding: calc(var(--nav) + var(--s-8)) 0 var(--s-8); background: var(--p-surface); }
.page-intro .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4) 24px; align-items: end; }
.page-intro h1 { grid-column: 1 / span 7; margin: 0; font-size: clamp(36px, 2.6vw + 18px, 56px); line-height: 1.04; }
.page-intro p { grid-column: 8 / span 5; margin: 0; font-size: var(--t-lead); line-height: 1.5; }
.page-intro .crumb { grid-column: 1 / -1; margin: 0 0 var(--s-2); font: 500 var(--t-label)/1 var(--font-text); color: var(--muted); display: flex; gap: var(--s-2); }
.page-intro .crumb a { color: inherit; text-decoration: none; }
.page-intro .crumb a:hover { color: var(--ink); }
@media (max-width: 1023px) { .page-intro h1, .page-intro p { grid-column: 1 / -1; } }
@media (max-width: 639px) { .page-intro { padding: calc(var(--nav) + var(--s-7)) 0 var(--s-7); } }

.app-section { padding: var(--s-8) 0 var(--s-9); }
.app-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.app-grid > .main { grid-column: 1 / span 7; }
.app-grid > .side { grid-column: 8 / span 5; }
.app-grid > .full { grid-column: 1 / -1; }
.app-grid > .half { grid-column: span 6; }
@media (max-width: 1023px) { .app-grid > .main, .app-grid > .side, .app-grid > .half { grid-column: 1 / -1; } }

/* the box: one card recipe for forms and account blocks */
.box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); display: grid; gap: var(--s-5); align-content: start; }
.box > * { margin: 0; }
.box__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); flex-wrap: wrap; }
.box h2, .box__title { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.box--tint { background: var(--p-surface); border-color: transparent; }
.box--navy { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; --ink: #fff; --muted: #a8b9c0; --line: rgba(255,255,255,.16); }
.box--navy .btn--primary { background: #fff; color: var(--brand-navy); }
.box--navy .btn--secondary { color: #fff; }
@media (max-width: 639px) { .box { padding: var(--s-5); } }

/* sign-in page: the form beside a picture of the portal at work */
.auth { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: stretch; padding: calc(var(--nav) + var(--s-7)) 0 var(--s-8); min-height: 100svh; }
.auth__form { grid-column: 1 / span 5; display: grid; gap: var(--s-5); align-content: center; }
.auth__form h1 { margin: 0; font-size: clamp(34px, 2vw + 20px, 48px); line-height: 1.05; }
.auth__form > p { margin: 0; }
.auth__media { grid-column: 7 / span 6; position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px; background: var(--brand-navy); }
.auth__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth__note { position: absolute; left: var(--s-5); bottom: var(--s-5); right: var(--s-5); max-width: 380px; }
@media (max-width: 1023px) { .auth { min-height: 0; } .auth__form { grid-column: 1 / -1; } .auth__media { display: none; } }

/* ---- forms (server and Livewire): the kit's .field, laid out in .fields ---- */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-4); }
.fields > .field--full, .fields > .btn-row, .fields > .check, .fields > .notice, .fields > p { grid-column: 1 / -1; }
.fields .field--third { grid-column: span 1; }
@media (min-width: 768px) { .fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field select { appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23002532' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; padding-right: 40px; }
.field .req { color: var(--bad); }
.field__hint { margin: 0; font-weight: 400; color: var(--muted); }
.field__error:not([hidden]) { display: block; }
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--bad); }
.field__error { margin: 0; color: var(--bad); font-weight: 400; font-size: var(--t-small); }
.field__password { position: relative; display: grid; }
.field .field__password input { width: 100%; padding-right: 72px; }
.field__password input::-ms-reveal { display: none; }
.field__toggle { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); min-width: 60px; height: calc(100% - 8px); padding: 0 var(--s-2); border: 0; border-radius: 6px; background: none; color: var(--brand-blue); font: 600 var(--t-small)/1 var(--font-text); cursor: pointer; }
.field__toggle:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: -2px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); align-items: start; font-size: var(--t-body); line-height: 1.5; font-weight: 400; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-blue); }
.check .field__error { grid-column: 2; }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.btn-row--split { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }

/* notices: one recipe for every flash message */
.notice { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); align-items: start; padding: var(--s-4); border-radius: var(--r-md); background: var(--info-bg); color: var(--ink); line-height: 1.5; }
.notice::before { content: ""; width: 10px; height: 10px; margin: 7px 0 0 5px; border-radius: 50%; background: var(--info); }
.notice p { margin: 0; }
.notice--success { background: var(--ok-bg); } .notice--success::before { background: var(--ok); }
.notice--danger, .notice--error { background: var(--bad-bg); } :is(.notice--danger, .notice--error)::before { background: var(--bad); }
.notice--warning { background: var(--warn-bg); } .notice--warning::before { background: var(--warn); }

/* status pills, mapped from the enums' colour names */
.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font: 500 13px/1 var(--font-text); background: var(--surface); color: var(--ink); white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.status--success { background: var(--ok-bg); color: var(--ok); }
.status--warning { background: var(--warn-bg); color: var(--warn); }
.status--danger { background: var(--bad-bg); color: var(--bad); }
.status--info, .status--primary { background: var(--info-bg); color: var(--info); }
.status--secondary, .status--dark, .status--light { background: var(--surface); color: var(--muted); }

/* lists inside panels */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .muted { font-size: var(--t-small); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-5); margin: 0; }
.kv dt { color: var(--muted); font-size: var(--t-small); padding-top: 2px; }
.kv dd { margin: 0; font-weight: 500; }
.meter { height: 8px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: inherit; background: var(--brand-blue); transform-origin: left; animation: meter-fill 1.1s var(--m-ease-enter, cubic-bezier(.22,1,.36,1)) both; }
.box--navy .meter { background: rgba(255,255,255,.14); }
.box--navy .meter > span { background: var(--brand-orange); }
@keyframes meter-fill { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .meter > span { animation: none; } }
.big-figure { font: var(--display-weight) clamp(40px, 2vw + 28px, 56px)/1 var(--font-display); letter-spacing: var(--display-tracking-xl); }

/* steps indicator (subscription, ticket) */
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-5); flex-wrap: wrap; counter-reset: step; }
.steps li { display: flex; align-items: center; gap: var(--s-3); color: var(--muted); font: 500 var(--t-small)/1 var(--font-text); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); }
.steps li.is-on { color: var(--ink); }
.steps li.is-on::before { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.steps li.is-done::before { content: "✓"; background: var(--ok-bg); border-color: transparent; color: var(--ok); }

/* timeline of what happens next */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.timeline li { display: grid; grid-template-columns: 32px 1fr; gap: var(--s-4); position: relative; }
.timeline li::before { content: attr(data-n); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--info-bg); color: var(--info); font: 500 14px/1 var(--font-text); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15.5px; top: 36px; bottom: calc(-1 * var(--s-5) + 4px); width: 1px; background: var(--line); }
.timeline h3 { margin: 0 0 var(--s-1); font: 500 var(--t-body)/1.4 var(--font-text); }
.timeline p { margin: 0; color: var(--ink); }

/* success state: a check that draws itself once */
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-bg); display: grid; place-items: center; }
.done-mark svg { width: 28px; height: 28px; }
.done-mark path { stroke: var(--ok); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw-check .6s .2s var(--m-ease-enter, ease-out) forwards; }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .done-mark path { animation: none; stroke-dashoffset: 0; } }

/* ---- legal pages: contents beside the text ---- */
.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: var(--s-8) 0 var(--s-9); }
.doc__toc { grid-column: 1 / span 3; }
.doc__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); font-size: var(--t-small); }
.doc__toc a { color: var(--muted); text-decoration: none; }
.doc__toc a:hover { color: var(--ink); }
.doc__body { grid-column: 5 / span 7; }
@media (max-width: 1023px) { .doc__toc { display: none; } .doc__body { grid-column: 1 / -1; } }
.prose { max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); margin: var(--s-8) 0 var(--s-3); scroll-margin-top: calc(var(--nav) + 24px); }
.prose h3 { font: 500 var(--t-lead)/1.4 var(--font-text); margin: var(--s-6) 0 var(--s-2); }
.prose p, .prose li { line-height: 1.7; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose a { color: var(--brand-blue); }

/* ---- footer: the legal row ---- */
.legal__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-5); }
.footer-slim { border-top: 1px solid var(--line); padding: var(--s-6) 0; }
.footer-slim .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; font-size: var(--t-small); color: var(--muted); }
.footer-slim a { color: inherit; }
.footer-slim .nav__logo-img { height: 28px; }

/* ---- photo hero: a navy box behind the words on the calm side (no scrim on the photograph) ---- */
.hero--photo .hero__text.on-box { background: var(--brand-navy); color: #fff; padding: var(--s-6); border-radius: var(--r-lg); --ink: #fff; --muted: #a8b9c0; }
.hero--photo .hero__text.on-box .btn--secondary { color: #fff; }

/* contact cards: a linked box lifts 2px */
.contact-card { color: var(--ink); text-decoration: none; transition: transform .18s var(--ease), border-color .18s, box-shadow .18s; }
.contact-card:hover { transform: translateY(-2px); border-color: rgba(0,37,50,.25); box-shadow: 0 24px 40px -28px rgba(0,37,50,.35); }
.contact-card p { color: var(--muted); }
.contact-card__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--info-bg); }
.contact-card__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-card__ico--logo { background: #fff; border: 1px solid var(--line); }
.contact-card__ico--light { background: rgba(255,255,255,.1); }
.contact-card__ico--light svg { stroke: var(--brand-orange); }
.h-more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.h-more-link::after { content: "→"; transition: transform .15s var(--ease); }
a:hover > .h-more-link::after { transform: translateX(3px); }
.app-grid.fill { align-content: start; }
.fields__group { grid-column: 1 / -1; margin: var(--s-3) 0 0; color: var(--muted); }
.fields__group:first-child { margin-top: 0; }
.done { display: grid; gap: var(--s-4); justify-items: start; }
.done > * { margin: 0; }
.side .develop img { width: 100%; height: auto; border-radius: var(--r-lg); display: block; }
.side .develop { margin: 0; }

/* sign-in pages */
.auth__form .crumb { margin: 0; }
.auth__form .fields { margin-top: var(--s-2); }
.auth__form .btn--primary { width: 100%; justify-content: space-between; }
.ticket-note { background: #fff; border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-3); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); animation: note-in .9s .4s var(--m-ease-enter, ease-out) both; }
.ticket-note > * { margin: 0; }
.ticket-note__row { display: flex; justify-content: space-between; align-items: center; }
.ticket-note__title { font: 500 var(--t-card)/1.3 var(--font-text); }
@keyframes note-in { from { opacity: 0; transform: translateY(16px); } }
.rise-in > * { animation: note-in .7s var(--m-ease-enter, ease-out) both; }
.rise-in > *:nth-child(2) { animation-delay: .06s; } .rise-in > *:nth-child(3) { animation-delay: .12s; } .rise-in > *:nth-child(n+4) { animation-delay: .18s; }
@media (prefers-reduced-motion: reduce) { .ticket-note, .rise-in > * { animation: none; } }
label.check { cursor: pointer; }

/* account page */
.account-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.account-head p { margin: 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 500; }
.plan-summary { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5); flex-wrap: wrap; }
.plan-summary p { margin: 0; }
.plan-summary__tickets { min-width: 220px; display: grid; gap: var(--s-3); }
.plan-summary__tickets .big-figure { font-size: 40px; }
.rise-card { animation: note-in .7s var(--m-ease-enter, ease-out) both; }
.app-grid > .rise-card:nth-child(3) { animation-delay: .08s; } .app-grid > .rise-card:nth-child(4) { animation-delay: .16s; } .app-grid > .rise-card:nth-child(5) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rise-card { animation: none; } }
.page-intro .account-head .btn--secondary { color: var(--ink); }

/* order summary */
[x-cloak] { display: none !important; }
.order__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.order__pay { width: 100%; justify-content: space-between; }
.box--navy .link { color: #fff; }
.box--navy .kv dd { color: #fff; }
.page-intro .steps { grid-column: 1 / -1; margin-top: var(--s-3); }

/* the kit sizes main > section and the footer to whole screens; these page parts take their content's height */
main > section.app-section { height: auto !important; min-height: 0 !important; padding: var(--s-8) 0 var(--s-9); display: block !important; }
main > section.app-section > .wrap { height: auto !important; display: grid !important; }
footer.closing { height: auto !important; min-height: 0 !important; }
footer.closing > .wrap { height: auto !important; }
.close__media { height: clamp(220px, 24vw, 340px); }
.close__media img { height: 100%; width: 100%; object-fit: cover; }

/* phones and tablets: a section grows with what it holds; nothing is squeezed to fit a screen */
@media (max-width: 1279px) {
  main > section > .wrap > .fill, main > section > .wrap > .group > .fill, main > section > .wrap.grid > .fill { flex: 0 0 auto !important; min-height: auto !important; }
  main > section.section:not(.hero):not([data-moment]) { height: auto !important; }
  main > section.section:not(.hero):not([data-moment]) > .wrap { height: auto !important; }
  .frame--fill { min-height: 320px; }
}


/* ---- header after the client's reference: logo left, the words in a centred pill, a dark pill button ---- */
@media (min-width: 1024px) { :root { --nav: 88px; } }
.nav.nav--pill { background: #fff; border-bottom-color: transparent; transition: border-color .2s, background-color .2s; }
.nav.nav--pill.is-scrolled { border-bottom-color: var(--line); background: #fff; }
.nav__progress { position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--brand-orange); transform-origin: left; transform: scaleX(var(--progress, 0)); pointer-events: none; z-index: 2; }
.nav--pill .nav__bar { justify-content: space-between; gap: var(--s-5); }
.nav--pill .nav__logo .nav__logo-img { height: 40px; }
@media (min-width: 1024px) {
  .nav--pill .nav__links { flex: 0 1 auto; align-self: center; height: 56px; padding: 5px; gap: 2px; border: 1px solid rgba(0,37,50,.1); border-radius: 999px; background: #fff; }
  .nav--pill .nav__item { position: relative; height: auto; }
  .nav--pill .nav__link { height: 44px; padding: 0 18px; border-radius: 999px; font-size: 16px; font-weight: 400; color: #33505b; transition: background-color .18s var(--ease), color .18s var(--ease); }
  .nav--pill .nav__link::before, .nav--pill .nav__link[aria-current="page"]::after { display: none; }
  .nav--pill .nav__link:hover, .nav--pill .nav__item:focus-within > .nav__link { color: var(--ink); background: #f2f5f9; }
  .nav--pill .nav__link[aria-current="page"] { color: var(--ink); font-weight: 500; background: #eef2f6; }
  .nav--pill .nav__link .chev { margin-left: 2px; opacity: .7; }
  .nav--pill .nav__item--dd:hover > .nav__link .chev, .nav--pill .nav__item--dd:focus-within > .nav__link .chev { transform: rotate(180deg); }
  .nav-dd { position: absolute; top: calc(100% + 12px); left: 50%; width: 300px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 24px 48px -24px rgba(0,37,50,.35); display: grid; gap: 2px;
    opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .12s var(--ease), transform .12s var(--ease), visibility 0s linear .12s; }
  .nav-dd::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .nav__item--dd:hover > .nav-dd, .nav__item--dd:focus-within > .nav-dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-duration: .2s, .2s, 0s; transition-delay: .1s, .1s, .1s; }
  .nav-dd a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; }
  .nav-dd a:hover, .nav-dd a:focus-visible { background: #f2f5f9; }
  .nav-dd b { font-weight: 500; font-size: 15px; }
  .nav-dd span { font-size: 13px; color: var(--muted); }
  .nav--pill .nav__actions { gap: var(--s-4); }
  .nav--pill .nav__signin { font-size: 16px; font-weight: 400; color: #33505b; }
  .nav--pill .nav__signin:hover { color: var(--ink); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav--pill .nav__link { padding: 0 11px; font-size: 15px; }
  .nav--pill .nav__signin { display: none; }
  .nav--pill .nav__logo .nav__logo-img { height: 32px; }
}
@media (max-width: 1023px) { .nav-dd { display: none; } .nav--pill .nav__logo .nav__logo-img { height: 32px; } }
/* the dark pill button with the orange arrow disc, pointing up and right as in the reference */
.nav__actions .btn.nav__cta { height: 56px; padding: 0 6px 0 26px; font-size: 16px; background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); gap: 14px; }
.nav__actions .btn.nav__cta:hover { background: #0d3442; }
html[data-buttons="arrow"] .nav__cta.btn--primary::after { width: 44px; height: 44px; background-size: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 9 9 3M4 3h5v5' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (hover: hover) and (pointer: fine) { html[data-buttons="arrow"] .nav__cta.btn--primary:hover::after { transform: translate(2px, -2px) rotate(0deg); } }
@media (max-width: 1023px) { .nav__actions .btn.nav__cta { height: 44px; padding-left: 18px; font-size: 15px; } html[data-buttons="arrow"] .nav__cta.btn--primary::after { width: 34px; height: 34px; } }
@media (max-width: 639px) { .nav__progress { height: 2px; } }
