/* Self-hosted variable fonts (Google Fonts, OFL), latin subset. Served from our own origin so no request
   goes to Google before cookie consent (KYC 10.2). */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/jost-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Clevane web prototype — shared tokens and components.
   Layout: 1600px Figma frames with 160px gutters → a 1280px content wrap, stacked to one column under 900px.
   Single light theme on purpose: this reproduces the client's brand as designed in Figma. */
:root {
  color-scheme: light;
  /* colour tokens (Figma variables) */
  --c-navy: #0b1530;          /* colors/brand/primary, text/heading, button/background-default */
  --c-violet: #5a3e9e;        /* colors/brand/accent, text/accent */
  --c-violet-soft: #eee9f7;   /* colors/background/accent */
  --c-violet-line: #c9bceb;
  --c-body: #3a3a48;          /* colors/text/body */
  --c-muted: #6b6878;         /* colors/text/body-muted */
  --c-disabled: #9a96a3;      /* colors/text/disabled, border/interactive */
  --c-line: #e4ded3;          /* colors/border/decorative, background/disabled */
  --c-cream: #faf8f4;         /* colors/background/secondary */
  --c-cream-2: #f3efe8;       /* colors/background/disabled-alt */
  --c-white: #ffffff;         /* colors/background/primary */
  --c-on-dark: rgba(255, 255, 255, 0.9);
  --c-on-dark-muted: rgba(255, 255, 255, 0.8);
  --c-success-bg: #e3f1e7;
  --c-success: #2f6b45;
  --c-warn-bg: #fbecd2;
  --c-warn: #8a5a12;
  --c-error: #b3261e;
  --c-danger: #b42335;

  --g-accent: linear-gradient(90deg, #7354c2 0%, #4a2f8c 100%);
  --g-dark: linear-gradient(165deg, #0b1530 8.33%, #1e1a4a 91.67%);
  --g-offer: linear-gradient(145deg, #0b1530 8.33%, #18204a 62.5%, #33246a 91.67%);
  --g-clevi-head: linear-gradient(90deg, #0b1530 0%, #5a3e9e 100%);
  --g-send: linear-gradient(135deg, #b9a5ec 0%, #5a3e9e 100%);

  /* type */
  --f-display: "Jost", "Futura", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* layout */
  --wrap: 1280px;
  --gutter: 160px;
  --radius-pill: 320px;
  --shadow-card: 0 4px 3px rgba(1, 15, 49, 0.12), 0 8px 4px rgba(1, 15, 49, 0.08);
  --shadow-light: 0 8px 8px -4px rgba(1, 15, 49, 0.08), 0 4px 6px -4px rgba(1, 15, 49, 0.12);
  --shadow-widget: 0 16px 40px rgba(51, 38, 115, 0.18);
  --nav-h: 80px;
}

@media (max-width: 1440px) { :root { --gutter: 80px; } }
@media (max-width: 1100px) { :root { --gutter: 40px; } }
@media (max-width: 900px)  { :root { --gutter: 16px; --nav-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-body);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--c-violet); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- wrap: the 1280px content column ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.band { width: 100%; }
.band--cream { background: var(--c-cream); }
.band--white { background: var(--c-white); }

/* ---------- typography ---------- */
.eyebrow {
  font: 500 12px/15px var(--f-body);
  letter-spacing: 0.84px;
  text-transform: uppercase;
  color: var(--c-violet);
}
.h-hero { font: 500 36px/1.18 var(--f-display); letter-spacing: -0.36px; color: var(--c-navy); }
.h-section { font: 500 30px/1.18 var(--f-display); letter-spacing: -0.3px; color: var(--c-navy); }
.h-display { font: 600 39px/1.18 var(--f-display); color: var(--c-navy); }
.h-card { font: 700 18px/22.5px var(--f-body); color: var(--c-navy); }
.lead { font: 400 18px/24px var(--f-body); color: var(--c-body); }
.lead--loose { line-height: 28px; }
.small-print { font: 400 12px/1.35 var(--f-body); color: var(--c-muted); }
@media (max-width: 900px) {
  .h-hero { font-size: 28px; letter-spacing: -0.28px; }
  .h-section { font-size: 24px; letter-spacing: -0.24px; }
  .h-display { font-size: 30px; }
  .lead { font-size: 16px; line-height: 24px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 0;
  font: 400 16px/20px var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--g-accent); color: var(--c-white); }
.btn--dark { background: var(--c-navy); color: var(--c-white); }
.btn--outline { background: transparent; color: var(--c-navy); box-shadow: inset 0 0 0 1px var(--c-navy); }
.btn--outline-strong { background: transparent; color: var(--c-navy); box-shadow: inset 0 0 0 1.5px var(--c-navy); padding-inline: 28px; }
.btn--outline:hover, .btn--outline-strong:hover { background: var(--c-violet-soft); filter: none; }
.btn--wide { padding-inline: 28px; }
.btn--block { width: 100%; }
.btn--danger { background: var(--c-danger); color: var(--c-white); }   /* Figma colors/button/background-destructive-default */
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- navigation ---------- */
.site-nav { background: var(--c-white); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.site-nav__entries { display: flex; align-items: center; gap: 32px; }
.site-nav__logo { display: block; width: 143px; }
.site-nav__logo img { width: 137.5px; height: 24px; }
.site-nav__links { display: flex; align-items: center; gap: 32px; }
.site-nav__link {
  font: 400 16px/20px var(--f-body); color: var(--c-navy); text-decoration: none;
  min-width: 48px; text-align: center; padding-block: 10px; position: relative;
}
.site-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--c-violet); transform: scaleX(0); transition: transform 0.2s ease; }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__actions { display: flex; align-items: center; gap: 16px; }
.site-nav__user { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; }
.site-nav__user img { width: 26px; height: 26px; }
.site-nav__burger { display: none; background: none; border: 0; padding: 12px 4px; cursor: pointer; }
.site-nav__burger img { width: 24px; height: 16px; }
.site-nav__panel { display: none; }
[data-auth="in"] .only-out, [data-auth="out"] .only-in { display: none !important; }

@media (max-width: 900px) {
  .site-nav__links, .site-nav__actions { display: none; }
  .site-nav__burger { display: block; }
  .site-nav__panel {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--c-white); border-top: 1px solid var(--c-line);
    box-shadow: 0 16px 24px rgba(11, 21, 48, 0.12);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
  }
  .site-nav__panel[hidden] { display: none; }
  .site-nav__panel a.site-nav__link { display: block; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--c-cream-2); }
  .site-nav__panel a.site-nav__link::after { display: none; }
  .site-nav__panel .site-nav__panel-actions { display: grid; gap: 12px; margin-top: 16px; }
}
.site-nav__panel-actions { display: none; }

/* ---------- section heading block ---------- */
.heading { display: flex; flex-direction: column; gap: 16px; }
.heading__title { display: flex; flex-direction: column; gap: 8px; }
.heading--center { text-align: center; align-items: center; }

/* ---------- offer cards (rendered from data in app.js) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; }
.offer-card {
  display: flex; flex-direction: column; gap: 16px; justify-content: space-between;
  padding: 32px 28px 28px; border-radius: 24px; border: 1px solid var(--c-line); background: var(--c-white);
  color: var(--c-body);
}
.offer-card__top { display: flex; flex-direction: column; gap: 16px; }
.offer-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.offer-card__name { font: 500 27px/36px var(--f-display); color: var(--c-navy); }
.offer-card__price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
.offer-card__amount { font: 600 39px/1.1 var(--f-display); color: var(--c-navy); }
.offer-card__per { font: 400 12px/normal var(--f-body); color: var(--c-muted); }
.offer-card__list { font: 400 14px/normal var(--f-body); padding-left: 21px; list-style: disc; }
.offer-card__cta { display: flex; flex-direction: column; gap: 16px; }
.offer-card__note { font: 400 12px/normal var(--f-body); color: var(--c-muted); }
.offer-card--featured { background: var(--g-offer); border-color: var(--c-violet-line); color: var(--c-on-dark); }
.offer-card--featured .offer-card__name, .offer-card--featured .offer-card__amount { color: var(--c-white); }
.offer-card--featured .offer-card__per, .offer-card--featured .offer-card__note { color: var(--c-on-dark-muted); }
.offer-card:not(.offer-card--featured):hover { border-color: var(--c-violet-line); }
/* one-off request (P15 / KYC 9.1): full-width row under the plans */
.offer-card--oneoff { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 32px; padding: 24px 28px; background: var(--c-cream); }
.offer-card__oneoff-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.offer-card__kicker { font: 500 12px/15px var(--f-body); letter-spacing: 0.84px; text-transform: uppercase; color: var(--c-violet); }
.offer-card__desc { font: 400 14px/20px var(--f-body); color: var(--c-body); }
.offer-card__amount--small { font-size: 27px; }
.offer-card--oneoff .btn { flex: 0 0 auto; }
@media (max-width: 900px) { .offer-card--oneoff { flex-direction: column; align-items: stretch; gap: 16px; } .offer-card--oneoff .offer-card__price { align-items: flex-start; } }
@media (max-width: 1200px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .offer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 360px)  { .offer-card { padding: 24px 20px 20px; } .offer-card__amount { font-size: 34px; } }

/* ---------- dark contact band ("Have a question?") ---------- */
.contact-band {
  display: flex; gap: 24px; align-items: flex-start; justify-content: center;
  width: min(842px, 100%); margin-inline: auto; padding: 24px; border-radius: 16px;
  background: linear-gradient(168deg, #0b1530 8.33%, #1e1a4a 91.67%); color: var(--c-white);
}
.contact-band__intro { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; max-width: 173px; }
.contact-band__title { font: 700 20px/25px var(--f-body); color: var(--c-white); }
.contact-band__text { font: 400 14px/17.5px var(--f-body); color: var(--c-white); }
.contact-band__items { display: flex; gap: 24px; flex: 1 1 0; min-width: 0; }
.contact-band__item { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.contact-band__item--grow { flex: 1 1 0; }
.contact-band__icon { flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: var(--c-navy); }
.contact-band__icon img { width: 24px; height: 24px; }
.contact-band__label { font: 700 14px/20px var(--f-body); color: var(--c-cream-2); }
.contact-band__value { font: 400 14px/20px var(--f-body); color: var(--c-on-dark); text-decoration: underline; text-underline-position: from-font; margin-top: 8px; user-select: all; }
@media (max-width: 900px) {
  .contact-band { flex-direction: column; }
  .contact-band__intro { max-width: none; }
  .contact-band__items { flex-direction: column; gap: 16px; }
}

/* ---------- "Everyday life, made simple" cards ---------- */
.usecase-card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 8px;
  background: var(--c-white); box-shadow: var(--shadow-card); min-height: 312px;
}
.usecase-card__img { flex: 1 1 auto; min-height: 120px; border-radius: 20px; overflow: hidden; }
.usecase-card__img img { width: 100%; height: 100%; object-fit: cover; }
.usecase-card__text { display: flex; flex-direction: column; gap: 8px; }
.usecase-card__body { font: 400 16px/20px var(--f-body); color: var(--c-body); }

/* ---------- accordion (FAQ) ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.accordion__item { border: 1px solid var(--c-disabled); border-radius: 16px; background: var(--c-white); }
.accordion__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font: 700 16px/20px var(--f-body); color: var(--c-body);
}
.accordion__btn img { width: 24px; height: 24px; flex: 0 0 auto; transition: transform 0.2s ease; }
.accordion__item.is-open .accordion__btn img { transform: rotate(180deg); }
.accordion__panel { padding: 0 24px 24px; font: 400 16px/24px var(--f-body); color: var(--c-body); }
.accordion__panel[hidden] { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--g-dark); border-radius: 40px 40px 0 0; color: var(--c-on-dark); }
.site-footer__cols { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; padding-top: 40px; }
.site-footer__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.site-footer__col--end { justify-content: flex-end; }
.site-footer__logo { height: 30px; display: flex; align-items: center; }
.site-footer__logo img { width: 137.5px; height: 24px; }
.site-footer__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer__list a { font: 400 16px/20px var(--f-body); color: var(--c-on-dark); text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; }
.site-footer__heading { font: 500 24px/1.18 var(--f-display); letter-spacing: -0.24px; color: var(--c-white); }
.site-footer__contact { display: flex; flex-direction: column; gap: 16px; }
.site-footer__contact-item { display: flex; gap: 8px; align-items: flex-start; }
.site-footer__contact-item img { width: 24px; height: 24px; flex: 0 0 auto; }
.site-footer__contact-text { display: flex; flex-direction: column; gap: 8px; font: 400 16px/20px var(--f-body); color: var(--c-white); min-width: 0; }
.site-footer__contact-text strong { font-weight: 700; }
.site-footer__contact-text span { text-decoration: underline; text-underline-position: from-font; overflow-wrap: anywhere; }
.site-footer__select { display: flex; flex-direction: column; gap: 8px; }
.site-footer__select label { font: 400 16px/20px var(--f-body); color: var(--c-on-dark); }
.site-footer__select-box { position: relative; }
.site-footer__select select {
  appearance: none; width: 100%; padding: 12px 48px 12px 16px; border-radius: 6px; border: 1px solid var(--c-white);
  background: transparent; color: var(--c-on-dark); font: 400 16px/20px var(--f-body); cursor: pointer;
}
.site-footer__select select option { color: var(--c-navy); }
.site-footer__select-box img { position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); pointer-events: none; }
.site-footer__cookie { background: none; border: 0; padding: 0; text-align: left; font: 400 16px/20px var(--f-body); color: var(--c-on-dark); text-decoration: underline; text-underline-position: from-font; cursor: pointer; }
.site-footer__legal { padding-block: 24px 40px; text-align: center; font: 400 16px/20px var(--f-body); color: var(--c-on-dark); }
@media (max-width: 1100px) { .site-footer__legal { font-size: 14px; } }
@media (max-width: 900px) {
  .site-footer { border-radius: 24px 24px 0 0; }
  .site-footer__cols { flex-direction: column; gap: 24px; padding-top: 24px; }
  .site-footer__col { width: 100%; }
}

/* app-style legal line (dashboard) */
.legal-line { padding-block: 40px; text-align: center; font: 400 11px/1.5 var(--f-body); color: var(--c-muted); }

/* ---------- views & router ---------- */
.view[hidden] { display: none !important; }
.view { animation: view-in 0.25s ease; } /* no fill-mode: a lingering animation would trap fixed overlays (Clevi sheet) in a stacking context */
@keyframes view-in { from { opacity: 0.4; } to { opacity: 1; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 100; max-width: min(520px, calc(100% - 32px));
  padding: 12px 18px; border-radius: 12px; background: var(--c-navy); color: var(--c-white);
  font: 500 14px/20px var(--f-body); box-shadow: 0 12px 32px rgba(11, 21, 48, 0.25);
}
.toast[hidden] { display: none; }

/* ---------- form field (account forms: login, reset password, my account) ----------
   Figma input/text: label 16/20 body, optional help 14/17.5 muted, 1px border/interactive box, radius 6, 12px 16px. */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__texts { display: flex; flex-direction: column; }
.field__label { font: 400 16px/20px var(--f-body); color: var(--c-body); }
.field__help { font: 400 14px/17.5px var(--f-body); color: var(--c-muted); }
.field__control {
  display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 5px 0 15px;
  border: 1px solid var(--c-disabled); border-radius: 6px; background: var(--c-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field__control:focus-within { border-color: var(--c-violet); box-shadow: 0 0 0 1px var(--c-violet); }
.field.is-invalid .field__control { border-color: var(--c-error); }
.field.is-invalid .field__control:focus-within { box-shadow: 0 0 0 1px var(--c-error); }
.field__input {
  flex: 1 1 auto; width: 100%; min-width: 0; padding: 12px 0; border: 0; border-radius: 0; background: transparent;
  font: 400 16px/20px var(--f-body); color: var(--c-body);
}
.field__input:focus, .field__input:focus-visible { outline: none; }
.field__input::placeholder { color: var(--c-muted); opacity: 1; }
.field__control--readonly { background: var(--c-cream); border-color: var(--c-line); }
.field__control--readonly .field__input { color: var(--c-muted); cursor: default; }
.field__error { font: 500 14px/18px var(--f-body); color: var(--c-error); }

/* show / hide password: Figma eye icon; a stroke turns it into "hide" while the password is visible */
.pw-toggle {
  position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: none; cursor: pointer;
}
.pw-toggle img { width: 24px; height: 24px; }
.pw-toggle:hover { background: var(--c-cream); }
.pw-toggle[aria-pressed="true"]::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 2px; border-radius: 2px;
  background: var(--c-navy); box-shadow: 0 0 0 1.5px var(--c-white); transform: translate(-50%, -50%) rotate(-45deg);
}

/* live password rules (Figma account-password "Your password must contain") */
.pw-rules { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; font: 400 14px/17.5px var(--f-body); color: var(--c-body); }
.pw-rules__title { font: 400 14px/17.5px var(--f-body); color: var(--c-body); }
.pw-rules li { display: flex; align-items: center; gap: 8px; }
.pw-rules img { width: 24px; height: 24px; flex: 0 0 auto; }
.pw-rules li.is-met { color: var(--c-success); }

/* form-level message above a submit button */
.form-alert { padding: 12px 14px; border-radius: 8px; background: #fbe9e7; font: 500 14px/20px var(--f-body); color: var(--c-error); overflow-wrap: anywhere; }
.form-alert--ok { background: var(--c-success-bg); color: var(--c-success); }
.form-alert--info { background: var(--c-violet-soft); color: var(--c-navy); }
.form-alert a { color: inherit; font-weight: 700; text-underline-position: from-font; }
.form-alert p + p { margin-top: 4px; }

/* honeypot field of the contact forms: off-screen for people, still filled in by spam bots */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* modal dialogs lock the page scroll (class instead of an inline style: strict CSP) */
html.is-scroll-locked, html.is-scroll-locked body { overflow: hidden; }

/* orders closed (config.js orders.open = false): order buttons stay in place, inactive */
.btn.is-closed { opacity: 0.55; cursor: default; pointer-events: none; filter: none; }

/* Shared sections used on several views */
.wrap--wide { --wrap: 1380px; }
@media (min-width: 1441px) { .wrap--wide { --gutter: 110px; } }

/* Everyday life, made simple — 622 + 32 + 622 columns, cream band, 40px block padding */
.everyday__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-block: 40px; }
.everyday__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; width: 100%; }
.everyday__left { display: flex; flex-direction: column; gap: 24px; min-height: 574px; }
.everyday__photo { flex: 1 1 auto; border-radius: 20px; overflow: hidden; min-height: 280px; }
.everyday__photo img { width: 100%; height: 100%; object-fit: cover; }
.everyday__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-content: start; }
@media (max-width: 1100px) {
  .everyday__cols { grid-template-columns: minmax(0, 1fr); }
  .everyday__left { min-height: 0; }
  .everyday__photo { aspect-ratio: 622 / 470; }
}
.everyday__dots { display: none; }
/* phones (Figma home/services mobile): heading, full-width button, then a swipeable row of 250px cards
   with a 4-dot stepper; no photo */
@media (max-width: 700px) {
  .everyday__inner { gap: 16px; padding-block: 24px 0; }
  .everyday__cols, .everyday__left { display: contents; }
  .everyday__left > .heading { order: 1; align-self: stretch; }
  .everyday__photo { display: none; }
  .everyday__inner > .btn { order: 2; width: 100%; }
  .everyday__grid {
    order: 3; position: relative; align-self: stretch; display: flex; gap: 16px;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scroll-padding-inline: var(--gutter);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .everyday__grid::-webkit-scrollbar { display: none; }
  .everyday .usecase-card { flex: 0 0 250px; min-height: 0; gap: 8px; padding: 16px; scroll-snap-align: start; }
  .everyday .usecase-card__img { flex: 0 0 auto; height: 123px; min-height: 0; }
  .everyday .h-card { font-size: 16px; line-height: 20px; }
  .everyday .usecase-card__body { font-size: 14px; line-height: 17.5px; }
  /* 24px tap targets, 12px dots 24px apart */
  .everyday__dots { order: 4; display: flex; justify-content: center; margin-top: -2px; padding-bottom: 18px; }
  .everyday__dot { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
  .everyday__dot img { width: 12px; height: 12px; }
}

/* links inside the dark footer / legal line */
.site-footer__legal a, .legal-line a { color: inherit; text-decoration: none; }
.site-footer__legal a:hover, .legal-line a:hover { text-decoration: underline; }

/* footer additions: pre-footer terms, contact hours, payment logos */
.site-footer__terms { padding-top: 32px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); font: 400 13px/1.55 var(--f-body); color: var(--c-on-dark-muted); max-width: 100%; }
.site-footer__terms a { color: var(--c-white); }
.site-footer__contact-text em { font-style: normal; font-size: 14px; color: var(--c-on-dark-muted); }
.site-footer__pay { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.site-footer__pay > p { font: 400 14px/20px var(--f-body); color: var(--c-on-dark-muted); }
.site-footer__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.site-footer__logo-card { display: grid; place-items: center; height: 32px; padding: 0 10px; border-radius: 6px; background: var(--c-white); }
.site-footer__3ds { font: 500 12px/16px var(--f-body); color: var(--c-on-dark); }

/* customer-area footer */
.legal-line { display: flex; flex-direction: column; gap: 6px; padding-block: 40px; text-align: center; font: 400 12px/1.5 var(--f-body); color: var(--c-muted); }
.legal-line__cookie { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.legal-line__cookie:hover { text-decoration: underline; }

/* cookie banner: Reject all, Customise and Accept all have the same size and weight */
.cookie { position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.cookie__box { pointer-events: auto; max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; padding: 20px 24px; border-radius: 16px; background: var(--c-white); border: 1px solid var(--c-line); box-shadow: 0 16px 40px rgba(11, 21, 48, 0.22); }
.cookie__title { font: 700 16px/20px var(--f-body); color: var(--c-navy); }
.cookie__text { font: 400 14px/20px var(--f-body); color: var(--c-body); }
.cookie__prefs { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; border-top: 1px solid var(--c-line); }
.cookie__pref { display: flex; gap: 10px; align-items: flex-start; font: 400 14px/20px var(--f-body); color: var(--c-body); }
.cookie__pref input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--c-navy); flex: 0 0 auto; }
.cookie__pref strong { display: block; color: var(--c-navy); }
.cookie__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cookie__actions .btn { width: 100%; }
@media (max-width: 560px) { .cookie__actions { grid-template-columns: minmax(0, 1fr); } .cookie__box { padding: 16px; } }

/* Clevi hero widget — 300×360 card from the Figma "clevi-widget" component.
   On phones the design shows the same card at 70% (210×252); tapping it opens a full chat sheet. */
.clevi {
  width: 300px; height: 360px; display: flex; flex-direction: column; overflow: hidden;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: 20px; box-shadow: var(--shadow-widget);
  font-family: var(--f-body);
}
.clevi__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--g-clevi-head); color: var(--c-white); flex: 0 0 auto; }
.clevi__avatar { width: 28px; height: 28px; border-radius: 14px; background: var(--c-violet-soft); display: grid; place-items: center; flex: 0 0 auto; }
.clevi__avatar img { width: 13.7px; height: 16px; }
.clevi__who { display: flex; flex-direction: column; line-height: normal; min-width: 0; }
.clevi__name { font: 700 15px/normal var(--f-body); }
.clevi__status { font: 400 11px/normal var(--f-body); }
.clevi__close { display: none; margin-left: auto; background: none; border: 0; color: var(--c-white); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 6px; }
.clevi__msgs {
  flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px; background: var(--c-cream);
}
.clevi__bubble { max-width: 230px; padding: 10px 14px; border-radius: 16px; font: 500 13px/1.35 var(--f-body); white-space: pre-wrap; overflow-wrap: anywhere; }
.clevi__bubble--bot { background: var(--c-violet-soft); color: var(--c-navy); }
.clevi__bubble--user { background: var(--c-violet); color: var(--c-white); }
.clevi__bubble--typing { color: var(--c-muted); }
.clevi__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.clevi__chip {
  padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--c-violet); background: var(--c-white);
  font: 500 12px/normal var(--f-body); color: var(--c-violet); cursor: pointer; white-space: nowrap; text-decoration: none;
}
.clevi__chip:hover { background: var(--c-violet-soft); }
.clevi__chip--link { border-color: var(--c-navy); color: var(--c-navy); }
.clevi__input { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--c-line); background: var(--c-white); flex: 0 0 auto; }
.clevi__input input { flex: 1 1 0; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 13px/normal var(--f-body); color: var(--c-navy); padding: 6px 0; }
.clevi__input input::placeholder { color: var(--c-muted); }
.clevi__send { width: 32px; height: 32px; border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; flex: 0 0 auto; }
.clevi__send img { width: 32px; height: 32px; }
.clevi__send[disabled] { opacity: 0.6; cursor: progress; }
.clevi__note { display: none; }
.dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.35; animation: dot 1.1s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: 0.15s; } .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 0.9; transform: translateY(-2px); } }

/* phone: the design shrinks the card to 70% inside the hero visual */
@media (max-width: 700px) {
  .clevi-slot { width: 210px; height: 252px; }
  .clevi-slot > .clevi { transform: scale(0.7); transform-origin: top left; cursor: pointer; }
  .clevi-slot > .clevi .clevi__input input { pointer-events: none; }
  /* expanded: full chat sheet */
  .clevi.is-sheet {
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: min(78vh, 640px);
    transform: none; border-radius: 20px 20px 0 0; cursor: auto;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .clevi.is-sheet .clevi__close { display: block; }
  .clevi.is-sheet .clevi__input input { pointer-events: auto; font-size: 16px; }
  .clevi.is-sheet .clevi__bubble { max-width: 80%; font-size: 15px; }
  .clevi.is-sheet .clevi__chip { font-size: 14px; padding: 8px 14px; }
  .clevi-scrim { position: fixed; inset: 0; z-index: 89; background: rgba(11, 21, 48, 0.45); }
}
.clevi-scrim[hidden] { display: none; }

/* My account (Figma account-profile / account-password / account-plan / account-invoices, compliance v2).
   Desktop: white navigation panel (375px: avatar + name, jump links with a 4px navy marker, Log out at the bottom)
   next to a 515px module on the cream band (843px for the invoice table). Mobile: the jump links become a tab strip
   with a 4px underline, the module takes the full width. */
.acc { display: grid; grid-template-columns: 375px minmax(0, 1fr); align-items: stretch; min-height: min(856px, calc(100vh - var(--nav-h))); }

/* ---------- navigation panel ---------- */
.acc-panel { display: flex; flex-direction: column; gap: 16px; padding-block: 16px; background: var(--c-white); }
.acc-panel__profile { display: flex; align-items: center; gap: 16px; padding-inline: 12px; }
.acc-panel__avatar { width: 64px; height: 64px; flex: 0 0 auto; }
.acc-panel__name { min-width: 0; font: 700 18px/22.5px var(--f-body); color: var(--c-navy); overflow-wrap: anywhere; }
.acc-tabs { display: flex; flex-direction: column; }
.acc-tab {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 24px 0 20px;
  border-left: 4px solid transparent; font: 400 16px/20px var(--f-body); color: var(--c-navy); text-decoration: none;
}
.acc-tab img { width: 24px; height: 24px; flex: 0 0 auto; }
.acc-tab:hover { background: var(--c-cream); }
.acc-tab[aria-current="page"] { border-left-color: var(--c-navy); font-weight: 700; }
.acc-tab__short { display: none; }
.acc-panel__links { display: flex; flex-direction: column; gap: 4px; margin: 0 24px; padding: 16px 0 0; border-top: 1px solid var(--c-line); list-style: none; }
.acc-panel__link { display: inline-block; padding: 6px 0; font: 500 15px/20px var(--f-body); color: var(--c-violet); text-underline-position: from-font; }
.acc-panel__foot { margin-top: auto; padding: 16px; }

/* ---------- module ---------- */
.acc-main { min-width: 0; padding: 24px var(--gutter) 64px 72px; }
.acc-page { display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 515px; }
.acc-page--wide { max-width: 843px; }
.acc-page__title { font: 500 36px/1.18 var(--f-display); letter-spacing: -0.36px; color: var(--c-navy); }
.acc-page__title:focus { outline: none; }
.acc-card { display: flex; flex-direction: column; gap: 24px; padding: 24px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-white); }
.acc-card__title { font: 700 20px/25px var(--f-body); color: var(--c-navy); }
.acc-card__title--lg { font-size: 24px; line-height: 30px; }
.acc-card__text { font: 400 16px/24px var(--f-body); color: var(--c-body); }
.acc-card__note { font: 400 14px/20px var(--f-body); color: var(--c-muted); }
.acc-card [type="submit"][aria-busy="true"] { opacity: 1; cursor: progress; filter: none; }
.acc-loading { font: 400 16px/24px var(--f-body); color: var(--c-muted); }

/* key / value rows (Figma list-item: label 18 bold navy, value 16 body, right aligned) */
.acc-list { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.acc-list__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.acc-list__row dt { font: 700 18px/22.5px var(--f-body); color: var(--c-navy); }
.acc-list__row dd { margin: 0 0 0 auto; min-width: 0; font: 400 16px/20px var(--f-body); color: var(--c-body); text-align: right; overflow-wrap: anywhere; }
.acc-card .acc-list + .btn { margin-top: -12px; }

/* ---------- invoice table (Figma table: 56px header, 12px uppercase labels, alternate rows on cream) ---------- */
.acc-table-wrap { overflow-x: auto; }
.acc-table { width: 100%; border-collapse: collapse; font: 400 16px/20px var(--f-body); color: var(--c-body); }
.acc-table th {
  height: 56px; padding: 12px; text-align: left; vertical-align: middle; white-space: nowrap;
  font: 500 12px/15px var(--f-body); letter-spacing: 0.84px; text-transform: uppercase; color: var(--c-muted);
}
.acc-table td { padding: 12px; vertical-align: middle; }
.acc-table tbody tr:nth-child(odd) { background: var(--c-cream-2); }
.acc-table td.acc-table__nowrap { white-space: nowrap; }
.acc-table__desc { min-width: 160px; }
.acc-view {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: var(--radius-pill);
  background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-navy); cursor: pointer;
  font: 400 14px/18px var(--f-body); color: var(--c-navy); white-space: nowrap;
}
.acc-view img { width: 16px; height: 16px; }
.acc-view:hover { background: var(--c-violet-soft); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .acc { grid-template-columns: 260px minmax(0, 1fr); }
  .acc-main { padding-left: 40px; }
  .acc-tab { padding-inline: 16px 12px; }
}
@media (max-width: 900px) {
  .acc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tabs" "main" "links" "foot"; min-height: 0; }
  .acc-panel { display: contents; }
  .acc-panel__profile { display: none; }
  .acc-tabs {
    grid-area: tabs; flex-direction: row; overflow-x: auto; background: var(--c-white);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .acc-tabs::-webkit-scrollbar { display: none; }
  .acc-tab { flex: 1 0 auto; justify-content: center; padding: 12px; border-left: 0; border-bottom: 4px solid transparent; }
  .acc-tab[aria-current="page"] { border-bottom-color: var(--c-navy); }
  .acc-tab img { display: none; }
  .acc-tab__long { display: none; }
  .acc-tab__short { display: inline; }
  .acc-main { grid-area: main; padding: 24px var(--gutter) 8px; }
  .acc-page, .acc-page--wide { max-width: none; gap: 16px; }
  .acc-page__title { font-size: 30px; letter-spacing: -0.3px; }
  .acc-card { gap: 16px; padding: 16px; }
  .acc-card .acc-list + .btn { margin-top: 0; }
  .acc-panel__links { grid-area: links; flex-direction: row; flex-wrap: wrap; gap: 4px 24px; margin: 8px var(--gutter) 0; }
  .acc-panel__foot { grid-area: foot; padding: 16px var(--gutter) 32px; }
}
@media (max-width: 1100px) {
  /* narrow module: the table becomes one block per invoice (Figma account-invoices mobile: label above each value),
     laid out on a small grid so that a tablet shows several values per line */
  .acc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .acc-table, .acc-table tbody, .acc-table td { display: block; width: 100%; }
  .acc-table tbody { display: flex; flex-direction: column; gap: 8px; }
  .acc-table tbody tr, .acc-table tbody tr:nth-child(odd) {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); padding: 4px 0; background: var(--c-cream-2);
  }
  .acc-table td { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 8px 12px; }
  .acc-table td::before { content: attr(data-label); font: 500 12px/15px var(--f-body); letter-spacing: 0.84px; text-transform: uppercase; color: var(--c-muted); }
  .acc-table td[data-label=""] { grid-column: 1 / -1; }
  .acc-table td[data-label=""]::before { display: none; }
  .acc-table td:empty { display: none; }
  .acc-table td.acc-table__desc { grid-column: span 2; min-width: 0; }
  .acc-view { align-self: flex-start; padding: 10px 16px; font-size: 16px; }
}
@media (max-width: 700px) {
  .acc-list__row dt { font-size: 16px; line-height: 20px; }
  .acc-list__row dd { font-size: 15px; }
}

/* ---------- invoice document (dialog, then the only thing printed) ---------- */
.acc-doc {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(11, 21, 48, 0.55);
}
.acc-doc[hidden] { display: none; }
.acc-doc__box { display: flex; flex-direction: column; width: min(760px, 100%); max-height: min(92vh, 1040px); border-radius: 16px; background: var(--c-cream); box-shadow: 0 24px 60px rgba(11, 21, 48, 0.35); overflow: hidden; }
.acc-doc__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--c-line); background: var(--c-white); }
.acc-doc__print img { width: 16px; height: 16px; }
.acc-doc__close { width: 40px; height: 40px; flex: 0 0 auto; border: 0; border-radius: 50%; background: var(--c-cream); font-size: 24px; line-height: 1; color: var(--c-navy); cursor: pointer; }

.inv { display: flex; flex-direction: column; gap: 24px; min-height: 0; margin: 16px; padding: 32px; overflow-y: auto; border-radius: 8px; background: var(--c-white); font: 400 14px/20px var(--f-body); color: var(--c-body); overflow-wrap: anywhere; }
.inv:focus { outline: none; }
.inv__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 2px solid var(--c-navy); }
.inv__logo { width: 137.5px; height: 24px; margin-top: 6px; }
.inv__title-block { text-align: right; }
.inv__title { font: 500 28px/1.18 var(--f-display); color: var(--c-navy); }
.inv__date { margin-top: 4px; color: var(--c-muted); }
.inv__parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.inv__party { display: flex; flex-direction: column; gap: 2px; }
.inv__label { margin-bottom: 6px; font: 500 12px/15px var(--f-body); letter-spacing: 0.84px; text-transform: uppercase; color: var(--c-muted); }
.inv__party strong { color: var(--c-navy); }
.inv__lines { width: 100%; border-collapse: collapse; }
.inv__lines th, .inv__lines td { padding: 10px 12px; text-align: left; }
.inv__lines th:last-child, .inv__lines td:last-child { text-align: right; white-space: nowrap; }
.inv__lines thead th { font: 500 12px/15px var(--f-body); letter-spacing: 0.84px; text-transform: uppercase; color: var(--c-muted); border-bottom: 1px solid var(--c-line); }
.inv__lines tbody td { border-bottom: 1px solid var(--c-line); }
.inv__lines tfoot th, .inv__lines tfoot td { font: 700 16px/22px var(--f-body); color: var(--c-navy); }
.inv__vat { color: var(--c-muted); }
.inv__meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; }
.inv__meta div { display: flex; gap: 8px; }
.inv__meta dt { color: var(--c-muted); }
.inv__meta dd { margin: 0; font-weight: 600; color: var(--c-navy); }
.inv__foot { padding-top: 16px; border-top: 1px solid var(--c-line); font-size: 12px; line-height: 16px; color: var(--c-muted); }
@media (max-width: 560px) {
  .acc-doc { padding: 8px; }
  .acc-doc__print { padding-inline: 12px; font-size: 14px; white-space: normal; text-align: left; }
  .inv { margin: 8px; padding: 20px 16px; }
  .inv__head { flex-direction: column; }
  .inv__title-block { text-align: left; }
  .inv__parties { grid-template-columns: minmax(0, 1fr); }
}

/* print: only the open invoice, on white paper */
@media print {
  html.acc-doc-open, html.acc-doc-open body { overflow: visible !important; background: #fff; }
  html.acc-doc-open body > :not(.acc-doc) { display: none !important; }
  html.acc-doc-open .acc-doc { position: static; display: block; padding: 0; background: none; }
  html.acc-doc-open .acc-doc__box { width: auto; max-height: none; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
  html.acc-doc-open .acc-doc__bar { display: none; }
  html.acc-doc-open .inv { margin: 0; padding: 0; overflow: visible; border-radius: 0; font-size: 12pt; line-height: 1.45; }
  html.acc-doc-open .inv__parties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @page { margin: 16mm; }
}

/* Assistance view = the "hub-home" frames (Figma 10699:16513 desktop, 10699:17086 mobile) */
.view[data-view="assistance"] {
  --hub-indigo: #1e1a4a; /* end colour of the "Still have a question?" card gradient (no token) */
  --hub-shadow-tile: 0 12px 42px -4px rgba(1, 15, 49, 0.12), 0 8px 18px -6px rgba(1, 15, 49, 0.12); /* shadow/bottom/medium */
}

.hub-eyebrow { color: var(--c-navy); }
.hub-lead { font: 500 24px/37.5px var(--f-body); color: var(--c-body); text-wrap: pretty; }
.hub-btn { padding: 12px 16px; font: 700 18px/22.5px var(--f-body); }
.hub-btn--soft { background: var(--c-line); color: var(--c-navy); }
.hub-mob { display: none; }

/* ---------- hero: 660 text + 80 gap + 540 visual ---------- */
.hub-hero { position: relative; background: var(--c-cream-2); box-shadow: var(--shadow-card); }
.hub-hero__inner { display: grid; grid-template-columns: minmax(0, 660px) 540px; justify-content: space-between; align-items: center; column-gap: 80px; padding-block: 48px 64px; }
.hub-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.hub-hero__head { display: flex; flex-direction: column; gap: 8px; }
.hub-hero__title { font: 500 48px/1.18 var(--f-display); letter-spacing: -0.48px; color: var(--c-navy); }
.hub-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; width: 100%; }
.hub-hero__actions .btn { flex: 1 1 0; }
.hub-hero__visual { position: relative; width: 540px; height: 420px; }
.hub-hero__photo { position: absolute; left: 100px; top: 0; width: calc(100% - 100px); height: 100%; object-fit: cover; border-radius: 24px; }
.hub-hero__widget { position: absolute; left: 0; top: 159px; }
/* the hub design shows the Clevi card at 78% (234×281) next to the smaller photo */
@media (min-width: 701px) {
  .hub-hero__widget { width: 234px; height: 281px; }
  .hub-hero__widget > .clevi { transform: scale(0.78); transform-origin: top left; transition: transform 0.25s ease; position: relative; z-index: 2; }
  /* the design shows the card at 78%; once someone types in it, it grows to full size so the live chat stays readable */
  .hub-hero__widget > .clevi:focus-within, .hub-hero__widget > .clevi.is-active { transform: scale(1); }
}

/* ---------- "How can we help?" callout ---------- */
.hub-help__inner { padding-top: 80px; }
.hub-callout { display: flex; align-items: center; gap: 32px; border-radius: 16px; background: var(--c-navy); box-shadow: var(--shadow-card); overflow: hidden; }
.hub-callout__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding: 24px; }
.hub-callout__title { font: 500 36px/1.18 var(--f-display); letter-spacing: -0.36px; color: var(--c-white); }
.hub-callout__body { font: 500 18px/22.5px var(--f-body); color: var(--c-on-dark); }
.hub-callout__img { flex: 1 1 0; min-width: 0; height: 352px; }
.hub-callout__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- How does it work? ---------- */
.hub-steps__inner { display: flex; flex-direction: column; gap: 32px; padding-block: 64px; }
.hub-steps__head, .hub-manage__head { gap: 8px; }
.hub-stepper { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; gap: 14px; }
.hub-step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.hub-step__num { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-navy); color: var(--c-white); font: 700 20px/25px var(--f-body); }
.hub-step__text { font: 400 16px/20px var(--f-body); color: var(--c-body); text-wrap: pretty; }
.hub-step__text strong { display: block; font-weight: 700; font-size: 18px; line-height: 22.5px; }
.hub-stepper__rope { flex: 0 0 40px; }
.hub-stepper__rope img { width: 40px; }
.hub-rope--v { display: none; }

/* ---------- Manage your subscription online ---------- */
.hub-manage { scroll-margin-top: var(--nav-h); }
.hub-manage__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; padding-block: 80px; }
.hub-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; }
.hub-benefit { display: flex; align-items: center; gap: 24px; min-width: 0; padding: 24px; border-radius: 6px; background: var(--c-white); box-shadow: var(--hub-shadow-tile); }
.hub-benefit img { flex: 0 0 auto; width: 80px; height: 80px; }
.hub-benefit__title { font: 700 18px/22.5px var(--f-body); color: var(--c-navy); }
.hub-benefit__desc { margin-top: 8px; font: 400 16px/20px var(--f-body); color: var(--c-muted); }
.hub-manage__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hub-manage__btn { width: 343px; max-width: 100%; }
.hub-manage__note { font: 400 16px/20px var(--f-body); color: var(--c-muted); text-align: center; }

/* ---------- FAQ + contact card ---------- */
.hub-bottom__inner { display: flex; align-items: flex-start; gap: 48px; padding-block: 64px 144px; }
.hub-faq { flex: 1 1 0; min-width: 0; gap: 16px; }
.hub-faq .accordion__item { border-radius: 6px; }
.hub-faq .accordion__btn { justify-content: flex-start; align-items: center; gap: 8px; padding: 23px; font: 700 18px/22.5px var(--f-body); color: var(--c-body); }
.hub-faq .accordion__panel { margin-top: -7px; padding: 0 23px 23px; font: 400 16px/20px var(--f-body); color: var(--c-body); }

.hub-contact {
  flex: 0 0 405px; display: flex; flex-direction: column; gap: 24px; padding: 24px 16px; border-radius: 16px;
  background: linear-gradient(140deg, var(--c-navy) 8.33%, var(--hub-indigo) 91.67%); color: var(--c-white);
}
.hub-contact__head { display: flex; flex-direction: column; gap: 8px; }
.hub-contact__title { font: 700 20px/25px var(--f-body); color: var(--c-white); }
.hub-contact__intro { font: 400 14px/17.5px var(--f-body); color: var(--c-white); }
.hub-contact__list { display: flex; flex-direction: column; gap: 24px; }
.hub-contact__item { display: flex; align-items: center; gap: 16px; min-width: 0; }
.hub-contact__item > div { min-width: 0; }
.hub-contact__icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: var(--c-navy); }
.hub-contact__icon img { width: 24px; height: 24px; }
.hub-contact__label { font: 400 16px/20px var(--f-body); color: var(--c-cream-2); }
.hub-contact__value {
  margin-top: 8px; font: 700 14px/17.5px var(--f-body); color: var(--c-on-dark);
  text-decoration: underline; text-underline-position: from-font; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere;
}

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .hub-hero__inner { grid-template-columns: minmax(0, 1fr) 480px; column-gap: 48px; }
  .hub-hero__visual { width: 480px; }
}
@media (max-width: 1100px) {
  .hub-hero__inner { grid-template-columns: minmax(0, 1fr) 420px; column-gap: 40px; }
  .hub-hero__visual { width: 420px; }
  .hub-lead { font-size: 20px; line-height: 30px; }
  .hub-benefit { gap: 16px; padding: 20px; }
  .hub-benefit img { width: 56px; height: 56px; }
  .hub-contact { flex-basis: 360px; }
}
@media (max-width: 900px) {
  .hub-hero__inner { grid-template-columns: minmax(0, 1fr); row-gap: 40px; padding-block: 40px 48px; }
  .hub-hero__visual { width: min(540px, 100%); margin-inline: auto; }
  .hub-callout { flex-direction: column; align-items: stretch; gap: 0; }
  .hub-callout__img { order: -1; flex: 0 0 auto; height: auto; aspect-ratio: 343 / 193; }
  .hub-callout__text { gap: 16px; }
  .hub-benefits { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 560px; }
  .hub-bottom__inner { flex-direction: column; align-items: stretch; gap: 24px; padding-block: 48px 96px; }
  .hub-contact { flex: 0 0 auto; }
}
@media (max-width: 700px) {
  .hub-desk { display: none; }
  .hub-mob { display: inline; }
  .hub-btn { font-size: 16px; line-height: 20px; }
  .hub-lead { font: 400 16px/20px var(--f-body); }
  .hub-lead--sm { font-size: 14px; line-height: 17.5px; }
  .hub-steps .h-hero, .hub-manage .h-hero { font-size: 24px; letter-spacing: -0.24px; }

  /* hero: stacked, full-width buttons, "Contact us" becomes a text link */
  .hub-hero__inner { row-gap: 24px; padding-block: 24px 48px; }
  .hub-hero__content { align-items: stretch; }
  .hub-hero__title { font-size: 24px; letter-spacing: -0.24px; }
  .hub-hero__actions { flex-direction: column; gap: 12px; margin-top: -8px; }
  .hub-hero__actions .btn { flex: 0 0 auto; }
  .hub-hero__contact {
    align-self: center; padding: 0; background: none; box-shadow: none; color: var(--c-body);
    font-weight: 400; text-decoration: underline; text-underline-position: from-font;
  }
  .hub-hero__contact:hover { background: none; color: var(--c-navy); }
  .hub-hero__visual { width: 100%; height: 400px; }
  .hub-hero__photo { left: 56px; width: calc(100% - 56px); height: 380px; border-radius: 20px; }
  .hub-hero__widget { top: auto; bottom: 0; }

  .hub-help__inner { padding-top: 24px; }
  .hub-callout__text { gap: 8px; }
  .hub-callout__title { font-size: 24px; letter-spacing: -0.24px; }
  .hub-callout__body { font: 400 14px/17.5px var(--f-body); }

  .hub-steps__inner { gap: 16px; padding-block: 24px; }
  .hub-steps__head, .hub-manage__head { text-align: left; align-items: flex-start; }
  .hub-stepper { flex-direction: column; align-items: stretch; gap: 0; }
  .hub-step { flex-direction: row; align-items: center; gap: 8px; text-align: left; }
  .hub-step__text, .hub-step__text strong { font-size: 14px; line-height: 17.5px; }
  .hub-stepper__rope { flex: 0 0 auto; }
  .hub-rope--h { display: none; }
  .hub-rope--v { display: block; height: 66.2px; }

  .hub-manage__inner { align-items: stretch; gap: 16px; padding-block: 24px; }
  .hub-benefits { max-width: none; }
  .hub-benefit { gap: 16px; padding: 16px; }
  .hub-benefit img { width: 40px; height: 40px; }
  .hub-benefit__title { font-size: 16px; line-height: 20px; }
  .hub-benefit__desc { font-size: 14px; line-height: 17.5px; }
  .hub-manage__cta { gap: 16px; }
  .hub-manage__btn { width: 100%; }

  .hub-bottom__inner { gap: 16px; padding-block: 24px; }
  .hub-faq .accordion__btn { padding: 15px; font-size: 16px; line-height: 20px; }
  .hub-faq .accordion__panel { margin-top: 1px; padding: 0 15px 15px; }
}

/* Login and new-password views (#login, #reset-password). No Figma frame: built from the checkout payment card
   (navy "secure" strip with its pointer, white 16px card on the cream band) and the account form fields. */
.auth__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-block: 56px 72px; }

.auth-card { display: flex; flex-direction: column; gap: 8px; width: min(520px, 100%); background: var(--c-white); border-radius: 16px; box-shadow: var(--shadow-light); }
.auth-card__badge { display: flex; flex-direction: column; align-items: center; }
.auth-card__bar {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 14px 24px; border-radius: 16px 16px 0 0; background: var(--c-navy);
  font: 700 16px/20px var(--f-body); color: var(--c-white); text-align: center;
}
.auth-card__bar img { width: 24px; height: 24px; flex: 0 0 auto; }
.auth-card__pointer { width: 22.17px; height: 13.856px; transform: rotate(180deg); }
.auth-card__body { display: flex; flex-direction: column; gap: 24px; padding: 8px 32px 32px; }

.auth-panel { display: flex; flex-direction: column; gap: 24px; }
.auth-head { display: flex; flex-direction: column; gap: 8px; }
.auth-head__title { font: 500 36px/1.18 var(--f-display); letter-spacing: -0.36px; color: var(--c-navy); }
.auth-head__title:focus { outline: none; }
.auth-head__lead { font: 400 16px/24px var(--f-body); color: var(--c-body); }

.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-form__row { display: flex; justify-content: flex-end; margin-top: -8px; }
.auth-form__submit[aria-busy="true"] { opacity: 1; cursor: progress; filter: none; }

/* text buttons and links inside the card */
.auth-link {
  padding: 2px 0; border: 0; background: none; cursor: pointer;
  font: 600 14px/20px var(--f-body); color: var(--c-violet);
  text-decoration: underline; text-underline-position: from-font;
}
.auth-link:hover { text-decoration-thickness: 2px; }
.auth-alt { padding-top: 20px; border-top: 1px solid var(--c-line); font: 400 16px/24px var(--f-body); color: var(--c-body); text-align: center; }
.auth-alt a { font-weight: 700; color: var(--c-violet); text-underline-position: from-font; }
.auth-alt .auth-link { font-size: 16px; }

/* prototype helper (same look as the checkout "Fill with test details") */
.auth-demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 8px; background: var(--c-cream); }
.auth-demo__tag { font: 600 10px/14px var(--f-body); letter-spacing: 0.7px; text-transform: uppercase; color: var(--c-muted); }
.auth-demo__btn {
  padding: 4px 0; border: 0; background: none; cursor: pointer;
  font: 600 13px/16px var(--f-body); color: var(--c-violet);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}

.auth-help { max-width: 520px; font: 400 14px/20px var(--f-body); color: var(--c-muted); text-align: center; overflow-wrap: anywhere; }

.pw-rules-box { display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 700px) {
  .auth__inner { padding-block: 24px 40px; gap: 16px; }
  .auth-card__body { padding: 8px 16px 24px; gap: 20px; }
  .auth-head__title { font-size: 28px; letter-spacing: -0.28px; }
  .auth-card__bar { padding-inline: 12px; }
}

/* Cancel view = the "hub-termination" frames (Figma help-center/termination 10522:23652 desktop, 10522:23890 mobile)
   and "hub-termination-confirmed" (10741:10696 / 10741:10790) as its third step.
   Desktop: breadcrumb, then 624px main column + 48px gap + 405px contact card (the Assistance .hub-contact component). */
.view[data-view="cancel"] {
  --hub-indigo: #1e1a4a;  /* end colour of the .hub-contact gradient, declared per view in assistance.css */
}

.cx { padding-block: 16px 80px; }

/* breadcrumb */
.cx-crumb { display: flex; align-items: center; gap: 8px; padding: 16px; font: 500 18px/22.5px var(--f-body); color: var(--c-navy); }
.cx-crumb img { width: 24px; height: 24px; flex: 0 0 auto; }
.cx-crumb__link { color: inherit; text-decoration: none; }
.cx-crumb__link:hover { text-decoration: underline; text-underline-position: from-font; }
.cx-crumb__current { font-weight: 700; }

.cx__body { display: flex; align-items: flex-start; justify-content: center; gap: 48px; margin-top: 24px; }
.cx__main { flex: 0 1 624px; min-width: 0; }
.cx__aside { flex: 0 0 405px; min-width: 0; }
.cx__aside .cx-contact { flex: none; } /* .hub-contact is sized for the Assistance row layout */

.cx-step { display: flex; flex-direction: column; gap: 32px; }

/* heading */
.cx-head { display: flex; flex-direction: column; gap: 8px; }
.cx-head__eyebrow { color: var(--c-navy); }
.cx-head__title { font: 500 48px/1.18 var(--f-display); letter-spacing: -0.48px; color: var(--c-navy); text-wrap: balance; }
.cx-head__title:focus { outline: none; }
.cx-head__lead { margin-top: 8px; font: 500 24px/37.5px var(--f-body); color: var(--c-body); text-wrap: pretty; overflow-wrap: anywhere; }
.cx-email { font-weight: 700; color: var(--c-navy); }

/* cream box: form, confirmation, back button */
.cx-box { display: flex; flex-direction: column; gap: 24px; padding: 24px; border-radius: 8px; background: var(--c-cream); }
.cx-box__btn { font-weight: 700; }
.cx-field { display: flex; flex-direction: column; min-width: 0; }
.cx-field__label { font: 700 16px/20px var(--f-body); color: var(--c-body); }
.cx-field__help { font: 400 14px/17.5px var(--f-body); color: var(--c-muted); }
.cx-field__input {
  width: 100%; margin-top: 8px; padding: 11px 15px; border: 1px solid var(--c-disabled); border-radius: 6px; /* 44px box, as in Figma */
  background: var(--c-white); font: 400 16px/20px var(--f-body); color: var(--c-body); outline: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease; scroll-margin-top: calc(var(--nav-h) + 64px);
}
.cx-field__input::placeholder { color: var(--c-muted); opacity: 1; }
.cx-field__input:focus { border-color: var(--c-violet); box-shadow: 0 0 0 1px var(--c-violet); }
.cx-field__error { margin-top: 6px; font: 500 14px/17.5px var(--f-body); color: var(--c-error); }
.cx-field.is-invalid .cx-field__input { border-color: var(--c-error); }
.cx-field.is-invalid .cx-field__input:focus { box-shadow: 0 0 0 1px var(--c-error); }
.cx-select { position: relative; }
.cx-select select { appearance: none; padding-right: 48px; cursor: pointer; }
.cx-select img { position: absolute; right: 12px; top: calc(50% + 4px); width: 24px; height: 24px; transform: translateY(-50%); pointer-events: none; }
.cx-note { font: 400 14px/17.5px var(--f-body); color: var(--c-body); }
.cx-note a, .cx-head__lead a { color: var(--c-violet); text-underline-position: from-font; }

.cx-list { margin: 0; padding-left: 1.25em; font: 400 16px/24px var(--f-body); color: var(--c-body); }
.cx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cx-actions .btn { flex: 1 1 220px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cx__body { gap: 32px; }
  .cx__aside { flex-basis: 360px; }
  .cx-head__lead { font-size: 20px; line-height: 30px; }
}
@media (max-width: 900px) {
  .cx { padding-block: 0 24px; }
  .cx-crumb { padding-inline: 0; }
  .cx__body { flex-direction: column; align-items: center; gap: 16px; margin-top: 0; }
  .cx__main, .cx__aside { flex: 0 0 auto; width: min(624px, 100%); }
  .cx__main { padding-bottom: 8px; }
  .cx-step { gap: 24px; }
}
@media (max-width: 700px) {
  .cx-crumb { font-size: 16px; line-height: 20px; font-weight: 400; }
  .cx-head__title { font-size: 24px; letter-spacing: -0.24px; }
  .cx-head__lead { margin-top: 8px; font: 400 16px/20px var(--f-body); }
  .cx-box { gap: 12px; padding: 12px; }
  .cx-list { font-size: 14px; line-height: 20px; }
  .cx-actions { flex-direction: column; }
  .cx-actions .btn { flex: 0 0 auto; width: 100%; }
}

/* accounts: plan summary above the reason, and the "no running subscription" state */
.cx-plan { font: 400 16px/24px var(--f-body); color: var(--c-body); }
.cx-plan strong { color: var(--c-navy); }
.cx-note--strong { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--c-navy); }
.cx-box [aria-busy="true"] { opacity: 1; cursor: progress; filter: none; }

/* Checkout view (Figma 10503:840 desktop, 10503:921 mobile)
   Desktop: two 624px columns (payment card | order summary) with a 32px gap, cream band, 40px block padding.
   Mobile: one column, card logos move into the card-number field, summary rows stack. */

.co__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; padding-block: 40px; }

/* ---------- payment card ---------- */
.co-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; background: var(--c-white); border-radius: 16px; }
.co-badge { display: flex; flex-direction: column; align-items: center; }
.co-badge__bar {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 14px 24px; border-radius: 16px 16px 0 0; background: var(--c-navy);
  font: 700 16px/20px var(--f-body); color: var(--c-white); text-align: center;
}
.co-badge__bar img { width: 24px; height: 24px; flex: 0 0 auto; }
.co-badge__pointer { width: 22.17px; height: 13.856px; transform: rotate(180deg); }
.co-card__body { display: flex; flex-direction: column; gap: 16px; padding: 0 24px 24px; }

/* prototype helper: small, secondary, clearly labelled */
.co-demo { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: -4px; }
.co-demo__tag {
  padding: 2px 6px; border-radius: 4px; background: var(--c-cream-2);
  font: 600 10px/14px var(--f-body); letter-spacing: 0.7px; text-transform: uppercase; color: var(--c-muted);
}
.co-demo__btn {
  padding: 4px 0; border: 0; background: none; cursor: pointer;
  font: 600 13px/16px var(--f-body); color: var(--c-violet);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.co-demo__btn:hover { text-decoration-thickness: 2px; }

.co-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.co-title { font: 500 24px/1.18 var(--f-display); letter-spacing: -0.24px; color: var(--c-body); }

/* card brand logos: white tile, 1.28px decorative border, logo placed with the Figma insets */
.co-brands { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.co-brands--field { display: none; }
.co-brand {
  position: relative; display: block; flex: 0 0 auto; width: 54px; height: 40px; overflow: hidden;
  border-radius: 6.4px; background: var(--c-white); box-shadow: inset 0 0 0 1.28px var(--c-line);
}
.co-brand img { position: absolute; max-width: none; }
.co-brand--mc img { left: 24.61%; top: 29.17%; width: 50.39%; height: 41.34%; }
.co-brand--visa img { left: 6.25%; top: 33.33%; width: 84.38%; height: 36.29%; }

/* ---------- fields ---------- */
.co-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.co-label { font: 400 16px/24px var(--f-body); color: var(--c-body); }
.co-label--tight { line-height: 20px; }
.co-control {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 15px;
  border: 1px solid var(--c-muted); border-radius: 6px; background: var(--c-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.co-control:focus-within { border-color: var(--c-violet); box-shadow: 0 0 0 1px var(--c-violet); }
.co-control.is-invalid { border-color: var(--c-error); }
.co-control.is-invalid:focus-within { box-shadow: 0 0 0 1px var(--c-error); }
.co-control__icon { width: 24px; height: 24px; flex: 0 0 auto; }
.co-input {
  flex: 1 1 auto; width: 100%; min-width: 0; padding: 11px 0; border: 0; border-radius: 0; background: transparent;
  font: 400 16px/24px var(--f-body); color: var(--c-body);
}
.co-input::placeholder { color: var(--c-muted); opacity: 1; }
.co-input:focus, .co-input:focus-visible { outline: none; }
.co-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }

/* telephone: the country-code select is a rounded box sitting on the field's own border */
.co-phone { gap: 16px; padding: 0 16px 0 0; border-color: var(--c-disabled); }
.co-phone__code { position: relative; flex: 0 0 auto; align-self: stretch; margin: -1px 0 -1px -1px; }
.co-phone__code select {
  -webkit-appearance: none; appearance: none; display: block; height: 100%; min-height: 48px;
  padding: 0 47px 0 15px; border: 1px solid var(--c-disabled); border-radius: 6px; background: var(--c-white);
  font: 400 16px/20px var(--f-body); color: var(--c-body); cursor: pointer;
}
.co-phone__code select:focus, .co-phone__code select:focus-visible { outline: none; border-color: var(--c-violet); }
.co-phone.is-invalid .co-phone__code select { border-color: var(--c-error); }
.co-phone__code img { position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); pointer-events: none; }
.co-phone__number { padding-block: 13px; line-height: 20px; }

.co-error { font: 500 13px/18px var(--f-body); color: var(--c-error); }
.co-error[hidden] { display: none; }

/* ---------- consents ---------- */
.co-consents { display: flex; flex-direction: column; gap: 16px; }
.co-consent { display: flex; flex-direction: column; gap: 6px; }
.co-consent .co-error { padding-left: 28px; }
.co-check { display: flex; align-items: center; gap: 8px; }
.co-check input {
  -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 20px; height: 20px; margin: 0;
  border: 1px solid var(--c-disabled); border-radius: 4px; background: var(--c-white) center / 18px 18px no-repeat;
  cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease;
}
.co-check input:hover { border-color: var(--c-violet); }
.co-check input:checked { border-color: var(--c-violet); background-color: var(--c-violet); background-image: url("icon-check.svg"); }
.co-check input:focus-visible { outline: 2px solid var(--c-violet); outline-offset: 2px; border-radius: 4px; }
.co-check.is-invalid input { border-color: var(--c-error); box-shadow: 0 0 0 1px var(--c-error); }
.co-check label { flex: 1 1 0; min-width: 0; font: 400 12px/16px var(--f-body); color: var(--c-body); cursor: pointer; }
.co-check a { color: inherit; text-decoration: underline; text-underline-position: from-font; }
.co-check a:hover { color: var(--c-violet); }

/* ---------- pay button ---------- */
.co-pay { white-space: normal; text-align: center; }
.co-pay[aria-busy="true"] { opacity: 1; cursor: progress; filter: none; }
.co-pay__spinner {
  width: 16px; height: 16px; flex: 0 0 auto; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: var(--c-white);
  animation: co-spin 0.8s linear infinite;
}
.co-pay__spinner[hidden] { display: none; }
@keyframes co-spin { to { transform: rotate(360deg); } }
.co-bankline { font: 400 12px/16px var(--f-body); color: var(--c-body); text-align: center; }

/* ---------- order summary column ---------- */
.co-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.co-summary { display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; border-radius: 16px; background: var(--c-white); }
.co-summary__title { font: 700 18px/normal var(--f-body); color: var(--c-body); }
.co-summary__rows { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.co-summary__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; font: 400 14px/normal var(--f-body); }
.co-summary__row dt { flex: 0 0 auto; color: var(--c-muted); }
.co-summary__row dd { margin: 0; min-width: 0; color: var(--c-body); text-align: right; }
.co-summary__row--total dd { font: 700 16px/24px var(--f-body); }
.co-summary__note { font: 400 12px/normal var(--f-body); color: var(--c-muted); }

.co-checklist { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 24px; list-style: none; background: var(--c-white); }
.co-checklist li { display: flex; align-items: center; gap: 4px; font: 400 12px/16px var(--f-body); color: var(--c-body); }
.co-checklist img { width: 24px; height: 24px; flex: 0 0 auto; }

.co-recap { padding: 24px; border-radius: 6px; background: var(--c-line); font: 400 16px/20px var(--f-body); color: var(--c-body); overflow-wrap: anywhere; }
.co-recap strong { font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .co__inner { gap: 24px; }
  .co-summary { padding: 28px 24px; }
}
@media (max-width: 900px) {
  .co__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: calc(640px + 2 * var(--gutter)); padding-block: 24px 32px; }
}
@media (max-width: 700px) {
  .co-card { gap: 16px; }
  .co-card__body { gap: 14px; padding: 0 16px 16px; }
  .co-demo { margin-bottom: 0; }
  .co-title { font: 700 26px/normal var(--f-body); letter-spacing: 0; }
  .co-brands--head { display: none; }
  .co-brands--field { display: flex; gap: 8px; }
  .co-brands--field .co-brand { width: 32px; height: 24px; }

  .co-summary { gap: 16px; padding: 16px; border-radius: 24px; }
  .co-summary__title { font-size: 17px; }
  .co-summary__row { flex-direction: column; gap: 2px; }
  .co-summary__row dt { font-size: 12px; }
  .co-summary__row dd, .co-summary__row--total dd { font: 400 14px/normal var(--f-body); text-align: left; }
  .co-summary__note { display: none; }
  .co-side { gap: 16px; }
  .co-checklist { padding: 16px; }
  .co-recap { padding: 16px; font-size: 14px; }
}
@media (max-width: 360px) {
  .co-badge__bar { padding-inline: 12px; }
  .co-row { gap: 12px; }
  .co-control { padding-inline: 11px; gap: 4px; }
  .co-brands--field { gap: 4px; }
  .co-phone { padding: 0 12px 0 0; gap: 12px; }
  .co-phone__code select { padding-left: 11px; padding-right: 39px; }
  .co-phone__code img { right: 10px; }
}

/* ---------- compliance additions ---------- */
/* order terms above the card fields (P1 / KYC 9.7) */
.co-terms { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--c-violet-soft); }
.co-terms__title { font: 400 14px/18px var(--f-body); color: var(--c-navy); }
.co-terms__title strong { font-weight: 700; }
.co-terms__change { margin-left: 6px; font: 500 13px/18px var(--f-body); color: var(--c-violet); }
.co-terms__text { font: 400 13px/18px var(--f-body); color: var(--c-body); }
/* a box stays disabled until its document has been read to the end (P7 / KYC 9.2) */
.co-check input:disabled { cursor: not-allowed; background-color: var(--c-cream-2); border-color: var(--c-line); }
.co-check input:disabled + label { cursor: default; }
.co-hint { padding-left: 28px; font: 400 12px/16px var(--f-body); color: var(--c-muted); }
.co-hint__link { padding: 0; border: 0; background: none; font: 600 12px/16px var(--f-body); color: var(--c-violet); text-decoration: underline; text-underline-position: from-font; cursor: pointer; }
.co-recap a { color: inherit; }
/* reader dialog */
.co-reader { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(11, 21, 48, 0.55); }
.co-reader__box { width: min(760px, 100%); max-height: min(86vh, 820px); display: flex; flex-direction: column; border-radius: 16px; background: var(--c-white); box-shadow: 0 24px 60px rgba(11, 21, 48, 0.35); overflow: hidden; }
.co-reader__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--c-line); }
.co-reader__title { font: 500 22px/1.2 var(--f-display); color: var(--c-navy); }
.co-reader__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--c-cream); font-size: 22px; line-height: 1; color: var(--c-navy); cursor: pointer; }
.co-reader__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px; font: 400 14px/1.6 var(--f-body); color: var(--c-body); }
.co-reader__body h2, .co-reader__body h3 { font: 700 15px/1.4 var(--f-body); color: var(--c-navy); margin: 18px 0 6px; }
.co-reader__body p, .co-reader__body li { margin: 0 0 10px; }
.co-reader__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--c-line); }
.co-reader__status { font: 400 13px/18px var(--f-body); color: var(--c-muted); }
@media (max-width: 560px) { .co-reader__foot { flex-direction: column; align-items: stretch; } .co-reader__foot .btn { width: 100%; } }
/* one column (audit #3, P1): the order summary comes before the payment form; the reassurance list and the
   company recap stay after it */
@media (max-width: 900px) {
  .co-side { display: contents; }
  .co-summary { order: -1; }
  .co-checklist, .co-recap { order: 1; }
}

/* ---------- customer account (logged-out checkout creates the account) ---------- */
.co-account { display: flex; flex-direction: column; gap: 16px; }
.co-account__login { font: 400 14px/20px var(--f-body); color: var(--c-body); }
.co-account__login a, .co-hint--field a { font-weight: 700; color: var(--c-violet); text-underline-position: from-font; }
.co-hint--field { padding-left: 0; }
.co-control .pw-toggle { margin-right: -10px; }
.co-control--locked { background: var(--c-cream); border-color: var(--c-line); }
.co-control--locked .co-input { color: var(--c-muted); }

/* Confirmation view (Figma 10699:14598 desktop, 10699:14724 mobile · option E · Italian village)
   Desktop: 624px 16:9 photo + 32px gap + text column, vertically centred, white band (40px top, 80px bottom).
   Mobile: 4:3 photo on top, text and full-width stacked buttons below. */

.cf__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; padding-block: 40px 80px; }
.cf-media { margin: 0; aspect-ratio: 624 / 351; border-radius: 20px; overflow: hidden; background: var(--c-cream-2); }
.cf-media img { width: 100%; height: 100%; object-fit: cover; }

.cf-text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.cf-texts { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.cf-heading { display: flex; flex-direction: column; gap: 8px; }
.cf-eyebrow { font: 500 12px/15px var(--f-body); letter-spacing: 0.84px; text-transform: uppercase; color: var(--c-navy); }
.cf-title { font: 500 30px/1.18 var(--f-display); letter-spacing: -0.3px; color: var(--c-navy); }
.cf-body { font: 400 18px/24px var(--f-body); color: var(--c-body); }
.cf-email { overflow-wrap: anywhere; }
.cf-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cf__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: calc(640px + 2 * var(--gutter)); padding-block: 32px 64px; }
}
@media (max-width: 700px) {
  .cf__inner { gap: 16px; padding-block: 24px 40px; }
  .cf-media { aspect-ratio: 343 / 258; }
  .cf-text { gap: 16px; align-items: stretch; }
  .cf-title { font-size: 36px; letter-spacing: -0.36px; }
  .cf-body { font: 500 18px/22.5px var(--f-body); }
  .cf-actions { flex-direction: column; gap: 12px; }
  .cf-actions .btn { width: 100%; }
}
@media (max-width: 360px) {
  .cf-title { font-size: 32px; }
  .cf-actions .btn { white-space: normal; text-align: center; }
}

/* account created, email to confirm before the first login */
.cf-body--notice { padding: 12px 16px; border-radius: 8px; background: var(--c-violet-soft); color: var(--c-navy); }

/* Contact view = the "hub-contact" frames (Figma help-center/contact 10522:22867 desktop, 10522:23257 mobile).
   Desktop: breadcrumb, then 624px main column (heading, Assistance Hub button, form) + 405px aside (cancel card, contact card).
   The dark "Still have a question?" card reuses the Assistance page component (.hub-contact in assistance.css). */
.view[data-view="contact"] {
  --hub-indigo: #1e1a4a;  /* end colour of the .hub-contact gradient, declared per view in assistance.css */
  --ct-shadow-card: 0 8px 9px rgba(1, 15, 49, 0.12), 0 12px 21px rgba(1, 15, 49, 0.12);
}

.ct { padding-block: 16px 80px; }

/* breadcrumb */
.ct-crumb { display: flex; align-items: center; gap: 8px; padding: 16px; font: 500 18px/22.5px var(--f-body); color: var(--c-navy); }
.ct-crumb img { width: 24px; height: 24px; flex: 0 0 auto; }
.ct-crumb__link { color: inherit; text-decoration: none; }
.ct-crumb__link:hover { text-decoration: underline; text-underline-position: from-font; }
.ct-crumb__current { font-weight: 700; }

.ct__body { display: flex; align-items: flex-start; justify-content: center; gap: 32px; margin-top: 24px; }
.ct__main { flex: 0 1 624px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ct__aside { flex: 0 0 405px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }

/* heading */
.ct-head { display: flex; flex-direction: column; gap: 8px; }
.ct-head__eyebrow { color: var(--c-navy); }
.ct-head__title { font: 500 48px/1.18 var(--f-display); letter-spacing: -0.48px; color: var(--c-navy); }
.ct-head__lead { margin-top: 8px; font: 500 24px/37.5px var(--f-body); color: var(--c-body); text-wrap: pretty; }

/* "Looking for a faster answer?" */
.ct-faster {
  display: flex; align-items: center; gap: 16px; min-height: 74px; padding: 12px 16px;
  border: 1px solid var(--c-navy); border-radius: 16px; color: var(--c-navy); text-decoration: none;
  transition: background-color 0.15s ease;
}
.ct-faster:hover { background: var(--c-violet-soft); }
.ct-faster__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.ct-faster__text strong { font: 700 16px/20px var(--f-body); }
.ct-faster__text span { font: 400 14px/17.5px var(--f-body); color: var(--c-muted); }
.ct-faster img { width: 24px; height: 24px; flex: 0 0 auto; }

/* form */
.ct-form { display: flex; flex-direction: column; gap: 24px; padding: 24px; border-radius: 8px; background: var(--c-cream); }
.ct-form__fields { min-width: 0; margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 24px; }
.ct-field { display: flex; flex-direction: column; min-width: 0; }
.ct-field__label { font: 400 16px/20px var(--f-body); color: var(--c-body); }
.ct-field__help { font: 400 14px/17.5px var(--f-body); color: var(--c-muted); }
.ct-field__input {
  width: 100%; margin-top: 8px; padding: 11px 15px; border: 1px solid var(--c-disabled); border-radius: 6px; /* 44px box, as in Figma */
  background: var(--c-white); font: 400 16px/20px var(--f-body); color: var(--c-body); outline: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease; scroll-margin-top: calc(var(--nav-h) + 64px);
}
.ct-field__input::placeholder { color: var(--c-muted); opacity: 1; }
.ct-field__input:focus { border-color: var(--c-violet); box-shadow: 0 0 0 1px var(--c-violet); }
.ct-field__input--area { min-height: 175.5px; resize: vertical; display: block; }
.ct-field__error { margin-top: 6px; font: 500 14px/17.5px var(--f-body); color: var(--c-error); }
.ct-field.is-invalid .ct-field__input { border-color: var(--c-error); }
.ct-field.is-invalid .ct-field__input:focus { box-shadow: 0 0 0 1px var(--c-error); }
.ct-form__fields:disabled .ct-field__input { background: var(--c-cream-2); }
.ct-form__submit { font-weight: 700; }
.ct-form__done {
  padding: 12px 16px; border-radius: 8px; background: var(--c-success-bg); color: var(--c-success);
  font: 500 16px/22px var(--f-body); text-align: center; text-wrap: pretty;
}
.ct-form__done:focus { outline: none; }
.ct-form__gdpr { font: 400 14px/17.5px var(--f-body); color: var(--c-muted); text-wrap: pretty; }
.ct-form__gdpr a { color: var(--c-violet); text-underline-position: from-font; }

/* "Would you like to cancel your subscription?" */
.ct-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 8px; background: var(--c-white); box-shadow: var(--ct-shadow-card); }
.ct-card__title { font: 700 18px/22.5px var(--f-body); color: var(--c-navy); }
.ct-card__text { font: 400 16px/20px var(--f-body); color: var(--c-body); text-wrap: pretty; }
.ct-card__link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font: 400 16px/20px var(--f-body); color: var(--c-violet); text-decoration: none; }
.ct-card__link:hover { text-decoration: underline; text-underline-position: from-font; }
.ct-card__link img { width: 16px; height: 16px; }

.ct__aside .ct-contact { flex: none; } /* .hub-contact is sized for the Assistance row layout */

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ct__aside { flex-basis: 360px; }
  .ct-head__lead { font-size: 20px; line-height: 30px; }
}
@media (max-width: 900px) {
  .ct { padding-block: 0 24px; }
  .ct-crumb { padding-inline: 0; }
  .ct__body { flex-direction: column; align-items: center; gap: 16px; margin-top: 0; }
  .ct__main, .ct__aside { flex: 0 0 auto; width: min(624px, 100%); }
  .ct__main { gap: 16px; }
  .ct__aside { gap: 16px; }
}
@media (max-width: 700px) {
  .ct-crumb { font-size: 16px; line-height: 20px; font-weight: 400; }
  .ct-head__title { font-size: 24px; letter-spacing: -0.24px; }
  .ct-head__lead { margin-top: 8px; font: 400 16px/20px var(--f-body); }
  .ct-faster__text strong { font-size: 14px; line-height: 17.5px; }
  .ct-faster__text span { font-size: 12px; line-height: 15px; }
  .ct-form { gap: 16px; padding: 16px; }
  .ct-form__fields { gap: 16px; }
  .ct-card { padding: 16px; gap: 8px; }
  .ct-card__title { font-size: 16px; line-height: 20px; }
  .ct-card__text { font-size: 14px; line-height: 17.5px; }
  .ct-card__link { font-size: 14px; }
}

/* Dashboard + messaging (Figma 10503:691, 10537:10105 → 10537:11313, mobile 10503:725) */
[data-view="dashboard"] {
  --c-warn-pill-bg: #f7eedd;
  --c-warn-pill: #b7791f;
  --c-ok-pill-bg: #e6f1ec;
  --c-ok-pill: #1f6b53;
  --c-agent: #5a3e9e;
}
.dash { display: flex; flex-direction: column; gap: 32px; padding-block: 40px 40px; }
.dash__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dash__welcome { font: 500 25px/normal var(--f-display); color: var(--c-body); }
.dash__new-mobile { display: none; }
.dash__body { display: flex; gap: 32px; align-items: flex-start; }

/* phone support time card */
.dash-hours { width: 336px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 12px; background: var(--c-cream); }
.dash-hours__title { font: 700 18px/normal var(--f-body); color: var(--c-body); }
.dash-hours__used { font: 500 30px/1.18 var(--f-display); letter-spacing: -0.3px; color: var(--c-body); }
.dash-hours__text { font: 400 14px/normal var(--f-body); color: var(--c-muted); }
.dash-hours__gauge { display: flex; align-items: center; gap: 12px; height: 20px; font: 400 14px/17.5px var(--f-body); color: var(--c-body); font-variant-numeric: tabular-nums; }
.dash-hours__track { flex: 1 1 0; height: 10px; border-radius: 16px; background: linear-gradient(90deg, #8a6fd6 0%, #b9a5ec 100%); overflow: hidden; }
.dash-hours__fill { display: block; width: 0; height: 10px; border-radius: 6px; background: var(--c-violet); transition: width 0.6s ease; }
.dash-hours__link { font: 400 12px/normal var(--f-body); color: var(--c-muted); text-decoration: none; }
.dash-hours__manage { font: 500 13px/18px var(--f-body); color: var(--c-muted); }
.dash-hours__manage a { color: var(--c-violet); }
.dash-hours__link:hover { color: var(--c-violet); text-decoration: underline; }
.dash-hours.is-bump .dash-hours__used { animation: bump 0.7s ease; }
@keyframes bump { 30% { color: var(--c-violet); transform: scale(1.04); } }

/* chat card */
.dash-chat { position: relative; flex: 1 1 0; min-width: 0; display: flex; gap: 16px; padding: 24px; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-white); }
.dash-chat__side { width: 132px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.dash-chat__side-title { font: 700 14px/normal var(--f-body); color: var(--c-navy); }
.dash-chat__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.req-item { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; }
.req-item:hover { background: var(--c-cream); }
.req-item[aria-current="true"] { background: var(--c-violet-soft); }
.req-item__title { font: 600 13px/normal var(--f-body); color: var(--c-navy); }
.pill { display: inline-block; padding: 2px 8px; border-radius: var(--radius-pill); font: 600 11px/normal var(--f-body); white-space: nowrap; background: var(--c-violet-soft); color: var(--c-violet); }
.pill--waiting { background: var(--c-warn-pill-bg); color: var(--c-warn-pill); }
.pill--resolved { background: var(--c-ok-pill-bg); color: var(--c-ok-pill); }
.dash-chat__sep { width: 1px; align-self: stretch; background: var(--c-line); flex: 0 0 auto; }
.dash-chat__main { flex: 1 1 0; min-width: 0; height: 640px; display: flex; flex-direction: column; }

/* empty state */
.dash-empty { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding-top: 8px; }
.dash-empty__menu { display: none; }
.dash-empty__center { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding-inline: 16px; }
.dash-empty__eyebrow { font: 500 12px/15px var(--f-body); letter-spacing: 0.84px; text-transform: uppercase; color: var(--c-navy); }
.dash-empty__title { font: 500 30px/1.18 var(--f-display); letter-spacing: -0.3px; color: var(--c-navy); }
.dash-empty__text { font: 400 16px/24px var(--f-body); color: var(--c-muted); max-width: 300px; }
.dash-empty__form { display: flex; gap: 16px; align-items: center; padding-inline: 16px; }
.dash-empty__form input { flex: 1 1 0; min-width: 0; padding: 12px 16px; border: 1px solid var(--c-disabled); border-radius: 6px; font: 400 16px/20px var(--f-body); color: var(--c-navy); background: var(--c-white); }
.dash-empty__form input::placeholder { color: var(--c-muted); }

/* conversation */
.dash-conv { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; }
.dash-conv[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--c-navy); color: var(--c-white); flex: 0 0 auto; }
.chat-head__btn { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; flex: 0 0 auto; }
.chat-head__btn img { width: 24px; height: 24px; }
.chat-head__btn--menu { display: none; }
.chat-head__title { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.chat-head__title strong { font: 700 16px/20px var(--f-body); }
.chat-head__title span { font: 400 14px/17.5px var(--f-body); }

.chat-thread { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 14px; padding: 20px 24px; scroll-behavior: smooth; }
.msg { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; width: 100%; }
.msg--user { align-items: flex-end; }
.msg__meta { font: 500 11px/normal var(--f-body); color: var(--c-muted); }
.msg__row { display: flex; gap: 12px; align-items: flex-start; max-width: 100%; }
.msg__avatar { width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: var(--c-navy); color: var(--c-white); font: 700 14px/1 var(--f-body); }
.msg__avatar img { width: 20px; height: 20px; }
.msg--agent .msg__avatar { background: var(--c-agent); }
.msg__bubble { max-width: min(440px, 100%); padding: 10px 16px; border-radius: 16px; background: var(--c-cream); font: 400 16px/20px var(--f-body); color: var(--c-body); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg--user .msg__bubble { background: var(--c-navy); color: var(--c-white); }
.msg__bubble.is-typing { color: var(--c-muted); }
.chat-system { align-self: center; text-align: center; font: 400 12px/15px var(--f-body); color: var(--c-muted); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick__btn { padding: 12px 16px; border-radius: var(--radius-pill); border: 0; box-shadow: inset 0 0 0 1px var(--c-navy); background: var(--c-white); font: 400 16px/20px var(--f-body); color: var(--c-navy); cursor: pointer; }
.quick__btn:hover { background: var(--c-violet-soft); }
.quick__btn[aria-pressed="true"] { background: var(--c-navy); color: var(--c-white); }
.quick.is-used .quick__btn:not([aria-pressed="true"]) { opacity: 0.45; pointer-events: none; }

/* form-card and status-card */
.chat-card { width: 100%; display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-white); box-shadow: var(--shadow-card); }
.chat-card__progress { display: flex; align-items: center; gap: 12px; font: 400 14px/17.5px var(--f-body); color: var(--c-muted); }
.chat-card__track { position: relative; width: 96px; height: 4px; border-radius: var(--radius-pill); background: var(--c-cream); overflow: hidden; }
.chat-card__track i { position: absolute; left: 0; top: 0; width: 40px; height: 4px; background: var(--c-navy); }  /* step 2 of 2 */
.chat-card__heading { display: flex; flex-direction: column; gap: 4px; }
.chat-card__title { font: 700 18px/22.5px var(--f-body); color: var(--c-navy); }
.chat-card__sub { font: 400 14px/17.5px var(--f-body); color: var(--c-muted); }
.chat-card__rows { display: flex; flex-direction: column; }
.chat-card__row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--c-line); font: 400 14px/17.5px var(--f-body); }
.chat-card__row:last-child { border-bottom: 0; }
.chat-card__row dt { color: var(--c-muted); flex: 0 0 auto; }
.chat-card__row dd { margin: 0; color: var(--c-body); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.chat-card__actions { display: flex; gap: 8px; align-items: center; }
.chat-card__actions--split .btn { flex: 1 1 0; }
.chat-card__top { display: flex; align-items: center; gap: 12px; }
.chat-card__mark { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c-cream); flex: 0 0 auto; }
.chat-card__mark--ok { background: var(--c-ok-pill-bg); }
.chat-card__mark img { width: 20px; height: 20px; }
.chat-card__radios { display: flex; flex-direction: column; gap: 8px; }
.chat-card__radios label { display: flex; align-items: center; gap: 10px; font: 400 16px/20px var(--f-body); color: var(--c-body); cursor: pointer; }
.chat-card__radios input { width: 18px; height: 18px; accent-color: var(--c-navy); margin: 0; }
.chat-card__slot { display: none; padding: 12px 16px; border: 1px solid var(--c-disabled); border-radius: 6px; font: 400 16px/20px var(--f-body); }
.chat-card__slot.is-on { display: block; }
.chat-card.is-done .chat-card__actions { display: none; }

.chat-composer { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 8px; flex: 0 0 auto; }
.chat-composer__field { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px; border: 1px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-cream); }
.chat-composer__field input { flex: 1 1 0; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 16px/20px var(--f-body); color: var(--c-navy); padding: 10px 0; }
.chat-composer__field input::placeholder { color: var(--c-muted); }
.chat-composer__field:focus-within { border-color: var(--c-violet-line); }
.chat-composer__send { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--c-line); cursor: pointer; flex: 0 0 auto; transition: background-color 0.15s ease; }
.chat-composer__send img { width: 20px; height: 20px; }
.chat-composer.has-text .chat-composer__send { background: var(--c-violet-line); }
.chat-composer__send[disabled] { cursor: progress; opacity: 0.7; }
.chat-composer__note { font: 400 12px/15px var(--f-body); color: var(--c-muted); text-align: center; }
.chat-composer__demo { font: 500 11px/14px var(--f-body); color: var(--c-violet); text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .dash__body { flex-direction: column; }
  .dash-hours { width: 100%; }
  .dash-chat { width: 100%; }
}
@media (max-width: 700px) {
  .dash { gap: 24px; padding-block: 24px 8px; }
  .dash__head { justify-content: center; }
  .dash__welcome { font-size: 24px; text-align: center; }
  .dash__head .dash__new { display: none; }
  .dash__new-mobile { display: flex; width: 100%; }
  .dash-hours { padding: 16px; gap: 12px; }
  .dash-hours__used { font-size: 26px; }
  .dash-chat { padding: 16px; gap: 0; }
  .dash-chat__sep { display: none; }
  .dash-chat__side { position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: min(280px, 85%); padding: 20px 16px; background: var(--c-white); border-right: 1px solid var(--c-line); border-radius: 12px 0 0 12px; box-shadow: 12px 0 24px rgba(11, 21, 48, 0.12); transform: translateX(-105%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; overflow-y: auto; }
  .dash-chat.side-open .dash-chat__side { transform: none; visibility: visible; transition: transform 0.25s ease; }
  .dash-chat__main { height: min(600px, 78vh); }
  .dash-empty__menu { display: block; align-self: flex-start; background: none; border: 0; padding: 4px; cursor: pointer; }
  .dash-empty__menu img { width: 24px; height: 16px; }
  .dash-empty__title { font-size: 26px; }
  .dash-empty__form { flex-direction: column; align-items: stretch; padding-inline: 0; }
  .chat-head { gap: 12px; padding: 12px; }
  .chat-head__btn--menu { display: grid; }
  .chat-head__btn--menu img { width: 24px; height: 16px; filter: brightness(0) invert(1); } /* navy icon shown white on the navy header */
  .chat-thread { padding: 16px 4px; }
  .msg__bubble { font-size: 15px; }
  .chat-card { padding: 16px; }
  .chat-card__actions { flex-wrap: wrap; }
}

/* Home view (Figma 10503:21 desktop, 10503:150 mobile) */

/* hero: 660 text + 80 gap + 640 visual, 520px tall band */
.home-hero__inner { display: grid; grid-template-columns: minmax(0, 660px) 640px; gap: 80px; align-items: center; justify-content: space-between; min-height: 520px; padding-block: 40px; }
.home-hero__text { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.home-hero__eyebrow { display: none; }
.home-hero__actions { display: flex; gap: 16px; width: min(641px, 100%); }
.home-hero__actions .btn { flex: 1 1 0; }
.home-hero__visual { position: relative; width: 640px; height: 440px; }
.home-hero__photo { position: absolute; left: 80px; top: -4px; width: 560px; height: 448px; object-fit: cover; border-radius: 28px; }
.home-hero__widget { position: absolute; left: 0; top: 100px; }

/* How it works */
.hiw__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-block: 40px; }
.hiw__frame { position: relative; display: flex; gap: 32px; align-items: center; justify-content: center; width: min(842px, 100%); height: 374px; }
.hiw__col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; }
.hiw__col--top { align-items: flex-start; }
.hiw__col--bottom { align-items: flex-end; }
.hiw__msg { display: flex; flex: 1 1 0; min-width: 0; }
.hiw__msg--left { align-items: flex-end; }
.hiw__msg--right { align-items: flex-start; }
.hiw__bubble { flex: 1 1 0; min-width: 0; padding: 16px; background: var(--c-violet-soft); font: 400 16px/24px var(--f-body); color: var(--c-body); }
.hiw__msg--left .hiw__bubble { border-radius: 6px 6px 0 6px; }
.hiw__msg--right .hiw__bubble { border-radius: 0 6px 6px 6px; }
.hiw__tail { width: 16.18px; height: 19px; flex: 0 0 auto; }
.hiw__msg--left .hiw__tail { transform: scaleY(-1); }
.hiw__msg--right .hiw__tail { transform: rotate(180deg) scaleY(-1); }
.hiw__stepper { display: flex; flex-direction: column; align-items: center; height: 151px; flex: 0 0 auto; }
.hiw__step { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-line); color: var(--c-disabled); font: 700 20px/25px var(--f-body); flex: 0 0 auto; }
.hiw__step--done { background: var(--c-violet); }
.hiw__step--done img { width: 32px; height: 32px; }
.hiw__rope { width: 40px; flex: 1 1 auto; min-height: 0; }
.hiw__deco { position: absolute; border-radius: 16px; pointer-events: none; }
.hiw__deco--a { left: -284px; top: 230px; width: 277px; height: 208px; object-fit: cover; }
.hiw__deco--b { left: 848px; top: -28px; width: 297px; height: 223px; object-fit: cover; }

/* offers */
.home-offers__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; padding-block: 96px; }
.home-offers__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; width: 100%; }
.home-offers__head .heading__title { max-width: 680px; }
.home-offers__intro { width: 480px; max-width: 100%; }
.home-offers__print { text-align: center; }

/* FAQ */
.home-faq__inner { display: flex; gap: 80px; align-items: flex-start; justify-content: center; padding-block: 96px 120px; }
.home-faq__head { width: 460px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.home-faq__inner .accordion { flex: 1 1 0; min-width: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1500px) {
  .hiw__deco--a { left: -230px; width: 220px; height: auto; }
  .hiw__deco--b { left: auto; right: -230px; width: 230px; height: auto; }
}
@media (max-width: 1320px) {
  .home-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px; }
  .home-hero__visual { width: 100%; max-width: 560px; }
  .home-hero__photo { left: 60px; width: calc(100% - 60px); }
  .hiw__deco { display: none; }
}
@media (max-width: 1100px) {
  .home-offers__head { flex-direction: column; align-items: flex-start; }
  .home-faq__inner { flex-direction: column; gap: 40px; }
  .home-faq__head { width: 100%; }
}
@media (max-width: 900px) {
  .home-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 40px; min-height: 0; }
  .home-hero__eyebrow { display: block; }
  .home-hero__text { gap: 24px; }
  .home-hero__actions { flex-direction: column; }
  .home-hero__visual { width: 100%; max-width: 343px; height: 400px; margin-inline: auto; }
  .home-hero__photo { left: 56px; top: 0; width: calc(100% - 56px); height: 380px; border-radius: 28px; }
  .home-hero__widget { top: 140px; }
}
@media (max-width: 700px) {
  .hiw__inner { align-items: stretch; }
  .hiw__inner .heading { text-align: left; align-items: flex-start; }
  .hiw__frame { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 24px; height: auto; padding-block: 200px 220px; }
  .hiw__deco { display: block; left: 50%; transform: translateX(-50%); right: auto; }
  .hiw__deco--b { top: 0; width: 200px; height: auto; }
  .hiw__deco--a { top: auto; bottom: 0; width: 186px; height: auto; transform: translateX(-80%); }
  .hiw__stepper { grid-column: 1; grid-row: 1 / span 2; height: 100%; }
  .hiw__col { grid-column: 2; height: auto; }
  .hiw__col--top { grid-row: 1; }
  .hiw__col--bottom { grid-row: 2; }
  .hiw__tail { display: none; }
  .hiw__msg--left .hiw__bubble, .hiw__msg--right .hiw__bubble { border-radius: 6px; }
  .hiw__inner > .btn { width: 100%; }
  .home-offers__inner { padding-block: 56px; gap: 32px; }
  .home-offers__inner > .btn { width: 100%; }
  .home-faq__inner { padding-block: 56px 72px; }
  .home-faq__head .btn { width: 100%; }
  [data-view="home"] .accordion__btn { padding: 20px; }
}

/* Information view (Figma 10503:529 desktop, 10503:544 mobile) */

.inf-eyebrow { color: var(--c-navy); }
.inf-lead { font: 500 24px/37.5px var(--f-body); color: var(--c-body); text-wrap: pretty; }

/* hero: centred heading, then a 1280×440 photo with the Clevi widget over its lower-left corner */
.inf-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; padding-block: 48px 96px; }
.inf-hero__heading { width: min(736px, 100%); }
.inf-hero__visual { position: relative; width: 100%; height: 440px; }
.inf-hero__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.inf-hero__widget { position: absolute; left: 48px; top: 120px; }

/* callout: text | 352px photo */
.inf-intro__inner { display: flex; align-items: center; gap: 32px; padding-block: 40px; }
.inf-intro__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.inf-intro__body { font: 400 16px/20px var(--f-body); color: var(--c-body); }
.inf-intro__img { flex: 1 1 0; min-width: 0; height: 352px; border-radius: 20px; overflow: hidden; }
.inf-intro__img img { width: 100%; height: 100%; object-fit: cover; }

/* values: four 397px cards; the photo takes the height the text leaves */
.inf-values__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-block: 40px; }
.inf-values__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; width: 100%; }
.inf-value { display: flex; flex-direction: column; gap: 12px; min-width: 0; height: 397px; padding: 24px; border-radius: 8px; background: var(--c-white); box-shadow: var(--shadow-card); }
.inf-value__img { flex: 1 1 auto; min-height: 120px; border-radius: 20px; overflow: hidden; }
.inf-value__img img { width: 100%; height: 100%; object-fit: cover; }
.inf-value__text { display: flex; flex-direction: column; gap: 8px; min-height: 150.5px; } /* title + 6 lines: photos line up across the row */
.inf-value__body { font: 400 16px/20px var(--f-body); color: var(--c-body); }
.inf-values__dots { display: none; }
.inf-dot { position: relative; width: 12px; height: 12px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.inf-dot::before { content: ""; position: absolute; inset: -8px; }
.inf-dot img { width: 12px; height: 12px; }

/* contact: photo | cream form panel */
.inf-contact { scroll-margin-top: var(--nav-h); }
.inf-contact__inner { display: flex; align-items: center; justify-content: center; gap: 32px; padding-block: 40px 80px; }
.inf-contact__img { flex: 1 1 0; min-width: 0; height: 620px; border-radius: 20px; overflow: hidden; }
.inf-contact__img img { width: 100%; height: 100%; object-fit: cover; }
.inf-contact__panel { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px; border-radius: 8px; background: var(--c-cream); }
.inf-contact__title { width: 100%; text-align: center; }
.inf-contact__note { font: 400 16px/20px var(--f-body); color: var(--c-body); text-align: center; text-wrap: pretty; }

.inf-form { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.inf-form__fields { width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 16px; }
.inf-form__actions { display: flex; justify-content: center; width: 100%; }
.inf-form__submit { width: 216px; max-width: 100%; }
.inf-form__done {
  width: 100%; padding: 12px 16px; border-radius: 8px; background: var(--c-success-bg); color: var(--c-success);
  font: 500 16px/22px var(--f-body); text-align: center; text-wrap: pretty;
}
.inf-form__done:focus { outline: none; }

.inf-field { display: flex; flex-direction: column; gap: 8px; }
.inf-field__texts { display: flex; flex-direction: column; }
.inf-field__label { font: 400 16px/20px var(--f-body); color: var(--c-body); }
.inf-field__help { font: 400 14px/17.5px var(--f-body); color: var(--c-muted); }
.inf-field__box {
  display: flex; align-items: center; gap: 8px; padding: 11px 15px; border: 1px solid var(--c-disabled); border-radius: 6px; /* Figma strokes sit inside: 44px box */
  background: var(--c-white); transition: border-color 0.15s ease, box-shadow 0.15s ease; cursor: text;
}
.inf-field__box:focus-within { border-color: var(--c-violet); box-shadow: 0 0 0 1px var(--c-violet); }
.inf-field__box input, .inf-field__box textarea {
  flex: 1 1 0; min-width: 0; margin: 0; padding: 0; border: 0; outline: 0; background: transparent;
  font: 400 16px/20px var(--f-body); color: var(--c-body);
}
.inf-field__box input::placeholder, .inf-field__box textarea::placeholder { color: var(--c-muted); opacity: 1; }
.inf-field__box--area { align-items: stretch; }
.inf-field__box textarea { min-height: 151.5px; resize: vertical; } /* 175.5px box, as in Figma */
.inf-field__icon { width: 24px; height: 24px; flex: 0 0 auto; }
.inf-field__clear { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 4px; background: none; cursor: pointer; flex: 0 0 auto; }
.inf-field__clear img { width: 24px; height: 24px; }
.inf-field__clear:hover { background: var(--c-cream-2); }
.inf-field__clear[hidden] { display: none; }
.inf-field__error { font: 500 14px/17.5px var(--f-body); color: var(--c-error); }
.inf-field__error[hidden] { display: none; }
.inf-field.is-invalid .inf-field__box { border-color: var(--c-error); }
.inf-field.is-invalid .inf-field__box:focus-within { box-shadow: 0 0 0 1px var(--c-error); }
.inf-form__fields:disabled .inf-field__box { background: var(--c-cream-2); cursor: default; }
.inf-form__fields:disabled .inf-field__clear { display: none; }
.inf-field__box input, .inf-field__box textarea { scroll-margin-top: calc(var(--nav-h) + 64px); } /* focus on error lands below the sticky nav */

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .inf-values__track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .inf-value { height: auto; }
  .inf-value__img { flex: 0 0 auto; aspect-ratio: 16 / 10; min-height: 0; }
  .inf-value__text { min-height: 0; }
}
@media (max-width: 900px) {
  .inf-lead { font-size: 18px; line-height: 28px; }
  .inf-hero__inner { gap: 32px; padding-block: 40px 72px; }
  .inf-intro__inner { flex-direction: column; align-items: stretch; gap: 24px; }
  .inf-intro__img { order: -1; flex: 0 0 auto; height: auto; aspect-ratio: 343 / 193; }
  .inf-contact__img { display: none; }
  .inf-contact__panel { flex: 0 1 624px; }
}
@media (max-width: 700px) {
  .inf-hero__inner { gap: 24px; padding-block: 40px 48px; }
  .inf-hero .h-hero, .inf-contact__title { font-size: 24px; letter-spacing: -0.24px; }
  .inf-lead { font: 400 16px/24px var(--f-body); }
  /* phone: 287×400 photo pushed right, the 70% widget pinned to the bottom-left */
  .inf-hero__visual { height: 420px; }
  .inf-hero__photo { position: absolute; left: 56px; top: 0; width: calc(100% - 56px); height: 400px; border-radius: 20px; }
  .inf-hero__widget { left: 0; top: auto; bottom: 0; }

  .inf-intro__inner { gap: 16px; padding-block: 24px; }
  .inf-intro__text { gap: 8px; }
  .inf-intro__body { line-height: 24px; }

  /* values become a swipeable row of 280px cards with dots */
  .inf-values__inner { gap: 16px; padding-block: 24px; }
  .inf-values__track {
    display: flex; gap: 16px; align-self: stretch; width: auto; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px;
  }
  .inf-values__track::-webkit-scrollbar { display: none; }
  .inf-value { flex: 0 0 280px; height: auto; padding: 16px; gap: 8px; scroll-snap-align: start; }
  .inf-value__img { height: 123px; aspect-ratio: auto; }
  .inf-value .h-card { font-size: 16px; line-height: 20px; }
  .inf-value__body { font-size: 14px; line-height: 17.5px; }
  .inf-values__dots { display: flex; gap: 12px; margin-top: -12px; }

  /* contact: title and note sit outside the cream form */
  .inf-contact__inner { padding-block: 24px; }
  .inf-contact__panel { flex: 1 1 auto; padding: 0; border-radius: 0; background: none; }
  .inf-form { padding: 16px; border-radius: 8px; background: var(--c-cream); }
  .inf-form__submit { width: 100%; }
  .inf-field__icon, .inf-field__clear { display: none; }
  .inf-contact__note { font-size: 14px; }
}

/* error message of the contact form (api.contact.send failed) */
.inf-form .form-alert { width: 100%; }

/* Legal pages = the "generic-text-page" frames: legal-notice (Figma 10527:8813 / 10527:9006), terms (10527:9150 / 10527:9309),
   subscription-conditions (10527:9453 / 10527:9612), privacy (10527:9756 / 10527:9915), cookies (10527:10059 / 10527:10218).
   Desktop: cream band, title, then one row per section (544px heading | 544px text, space-between).
   Mobile: heading above text. Layout rules are scoped to .lg so the copy cloned into the checkout's
   reading window ([data-legal-body], no .lg ancestor) only picks up the reader's own typography. */

.lg { background: var(--c-cream); }
.lg__inner { display: flex; flex-direction: column; gap: 24px; padding-block: 64px 96px; }
.lg__title { max-width: 736px; font: 500 36px/1.18 var(--f-display); letter-spacing: -0.36px; color: var(--c-navy); text-wrap: balance; }
.lg .lg__body { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* version line (T2 / S1): shared with the reading window */
.lg-meta { font: 500 14px/17.5px var(--f-body); color: var(--c-muted); }
.lg .lg-meta { margin-top: -16px; }

.lg .lg-sec { display: grid; grid-template-columns: minmax(0, 544px) minmax(0, 544px); justify-content: space-between; column-gap: 32px; align-items: start; }
.lg .lg-sec__title { font: 500 24px/1.18 var(--f-display); letter-spacing: -0.24px; color: var(--c-navy); text-wrap: balance; }
.lg .lg-sec__text { min-width: 0; font: 400 16px/20px var(--f-body); color: var(--c-body); overflow-wrap: anywhere; }
.lg .lg-sec__text > * + * { margin-top: 20px; }               /* Figma: one empty 20px line between paragraphs */
.lg .lg-sec__text > p + ul, .lg .lg-sec__text > p + ol { margin-top: 0; } /* "Every Plan includes:" runs straight into its list */
.lg .lg-sec__text ul, .lg .lg-sec__text ol { margin: 0; padding-left: 1.25em; }
.lg .lg-sec__text a, .lg-cookie-btn { color: var(--c-violet); text-decoration: underline; text-underline-position: from-font; }
.lg .lg-sec__text a:hover, .lg-cookie-btn:hover { color: var(--c-navy); }
.lg-defs strong { color: var(--c-navy); font-weight: 700; }

/* plan and cookie tables (also used inside the reading window) */
.lg-table { width: 100%; border-collapse: collapse; font: inherit; color: inherit; text-align: left; }
.lg-table th, .lg-table td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.lg-table thead th { font-weight: 700; color: var(--c-navy); border-bottom-color: var(--c-disabled); }
.lg-table tbody th { font-weight: 700; color: var(--c-navy); }
.lg-table td:last-child, .lg-table th:last-child { padding-right: 0; }
.lg-tag { display: block; margin-top: 2px; font: 500 12px/15px var(--f-body); color: var(--c-success); }
.lg-tag--consent { color: var(--c-violet); }

.lg-cookie-btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .lg__inner { gap: 16px; padding-block: 32px 48px; }
  .lg__title { font-size: 30px; letter-spacing: -0.3px; }
  .lg .lg__body { gap: 16px; }
  .lg .lg-meta { margin-top: -8px; }
  .lg .lg-sec { display: flex; flex-direction: column; gap: 24px; padding-block: 16px; }
  .lg .lg-sec__text { font-size: 14px; line-height: 17.5px; }
  .lg .lg-sec__text > * + * { margin-top: 17.5px; }
}
@media (max-width: 600px) {
  /* the 4-column cookie table becomes one card per cookie on phones */
  .lg-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lg-table--stack, .lg-table--stack tbody, .lg-table--stack tr, .lg-table--stack th, .lg-table--stack td { display: block; width: 100%; }
  .lg-table--stack tr { padding-block: 8px; border-bottom: 1px solid var(--c-line); }
  .lg-table--stack th, .lg-table--stack td { padding: 2px 0; border: 0; }
  .lg-table--stack td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--c-navy); }
}

/* Offers view (Figma 10503:320 desktop, 10503:425 mobile "option B") */

/* hero: centred heading, then a 1280×440 photo with the Clevi widget overlapping its right edge and bottom */
.off-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; padding-block: 48px 96px; }
.off-hero__text { width: 100%; }
.off-hero .eyebrow { color: var(--c-navy); }
.off-hero__lead { font: 500 24px/37.5px var(--f-body); color: var(--c-body); }
.off-hero__visual { position: relative; width: 100%; height: 440px; }
.off-hero__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.off-hero__widget { position: absolute; right: 48px; top: 120px; }

/* plans: 40px band padding, 24px rhythm between heading, cards, small print and contact band */
.off-plans__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-block: 40px; }
.off-plans__head { width: 100%; }
.off-plans__head--narrow { display: none; }
.off-plans__title { font: 700 18px/24px var(--f-body); color: var(--c-navy); }
.off-plans__print { text-align: center; }

/* FAQ: 842px column, square-ish 6px accordions with a 16px question → answer gap */
.off-faq__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-block: 40px 80px; }
.off-faq .eyebrow { color: var(--c-navy); }
.off-faq .accordion { width: min(842px, 100%); }
.off-faq .accordion__item { border-radius: 6px; }
/* Figma strokes sit inside the 24px padding: 23px + 1px border keeps the 72px / 128px item heights */
.off-faq .accordion__btn { padding: 23px; }
.off-faq .accordion__panel { padding: 0 23px 23px; margin-top: -7px; line-height: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .off-hero__lead { font-size: 20px; line-height: 30px; }
}
@media (max-width: 900px) {
  .off-hero__inner { gap: 32px; padding-block: 40px 88px; }
  .off-hero__visual { height: 400px; }
  .off-hero__widget { right: 24px; top: 80px; }
}
@media (max-width: 700px) {
  /* mobile frame: photo first (343×240) with the 60% widget hanging below its right side, then the heading */
  .off-hero__inner { gap: 24px; padding-block: 40px 48px; }
  .off-hero__visual { order: -1; height: 330px; }
  .off-hero__photo { height: 240px; border-radius: 20px; }
  .off-hero .off-hero__widget { top: auto; bottom: 0; right: 12px; width: 180px; height: 216px; }
  .off-hero__widget > .clevi:not(.is-sheet) { transform: scale(0.6); }
  .off-hero .h-hero { font-size: 24px; letter-spacing: -0.24px; }
  .off-hero__lead { font: 400 16px/24px var(--f-body); }

  .off-plans__inner { padding-block: 24px; align-items: stretch; }
  .off-plans__head--wide { display: none; }
  .off-plans__head--narrow { display: flex; }
  .off-plans .offer-grid { gap: 24px; }
  .off-plans .offer-card { padding: 32px 28px 28px; gap: 24px; }
  .off-plans .contact-band { padding: 16px; gap: 24px; }

  .off-faq__inner { gap: 16px; padding-block: 24px; align-items: stretch; }
  .off-faq .h-hero { font-size: 24px; letter-spacing: -0.24px; }
  .off-faq .accordion { gap: 16px; }
  .off-faq .accordion__btn { padding: 15px; gap: 0; }
  .off-faq .accordion__panel { padding: 0 15px 15px; margin-top: 1px; }
}
/* narrowest phones (below ~341px "Standard" + a 39px price no longer fit beside each other): tighten the card a little */
@media (max-width: 360px) {
  .off-plans .offer-card { padding-inline: 20px; }
  .off-plans .offer-card__amount { font-size: 34px; }
}

/* Services view (Figma 10503:275 desktop, 10503:300 mobile) */

/* hero: 660 text + 80 gap + 640 visual in a 520px band; the visual sits 25px from the top, the text is centred on it */
.svc-hero__inner { display: grid; grid-template-columns: minmax(0, 660px) 640px; gap: 80px; align-items: center; justify-content: space-between; min-height: 520px; padding-block: 25px 55px; }
.svc-hero .eyebrow { color: var(--c-navy); }
.svc-hero__lead { font: 500 24px/37.5px var(--f-body); color: var(--c-body); }
.svc-hero__visual { position: relative; width: 640px; height: 440px; }
.svc-hero__photo { position: absolute; left: 80px; top: -4px; width: 560px; height: 448px; object-fit: cover; border-radius: 28px; }
.svc-hero__widget { position: absolute; left: 0; top: 100px; }

/* Everyday life, made simple: shared partial on a white band (36px above the button in this frame) */
.svc-everyday .everyday { background: var(--c-white); }
.svc-everyday .everyday__inner { gap: 36px; }
.svc-everyday .everyday__inner > .btn { min-width: 210px; }
/* Figma pads the shorter Taxi text with an empty line so every card image is ~140px: fix the image height instead */
.svc-everyday .usecase-card__img { flex: 0 0 140px; }

/* ---------- responsive ---------- */
/* above 1440 the shared gutter is 160px, which would squeeze the 1380px hero into 1280: use Figma's 120 / 100 insets
   (text from x=120, visual ending at x=1500 on the 1600 frame), growing back to 80px as the window narrows */
@media (min-width: 1441px) {
  .svc-hero__inner {
    max-width: none;
    padding-left: max(80px, calc((100% - 1380px) / 2 + 10px));
    padding-right: max(80px, calc((100% - 1380px) / 2 - 10px));
  }
}
@media (max-width: 1320px) {
  .svc-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 48px; }
  .svc-hero__visual { width: 100%; max-width: 560px; }
  .svc-hero__photo { left: 60px; width: calc(100% - 60px); }
}
@media (max-width: 1100px) {
  .svc-hero__lead { font-size: 20px; line-height: 30px; }
  .svc-everyday .usecase-card__img { flex-basis: 180px; }
}
@media (max-width: 900px) {
  .svc-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: 0; padding-block: 40px 48px; }
  .svc-hero__visual { width: 100%; max-width: 520px; height: 420px; margin-inline: auto; }
  .svc-hero__photo { left: 56px; top: 0; width: calc(100% - 56px); height: 400px; border-radius: 20px; }
  .svc-hero__widget { top: auto; bottom: 0; }
}
@media (max-width: 700px) {
  .svc-hero .h-hero { font-size: 24px; letter-spacing: -0.24px; }
  .svc-hero__lead { font: 400 16px/24px var(--f-body); }
  .svc-hero__visual { max-width: 343px; }

  /* phone carousel for the Everyday cards: shared, see partials.css */
}
