/* ═══════════════════════════════════════════════════════════
   Hearthway — stylesheet
   Palette taken from gas cylinder colours and valve tags.
   One typeface (Archivo): expanded width for headings,
   normal width for body.
   ═══════════════════════════════════════════════════════════ */

:root {
  --blue:      #1D3FD1;
  --blue-deep: #132C99;
  --yellow:    #FFC93C;
  --yellow-2:  #FFE08A;
  --ink:       #141A3C;
  --muted:     #5A6285;
  --tint:      #EEF2FF;
  --paper:     #FFFFFF;
  --line:      #DCE2F3;
  --red:       #E0483E;

  --r-panel: 28px;
  --r-card:  20px;
  --r-input: 10px;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }

h1, h2, h3 { margin: 0; line-height: 1.1; font-stretch: 118%; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.hp { position: absolute; left: -9999px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* ── Type scale ─────────────────────────────────────────── */
.h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; }
.h3 { font-size: 18px; margin-bottom: 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 46ch; }
.note { font-size: 15px; color: var(--muted); margin-top: 20px; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); }
.text-link:hover { text-decoration-color: var(--blue); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px; font-stretch: 108%;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { padding: 8px 16px; font-size: 15px; }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-2); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ── Header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-name { font-size: 21px; font-weight: 800; font-stretch: 122%; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand-light, .brand-light:hover { color: #fff; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav ul a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav ul a:hover { background: var(--tint); color: var(--ink); }
.site-nav ul a[aria-current="page"] { background: var(--tint); color: var(--blue); font-weight: 700; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--tint); cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; content: ''; }
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { top: -6px; left: 0; }
.nav-toggle-bars::after { top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: fixed; inset: 65px 0 auto 0; background: var(--paper);
    flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 28px;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(20,26,60,.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 16px; font-size: 18px; border-radius: 12px; }
  .nav-cta { margin-top: 8px; }
}

/* ── Sections ───────────────────────────────────────────── */
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }
.section--flush-top { padding-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head .h2 { margin: 0; }

.section--blue { background: var(--blue); color: #fff; margin: 0 var(--gutter); border-radius: var(--r-panel); }
@media (min-width: 1300px) { .section--blue { max-width: 1260px; margin: 0 auto; } }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ── Hero ───────────────────────────────────────────────── */
.hero { background: var(--blue); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: end; padding-top: clamp(56px, 8vw, 96px); }
.hero-copy { padding-bottom: clamp(56px, 8vw, 104px); }
.hero-title { font-size: clamp(42px, 6.2vw, 76px); font-stretch: 125%; line-height: 1; letter-spacing: -0.025em; max-width: 12ch; margin-bottom: 24px; }
.hero-lead { font-size: 19px; color: rgba(255,255,255,.82); max-width: 44ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* The line-up: three sizes standing on the same floor */
.hero-lineup {
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(12px, 3vw, 36px);
  position: relative; padding-bottom: 64px;
}
.hero-lineup::before { content: ''; position: absolute; left: 50%; bottom: 20px; width: 115%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,255,255,.2), rgba(255,255,255,0)); pointer-events: none; }
.hero-lineup::after { content: ''; position: absolute; left: -10%; right: -40%; bottom: 52px; height: 4px; background: var(--yellow); border-radius: 2px; }
.lineup-item { position: relative; text-decoration: none; color: #fff; display: flex; flex-direction: column; align-items: center; }
.lineup-item img { width: auto; filter: drop-shadow(0 18px 24px rgba(8,16,70,.35)); transition: transform .25s ease; }
.lineup-sm img { height: clamp(140px, 17vw, 190px); }
.lineup-md img { height: clamp(190px, 23vw, 260px); }
.lineup-lg img { height: clamp(240px, 30vw, 340px); }
.lineup-label { position: absolute; top: 100%; margin-top: 18px; white-space: nowrap; font-weight: 700; font-stretch: 112%; font-size: 15px; }
.lineup-label em { font-style: normal; font-weight: 400; color: rgba(255,255,255,.75); margin-left: 4px; }
.lineup-item:hover img, .lineup-item:focus-visible img { transform: translateY(-6px); }
.lineup-item:hover { color: #fff; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-lineup { padding-bottom: 60px; }
  .hero-lineup::before { content: ''; position: absolute; left: 50%; bottom: 20px; width: 115%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,255,255,.2), rgba(255,255,255,0)); pointer-events: none; }
.hero-lineup::after { left: -20%; right: -20%; }
}
@media (prefers-reduced-motion: reduce) { .lineup-item img { transition: none; } }

/* ── Page intro (inner pages) ───────────────────────────── */
.page-intro { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.page-intro h1 { font-size: clamp(34px, 4.8vw, 56px); font-stretch: 122%; letter-spacing: -0.02em; margin-bottom: 20px; max-width: 20ch; }
.page-intro p { font-size: 19px; color: var(--muted); max-width: 58ch; }
.page-intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.intro-facts { list-style: none; margin: 0; padding: 22px 24px; background: var(--tint); border-radius: var(--r-card); display: grid; gap: 10px; font-size: 16px; }
.intro-facts strong { color: var(--blue); }
@media (max-width: 860px) { .page-intro-grid { grid-template-columns: 1fr; } }

/* ── Product cards ──────────────────────────────────────── */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
@media (max-width: 980px) { .p-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .p-grid, .p-grid--2 { grid-template-columns: 1fr; } }

.p-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.p-card--featured { border: 2px solid var(--blue); }
.p-card-media { position: relative; background: var(--tint); display: flex; justify-content: center; align-items: flex-end; height: 290px; padding: 48px 20px 22px; }
.section--tint .p-card-media { background: #E3E9FB; }
.p-card-media img { height: 100%; width: auto; }
.p-card-flag { position: absolute; top: 16px; right: 16px; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* Collar tag: echoes the stamped weight on a real cylinder collar */
.collar-tag {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: baseline; gap: 6px;
  background: var(--ink); color: #fff; padding: 6px 12px 6px 14px;
  border-radius: 8px 8px 8px 2px;
  font-weight: 800; font-stretch: 120%; font-size: 17px; line-height: 1.1;
}
.collar-tag small { font-weight: 500; font-stretch: 100%; font-size: 12px; color: rgba(255,255,255,.7); }
.collar-tag--lg { font-size: 22px; top: 22px; left: 22px; padding: 8px 16px 8px 18px; }
.collar-tag--lg small { font-size: 14px; }

.p-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.p-card-title { font-size: 21px; margin-bottom: 4px; }
.p-card-title a { color: var(--ink); text-decoration: none; }
.p-card-title a:hover { color: var(--blue); }
.p-card-for { font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 12px; }
.p-card-summary { font-size: 15px; color: var(--muted); }
.p-card-meta { margin: 4px 0 20px; display: grid; gap: 8px; font-size: 14px; }
.p-card-meta div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; }
.p-card-meta dt { color: var(--muted); }
.p-card-meta dd { margin: 0; }
.p-card-foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-card-price { margin: 0; font-size: 28px; font-weight: 800; font-stretch: 115%; font-variant-numeric: tabular-nums; line-height: 1; }
.p-card-price span { display: block; font-size: 13px; font-weight: 400; font-stretch: 100%; color: var(--muted); margin-top: 4px; }

/* ── Steps (real sequence) ──────────────────────────────── */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 18px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.steps li::after { content: ''; position: absolute; top: 23px; left: 64px; right: -14px; height: 2px; background: rgba(255,255,255,.28); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: rgba(255,255,255,.8); font-size: 16px; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ── Diamond list ───────────────────────────────────────── */
.diamond-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.diamond-list li { position: relative; padding-left: 40px; }
.diamond-list li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 14px; height: 14px; background: var(--blue); transform: rotate(45deg); border-radius: 3px; }
.diamond-list h3 { font-size: 20px; margin-bottom: 6px; }
.diamond-list p { color: var(--muted); margin: 0; max-width: 52ch; }

/* ── Yellow safety band ─────────────────────────────────── */
.band-yellow { background: var(--yellow); padding: clamp(48px, 7vw, 80px) 0; }
.band-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.band-yellow p { max-width: 62ch; margin: 0; font-size: 18px; }
@media (max-width: 760px) { .band-grid { grid-template-columns: 1fr; } }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-teaser { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
@media (max-width: 860px) { .faq-teaser { grid-template-columns: 1fr; gap: 24px; } }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative;
  font-weight: 700; font-size: 18px; font-stretch: 106%;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p { color: var(--muted); padding-right: 48px; margin: -4px 0 22px; max-width: 68ch; }

.faq-page { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.faq-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.faq-nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.faq-nav a:hover { background: var(--tint); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group-title { font-size: 24px; margin-bottom: 12px; }
@media (max-width: 800px) {
  .faq-page { grid-template-columns: 1fr; gap: 24px; }
  .faq-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .faq-nav a { background: var(--tint); }
}

/* ── Tables ─────────────────────────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 42%; padding-right: 16px; }
.spec-table td { font-weight: 600; }
.size-guide { overflow-x: auto; background: var(--paper); border-radius: var(--r-card); padding: 8px 24px; }
.spec-table--wide { min-width: 640px; }
.spec-table--wide thead th { color: var(--ink); font-weight: 700; width: auto; font-size: 14px; }
.spec-table--wide tbody th { color: var(--ink); font-weight: 700; width: auto; }
.spec-table--wide td { font-weight: 400; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.num { font-variant-numeric: tabular-nums; font-weight: 700 !important; white-space: nowrap; }

/* ── Lists ──────────────────────────────────────────────── */
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ''; position: absolute; left: 2px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3L11.5 5.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.check-list--lg { gap: 18px; font-size: 18px; }
.check-list--lg li::before { top: 7px; }

/* ── About / values ─────────────────────────────────────── */
.prose p { font-size: 18px; line-height: 1.7; max-width: 62ch; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; }
.value { background: var(--paper); border-radius: var(--r-card); padding: 28px; }
.value h3 { font-size: 20px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.cta-block { text-align: center; }
.cta-block .h2 { margin-bottom: 10px; }
.cta-block p { color: var(--muted); font-size: 18px; margin-bottom: 26px; }

/* ── Safety ─────────────────────────────────────────────── */
.emergency { background: var(--ink); color: #fff; margin: 0 var(--gutter); border-radius: var(--r-panel); padding: clamp(40px, 6vw, 72px) 0; border-top: 8px solid var(--red); }
@media (min-width: 1300px) { .emergency { max-width: 1260px; margin: 0 auto; } }
.emergency-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
.emergency p { color: rgba(255,255,255,.75); }
.emergency-steps { margin: 0; padding: 0; list-style: none; counter-reset: e; display: grid; gap: 14px; }
.emergency-steps li { counter-increment: e; display: grid; grid-template-columns: 34px 1fr; gap: 14px; font-size: 18px; align-items: start; }
.emergency-steps li::before { content: counter(e); width: 30px; height: 30px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 800; font-size: 15px; margin-top: 1px; }
@media (max-width: 860px) { .emergency-grid { grid-template-columns: 1fr; gap: 20px; } }

.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin-top: 16px; }
.guide { border-left: 4px solid var(--yellow); padding-left: 20px; }
.guide h3 { font-size: 19px; margin-bottom: 8px; }
.guide p { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 860px) { .guides { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guides { grid-template-columns: 1fr; } }

/* ── Single product ─────────────────────────────────────── */
.crumbs { display: flex; gap: 10px; font-size: 14px; padding-top: 28px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.sp { display: grid; grid-template-columns: 1fr 460px; gap: clamp(32px, 5vw, 64px); padding-top: 24px; padding-bottom: var(--section); align-items: start; }
@media (max-width: 980px) { .sp { grid-template-columns: 1fr; } }

.sp-media { position: relative; background: var(--tint); border-radius: var(--r-panel); height: clamp(360px, 44vw, 500px); display: flex; justify-content: center; align-items: flex-end; padding: 72px 24px 36px; margin-bottom: 32px; }
.sp-media img { height: 100%; width: auto; filter: drop-shadow(0 20px 26px rgba(20,26,60,.18)); }
.sp-title { font-size: clamp(32px, 4vw, 46px); font-stretch: 122%; letter-spacing: -0.02em; margin-bottom: 10px; }
.sp-price { font-size: 30px; font-weight: 800; font-stretch: 115%; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.sp-price span { font-size: 15px; font-weight: 400; font-stretch: 100%; color: var(--muted); }
.sp-lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.sp-h2 { font-size: 22px; margin: 36px 0 12px; }
.sp-safety { background: var(--yellow); border-radius: var(--r-card); padding: 20px 24px; margin-top: 12px; }
.sp-safety p { margin-bottom: 8px; }
.sp-safety a { color: var(--ink); font-weight: 700; }

.sp-order { position: sticky; top: 92px; }
@media (max-width: 980px) { .sp-order { position: static; } }
.order-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; box-shadow: 0 30px 60px -30px rgba(20,26,60,.28); }
.order-title { font-size: 24px; margin-bottom: 20px; }

/* ── Forms ──────────────────────────────────────────────── */
.field { margin: 0 0 16px; min-width: 0; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-input); background: #fff;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141A3C' stroke-width='1.8'/%3E%3C/svg%3E") right 14px center/12px no-repeat; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,63,209,.18); }
.field input[readonly] { background: var(--tint); border-color: var(--tint); font-weight: 700; }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row--3 { grid-template-columns: 1.2fr 1fr 0.9fr; }
@media (max-width: 480px) { .field-row, .field-row--3 { grid-template-columns: 1fr; gap: 0; } }

.qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty input { width: 64px; text-align: center; border: 0; border-radius: 0; font-weight: 700; padding: 10px 4px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { box-shadow: none; }
.qty-btn { width: 46px; border: 0; background: var(--tint); font-size: 22px; font-weight: 600; color: var(--ink); cursor: pointer; line-height: 1; }
.qty-btn:hover:not(:disabled) { background: #DCE4FD; }
.qty-btn:disabled { color: #A6ADC6; cursor: not-allowed; }

.pay-method { border: 0; padding: 0; }
.pay-option { display: block; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; }
.pay-option-body { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 2px solid var(--blue); border-radius: 14px; background: #F6F8FF; font-size: 14px; color: var(--muted); line-height: 1.45; font-weight: 400; }
.pay-option-body strong { color: var(--ink); font-size: 16px; }
.pay-option-body::after { content: ''; margin-left: auto; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 6px solid var(--blue); background: #fff; }
.pay-option input:focus-visible + .pay-option-body { outline: 3px solid var(--yellow); outline-offset: 2px; }
.btc-icon { width: 32px; height: 32px; flex-shrink: 0; }

.summary { background: var(--tint); border-radius: 14px; padding: 14px 18px; margin: 20px 0 16px; font-size: 15px; }
.summary-row { display: flex; justify-content: space-between; padding: 5px 0; font-variant-numeric: tabular-nums; }
.summary-row span:first-child { color: var(--muted); }
.summary-total { border-top: 1px solid #CBD4F1; margin-top: 6px; padding-top: 12px; font-size: 20px; font-weight: 800; font-stretch: 112%; }
.summary-total span:first-child { color: var(--ink); }

.form-error { background: #FDECEA; color: #9F2A22; border-radius: 10px; padding: 12px 14px; font-size: 15px; font-weight: 500; }
.form-success { background: #E7F6EC; color: #1C6B3A; border-radius: 10px; padding: 12px 14px; font-size: 15px; font-weight: 500; }
.form-fine { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* ── Payment panel ──────────────────────────────────────── */
.pay-panel:focus { outline: none; }
.pay-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.pay-head .order-title { margin-bottom: 2px; }
.pay-head p { margin: 0; color: var(--muted); }
.pay-head strong { color: var(--ink); }
.pay-tick { width: 40px; height: 40px; flex-shrink: 0; }
.pay-step { font-weight: 600; margin: 18px 0; }
.pay-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.pay-amount { background: var(--ink); color: #fff; border-radius: 16px; padding: 18px 20px; margin-bottom: 18px; }
.pay-amount .pay-label { color: rgba(255,255,255,.7); }
.pay-btc { font-size: clamp(21px, 5.4vw, 28px); font-weight: 800; font-stretch: 108%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-amount .copy-line { flex-wrap: wrap; row-gap: 12px; }
#p-ref { white-space: nowrap; }
.pay-usd { display: block; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.75); }
.pay-usd strong { color: #fff; }
.copy-line { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.copy-btn { flex-shrink: 0; font: inherit; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; border: 0; background: var(--yellow); color: var(--ink); cursor: pointer; }
.copy-btn:hover { background: var(--yellow-2); }
.pay-qr-wrap { text-align: center; margin-bottom: 18px; }
.pay-qr { display: inline-block; padding: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; }
.pay-qr svg { display: block; width: 200px; height: 200px; }
.pay-qr svg path { fill: var(--ink); }
.pay-qr-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.pay-wallet { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
.pay-wallet code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 14px; word-break: break-all; }
.pay-rate { font-size: 13px; color: var(--muted); }
.pay-contact { background: var(--tint); border-radius: 16px; padding: 18px; margin-top: 8px; }
.pay-contact p { font-size: 15px; }

/* ── Contact ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-card { background: var(--tint); border-radius: var(--r-panel); padding: 32px; }
.contact-card p { margin-bottom: 22px; }
.contact-card p:last-child { margin-bottom: 0; color: var(--muted); }
.contact-card a { font-weight: 600; word-break: break-word; }
.contact-form { max-width: 620px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,.8); margin-top: 0; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { font-size: 15px; max-width: 34ch; margin-top: 16px; }
.footer-heading { font-size: 15px; color: #fff; margin-bottom: 14px; font-stretch: 110%; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-col a { color: rgba(255,255,255,.85); text-decoration: none; word-break: break-word; }
.footer-col a:hover { color: var(--yellow); }
.footer-muted { color: rgba(255,255,255,.6); }
.footer-base { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gutter) 32px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.6); }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

@media (max-width: 520px) {
  .lineup-label em { display: none; }
  .lineup-label { font-size: 14px; }
}

@media (max-width: 480px) {
  .order-box { padding: 22px 18px; border-radius: var(--r-card); }
  .pay-head .order-title { font-size: 22px; }
}
