/*
  Oura website (faithful preview) spec.

  Primary reference: live site screenshots at 1440 wide (reference/oura-live-01.jpg to 05).
  Colours were sampled from those screenshots, sizes measured from them (1 screenshot px = 3 CSS px).
  Secondary reference: the oura-ios app guide (source/claude-design-systems/oura-ios/project),
  used only for values that also appear on the website: domain accents, score rings, the dark
  panel surfaces and the app screens shown on the site.

  Each value is marked: from live site, from app guide, or guess (where neither shows it).
  Font families are free stand-ins: see COMPARE.md.
*/

:root {
  /* Colour roles */
  --c-bg: #f6f1eb;            /* from live site: page beige, sampled from 02 and 03 */
  --c-surface: #ece3da;       /* from live site: testimonial card fill, sampled from 04 */
  --c-surface-2: #ebe1d7;     /* from live site: hero photo backdrop, sampled from 01 */
  --c-inverse: #1c1b19;       /* from live site: dark feature panel and dark band, sampled from 04 and 05 */
  --c-on-inverse: #f6f1eb;    /* from live site: light text and pills on dark */
  --c-fg: #2b2822;            /* from live site: serif headline colour, sampled from 02 */
  --c-fg-2: #4f4a44;          /* from live site: statement subline, sampled from 02 */
  --c-muted: #655f58;         /* from live site: eyebrow label colour, sampled from 04 */
  --c-border: #ddd3c8;        /* guess: hairlines are not visible on beige in the references */
  --c-accent: #3b6fd4;        /* from live site: hero "Shop" button blue, sampled from 01 */
  --c-on-accent: #ffffff;     /* from live site */
  --c-accent-hover: #2f5ebd;  /* guess: darker step of the sampled blue */
  --c-link: #2b2822;          /* from live site: links share the text colour */
  --c-focus: 0 0 0 2px #f6f1eb, 0 0 0 4px #3b6fd4; /* guess: two-tone ring so it shows on beige and dark */

  /* Type families */
  --f-display: "Instrument Serif", "Times New Roman", serif; /* from live site: light condensed serif display (stand-in) */
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; /* from app guide: Inter, also the closest free match to the site sans */
  --f-mono: ui-monospace, "SF Mono", Menlo, monospace; /* from app guide */
  --f-features: normal;       /* from app guide: tabular figures are switched on in app screens only (see .x-phone) */

  /* Type roles (sizes measured from the 1440 screenshots) */
  --t-display-size: clamp(52px, 6vw, 84px); --t-display-weight: 400; --t-display-lh: 0.98; --t-display-track: -0.01em; /* from live site: hero "two line" headline ~84px */
  --t-h2-size: clamp(38px, 4.6vw, 66px); --t-h2-weight: 400; --t-h2-lh: 1.05; --t-h2-track: -0.01em; /* from live site: centred statement ~66px */
  --t-h3-size: 26px; --t-h3-weight: 400; --t-h3-lh: 1.2; --t-h3-track: 0em; /* from live site: card headings in serif */
  --t-lead-size: clamp(17px, 1.4vw, 20px); --t-lead-weight: 400; --t-lead-lh: 1.45; /* from live site: hero and statement sublines */
  --t-body-size: 16px; --t-body-weight: 400; --t-body-lh: 1.5; /* from live site; line height from app guide (1.5) */
  --t-small-size: 14px; --t-small-weight: 400; --t-small-lh: 1.45; /* from live site: footer links */
  --t-label-size: 13px; --t-label-weight: 500; --t-label-track: 0.1em; --t-label-case: uppercase; --t-label-font: var(--f-body); /* from live site: "new features" eyebrow; tracking matches app guide domain labels */
  --t-button-size: 15px; --t-button-weight: 500; --t-button-track: 0em; --t-button-case: none; /* from live site */
  --t-nav-size: 15px; --t-nav-weight: 400; /* from live site */

  /* Layout and spacing */
  --s-container: 1312px;      /* from live site: 64px side margins at 1440 */
  --s-gutter: 64px;           /* from live site */
  --s-section: 120px;         /* from live site: gap above the testimonial row and feature block */
  --s-section-sm: 64px;       /* from app guide: section-y-desktop */
  --s-stack: 24px;            /* from live site: headline to subline */
  --s-grid-gap: 32px;         /* from live site: gap between testimonial cards */
  --s-list-gap: 12px;         /* from live site: footer link rows */

  /* Shape and depth */
  --r-sm: 6px; --r-md: 8px; --r-lg: 24px; --r-pill: 9999px; /* sm from app guide; md from live site (cards, email field); lg from live site (dark panel) */
  --shadow-1: none;           /* from live site: flat surfaces, and app guide "elevation is surface value" */
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.3); /* from app guide: raised level */
  --border-w: 1px;            /* from live site */

  /* Components */
  --nav-height: 96px; --nav-bg: transparent; --nav-border: transparent; --nav-radius: 0; --nav-inset: 0px; /* from live site: transparent bar over the hero */
  --btn-height: 46px; --btn-pad-x: 22px; --btn-radius: var(--r-pill); /* from live site: pill buttons */
  --btn-primary-bg: var(--c-accent); --btn-primary-fg: var(--c-on-accent); --btn-primary-border: transparent; --btn-primary-hover-bg: var(--c-accent-hover); /* from live site: blue shop pill */
  --btn-secondary-bg: #48443f; --btn-secondary-fg: #ffffff; --btn-secondary-border: transparent; --btn-secondary-hover-bg: #2b2822; /* from live site: dark warm pills under the statement */
  --btn-hover-transform: none; --btn-active-transform: scale(0.97); --btn-transition: 150ms ease; /* active scale from app guide */
  --card-bg: var(--c-surface); --card-border: transparent; --card-radius: 4px; --card-pad: 40px; --card-shadow: none; --card-media-radius: 0; /* from live site: testimonial cards */
  --tag-bg: #2a2927; --tag-fg: #d5d3cf; --tag-radius: var(--r-pill); --tag-pad: 4px 12px; /* guess, built from the dark band greys */
  --field-bg: #47443f; --field-border: transparent; --field-radius: var(--r-md); --field-height: 44px; /* from live site: footer email field */
  --list-marker-colour: var(--c-fg); --list-divider: var(--border-w) solid var(--c-border); /* guess */
  --quote-size: 24px; --quote-font: var(--f-display); --quote-weight: 400; --quote-lh: 1.25; /* from live site: testimonial quote */
  --stat-size: 52px; --stat-weight: 700; --stat-colour: #ffffff; --stat-font: var(--f-body); /* from app guide: ring score figure */
  --cta-bg: var(--c-inverse); --cta-fg: var(--c-on-inverse); --cta-radius: var(--r-lg); /* from live site */
  --footer-bg: #2d2c2a; --footer-fg: #c9c7c3; --footer-border: transparent; /* from live site: footer sampled from 05; text lightened for AA after anti-aliasing */
  --media-radius: 0; --media-shadow: none; /* from live site: full-bleed photography */

  /* System extras used by x- components */
  --x-ready: #4fd1c5;   /* from app guide: Readiness teal */
  --x-sleep: #7c6ff0;   /* from app guide: Sleep indigo */
  --x-active: #f5a623;  /* from app guide: Activity amber */
  --x-coral: #e0746b;   /* from app guide: negative delta */
  --x-app-bg: #0b0b0f;  /* from app guide: canvas */
  --x-app-s1: #16161c;  /* from app guide: surface 1 */
  --x-app-s2: #1e1e26;  /* from app guide: surface 2 */
  --x-app-track: #27272f; /* from app guide: ring track */
  --x-app-line: #2a2a33;  /* from app guide: divider */
  --x-app-fg2: #9a9aa5;   /* from app guide: text secondary */
  --x-app-fg3: #6a6a73;   /* from app guide: text tertiary */
  --x-footer-head: #9b9a97; /* from live site: footer column headings */
}

@media (max-width: 1023px) { :root { --s-gutter: 32px; --s-section: 88px; --card-pad: 32px; } } /* guess: tablet */
@media (max-width: 599px) { :root { --s-gutter: 20px; --s-section: 64px; --card-pad: 24px; --nav-height: 64px; --quote-size: 22px; } } /* guess: phone */

body { overflow-x: clip; }
.c-display, .c-h2, .c-h3 { font-weight: 400; }

/* Visually hidden text */
.x-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Promo bar: from live site, 48px strip above the nav */
.x-promo { background: var(--c-bg); color: var(--c-fg); text-align: center; font-size: 13px; line-height: 1.35; padding: 15px var(--s-gutter); position: relative; z-index: 6; }
.x-promo a { color: inherit; text-underline-offset: 0.2em; }

/* Wordmark: generic, set in a thin tracked sans like the site logo */
.x-wordmark { font-family: var(--f-body); font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--c-fg); font-size: 20px; line-height: 1; }

/* Transparent nav over the hero: from live site */
.x-nav-over { position: absolute; inset: 0 0 auto 0; }
.x-hero > .c-container { order: 1; }
.x-nav-over .c-nav__bar { gap: 24px; }
.x-nav-over .c-nav__links { margin: 0 auto; gap: 56px; }
.x-nav-over .c-nav__links a { color: var(--c-fg-2); display: inline-flex; align-items: center; gap: 8px; }
.x-nav-over .c-nav__links a.has-menu::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.x-icon-btn { inline-size: 48px; block-size: 48px; border-radius: 50%; border: 1px solid rgba(43, 40, 34, 0.12); background: rgba(246, 241, 235, 0.55); display: inline-grid; place-items: center; color: var(--c-fg); text-decoration: none; }
.x-icon-btn svg { width: 20px; height: 20px; }
.x-menu-btn { display: none; }
@media (max-width: 900px) { .x-menu-btn { display: inline-grid; } }

/* Hero: full-bleed photo, serif headline on the left (from live site) */
.x-hero { position: relative; min-height: clamp(640px, calc(100vh - 48px), 860px); display: flex; align-items: center; background: var(--c-surface-2); overflow: hidden; }
.x-hero__photo { position: absolute; inset: 0; --ph-ratio: auto; border-radius: 0; background: linear-gradient(180deg, #f1e7dd 0%, #ebe1d7 55%, #ece0d6 100%); justify-items: end; align-items: center; padding-right: 12%; text-align: center; }
.x-hero__photo span { max-width: 26ch; padding: 12px 16px; border: 1px dashed rgba(101, 95, 88, 0.45); border-radius: 8px; }
.x-hero__copy { position: relative; padding-top: 24px; max-width: 560px; }
.x-hero__copy .c-display { max-width: 7.5ch; } /* from live site: the headline always breaks over two lines */
.x-hero__copy .c-display { margin-bottom: 36px; }
.x-hero__copy .c-lead { color: #5c534b; max-width: 30em; } /* from live site: warmer brown subline */
.x-hero__copy .c-buttons { margin-top: 40px; }
@media (max-width: 760px) {
  .x-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .x-hero__copy { padding-block: calc(var(--nav-height) + 40px) 40px; }
  .x-hero__photo { position: relative; inset: auto; order: 2; aspect-ratio: 4 / 5; justify-items: center; padding: 24px; }
}

/* Centred serif statement: from live site */
.x-statement { text-align: center; display: grid; justify-items: center; }
.x-statement .c-lead { max-width: 38em; color: var(--c-fg-2); }
.x-statement .c-buttons { justify-content: center; margin-top: 32px; }
.x-statement .c-btn { min-height: 44px; font-size: 14px; }

/* Dark phone screen row: from live site layout, app guide values inside the screens */
.x-phones { display: flex; justify-content: center; align-items: center; margin-top: 72px; padding-inline: 8px; }
.x-phones > .x-phone { flex: none; }
.x-phones > .x-phone + .x-phone { margin-left: -4px; }
.x-phone { --pw: 240px; inline-size: var(--pw); aspect-ratio: 9 / 19.4; border-radius: calc(var(--pw) * 0.11); background: var(--x-app-bg); color: #fff; overflow: hidden; position: relative; container-type: inline-size; font-family: var(--f-body); font-variant-numeric: tabular-nums; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); }
.x-phone.is-xl { --pw: 296px; z-index: 3; }
.x-phone.is-md { --pw: 240px; aspect-ratio: 9 / 20; z-index: 2; }
.x-phone.is-sm { --pw: 222px; aspect-ratio: 9 / 19.6; z-index: 1; }
@media (max-width: 1279px) { .x-phone.is-xl { --pw: 252px; } .x-phone.is-md { --pw: 204px; } .x-phone.is-sm { --pw: 186px; } }
@media (max-width: 1023px) { .x-phones .x-phone.is-sm { display: none; } }
@media (max-width: 680px) { .x-phones .x-phone.is-md { display: none; } .x-phone.is-xl { --pw: min(296px, 78vw); } }

.x-scr { position: absolute; inset: 0; padding: 7cqi 6cqi 0; display: flex; flex-direction: column; gap: 4cqi; font-size: 4.4cqi; line-height: 1.3; }
.x-scr.is-dusk { background: linear-gradient(180deg, #2b2142 0%, #17141f 42%, #121116 100%); }
.x-scr.is-warm { background: linear-gradient(180deg, #2a2725 0%, #1a1918 45%, #151413 100%); }
.x-scr.is-sky { background: linear-gradient(180deg, #6f87a6 0%, #8796a6 17%, #6f6e52 30%, #4d5136 42%, #2a2c22 56%, #17171a 72%, #121215 100%); }
.x-scr.is-sea { background: linear-gradient(180deg, #1c2d33 0%, #16191d 40%, #131316 100%); }
.x-scr.is-pine { background: linear-gradient(180deg, #1c3029 0%, #16191a 40%, #131316 100%); }
.x-scr__bar { display: flex; align-items: center; justify-content: space-between; color: var(--x-app-fg2); font-size: 4cqi; min-height: 8cqi; }
.x-scr__bar b { color: #fff; font-weight: 600; font-size: 4.4cqi; }
.x-scr__bar .x-wordmark { color: #fff; font-size: 6cqi; }
.x-glyph { inline-size: 7cqi; block-size: 7cqi; border-radius: 50%; border: 0.5cqi solid currentColor; display: inline-block; flex: none; }
.x-chev { inline-size: 3cqi; block-size: 3cqi; border-left: 0.5cqi solid currentColor; border-bottom: 0.5cqi solid currentColor; transform: rotate(45deg); display: inline-block; }
.x-burger { inline-size: 6cqi; block-size: 4cqi; border-block: 0.5cqi solid #fff; position: relative; display: inline-block; }
.x-burger::after { content: ""; position: absolute; inset: 50% 0 auto; border-top: 0.5cqi solid #fff; transform: translateY(-50%); }
.x-scr__title { font-family: var(--f-display); font-size: 9.5cqi; line-height: 1.08; color: #fff; font-weight: 400; } /* from live site: the app on the site sets titles in the serif */
.x-scr__body { color: var(--x-app-fg2); font-size: 4cqi; line-height: 1.4; }
.x-scr__h { font-size: 5.4cqi; font-weight: 600; color: #fff; }
.x-scr__label { font-size: 3.4cqi; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--x-app-fg2); }
.x-seg { display: inline-flex; align-self: center; gap: 1cqi; padding: 0.8cqi; border-radius: 99px; background: rgba(22, 22, 28, 0.6); border: 1px solid var(--x-app-line); font-size: 3.4cqi; }
.x-seg span { padding: 1cqi 3.5cqi; border-radius: 99px; color: var(--x-app-fg2); }
.x-seg span.is-on { background: var(--x-app-track); color: #fff; font-weight: 600; }
.x-chart { inline-size: 100%; block-size: auto; overflow: visible; }
.x-axis { display: flex; justify-content: space-between; color: var(--x-app-fg3); font-size: 3cqi; }
.x-row { display: flex; align-items: center; justify-content: space-between; gap: 3cqi; padding: 3cqi 0; border-top: 1px solid var(--x-app-line); font-size: 3.8cqi; }
.x-row b { font-weight: 600; color: #fff; }
.x-toggle { inline-size: 9cqi; block-size: 5cqi; border-radius: 99px; background: var(--x-app-track); position: relative; flex: none; }
.x-toggle::after { content: ""; position: absolute; inset: 0.6cqi auto 0.6cqi 4.6cqi; inline-size: 3.8cqi; border-radius: 50%; background: #fff; }
.x-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5cqi; }
.x-tile { background: var(--x-app-s1); border-radius: 4cqi; padding: 3.5cqi; display: grid; gap: 1cqi; }
.x-tile strong { font-size: 5.6cqi; font-weight: 600; }
.x-tile small { color: var(--x-app-fg2); font-size: 3.2cqi; }
.x-chip { display: inline-block; padding: 0.8cqi 2.6cqi; border-radius: 99px; background: var(--x-app-s2); border: 1px solid var(--x-app-line); color: var(--x-app-fg2); font-size: 3cqi; }
.x-pill-out { align-self: stretch; text-align: center; padding: 3cqi; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.45); font-size: 4cqi; font-weight: 600; }
.x-pill-dark { align-self: center; padding: 2.6cqi 6cqi; border-radius: 99px; background: rgba(30, 30, 38, 0.92); font-size: 4cqi; font-weight: 600; }
.x-dots { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 2cqi; font-size: 3cqi; color: var(--x-app-fg2); }
.x-dots i { display: block; margin: 0 auto 1.5cqi; inline-size: 7cqi; block-size: 7cqi; border-radius: 50%; }
.x-tabbar { margin-top: auto; margin-inline: -6cqi; padding: 3cqi 6cqi 6cqi; display: flex; justify-content: space-between; align-items: center; color: var(--x-app-fg3); font-size: 2.8cqi; background: rgba(11, 11, 15, 0.82); border-top: 1px solid var(--x-app-line); } /* from app guide: tab bar material and hairline */
.x-tabbar span { display: grid; justify-items: center; gap: 1cqi; }
.x-tabbar span::before { content: ""; inline-size: 5.5cqi; block-size: 5.5cqi; border-radius: 1.6cqi; border: 0.5cqi solid currentColor; }
.x-tabbar span.is-on { color: #fff; }
.x-tabbar .x-plus { inline-size: 12cqi; block-size: 12cqi; border-radius: 50%; background: var(--x-app-s2); display: grid; place-items: center; color: #fff; font-size: 7cqi; line-height: 1; }
.x-tabbar .x-plus::before { content: none; }

/* Score rings: from app guide (track, rounded cap, clockwise from 12 o'clock) */
.x-ring { inline-size: 100%; block-size: auto; transform: rotate(-90deg); }
.x-ring circle { fill: none; stroke-width: 10; }
.x-ring .t { stroke: rgba(255, 255, 255, 0.18); }
.x-ring .v { stroke-linecap: round; }
.x-rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqi; text-align: center; }
.x-rings figure { position: relative; display: grid; justify-items: center; gap: 1.2cqi; }
.x-rings .x-ring { inline-size: 12cqi; }
.x-rings b { font-size: 5.2cqi; font-weight: 700; }
.x-rings figcaption { font-size: 2.8cqi; color: rgba(255, 255, 255, 0.8); }
.x-gauge { position: relative; display: grid; justify-items: center; margin-top: 2cqi; }
.x-gauge svg { inline-size: 72%; }
.x-big { font-size: 15cqi; font-weight: 400; line-height: 1; letter-spacing: -0.02em; text-align: center; }
.x-card-glass { background: rgba(30, 30, 38, 0.78); border-radius: 5cqi; padding: 4cqi; display: grid; gap: 2.5cqi; }
.x-card-glass .x-meta { color: var(--x-app-fg2); font-size: 3.2cqi; }
.x-hyp { display: grid; grid-template-columns: repeat(24, 1fr); align-items: end; gap: 0.6cqi; block-size: 22cqi; }
.x-hyp i { display: block; border-radius: 0.6cqi; background: var(--x-sleep); }
.x-legend { display: grid; gap: 1.6cqi; font-size: 3.2cqi; color: var(--x-app-fg2); }
.x-legend div { display: flex; align-items: center; gap: 2cqi; }
.x-legend i { block-size: 2cqi; border-radius: 1cqi; display: block; }
.x-slider { position: relative; block-size: 1cqi; background: var(--x-app-track); border-radius: 1cqi; margin-block: 2cqi; }
.x-slider::after { content: ""; position: absolute; left: 32%; top: 50%; inline-size: 3.6cqi; block-size: 3.6cqi; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }

.x-flush { padding-top: 0; }
.x-c-low { background: #3a4f8a; } .x-c-mid { background: #6c6a63; } .x-c-high { background: #c98c87; }
.x-center { text-align: center; } .x-white { color: #fff; } .x-teal { color: var(--x-ready); }
.x-row.is-block { display: block; }
.x-metric { font-size: 7cqi; font-weight: 600; }
.x-hyp i:nth-child(4n+1) { height: 30%; opacity: 0.5; } .x-hyp i:nth-child(4n+2) { height: 70%; } .x-hyp i:nth-child(4n+3) { height: 45%; opacity: 0.7; } .x-hyp i:nth-child(4n) { height: 90%; opacity: 0.35; }
.x-hyp i:nth-child(7n) { height: 55%; opacity: 0.8; }
.x-legend .is-awake { width: 12%; background: #fff; } .x-legend .is-rem { width: 30%; background: #9f95f5; } .x-legend .is-light { width: 46%; background: var(--x-sleep); } .x-legend .is-deep { width: 24%; background: #5a4fc4; }

/* Testimonial cards with avatar: from live site */
.x-testimonials .c-grid { padding: 0; list-style: none; }
.x-testimonials .c-card { gap: 40px; align-content: space-between; }
.x-testimonials .c-quote blockquote p::before { content: "\201C"; display: block; font-size: 18px; line-height: 1; margin-bottom: 14px; color: var(--c-fg-2); }
.x-person { display: flex; align-items: center; gap: 16px; font-weight: 600; color: var(--c-fg); font-size: 16px; }
.x-avatar { inline-size: 60px; block-size: 60px; border-radius: 50%; --ph-ratio: 1; font-size: 9px; line-height: 1.1; text-align: center; padding: 6px; background: #d7cbbf; color: #4f4a44; flex: none; }

/* Dark rounded feature panel: from live site (text on beige, panel bleeding off the right edge) */
.x-feature { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 66px; align-items: center; }
.x-feature__copy > * + * { margin-top: 24px; }
.x-feature__copy .c-btn { margin-top: 40px; }
.x-feature__panel { background: var(--c-inverse); border-radius: var(--r-lg) 0 0 var(--r-lg); margin-right: calc(-1 * max(var(--s-gutter), (100vw - var(--s-container)) / 2)); min-height: 600px; position: relative; overflow: hidden; display: flex; justify-content: center; align-items: flex-end; padding-top: 96px; }
.x-feature__panel .x-phones { margin: 0; align-items: flex-end; }
.x-feature__panel .x-phone { --pw: 260px; aspect-ratio: 9 / 13; border-radius: 30px 30px 0 0; border: 6px solid #2f2f33; border-bottom: 0; }
.x-feature__panel .x-phone.is-side { --pw: 200px; aspect-ratio: 9 / 13; opacity: 0.92; }
.x-feature__panel .x-phone.is-side:first-child { transform: translate(24px, 40px) rotate(-8deg); }
.x-feature__panel .x-phone.is-side:last-child { transform: translate(-24px, 40px) rotate(8deg); }
.x-feature__panel .x-scr { padding-top: 9cqi; }
@media (max-width: 1023px) {
  .x-feature { grid-template-columns: 1fr; gap: 48px; }
  .x-feature__panel { margin-right: calc(-1 * var(--s-gutter)); min-height: 480px; padding-top: 64px; }
}
@media (max-width: 599px) { .x-feature__panel .x-phone.is-side { display: none; } .x-feature__panel { min-height: 400px; } }

/* Dark band with article cards and footnotes: from live site 05, rounded bottom over the footer */
.x-band { background: var(--c-inverse); color: var(--c-on-inverse); border-radius: 0 0 40px 40px; position: relative; z-index: 1; padding-top: var(--s-section); }
.x-band .c-h2 { color: var(--c-on-inverse); }
.x-band__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.x-band__head .c-label { color: #a9a6a1; margin-bottom: 16px; }
.x-articles { display: grid; grid-template-columns: 1.63fr 1fr; gap: 60px; }
.x-article { border-radius: var(--r-md); padding: 32px; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.x-article.is-dark { background: linear-gradient(180deg, #2c2b29 0%, #3d3b38 100%); color: var(--c-on-inverse); }
.x-article.is-dark .c-h3 { color: var(--c-on-inverse); max-width: 18em; }
.x-article.is-light { background: var(--c-bg); color: var(--c-fg); }
.x-article .c-tag { align-self: flex-start; }
.x-article.is-light .c-tag { background: var(--c-surface); color: var(--c-fg-2); }
.x-pill-light { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 22px; border-radius: 99px; background: #f1ece4; color: var(--c-fg); font-size: 15px; font-weight: 500; text-decoration: none; }
.x-round-btn { align-self: flex-end; inline-size: 44px; block-size: 44px; border-radius: 50%; background: #3a3835; color: #fff; display: grid; place-items: center; text-decoration: none; font-size: 16px; }
.x-notes { margin-top: 64px; border-top: 1px solid #34332f; padding-block: 56px 64px; font-size: 12px; line-height: 1.6; color: #b4b2ae; display: grid; gap: 10px; }
@media (max-width: 860px) { .x-articles { grid-template-columns: 1fr; gap: 24px; } .x-article { min-height: 300px; } }

/* Dark footer with newsletter field and payment badges: from live site 05 */
.x-footer { margin-top: -40px; padding-top: 104px; background: linear-gradient(180deg, #2a2927 0%, #343330 100%); }
.x-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.x-footer .x-wordmark { color: #c9c7c3; font-size: 44px; font-weight: 200; }
.x-pay { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.x-pay li { inline-size: 56px; block-size: 34px; border-radius: 5px; background: #f6f5f2; color: #2b2822; display: grid; place-items: center; font-size: 10px; font-weight: 600; letter-spacing: 0.02em; }
.x-footer__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.x-footer .x-footer__grid h3 { color: var(--x-footer-head); font-weight: 400; font-size: 15px; }
.x-footer__grid ul { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 14px; font-size: 15px; }
.x-footer__grid a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.x-news .c-h2 { color: #c9c7c3; font-size: clamp(32px, 2.9vw, 42px); line-height: 1.15; max-width: 12em; }
.x-news form { margin-top: 56px; max-width: 320px; }
.x-news .c-field { color: #c9c7c3; }
.x-news__row { position: relative; }
.x-news__row input { inline-size: 100%; color: #f6f1eb; padding-right: 48px; }
.x-news__row input::placeholder { color: #d5d3cf; }
.x-news__row button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); inline-size: 36px; block-size: 36px; border: 0; border-radius: 50%; background: transparent; color: #d5d3cf; cursor: pointer; font-size: 16px; }
.x-news p { margin-top: 14px; font-size: 11px; color: #a9a6a1; }
.x-news p a { text-decoration: underline; }
.x-footer__base { margin-top: 64px; padding-top: 24px; border-top: 1px solid #45433f; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #a9a6a1; }
.x-footer__base ul { display: flex; gap: 24px; list-style: none; padding: 0; flex-wrap: wrap; }
@media (max-width: 1023px) { .x-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .x-news { grid-column: 1 / -1; } }
@media (max-width: 420px) { .x-footer .x-wordmark { font-size: 34px; } }

/* Bank tag: keep it legible over beige and dark */
.bank-tag:focus-visible { box-shadow: var(--c-focus); }
