/* =========================================================================
   Rbply — inner pages (loaded after main.css)
   Same tokens and rules as the homepage: Coffee text, one orange action per
   screen, ▲ needle as the only decoration. Pages are built by tools/build_pages.py.
   ========================================================================= */

/* ---------- Header: current page ---------- */
.main-nav a[aria-current="page"], .main-nav summary.is-current { background: var(--rb-grey); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rb-tangerine); }
.mobile-nav a[aria-current="page"] { color: var(--rb-tangerine-hover); }
.mega .mega__all { grid-column: 1 / -1; border-top: 1px solid var(--rb-line); margin-top: 6px; padding-top: 14px; font-weight: 600; }

/* ---------- Breadcrumb ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--rb-coffee-75); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.crumbs a { text-decoration: none; padding-block: 6px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--rb-coffee); font-weight: 500; }

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(24px, 4vw, 40px) clamp(48px, 7vw, 88px); }
.page-hero__inner { display: flex; flex-direction: column; gap: 22px; }
.page-hero .crumbs { margin-bottom: clamp(8px, 2vw, 20px); }
.page-hero .h-display { font-size: clamp(38px, 5.4vw, 64px); }
.page-hero .lead { max-width: 40em; }
.page-hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; } }
.page-hero__aside { min-width: 0; }

/* Offer line repeated on every product page (doc 04 note 3) */
.offer-line { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; font-weight: 500; }
.offer-line span { display: inline-flex; align-items: center; gap: 8px; }
.offer-line .needle { width: 9px; height: 8px; }

/* Stat row (facts that are already confirmed) */
.facts { display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--rb-line); border: 1px solid var(--rb-line); border-radius: var(--r-lg); overflow: hidden; }
.facts div { background: var(--rb-white); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.facts strong { font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts span { font-size: 14px; color: var(--rb-coffee-75); }
@media (min-width: 700px) { .facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Product hub ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; background: var(--rb-white); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid transparent; }
.jump a:hover { border-color: var(--rb-coffee); }
.jump .num { color: var(--rb-tangerine-hover); font-weight: 600; font-variant-numeric: tabular-nums; }

.cat-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; align-items: end; border-bottom: 2px solid var(--rb-coffee); padding-bottom: 18px; }
.cat-head__num { grid-row: span 2; font-size: clamp(48px, 6vw, 72px); font-weight: 500; line-height: .9; color: var(--rb-tangerine); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cat-head p { color: var(--rb-coffee-75); font-size: 16px; }
.cat-block { scroll-margin-top: 96px; }

.prod-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.prod-card {
  position: relative; display: flex; flex-direction: column; background: var(--rb-white);
  border: 1px solid var(--rb-line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.prod-card:hover { border-color: var(--rb-coffee); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.prod-card .photo-slot, .prod-card__media { border-radius: 0; aspect-ratio: 16 / 10; }
.prod-card__media { overflow: hidden; background: var(--rb-sand); }
.prod-card__media img { width: 100%; height: 100%; object-fit: cover; }
.prod-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-card h3 { font-size: 21px; font-weight: 600; line-height: 1.25; }
.prod-card h3 a { text-decoration: none; }
.prod-card h3 a::after { content: ""; position: absolute; inset: 0; }   /* whole card is the link */
.prod-card p { font-size: 15px; color: var(--rb-coffee-75); }
.prod-card__brands { font-size: 14px; color: var(--rb-coffee-75); margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rb-line); }
.prod-card__brands strong { color: var(--rb-coffee); font-weight: 600; }
.prod-card .link { font-size: 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 11px; font-size: 13px; font-weight: 500; background: var(--rb-grey); }
.tag--wet { background: rgba(95, 191, 255, 0.18); color: #00457A; }
.tag--sun { background: rgba(255, 224, 67, 0.28); color: #594500; }
.tag--auth { background: var(--rb-coffee); color: var(--rb-white); }

/* ---------- Dark CTA band ---------- */
.cta-band { background: var(--rb-coffee); color: var(--rb-grey); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1.4fr) auto; gap: 48px; } }
.cta-band h2 { color: var(--rb-white); font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.cta-band p { margin-top: 12px; max-width: 40em; }
.cta-band .eyebrow { color: var(--rb-grey); margin-bottom: 14px; }
.cta-band .btn-row { justify-content: flex-start; }
.cta-band .btn--ghost { background: transparent; color: var(--rb-white); border: 1.5px solid var(--rb-on-dark-line); font-size: 17px; }
.cta-band .btn--ghost:hover { border-color: var(--rb-grey); }

/* ---------- Product page ---------- */
.pd-hero { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .pd-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.pd-media { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pd-media .photo-slot { aspect-ratio: 4 / 3; }
.pd-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pd-thumbs figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--rb-sand); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pd-info .h-display { font-size: clamp(36px, 4.6vw, 56px); }
.pd-card { background: var(--rb-white); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-soft); }

.chooser { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chooser legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.chooser__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chooser label { position: relative; }
.chooser input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chooser label span {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 16px;
  border-radius: var(--r-md); background: var(--rb-grey); border: 1px solid var(--rb-sand);
  font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; cursor: pointer;
}
.chooser label span::before { content: ""; width: 0; height: 8px; background: var(--rb-tangerine); clip-path: polygon(50% 0, 100% 100%, 0 100%); transition: width .15s ease; }
.chooser input:checked + span { background: var(--rb-coffee); color: var(--rb-white); border-color: var(--rb-coffee); font-weight: 600; }
.chooser input:checked + span::before { width: 9px; }
.chooser input:focus-visible + span { outline: 2px solid var(--rb-coffee); outline-offset: 2px; }
.pd-card .btn { width: 100%; }
.pd-card small { font-size: 14px; color: var(--rb-coffee-75); }

.compare { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.compare__col { background: var(--rb-white); border: 1px solid var(--rb-line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.compare__col h3 { font-size: 24px; font-weight: 600; }
.compare__col > p { color: var(--rb-coffee-75); font-size: 15px; }
.compare__col dl { margin: 0; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); border-top: 1px solid var(--rb-line); }
.compare__col dt, .compare__col dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--rb-line); font-size: 15px; }
.compare__col dt { color: var(--rb-coffee-75); padding-right: 12px; }
.compare__col dd { font-weight: 500; }

.fit { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.fit__col { background: var(--rb-white); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.fit__col h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; }
.fit__icon { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fit__icon svg { width: 18px; height: 18px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fit__icon--yes { background: rgba(30, 122, 60, 0.12); }
.fit__icon--yes svg { stroke: #1E7A3C; }
.fit__icon--no { background: rgba(255, 224, 67, 0.4); }
.fit__icon--no svg { stroke: #594500; }
.fit__col li { border-top: 1px solid var(--rb-line); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.fit__col li strong { font-weight: 600; }
.fit__col li span { font-size: 15px; color: var(--rb-coffee-75); }
.fit__col ul { display: flex; flex-direction: column; gap: 14px; }

.spec { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--rb-white); }
.spec-wrap { overflow-x: auto; border: 1px solid var(--rb-line); border-radius: var(--r-lg); }
.spec th, .spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rb-line); vertical-align: top; }
.spec thead th { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; background: var(--rb-grey); }
.spec tbody th { font-weight: 600; white-space: nowrap; }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec td { color: var(--rb-coffee-75); }
.spec td strong { color: var(--rb-coffee); font-weight: 600; }
@media (max-width: 599px) { .spec tbody th { white-space: normal; } .spec th, .spec td { padding: 12px 14px; } }

.brand-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(calc(50% - 6px), 230px), 1fr)); }
.brand-card { position: relative; border: 1px solid var(--rb-line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; background: var(--rb-white); }
.brand-card__logo { height: 72px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--rb-line); padding-bottom: 14px; }
.brand-card__logo img { max-height: 52px; max-width: 70%; width: auto; object-fit: contain; }
.brand-card h3 { font-size: 17px; font-weight: 600; }
.brand-card p { font-size: 14px; color: var(--rb-coffee-75); }
.brand-card .tag--auth { position: absolute; top: 10px; right: 10px; font-size: 11px; padding: 2px 9px; }
.brand-card .link { margin-top: auto; font-size: 14px; }

.checklist { display: grid; gap: 16px; counter-reset: chk; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.checklist li { counter-increment: chk; background: var(--rb-white); border-radius: var(--r-lg); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.checklist li::before { content: counter(chk, decimal-leading-zero); font-size: 14px; font-weight: 600; color: var(--rb-tangerine-hover); letter-spacing: 0.06em; }
.checklist h3 { font-size: 18px; font-weight: 600; }
.checklist p { font-size: 15px; color: var(--rb-coffee-75); }

.related { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--rb-line); border-radius: var(--r-lg); text-decoration: none; font-weight: 600; background: var(--rb-white); }
.related a:hover { border-color: var(--rb-coffee); }
.related small { display: block; font-weight: 400; font-size: 13px; color: var(--rb-coffee-75); }

/* ---------- Brands hub ---------- */
.brand-group { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 96px; }
.brand-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; border-bottom: 1px solid var(--rb-line); padding-bottom: 14px; }
.brand-group__head h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; display: flex; align-items: center; gap: 12px; }
.brand-group__head a { font-size: 15px; }
.brand-tiles { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .brand-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .brand-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.brand-tile { position: relative; background: var(--rb-white); border: 1px solid var(--rb-line); border-radius: var(--r-lg); padding: 18px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.brand-tile__logo { height: 76px; width: 100%; display: flex; align-items: center; justify-content: center; }
.brand-tile__logo img { max-height: 60px; max-width: 80%; width: auto; object-fit: contain; }
.brand-tile h3 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.brand-tile p { font-size: 13px; color: var(--rb-coffee-75); margin-top: -8px; }
.brand-tile .tag--auth { font-size: 11px; padding: 2px 9px; }
@media (max-width: 599px) { .brand-tile__logo { height: 56px; } .brand-tile__logo img { max-height: 44px; } }

/* ---------- About ---------- */
.story { display: grid; gap: 32px; }
@media (min-width: 900px) { .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.story__col { display: flex; flex-direction: column; gap: 16px; }
.story__col h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
.story__col p { color: var(--rb-coffee-75); }
.story__col--accent { border-left: 3px solid var(--rb-tangerine); padding-left: clamp(20px, 3vw, 32px); }
.story__col--accent p { color: var(--rb-coffee); }

.compass-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .compass-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; } }
.compass-split__rose { width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: var(--rb-white); box-shadow: 0 14px 34px rgba(49, 15, 2, 0.14), 0 0 0 1px rgba(49, 15, 2, 0.06); padding: 4%; }
.compass-split__rose img { width: 100%; height: 100%; }
.anim-ready .compass-split__rose img { transform: rotate(-60deg); opacity: 0; transition: transform 2.4s cubic-bezier(.22, .7, .25, 1), opacity 1s ease; }
.anim-ready .compass-split__rose.is-in img { transform: rotate(0deg); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .anim-ready .compass-split__rose img { transform: none; opacity: 1; transition: none; } }

.pillars { display: flex; flex-direction: column; gap: 0; }
.pillars li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding: 20px 0; border-top: 1px solid var(--rb-line); }
.pillars li:last-child { border-bottom: 1px solid var(--rb-line); }
.pillars .n { grid-row: span 2; font-size: 15px; font-weight: 600; color: var(--rb-tangerine-hover); padding-top: 3px; font-variant-numeric: tabular-nums; }
.pillars h3 { font-size: 19px; font-weight: 600; }
.pillars p { font-size: 15px; color: var(--rb-coffee-75); }

.quote { max-width: 860px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.8vw, 32px); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; color: var(--rb-white); }
.quote cite { font-style: normal; font-size: 15px; }

/* ---------- Projects ---------- */
.client-list { display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--rb-line); }
.client-list li { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--rb-line); font-weight: 500; }
.client-list img { width: 64px; height: 40px; object-fit: contain; flex: none; }
.client-list small { display: block; font-weight: 400; font-size: 13px; color: var(--rb-coffee-75); }

.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); } .gallery > :nth-child(1) { grid-column: span 7; } .gallery > :nth-child(2) { grid-column: span 5; } .gallery > :nth-child(3) { grid-column: span 5; } .gallery > :nth-child(4) { grid-column: span 7; } }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--rb-sand); }
.gallery__img img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { font-size: 14px; color: var(--rb-coffee-75); }
@media (max-width: 599px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

.sectors { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.sector { background: var(--rb-white); border-radius: var(--r-lg); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.sector h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.sector p { font-size: 15px; color: var(--rb-coffee-75); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; } }
.store-stack { display: grid; gap: 24px; }
@media (min-width: 700px) and (max-width: 999px) { .store-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.store__map { aspect-ratio: 16 / 8; background: var(--rb-sand); border-bottom: 1px solid var(--rb-line); }
.store__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.store-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.store-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rb-coffee-75); }
.store-status.is-open { color: #1E7A3C; }
.store-status.is-open::before { background: #1E7A3C; }

.form-card { background: var(--rb-white); border: 1px solid var(--rb-line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1000px) { .form-card { position: sticky; top: 96px; } }
.form-card h2 { font-size: 24px; font-weight: 600; line-height: 1.25; }
.form-card > p { font-size: 15px; color: var(--rb-coffee-75); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field .hint { font-weight: 400; color: var(--rb-coffee-75); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--rb-coffee); background: var(--rb-white);
  border: 1px solid rgba(49, 15, 2, 0.32); border-radius: var(--r-md); padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--rb-coffee); outline-offset: 1px; border-color: var(--rb-coffee); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { margin-bottom: 8px; padding: 0; }
.form-card .btn { width: 100%; }
.form-card .fine { font-size: 13px; color: var(--rb-coffee-75); }

/* Gaps between stacked blocks inside a section (larger) */
.stack--xl { gap: clamp(56px, 7vw, 88px); }

/* Product illustration (until real product photos) */
.ply-figure { margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--rb-white); box-shadow: var(--shadow-soft); }
.ply-figure svg { display: block; width: 100%; height: auto; }
/* Phones/tablets: product name and quote card first, illustration after */
@media (max-width: 959px) { .pd-info { order: -1; } }
/* Plain tags sit on white when the background is grey */
.section--grey .tag:not(.tag--wet):not(.tag--sun):not(.tag--auth) { background: var(--rb-white); }

/* ---------- Legal pages ---------- */
.legal { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .legal { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; } }
.toc { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
@media (min-width: 1000px) { .toc { position: sticky; top: 104px; } }
.toc h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rb-coffee-75); }
.toc ol { display: flex; flex-direction: column; border-left: 1px solid var(--rb-line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--rb-coffee-75); }
.toc a:hover { color: var(--rb-coffee); border-left-color: var(--rb-tangerine); }
@media (max-width: 999px) { .toc { background: var(--rb-grey); border-radius: var(--r-lg); padding: 20px 22px; } }

.prose { max-width: 720px; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: clamp(22px, 2.4vw, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--rb-line); scroll-margin-top: 96px; display: flex; gap: 12px; align-items: baseline; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h2 .n { font-size: 15px; font-weight: 600; color: var(--rb-tangerine-hover); font-variant-numeric: tabular-nums; flex: none; }
.prose h3 { font-size: 18px; font-weight: 600; margin-top: 8px; }
.prose p, .prose li { color: var(--rb-coffee); }
.prose ul { display: flex; flex-direction: column; gap: 8px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 8px; background: var(--rb-tangerine); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.prose a { text-decoration-color: var(--rb-tangerine); text-underline-offset: 3px; }
.prose .callout { background: var(--rb-grey); border-radius: var(--r-lg); padding: 18px 22px; }
.prose address { font-style: normal; }
.updated { font-size: 14px; color: var(--rb-coffee-75); }
@media (max-width: 999px) {
  .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; border-left: 0; }
  .toc a { padding: 7px 0; border-left: 0; margin-left: 0; }
}

/* ---------- Guides ---------- */
.guide-hero { align-items: end; }
.answer { background: var(--rb-white); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); border-top: 3px solid var(--rb-tangerine); padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.65; }
.answer__label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.answer strong { font-weight: 600; }
.prose .spec-wrap { margin-block: 6px; }
.prose .spec { font-size: 15px; line-height: 1.5; }
.prose .spec tbody th { white-space: normal; min-width: 9em; }
.guide-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.guide-card__num { font-size: 40px; font-weight: 500; line-height: 1; color: var(--rb-tangerine); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.guide-card h3 { font-size: 22px; }
.legal > * { min-width: 0; }
@media (max-width: 599px) {
  .prose .spec { font-size: 14px; }
  .prose .spec th, .prose .spec td { padding: 10px 10px; }
  .prose .spec tbody th { min-width: 0; }
  .prose .spec thead th { font-size: 11px; letter-spacing: 0.06em; }
}
@media (min-width: 900px) { .related--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
