/* Homepage website recommendations; keep these styles scoped to the new section. */
.featured-websites > h2 { margin: 0 0 1rem; font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.25; }
.featured-websites-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.featured-website-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: .75rem; min-width: 0; padding: .875rem; border: 1px solid var(--primary-border-soft); border-radius: var(--radius-md); background: var(--surface-tint); box-shadow: 0 5px 18px rgb(17 24 39 / 6%); }
.featured-website-logo { width: 56px; height: 56px; margin-top: 2px; object-fit: contain; }
.featured-website-content { min-width: 0; }
.featured-website-label { margin: 0 0 3px; color: var(--primary-dark); font-size: .75rem; font-weight: 600; line-height: 1.35; }
.featured-website-content > h3 { margin: 0 0 4px; font-size: .9375rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.featured-website-description { margin: 0 0 .5rem; color: var(--text-muted); font-size: .75rem; line-height: 1.45; }
.featured-website-content > .featured-website-button { min-height: 2.5rem; max-width: 100%; padding: .4375rem .75rem; border-radius: .5625rem; font-size: .75rem; font-weight: 600; line-height: 1.3; text-align: center; }
@media (min-width: 48rem) {
  .featured-websites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

:root {
  --primary: #e11d48;
  --primary-dark: #be123c;
  --primary-hover: #c91842;
  --primary-light: #fde8ea;
  --accent: #fb7185;
  --telegram: #229ed9;
  --telegram-hover: #168ac0;
  --primary-rgb: 225 29 72;
  --background: #fff7f8;
  --surface: #ffffff;
  --surface-soft: var(--background);
  --surface-tint: var(--background);
  --text-primary: #111827;
  --text: var(--text-primary);
  --text-secondary: #6b7280;
  --text-muted: var(--text-secondary);
  --border: #e2e8f0;
  --white: #ffffff;
  --disabled-bg: #e2e8f0;
  --disabled-text: #64748b;
  --rating: var(--accent);
  --device-frame: #111827;
  --device-edge: #1e293b;
  --device-screen: #020617;
  --overlay: rgb(15 23 42 / 75%);
  --surface-glass: rgb(255 255 255 / 94%);
  --surface-glass-soft: rgb(255 255 255 / 88%);
  --surface-glass-muted: rgb(255 255 255 / 82%);
  --surface-glass-border: rgb(255 255 255 / 65%);
  --white-inset: rgb(255 255 255 / 20%);
  --border-soft: rgb(226 232 240 / 75%);
  --border-glass: rgb(226 232 240 / 85%);
  --primary-border-soft: rgb(var(--primary-rgb) / 16%);
  --primary-border: rgb(var(--primary-rgb) / 35%);
  --primary-shadow: rgb(var(--primary-rgb) / 22%);
  --primary-shadow-hover: rgb(var(--primary-rgb) / 30%);
  --primary-orbit: rgb(var(--primary-rgb) / 22%);
  --primary-decoration: rgb(var(--primary-rgb) / 14%);
  --primary-decoration-soft: rgb(var(--primary-rgb) / 9%);
  --hero-glow: rgb(var(--primary-rgb) / 14%);
  --hero-tint: var(--background);
  --card-accent: var(--primary-border);
  --scrollbar: var(--accent);
  --shadow-color: 15 23 42;
  --shadow-sm: 0 8px 22px rgb(var(--shadow-color) / 7%);
  --shadow-md: 0 24px 60px rgb(var(--shadow-color) / 12%);
  --radius-sm: .8rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.8rem;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { margin: 0; overflow-x: clip; background: var(--background); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.1rem; font-size: clamp(2.7rem, 6.5vw, 5.1rem); letter-spacing: -.065em; line-height: .98; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); letter-spacing: -.04em; line-height: 1.15; }
h3 { font-size: 1rem; line-height: 1.35; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: .2rem solid var(--primary-dark); outline-offset: .2rem; }
.site-container { width: min(100% - 2rem, 80rem); margin-inline: auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.inline-icon, .button-icon, .section-icon svg, .heading-icon svg, .feature-mark svg, .mini-icon svg, .meta-icon svg, .trouble-icon svg, .cta-shield svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-icon { flex: 0 0 auto; margin-right: .48rem; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .75rem 1rem; transform: translateY(-150%); border-radius: .6rem; background: var(--text); color: var(--white); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--border-glass); background: var(--surface-glass); box-shadow: 0 4px 20px rgb(var(--shadow-color) / 4%); backdrop-filter: blur(16px); }
.site-nav { display: flex; min-height: 5.2rem; align-items: center; justify-content: space-between; gap: 1.2rem; }
.site-brand { display: flex; min-width: 0; min-height: 2.75rem; align-items: center; gap: .7rem; color: var(--text); font-size: 1.18rem; font-weight: 900; letter-spacing: -.035em; text-decoration: none; }
.site-brand img { flex: 0 0 auto; border-radius: .7rem; }
.site-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: .25rem; }
.nav-links a { min-height: 2.8rem; padding: .65rem .75rem; color: var(--text); font-size: .88rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); }
.header-cta { flex: 0 0 auto; min-height: 2.8rem; padding-inline: 1rem; font-size: .85rem; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: grid; width: 2.8rem; height: 2.8rem; padding: .7rem; place-content: center; gap: .25rem; border: 1px solid var(--border); border-radius: .7rem; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 1.2rem; height: 2px; background: var(--text); }
.mobile-menu-panel { position: absolute; top: 3.3rem; right: 0; display: grid; width: min(18rem, calc(100vw - 2rem)); padding: .65rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-md); }
.mobile-menu-panel a { min-height: 2.8rem; padding: .65rem .8rem; color: var(--text); font-weight: 750; text-decoration: none; }

.button { display: inline-flex; min-height: 3.15rem; align-items: center; justify-content: center; padding: .75rem 1.2rem; border: 1px solid transparent; border-radius: var(--radius-sm); font: inherit; font-weight: 850; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--primary); color: var(--white); box-shadow: 0 10px 24px var(--primary-shadow); }
.button-primary:hover { background: var(--primary-hover); color: var(--white); box-shadow: 0 14px 30px var(--primary-shadow-hover); }
.button-secondary, .button-small { border-color: var(--border); background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.button-secondary:hover, .button-small:hover { border-color: var(--primary); color: var(--primary); }
.button-telegram { border-color: var(--telegram); background: var(--surface); color: var(--telegram); box-shadow: none; }
.button-telegram:hover { border-color: var(--telegram-hover); background: var(--telegram); color: var(--white); }
.button-disabled { cursor: not-allowed; background: var(--disabled-bg); color: var(--disabled-text); box-shadow: none; }
.button-disabled:hover { transform: none; }
.button-demo { cursor: default; }

.app-hero { position: relative; display: grid; min-height: 49rem; gap: 4rem; align-items: center; padding: 5.5rem 0 7rem; }
.app-hero::before { position: absolute; z-index: -2; top: -1rem; right: calc(50% - 50vw); bottom: 0; left: calc(50% - 50vw); background: radial-gradient(circle at 82% 22%, var(--hero-glow), transparent 30%), linear-gradient(180deg, var(--surface) 0%, var(--surface-tint) 70%, var(--primary-light) 100%); content: ""; }
.app-hero::after { position: absolute; z-index: -1; right: -12%; bottom: 2rem; width: 55%; height: 35%; background: linear-gradient(145deg, transparent 28%, var(--primary-decoration) 29% 44%, transparent 45%), linear-gradient(35deg, transparent 42%, var(--primary-decoration-soft) 43% 58%, transparent 59%); clip-path: polygon(0 100%, 18% 45%, 35% 73%, 52% 20%, 68% 70%, 83% 38%, 100% 100%); content: ""; }
.hero-copy { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.5rem; padding: .55rem .85rem; border-radius: 999px; background: var(--primary-light); color: var(--primary-dark); font-size: .76rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.hero-description { max-width: 37rem; margin-bottom: 1.8rem; color: var(--text-secondary); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-facts { display: flex; width: fit-content; max-width: 100%; margin: 0 0 1.25rem; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.hero-facts div { min-width: 7rem; padding: .8rem 1.05rem; border-right: 1px solid var(--border); }
.hero-facts div:last-child { border: 0; }
.hero-facts dt { color: var(--text-muted); font-size: .72rem; font-weight: 700; text-transform: none; }
.hero-facts dd { margin: .12rem 0 0; font-size: .89rem; font-weight: 850; white-space: nowrap; }
.hero-facts small { display: block; font-size: .65rem; font-weight: 600; }
.rating-fact dd { color: var(--rating); }
.updated-line { display: flex; align-items: center; gap: .5rem; margin: 0 0 1.35rem; color: var(--text-muted); font-size: .88rem; }
.updated-line span, .updated-line strong { color: var(--primary); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.trust-message { display: flex; align-items: center; gap: .55rem; margin: 1rem 0 0; color: var(--text-muted); font-size: .8rem; }
.trust-message > span:first-child { color: var(--primary); }
.hero-visual { position: relative; min-height: 40rem; }
.hero-visual::before { position: absolute; inset: 10% 10% 5% 10%; border-radius: 50% 45% 44% 58%; background: linear-gradient(145deg, var(--accent), var(--primary-dark)); content: ""; transform: rotate(-7deg); }
.hero-orbit { position: absolute; border: 2px dashed var(--primary-orbit); border-radius: 50%; }
.orbit-one { top: 13%; left: -4%; width: 70%; height: 52%; transform: rotate(18deg); }
.orbit-two { right: 0; bottom: 4%; width: 45%; height: 42%; transform: rotate(-22deg); }
.phone-frame { position: absolute; z-index: 2; top: 1%; left: 26%; width: min(48%, 17rem); padding: .58rem; border: .3rem solid var(--device-frame); border-radius: 2.35rem; background: var(--device-frame); box-shadow: 0 34px 65px rgb(var(--shadow-color) / 34%); transform: rotate(7deg); }
.phone-frame::after { position: absolute; top: 19%; right: -.55rem; width: .18rem; height: 4rem; border-radius: 0 .2rem .2rem 0; background: var(--device-edge); content: ""; }
.phone-frame img { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 1.55rem; object-fit: cover; }
.phone-speaker { position: absolute; z-index: 1; top: .7rem; left: 50%; width: 32%; height: .45rem; border-radius: 999px; background: var(--device-screen); transform: translateX(-50%); }
.hero-feature-list { position: absolute; z-index: 3; top: 15%; right: 0; display: grid; width: 14.5rem; padding: 1.15rem; gap: 1rem; border: 1px solid var(--surface-glass-border); border-radius: var(--radius-md); background: var(--surface-glass); box-shadow: var(--shadow-md); backdrop-filter: blur(10px); }
.hero-feature-list > div { display: grid; grid-template-columns: 2.2rem 1fr; gap: .65rem; align-items: start; }
.mini-icon { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: 50%; background: var(--primary-light); color: var(--primary); }
.hero-feature-list p { margin: 0; line-height: 1.3; }
.hero-feature-list strong, .hero-feature-list small { display: block; }
.hero-feature-list strong { font-size: .75rem; }
.hero-feature-list small { margin-top: .18rem; color: var(--text-muted); font-size: .66rem; }

.content-stack { display: grid; gap: 2.4rem; padding-bottom: 5rem; }
.content-section, .disclaimer { min-width: 0; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.about-card { display: grid; grid-template-columns: auto minmax(8rem, 11rem) minmax(0, 1.6fr) minmax(17rem, 1fr); gap: 1.5rem; align-items: center; box-shadow: var(--shadow-md); }
.section-index { align-self: start; color: var(--primary); font-size: 1.15rem; font-weight: 900; }
.about-icon { width: 100%; aspect-ratio: 1; border-radius: 1.8rem; object-fit: cover; box-shadow: var(--shadow-sm); }
.about-copy h2 span { color: var(--primary); }
.about-copy p { margin: 0; color: var(--text-muted); }
.about-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 0; }
.about-meta div { display: grid; grid-template-columns: 2rem 1fr; column-gap: 12px; padding: .8rem; border-radius: var(--radius-sm); background: linear-gradient(145deg, var(--primary-light), var(--surface-tint)); }
.about-meta div > span { grid-row: 1 / 3; display: grid; width: 2rem; height: 2rem; place-items: center; color: var(--primary); font-weight: 900; }
.about-meta dt { color: var(--text); font-size: .7rem; font-weight: 800; text-transform: none; }
.about-meta dd { margin: 0; color: var(--text-muted); font-size: .72rem; overflow-wrap: anywhere; }
.section-heading { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.section-heading h2 { margin: 0; }
.section-heading p { margin: .35rem 0 0; color: var(--text-muted); font-size: .9rem; }
.section-icon, .heading-icon { display: grid; flex: 0 0 auto; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: 50%; background: var(--primary-light); color: var(--primary); }
.showcase-section { padding: 2.25rem 0; border: 0; background: transparent; }
.showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.showcase-heading > div { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; }
.showcase-heading h2 { margin: 0; }
.showcase-heading p { grid-column: 2; margin: .3rem 0 0; color: var(--text-muted); font-size: .9rem; }
.heading-icon { color: var(--primary); }
.gallery-hint { padding: .55rem .8rem; border: 1px solid var(--primary); border-radius: .65rem; color: var(--primary); font-size: .75rem; font-weight: 800; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 15.5rem)); justify-content: center; gap: 1.2rem; }
.feature-card, .trouble-card, .review-card, .related-card { min-width: 0; padding: 1.3rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); transition: border-color .2s, transform .2s, box-shadow .2s; }
.feature-card { position: relative; min-height: 13rem; text-align: center; }
.feature-card:hover, .related-card:hover { border-color: var(--primary-shadow-hover); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.feature-mark { display: grid; width: 3rem; height: 3rem; margin: 0 auto 1rem; place-items: center; border-radius: 50%; background: var(--primary-light); color: var(--primary); }
.feature-card p, .trouble-card p, .review-card p, .related-card p { color: var(--text-muted); font-size: .88rem; }
.card-accent { position: absolute; bottom: 1.1rem; left: 50%; width: 2.2rem; height: 2px; background: var(--card-accent); transform: translateX(-50%); }
.screenshot-strip { display: grid; grid-auto-columns: minmax(14rem, 24%); grid-auto-flow: column; gap: 1.2rem; overflow-x: auto; padding: .2rem .2rem .9rem; scroll-snap-type: x mandatory; scrollbar-color: var(--scrollbar) transparent; }
.screenshot-button { padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow-sm); cursor: zoom-in; scroll-snap-align: start; transition: transform .2s, box-shadow .2s; }
.screenshot-button:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.screenshot-button img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }

.information-section { background: linear-gradient(145deg, var(--surface), var(--surface-soft)); box-shadow: var(--shadow-sm); }
.information-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.information-grid > div { min-width: 0; padding: 1rem 1.1rem; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); background: var(--surface-glass-muted); }
.information-grid dt { margin-bottom: .25rem; }
.information-grid dd { overflow-wrap: anywhere; }
.information-grid code { color: var(--text); }
.table-scroll { overflow-x: auto; }
.app-table { width: 100%; border-collapse: collapse; }
.app-table th, .app-table td { padding: .9rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.app-table th { width: 38%; color: var(--text-muted); font-size: .78rem; text-transform: uppercase; }
.app-table code { overflow-wrap: anywhere; color: var(--text); }
.card-grid, .related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.guide-section { box-shadow: var(--shadow-sm); }
.guide-download { border-color: var(--primary-border-soft); background: linear-gradient(145deg, var(--surface), var(--primary-light)); }
.guide-install { border-color: var(--border); background: var(--surface); }
.guide-login { background: linear-gradient(145deg, var(--surface-soft), var(--surface)); }
.guide-update { border-color: var(--primary-border-soft); background: linear-gradient(135deg, var(--surface), var(--surface-tint)); }
.step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; list-style: none; counter-reset: steps; }
.step-list li { position: relative; min-width: 0; min-height: 10rem; padding: 1.25rem 1.2rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-glass-soft); counter-increment: steps; }
.step-list li::before { display: grid; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; place-items: center; border-radius: 50%; background: var(--primary); color: var(--white); content: counter(steps); font-weight: 900; box-shadow: 0 7px 18px var(--primary-shadow); }
.step-list h3 { margin-bottom: .25rem; }
.step-list p { margin-bottom: 0; color: var(--text-muted); }
.guide-action { margin-top: 1.2rem; }
.guide-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.guide-notes > * { margin: 0; }
.notice, .demo-label { padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--primary-light); }
.muted-copy { color: var(--text-muted); }
.troubleshooting-section { background: var(--surface-soft); }
.neutral-icon, .trouble-icon { background: var(--primary-light); color: var(--primary); }
.trouble-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.trouble-card { background: var(--surface-glass-muted); }
.trouble-icon { display: grid; width: 2.8rem; height: 2.8rem; margin-bottom: .9rem; place-items: center; border-radius: 50%; }
.try-this { margin-top: 1rem; padding: .85rem; border-radius: var(--radius-sm); background: var(--primary-light); }
.try-this strong { color: var(--primary-dark); font-size: .8rem; text-transform: uppercase; }
.try-this p { margin: .25rem 0 0; }
.requirements-section { background: var(--surface-soft); }
.requirements-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.requirements-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid var(--primary-border-soft); border-radius: var(--radius-sm); background: var(--surface); }
dt { color: var(--text-muted); font-size: .76rem; font-weight: 850; text-transform: uppercase; }
dd { margin: 0; font-weight: 750; }
.faq-list { display: grid; gap: .7rem; }
.faq-section { box-shadow: var(--shadow-sm); }
.faq-list details { padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-tint); overflow: hidden; }
.faq-list summary { display: flex; min-height: 3.8rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; cursor: pointer; font-weight: 850; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-toggle { position: relative; flex: 0 0 auto; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--primary-light); }
.faq-toggle::before, .faq-toggle::after { position: absolute; top: 50%; left: 50%; width: .75rem; height: 2px; background: var(--primary); content: ""; transform: translate(-50%, -50%); transition: transform .2s; }
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details[open] { border-color: var(--primary-border); background: var(--surface); }
.faq-list p { margin: 0; padding: 0 1.15rem 1.15rem; color: var(--text-muted); }
.rating { margin-bottom: .5rem; color: var(--rating); letter-spacing: .1em; }
.review-card footer { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-muted); font-size: .82rem; }
.related-section { background: linear-gradient(145deg, var(--surface), var(--surface-soft)); }
.related-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; background: var(--surface); }
.related-card img { border-radius: 1rem; background: var(--primary-light); object-fit: cover; }
.related-card small { display: block; color: var(--text-muted); }
.button-small { min-height: 2.7rem; padding: .5rem .85rem; }
.bottom-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; margin-top: .5rem; padding: 1.8rem 2.5rem; border-radius: var(--radius-lg); background: linear-gradient(100deg, var(--primary-light), var(--surface-tint)); }
.cta-shield { display: grid; width: 4.3rem; height: 4.3rem; place-items: center; border-radius: 42% 42% 52% 52%; background: var(--primary); color: var(--white); box-shadow: inset 0 0 0 .35rem var(--white-inset); }
.cta-shield svg { width: 2.4rem; height: 2.4rem; }
.bottom-cta h2 { margin-bottom: .3rem; }
.bottom-cta p { margin: 0; color: var(--text-muted); }
.bottom-cta-action { display: grid; gap: .3rem; text-align: center; }
.bottom-cta-action small { color: var(--text-muted); }
.disclaimer { background: var(--surface-soft); box-shadow: none; }
.disclaimer h2 { font-size: 1.15rem; }
.disclaimer p { margin: 0; color: var(--text-muted); }
.site-footer { border-top: 1px solid var(--border); background: var(--surface); color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding-block: 2.7rem; }
.footer-brand { display: flex; gap: 1rem; align-items: start; }
.footer-brand img { border-radius: .8rem; }
.footer-grid strong { color: var(--text); font-size: 1.05rem; }
.footer-grid p { max-width: 38rem; margin: .35rem 0 0; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 1rem; align-content: start; }
.footer-grid nav a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.copyright { padding-block: 1rem; border-top: 1px solid var(--border); font-size: .82rem; }
.status-page { max-width: 42rem; min-height: 70vh; padding-block: 7rem; }
.status-page h1 { font-size: clamp(2.4rem, 8vw, 4.5rem); }
.status-page small { display: block; margin-top: 2rem; }
.screenshot-dialog { width: min(92vw, 40rem); padding: 2.8rem .75rem .75rem; border: 0; border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow-md); }
.screenshot-dialog::backdrop { background: var(--overlay); }
.screenshot-dialog img { width: 100%; max-height: 82vh; object-fit: contain; }
.dialog-close { position: absolute; top: .4rem; right: .5rem; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: var(--primary-light); color: var(--text); font-size: 1.6rem; cursor: pointer; }

@media (min-width: 75rem) {
  .app-hero { grid-template-columns: minmax(0, 1.05fr) minmax(28rem, .95fr); }
  .feature-grid { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 15.5rem)); }
}

@media (min-width: 62rem) and (max-width: 74.99rem) {
  .app-hero { grid-template-columns: minmax(0, 1fr) minmax(25rem, .9fr); }
  .hero-feature-list { width: 11.5rem; }
  .about-card { grid-template-columns: auto 9rem minmax(0, 1.4fr) minmax(15rem, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 61.99rem) {
  .nav-links-desktop { display: none; }
  .mobile-menu { display: block; }
  .site-nav .header-cta { margin-left: auto; }
  .app-hero { grid-template-columns: 1fr; padding-top: 3.5rem; }
  h1 { font-size: clamp(3rem, 7vw, 3.5rem); }
  .hero-copy { max-width: 46rem; }
  .hero-visual { width: min(100%, 38rem); margin-inline: auto; }
  .about-card { grid-template-columns: auto 9rem minmax(0, 1fr); }
  .about-meta { grid-column: 2 / -1; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .information-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trouble-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47.99rem) {
  .site-container { width: min(100% - 2rem, 80rem); }
  .site-brand { font-size: 1rem; }
  .site-brand img { width: 36px; height: 36px; }
  .header-cta { display: none; }
  .site-nav .mobile-menu { margin-left: auto; }
  .app-hero { min-height: 0; gap: 1rem; padding: 3rem 0 4rem; }
  .hero-facts { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts div { min-width: 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .hero-facts div:nth-last-child(-n+2) { border-bottom: 0; }
  .hero-facts dd { white-space: normal; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 0; padding-top: 25rem; }
  .phone-frame { left: 24%; width: min(52%, 14rem); }
  .hero-feature-list { position: relative; top: auto; right: auto; bottom: auto; width: 100%; grid-template-columns: 1fr; }
  .about-card { grid-template-columns: auto 1fr; padding: 1.5rem; }
  .section-index { grid-row: 1; }
  .about-icon { grid-row: 1 / 3; width: 7rem; }
  .about-copy { grid-column: 1 / -1; }
  .about-meta { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshot-strip { grid-auto-columns: minmax(70%, 1fr); }
  .card-grid, .related-grid, .requirements-list { grid-template-columns: 1fr; }
  .information-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-list, .trouble-grid, .guide-notes { grid-template-columns: 1fr; }
  .step-list li { min-height: 0; }
  .related-card { grid-template-columns: auto 1fr; }
  .related-card .button { grid-column: 1 / -1; }
  .bottom-cta { grid-template-columns: auto 1fr; padding: 1.5rem; }
  .bottom-cta-action { grid-column: 1 / -1; }
  .bottom-cta-action .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 35.99rem) {
  h1 { font-size: clamp(2.35rem, 11vw, 2.65rem); }
  .site-container { width: min(100% - 1.5rem, 80rem); }
  .content-section, .disclaimer { padding: 1.35rem; border-radius: var(--radius-md); }
  .showcase-section { padding-inline: 0; }
  .showcase-heading { align-items: start; }
  .gallery-hint { display: none; }
  .feature-grid { display: grid; grid-auto-columns: 82%; grid-auto-flow: column; grid-template-columns: none; justify-content: start; overflow-x: auto; padding-bottom: .7rem; scroll-snap-type: x mandatory; }
  .feature-card { scroll-snap-align: start; }
  .about-meta { grid-template-columns: 1fr; }
  .hero-visual { padding-top: 22rem; }
  .phone-frame { left: 12%; width: 56%; }
  .hero-feature-list { width: 100%; }
  .screenshot-strip { grid-auto-columns: 82%; }
  .cta-shield { width: 3.5rem; height: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .feature-card, .related-card, .screenshot-button { transition: none; }
}

/* Reference-layout system */
:root {
  --surface: #fff;
  --border: #e6e8f0;
  --success: #22c55e;
  --warning: #f59e0b;
  --footer: #07182c;
  --gradient-primary: linear-gradient(120deg, var(--primary), var(--primary-dark));
  --shadow-sm: 0 5px 18px rgb(16 24 40 / 5%);
  --shadow-md: 0 10px 30px rgb(16 24 40 / 6%);
  --radius-sm: .75rem;
  --radius-md: 1rem;
  --radius-lg: 1rem;
}

body { background: var(--background); font-size: .92rem; line-height: 1.55; }
h1 { margin-bottom: .25rem; font-size: clamp(1.8rem, 3.3vw, 2.5rem); letter-spacing: -.045em; line-height: 1.08; }
h2 { position: relative; margin-bottom: 1.25rem; font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.025em; }
h2::after { position: absolute; bottom: -.45rem; left: 0; width: 1.8rem; height: 2px; border-radius: 2px; background: var(--gradient-primary); content: ""; }
h3 { margin-bottom: .25rem; }
.site-container { width: min(100% - 2rem, 74rem); }
.site-header { position: relative; background: var(--surface); backdrop-filter: none; }
.site-nav { min-height: 4.5rem; }
.site-brand { font-size: 1.1rem; }
.site-brand img, .footer-brand img { border-radius: .65rem; }
.nav-links { gap: .65rem; }
.nav-links a { padding-inline: .6rem; font-size: .79rem; }
.button { min-height: 2.65rem; border-radius: .7rem; font-size: .82rem; }
.button-primary { background: var(--primary); box-shadow: 0 7px 18px var(--primary-shadow); }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { border-color: rgb(var(--primary-rgb) / 35%); box-shadow: none; color: var(--primary-dark); }

.breadcrumb-card { margin: 1.35rem 0 .75rem; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: .65rem; background: var(--surface); }
.breadcrumb-card ol { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; color: var(--text-muted); font-size: .78rem; }
.breadcrumb-card li + li::before { margin-right: .6rem; color: #9aa2b1; content: ">"; }
.breadcrumb-card a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-card [aria-current] { color: var(--text); font-weight: 750; }

.app-hero { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr) minmax(14rem, 18rem); min-height: 0; margin-bottom: 1rem; padding: 2rem; gap: 1.6rem; align-items: start; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-md); }
.app-hero::before, .app-hero::after { display: none; }
.hero-app-icon { width: 10.5rem; height: 10.5rem; border: 1px solid var(--border); border-radius: 1.8rem; object-fit: cover; box-shadow: 0 12px 24px rgb(16 24 40 / 14%); }
.hero-tagline { margin-bottom: .65rem; color: var(--text); font-size: .85rem; font-weight: 800; }
.hero-summary { display: flex; flex-wrap: wrap; gap: .75rem 1.1rem; align-items: center; margin-bottom: .85rem; font-size: .78rem; }
.hero-summary > span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-summary small { color: var(--text-muted); }
.rating-summary svg { color: var(--warning); fill: var(--warning); }
.android-icon, .android-meta { color: var(--success) !important; }
.hero-description { display: -webkit-box; max-width: 39rem; margin-bottom: 1rem; overflow: hidden; color: var(--text-secondary); font-size: .78rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.hero-facts { display: flex; width: 100%; margin: 0; gap: .55rem; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
.hero-facts div { min-width: 0; flex: 1; padding: .55rem .65rem; border: 1px solid var(--border) !important; border-radius: .65rem; background: linear-gradient(145deg, var(--surface), var(--surface-tint)); }
.hero-facts dt { display: flex; gap: .3rem; align-items: center; color: var(--text-muted); font-size: .6rem; }
.hero-facts dt svg { color: var(--primary); }
.hero-facts dd { font-size: .72rem; overflow-wrap: anywhere; white-space: normal; }
.hero-download-panel { display: grid; padding-left: 1.5rem; gap: .7rem; border-left: 1px solid var(--border); }
.hero-download-panel .hero-cta { min-height: 3.7rem; margin-bottom: .4rem; font-size: 1rem; }

.content-stack { gap: 1rem; padding-bottom: 2rem; }
.content-section, .disclaimer { padding: 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.about-card { grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .95fr); gap: 2.5rem; align-items: center; box-shadow: var(--shadow-sm); }
.about-copy p { color: var(--text-secondary); font-size: .82rem; }
.about-meta { gap: .7rem; }
.about-meta div { min-height: 4rem; padding: .75rem; border: 1px solid var(--border); background: var(--surface); }
.about-meta div > span { border-radius: .55rem; background: var(--primary-light); }
.about-meta dt { color: var(--text-muted); font-size: .65rem; }
.about-meta dd { color: var(--text); font-size: .75rem; font-weight: 800; }
.license-meta { color: var(--warning) !important; }

.showcase-section { padding: 1.4rem; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.showcase-heading { margin-bottom: 1.1rem; }
.showcase-heading > div { display: flex; align-items: center; gap: .5rem; }
.showcase-heading h2 { margin: 0; }
.showcase-heading h2::after { bottom: -.55rem; }
.showcase-heading p, .gallery-hint { display: none; }
.heading-icon { width: 1.7rem; height: 1.7rem; background: transparent; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0; }
.feature-card { display: grid; grid-template-columns: 2.5rem 1fr; min-height: 0; padding: .7rem .9rem; gap: .6rem; align-items: start; border: 0; border-right: 1px solid var(--border); border-radius: 0; text-align: left; }
.feature-card:last-child { border-right: 0; }
.feature-card:hover { box-shadow: none; transform: none; }
.feature-mark { width: 2.4rem; height: 2.4rem; margin: 0; }
.feature-card h3 { font-size: .72rem; }
.feature-card p { margin: 0; font-size: .64rem; line-height: 1.45; }

.screenshot-carousel { display: grid; grid-template-columns: 2.7rem minmax(0, 1fr) 2.7rem; gap: .7rem; align-items: center; }
.screenshot-strip { grid-auto-columns: minmax(8rem, 18%); justify-content: safe center; gap: 1.2rem; padding: .35rem; scrollbar-width: none; }
.screenshot-strip::-webkit-scrollbar { display: none; }
.screenshot-button { border-radius: .65rem; box-shadow: 0 5px 14px rgb(16 24 40 / 10%); }
.carousel-control { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); font-size: 1.5rem; cursor: pointer; box-shadow: var(--shadow-sm); }
.carousel-dots { display: flex; justify-content: center; gap: .35rem; margin-top: .75rem; }
.carousel-dots span { width: .42rem; height: .42rem; border-radius: 50%; background: var(--border); }
.carousel-dots span:first-child { background: var(--primary); }

.guide-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.guide-pair .content-section { height: auto; }
.guide-section { padding: 1.35rem; background: var(--surface); }
.section-heading { gap: .6rem; margin-bottom: .8rem; }
.section-heading h2 { margin: 0; font-size: 1rem; }
.section-heading h2::after { display: none; }
.section-heading p { font-size: .68rem; }
.section-icon { width: 1.8rem; height: 1.8rem; background: transparent; }
.step-list { display: grid; grid-template-columns: 1fr; gap: .35rem; }
.step-list li { display: grid; grid-template-columns: 1.4rem 1fr; min-height: 0; padding: 0; gap: .5rem; border: 0; background: transparent; }
.step-list li::before { width: 1.35rem; height: 1.35rem; margin: .05rem 0 0; border: 1px solid var(--primary); background: transparent; color: var(--primary); font-size: .66rem; box-shadow: none; }
.step-list h3 { font-size: .72rem; }
.step-list p { font-size: .67rem; }
.guide-action { margin-top: .75rem; }
.guide-action .button { min-height: 2rem; padding: .35rem .65rem; font-size: .68rem; }
.notice { margin: .7rem 0 0; padding: .6rem; font-size: .66rem; }

.faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1rem; }
.faq-list details { border-radius: .5rem; background: var(--surface); }
.faq-list summary { min-height: 2.45rem; padding: .55rem .75rem; font-size: .72rem; }
.faq-toggle { width: 1rem; height: 1rem; background: transparent; }
.faq-list p { padding: 0 .75rem .7rem; font-size: .7rem; }

.related-grid { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.related-card { grid-template-columns: 3.6rem 1fr; padding: .75rem; gap: .7rem; }
.related-card img { width: 3.6rem; height: 3.6rem; }
.related-card h3 { font-size: .8rem; }
.related-card p { display: none; }
.related-card .button { grid-column: 1 / -1; min-height: 2rem; padding: .3rem; font-size: .68rem; }

.site-footer { position: relative; border: 0; background: var(--footer); color: #c8d1df; }
.footer-grid { grid-template-columns: minmax(15rem, 1.5fr) repeat(3, minmax(8rem, 1fr)); padding-block: 2.7rem; }
.footer-brand { display: block; }
.footer-brand-title { display: flex; align-items: center; gap: .65rem; }
.footer-grid strong { color: #fff; }
.footer-grid p { max-width: 20rem; font-size: .78rem; }
.footer-grid nav { display: grid; align-content: start; gap: .55rem; }
.footer-grid nav a { min-height: 1.4rem; color: #c8d1df; font-size: .76rem; text-decoration: none; }
.footer-grid nav a:hover { color: #fff; }
.copyright { border-color: rgb(255 255 255 / 10%); text-align: center; }
.back-to-top { position: fixed; z-index: 25; right: 1.2rem; bottom: 1.2rem; display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: 50%; background: var(--gradient-primary); color: #fff; font-size: 1.2rem; text-decoration: none; box-shadow: 0 8px 20px rgb(var(--primary-rgb) / 35%); }

@media (max-width: 61.99rem) {
  .app-hero { grid-template-columns: 8.5rem minmax(0, 1fr); }
  .hero-app-icon { width: 8.5rem; height: 8.5rem; }
  .hero-download-panel { grid-column: 1 / -1; grid-template-columns: 1.3fr 1fr 1fr; padding: 1rem 0 0; border-top: 1px solid var(--border); border-left: 0; }
  .hero-download-panel .hero-cta { min-height: 2.65rem; margin: 0; font-size: .82rem; }
  .hero-download-panel .button-telegram { grid-column: 1 / -1; }
  .about-card { grid-template-columns: 1fr; gap: 1.3rem; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-card:nth-child(3n) { border-right: 0; }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
}

@media (max-width: 47.99rem) {
  .site-nav { min-height: 4rem; }
  .breadcrumb-card { margin-top: .9rem; }
  .app-hero { grid-template-columns: 6.5rem minmax(0, 1fr); padding: 1.1rem; gap: 1rem; }
  .hero-app-icon { width: 6.5rem; height: 6.5rem; border-radius: 1.25rem; }
  .hero-copy h1 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero-description { grid-column: 1 / -1; }
  .hero-facts { grid-column: 1 / -1; }
  .hero-download-panel { grid-template-columns: 1fr 1fr; }
  .hero-download-panel .hero-cta { grid-column: 1 / -1; }
  .content-section, .disclaimer, .showcase-section { padding: 1.1rem; }
  .about-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card, .feature-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .feature-card:nth-child(2n) { border-right: 0; }
  .screenshot-carousel { grid-template-columns: 1fr; }
  .carousel-control { display: none; }
  .screenshot-strip { grid-auto-columns: 62%; justify-content: start; }
  .guide-pair, .faq-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 26.875rem) {
  .site-container { width: min(100% - 1rem, 74rem); }
  .app-hero { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .hero-app-icon { width: 5.5rem; height: 5.5rem; }
  .hero-summary { font-size: .7rem; }
  .hero-description { -webkit-line-clamp: 4; }
  .hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-meta { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: 0 !important; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Final reference-matching polish */
.site-container { width: min(100% - 2rem, 76rem); }
.site-nav { min-height: 4.25rem; }
.site-brand { font-weight: 850; }
.nav-links a { position: relative; font-weight: 720; }
.nav-links a::after { position: absolute; right: .55rem; bottom: .35rem; left: .55rem; height: 2px; border-radius: 2px; background: var(--gradient-primary); content: ""; opacity: 0; transform: scaleX(.5); transition: opacity .18s, transform .18s; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { opacity: 1; transform: scaleX(1); }
.breadcrumb-card { min-height: 2.65rem; margin: 1rem 0 .75rem; padding: .6rem .9rem; }
.breadcrumb-card ol { align-items: center; font-size: .8rem; }

.app-hero { grid-template-columns: 9.25rem minmax(0, 1fr) minmax(15rem, 17.5rem); padding: 1.65rem; gap: 1.45rem; }
.hero-app-icon { width: 9.25rem; height: 9.25rem; border-radius: 1.5rem; box-shadow: 0 10px 22px rgb(16 24 40 / 13%); }
.hero-tagline { margin-bottom: .5rem; }
.hero-summary { margin-bottom: .6rem; }
.hero-description { max-width: 38rem; margin-bottom: .75rem; font-size: .82rem; line-height: 1.5; }
.hero-facts { gap: .45rem; }
.hero-facts div { min-height: 3.4rem; padding: .45rem .55rem; }
.hero-facts dt { font-size: .7rem; }
.hero-facts dd { font-size: .78rem; line-height: 1.25; }
.hero-download-panel { padding-left: 1.35rem; gap: .6rem; }
.hero-download-panel .hero-cta { min-height: 3.35rem; }

.content-stack { gap: .9rem; }
.content-section, .disclaimer { padding: 1.35rem 1.5rem; }
.section-heading { margin-bottom: .65rem; }
.section-heading p { margin-top: .15rem; font-size: .78rem; }
.about-card { padding-block: 1.3rem; gap: 2rem; }
.about-copy h2 { margin-bottom: 1rem; }
.about-copy p { max-width: 68ch; font-size: .84rem; }
.about-meta div { min-height: 3.65rem; padding: .6rem .7rem; }
.about-meta dt { font-size: .7rem; }
.about-meta dd { font-size: .78rem; }

.information-section { padding-block: 1.15rem; }
.information-grid { gap: .55rem; }
.information-grid > div { min-height: 4rem; padding: .7rem .85rem; }
.information-grid dt { font-size: .7rem; }
.information-grid dd { font-size: .82rem; line-height: 1.35; }

.showcase-section { padding: 1.25rem 1.4rem; }
.feature-grid { width: min(100%, 58rem); margin-inline: auto; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.feature-card { padding: .65rem 1rem; }
.feature-card h3 { font-size: .8rem; }
.feature-card p { font-size: .75rem; line-height: 1.45; }

.screenshots-section { padding: 1.35rem 1.5rem 1.25rem; }
.screenshot-carousel { min-height: 0; }
.screenshot-strip { min-height: 0; align-items: center; padding: .2rem; }
.screenshot-button img { object-fit: contain; }
.screenshot-count-1 .screenshot-strip,
.screenshot-count-2 .screenshot-strip,
.screenshot-count-3 .screenshot-strip { width: min(100%, 41rem); margin-inline: auto; }
.screenshot-count-1 .screenshot-strip { grid-auto-columns: minmax(10rem, 13rem); }
.screenshot-count-2 .screenshot-strip { grid-auto-columns: minmax(10.5rem, 12rem); gap: 1.5rem; }
.screenshot-count-3 .screenshot-strip { grid-auto-columns: minmax(9rem, 11rem); gap: 1.25rem; }
.screenshot-count-4 .screenshot-strip,
.screenshot-count-5 .screenshot-strip { grid-auto-columns: minmax(8.5rem, 18%); }
.screenshot-count-1 .carousel-control,
.screenshot-count-2 .carousel-control,
.screenshot-count-3 .carousel-control,
.screenshot-count-4 .carousel-control,
.screenshot-count-5 .carousel-control { visibility: hidden; }
.carousel-dots { margin-top: .55rem; }

.guide-section { padding: 1.15rem 1.3rem; }
.guide-section .step-list { gap: .25rem; }
.step-list h3 { font-size: .78rem; }
.step-list p { font-size: .75rem; line-height: 1.4; }
.guide-login .step-list, .guide-update .step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.guide-login .guide-notes { align-items: center; margin-top: .65rem; }
.guide-login .guide-notes p { max-width: 68ch; font-size: .78rem; }
.guide-update .notice { margin-top: .55rem; }

.troubleshooting-section { padding: 1.2rem 1.35rem; }
.trouble-grid { gap: .75rem; }
.trouble-card { display: flex; min-height: 0; padding: 1rem; flex-direction: column; }
.trouble-icon { width: 2.25rem; height: 2.25rem; margin-bottom: .55rem; }
.trouble-card h3 { font-size: .88rem; }
.trouble-card > p { margin-bottom: .6rem; font-size: .8rem; }
.try-this { margin-top: auto; padding: .65rem .75rem; }
.try-this strong { font-size: .72rem; }
.try-this p { font-size: .78rem; line-height: 1.45; }

.requirements-section { padding-block: 1.15rem; }
.requirements-list { gap: .55rem .7rem; }
.requirements-list div { min-height: 3.55rem; padding: .7rem .85rem; align-items: center; }
.requirements-list dt { font-size: .7rem; }
.requirements-list dd { max-width: 62%; font-size: .8rem; text-align: right; }

.faq-section { padding-block: 1.15rem; }
.faq-list { gap: .4rem .75rem; }
.faq-list summary { min-height: 2.35rem; padding: .5rem .7rem; font-size: .78rem; }
.faq-list p { padding: 0 .7rem .65rem; font-size: .78rem; }

.related-section { padding: 1.2rem 1.35rem; }
.related-grid { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: flex-start; }
.related-card { display: flex; width: 10.5rem; padding: .75rem; flex: 0 0 10.5rem; flex-direction: column; gap: .45rem; align-items: center; text-align: center; }
.related-card img { width: 4rem; height: 4rem; }
.related-card > div { display: grid; min-width: 0; gap: .15rem; }
.related-card h3 { margin: 0; font-size: .82rem; }
.related-card small { font-size: .73rem; }
.related-card-actions { display: grid; width: 100%; margin-top: auto; gap: .4rem; }
.related-card .button { grid-column: auto; width: auto; min-height: 2rem; padding: .35rem .65rem; align-self: stretch; }
.related-card .button-primary, .related-card .button-primary:hover { color: var(--white); }

.bottom-cta { min-height: 6.2rem; padding: 1.2rem 1.8rem; }
.cta-shield { width: 3.7rem; height: 3.7rem; }
.bottom-cta h2 { margin-bottom: .2rem; font-size: 1.3rem; }
.bottom-cta p { max-width: 65ch; font-size: .82rem; }
.disclaimer { padding: 1rem 1.35rem; }
.disclaimer h2 { margin-bottom: .8rem; font-size: 1rem; }
.disclaimer p { max-width: 78ch; font-size: .8rem; }

.footer-grid { gap: 1.5rem; padding-block: 2.1rem; }
.footer-grid strong { font-size: .92rem; }
.footer-grid p, .footer-grid nav a { font-size: .78rem; }
.footer-grid nav { gap: .4rem; }
.copyright { padding-block: .8rem; }

@media (max-width: 61.99rem) {
  .app-hero { grid-template-columns: 8rem minmax(0, 1fr); }
  .hero-app-icon { width: 8rem; height: 8rem; }
  .information-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-login .step-list, .guide-update .step-list { grid-template-columns: 1fr; }
}

@media (max-width: 47.99rem) {
  .site-container { width: min(100% - 1.25rem, 76rem); }
  .breadcrumb-card { margin-top: .65rem; }
  .app-hero { grid-template-columns: 6.25rem minmax(0, 1fr); padding: 1rem; }
  .hero-app-icon { width: 6.25rem; height: 6.25rem; border-radius: 1.15rem; }
  .content-section, .disclaimer, .showcase-section { padding: 1rem; }
  .screenshot-count-1 .screenshot-strip,
  .screenshot-count-2 .screenshot-strip,
  .screenshot-count-3 .screenshot-strip { width: 100%; margin: 0; }
  .screenshot-count-1 .screenshot-strip,
  .screenshot-count-2 .screenshot-strip,
  .screenshot-count-3 .screenshot-strip,
  .screenshot-count-4 .screenshot-strip,
  .screenshot-count-5 .screenshot-strip { grid-auto-columns: 64%; justify-content: start; gap: .8rem; }
  .related-grid { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; scroll-snap-type: x mandatory; }
  .related-card { scroll-snap-align: start; }
  .bottom-cta { padding: 1rem; }
}

@media (max-width: 26.875rem) {
  .site-container { width: min(100% - 1rem, 76rem); }
  .app-hero { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .hero-app-icon { width: 5.5rem; height: 5.5rem; }
  .information-grid { grid-template-columns: 1fr; }
  .requirements-list div { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .requirements-list dd { max-width: 100%; text-align: left; }
}

/* Responsive screenshot slider and related-app grid */
.screenshot-carousel { grid-template-columns: minmax(0, 1fr); }
.screenshot-carousel.has-controls { grid-template-columns: 2.7rem minmax(0, 1fr) 2.7rem; }
.screenshot-carousel.has-controls .carousel-control { display: grid; visibility: visible; }
.screenshot-strip {
  width: 100%;
  max-width: none;
  margin: 0;
  grid-auto-columns: calc((100% - (var(--visible-screenshots, 5) - 1) * 1rem) / var(--visible-screenshots, 5));
  justify-content: start;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.screenshot-strip::-webkit-scrollbar { display: none; }
.screenshot-button { width: 100%; scroll-snap-align: start; }
.screenshot-button img { width: 100%; height: auto; object-fit: contain; }
.carousel-control[hidden], .carousel-dots[hidden] { display: none; }
.carousel-dots { min-height: .8rem; align-items: center; }
.carousel-dot { width: .48rem; height: .48rem; padding: 0; border: 0; border-radius: 50%; background: var(--border); cursor: pointer; transition: width .18s, background .18s; }
.carousel-dot.is-active { width: 1.1rem; border-radius: 999px; background: var(--primary); }
.carousel-dot:focus-visible { outline: .18rem solid var(--primary-dark); outline-offset: .18rem; }
.carousel-autoplay { display: block; min-width: 5.5rem; min-height: 2.75rem; margin: .5rem auto 0; padding: .35rem .85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; font-size: .8rem; cursor: pointer; }
.carousel-autoplay[hidden] { display: none; }
.carousel-autoplay:focus-visible { outline: .18rem solid var(--primary-dark); outline-offset: .18rem; }
.screenshot-count-1 .screenshot-carousel { grid-template-columns: minmax(0, 13rem); justify-content: center; }
.screenshot-count-2 .screenshot-carousel { grid-template-columns: minmax(0, 27rem); justify-content: center; }
.screenshot-count-3 .screenshot-carousel { grid-template-columns: minmax(0, 41rem); justify-content: center; }
.screenshot-count-1 .screenshot-strip,
.screenshot-count-2 .screenshot-strip,
.screenshot-count-3 .screenshot-strip { width: 100%; max-width: none; }

.related-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; overflow: visible; padding: 0; }
.related-card { width: auto; min-width: 0; flex: initial; }
.related-card img { width: 4.25rem; height: 4.25rem; object-fit: cover; }
.related-card .button { width: auto; align-self: stretch; }

@media (max-width: 74.99rem) {
  .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 61.99rem) {
  .screenshot-strip { --visible-screenshots: 3; }
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 47.99rem) {
  .screenshot-strip { --visible-screenshots: 2; }
  .screenshot-count-1 .screenshot-carousel,
  .screenshot-count-2 .screenshot-carousel,
  .screenshot-count-3 .screenshot-carousel { grid-template-columns: minmax(0, 1fr); }
  .screenshot-count-1 .screenshot-strip,
  .screenshot-count-2 .screenshot-strip,
  .screenshot-count-3 .screenshot-strip,
  .screenshot-count-4 .screenshot-strip,
  .screenshot-count-5 .screenshot-strip { grid-auto-columns: calc((100% - (var(--visible-screenshots, 2) - 1) * .8rem) / var(--visible-screenshots, 2)); gap: .8rem; }
  .related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding: 0; }
  .related-card { width: auto; flex: initial; }
}

@media (max-width: 35.99rem) {
  .screenshot-carousel.has-controls { grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem; gap: .4rem; }
  .screenshot-strip { --visible-screenshots: 1; }
  .screenshot-count-1 .screenshot-carousel,
  .screenshot-count-2 .screenshot-carousel,
  .screenshot-count-3 .screenshot-carousel { grid-template-columns: minmax(0, 1fr); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 23.4375rem) {
  .related-grid { grid-template-columns: 1fr; }
}

/* Compact guide accordions and mobile-first related apps */
.guide-section { padding: 0; overflow: hidden; scroll-margin-top: 5rem; }
.guide-accordion > summary {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.guide-accordion > summary::-webkit-details-marker { display: none; }
.guide-accordion > summary:hover { background: var(--primary-light); }
.guide-accordion > summary:focus-visible { outline: .18rem solid var(--primary-dark); outline-offset: -.25rem; }
.guide-accordion-title { min-width: 0; flex: 1; color: var(--text); font-size: .9rem; font-weight: 850; line-height: 1.35; overflow-wrap: anywhere; }
.guide-accordion-toggle { position: relative; width: 1.5rem; height: 1.5rem; flex: 0 0 1.5rem; border-radius: 50%; background: var(--primary-light); }
.guide-accordion-toggle::before,
.guide-accordion-toggle::after { position: absolute; top: 50%; left: 50%; width: .7rem; height: 2px; background: var(--primary); content: ""; transform: translate(-50%, -50%); transition: transform .18s ease; }
.guide-accordion-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.guide-accordion[open] > summary { border-bottom: 1px solid var(--primary-border); background: var(--primary-light); }
.guide-accordion[open] .guide-accordion-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.guide-accordion-body { padding: .85rem 1rem 1rem; animation: guide-reveal .18s ease-out; }
.guide-introduction { margin: 0 0 .75rem; color: var(--text-muted); font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
@keyframes guide-reveal { from { opacity: 0; transform: translateY(-.2rem); } to { opacity: 1; transform: translateY(0); } }

.related-section { scroll-margin-top: 5rem; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: .65rem; overflow: visible; }
.related-card { display: flex; width: auto; min-width: 0; min-height: 0; padding: .7rem; flex-direction: column; gap: .4rem; align-items: center; text-align: center; }
.related-card img { width: 3.75rem; height: 3.75rem; flex: 0 0 auto; }
.related-card-content { display: grid; min-width: 0; gap: .12rem; }
.related-card h3 { margin: 0; font-size: .8rem; line-height: 1.3; overflow-wrap: anywhere; }
.related-card p { display: none; }
.related-card small { font-size: .7rem; line-height: 1.3; overflow-wrap: anywhere; }
.related-card-actions { margin-top: auto; }
.related-card-actions .button { white-space: nowrap; }
.related-card .button { min-height: 2.65rem; padding: .45rem .5rem; font-size: .75rem; }
.related-card-extra { display: none; }
.related-apps-expanded .related-card-extra { display: flex; }
.related-apps-toggle { width: 100%; min-height: 2.75rem; margin-top: .75rem; }
.related-guide-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.related-guide-card h3 { margin: 0 0 .3rem; font-size: 1rem; line-height: 1.35; }
.related-guide-card p { margin: 0; color: var(--text-secondary); font-size: .875rem; line-height: 1.5; }
.related-guide-card .button { flex: 0 0 auto; }

@media (max-width: 35.999rem) { .related-guide-card { align-items: stretch; flex-direction: column; } .related-guide-card .button { width: 100%; } }

@media (min-width: 23.4375rem) {
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 36rem) {
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 48rem) {
  .guide-accordion > summary { padding-inline: 1.2rem; }
  .guide-accordion-body { padding: 1rem 1.2rem 1.2rem; }
  .related-card-extra { display: flex; }
  .related-apps-toggle { display: none; }
  .related-card p { display: block; font-size: .72rem; line-height: 1.4; }
}

@media (min-width: 62rem) {
  .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 75rem) {
  .related-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .guide-accordion-body { animation: none; }
  .guide-accordion-toggle::before, .guide-accordion-toggle::after { transition: none; }
}

/* Hero metadata placement */
.app-hero { column-gap: 1.45rem; row-gap: .45rem; }
.hero-app-icon { grid-column: 1; grid-row: 1 / 3; }
.hero-copy { grid-column: 2; grid-row: 1; }
.hero-facts { grid-column: 2; grid-row: 2; }
.hero-download-panel { grid-column: 3; grid-row: 1 / 3; }

@media (max-width: 61.99rem) {
  .hero-download-panel { grid-column: 1 / -1; grid-row: 3; }
}

@media (max-width: 47.99rem) {
  .app-hero { column-gap: 1rem; row-gap: .7rem; }
  .hero-app-icon { grid-row: 1; }
  .hero-copy { grid-row: 1; }
  .hero-facts { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .hero-facts div { min-width: 0; min-height: 3.35rem; padding: .42rem .45rem; }
  .hero-facts dt { gap: .2rem; font-size: .62rem; }
  .hero-facts dt svg { width: .9rem; height: .9rem; }
  .hero-facts dd { font-size: .7rem; line-height: 1.25; overflow-wrap: anywhere; }
  .hero-download-panel { grid-row: 3; padding: 1rem 0 0; }
}

@media (max-width: 23.4375rem) {
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; }
  .hero-facts div { padding-inline: .35rem; }
  .hero-facts dt { font-size: .58rem; }
  .hero-facts dd { font-size: .66rem; }
}

/* Compact system requirements list */
.requirements-list { display: block; overflow: hidden; border: 1px solid var(--primary-border-soft); border-radius: var(--radius-sm); background: var(--surface); }
.requirements-list div { display: flex; min-height: 2.85rem; padding: .65rem .8rem; flex-direction: row; align-items: center; justify-content: space-between; gap: .8rem; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
.requirements-list div:last-child { border-bottom: 0; }
.requirements-list dt { min-width: 0; flex: 0 1 42%; color: var(--text-muted); font-size: .72rem; overflow-wrap: anywhere; }
.requirements-list dd { min-width: 0; max-width: none; flex: 1 1 58%; color: var(--text); font-size: .78rem; line-height: 1.35; text-align: right; overflow-wrap: anywhere; }

@media (max-width: 23.4375rem) {
  .requirements-list div { padding-inline: .65rem; flex-direction: row; gap: .6rem; }
  .requirements-list dd { max-width: none; text-align: right; }
}

/* Content-driven Screenshots and Related Apps sections */
.screenshots-section,
.related-section { height: auto; min-height: 0; align-self: start; }
.screenshot-carousel,
.screenshot-strip,
.related-grid,
.related-card { height: auto; min-height: 0; }
.related-grid { align-items: start; }

/* Category directory pages reuse the Template V1 card system. */
.directory-heading { padding: 2rem 0 1.75rem; }
.directory-heading h1 { margin-bottom: .55rem; font-size: clamp(2rem, 5vw, 3.25rem); }
.directory-heading p { max-width: 46rem; margin: 0; color: var(--text-secondary); line-height: 1.65; }
.category-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; padding-bottom: 3rem; }
.category-card { display: flex; min-width: 0; min-height: 12rem; padding: 1.35rem; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.category-card h2 { margin-bottom: .55rem; font-size: 1.25rem; overflow-wrap: anywhere; }
.category-card p { margin-bottom: 1rem; color: var(--text-secondary); font-size: .9rem; }
.category-card span { margin-top: auto; color: var(--primary-dark); font-size: .8rem; font-weight: 850; }
.category-app-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; padding-bottom: 3rem; align-items: stretch; }
.category-app-card { position: relative; height: 100%; min-height: 22rem; padding: 1.25rem; gap: .85rem; border-color: var(--border); box-shadow: var(--shadow-sm); }
.category-app-card-featured { border-color: var(--primary-border); }
.category-app-badge { position: absolute; top: .75rem; right: .75rem; padding: .25rem .5rem; border-radius: 999px; background: var(--primary-light); color: var(--primary-dark); font-size: .65rem; font-weight: 850; line-height: 1.2; }
.category-app-card > img { width: 4.25rem; height: 4.25rem; border-radius: var(--radius-sm); object-fit: cover; }
.category-app-card .related-card-content { display: flex; width: 100%; flex: 1; flex-direction: column; align-items: center; gap: .45rem; }
.category-app-card h2 { margin: 0; color: var(--text); font-size: 1.05rem; font-weight: 850; line-height: 1.3; overflow-wrap: anywhere; }
.category-app-card p { display: -webkit-box; min-height: 4.2em; margin: 0; overflow: hidden; color: var(--text-secondary); font-size: .85rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.category-app-meta { display: flex; min-height: 1.25rem; flex-wrap: wrap; justify-content: center; gap: .25rem .65rem; color: var(--text-muted); }
.category-app-card .related-card-actions { display: grid; width: 100%; gap: .55rem; margin-top: auto; }
.category-app-card .related-card-actions .button { width: 100%; min-width: 0; min-height: 2.85rem; white-space: nowrap; }
.category-empty-state { margin: 0 0 3rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text-secondary); text-align: center; box-shadow: var(--shadow-sm); }

@media (min-width: 22.5rem) {
  .category-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-app-card { min-height: 21rem; padding: .9rem; gap: .65rem; }
  .category-app-card > img { width: 3.5rem; height: 3.5rem; }
  .category-app-card h2 { font-size: .92rem; }
  .category-app-card p { min-height: 4.2em; font-size: .75rem; }
  .category-app-card .related-card-actions .button { min-height: 2.75rem; padding: .55rem .35rem; font-size: .7rem; }
}

@media (min-width: 36rem) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .category-app-card { min-height: 22rem; padding: 1.2rem; }
  .category-app-card > img { width: 4rem; height: 4rem; }
  .category-app-card h2 { font-size: 1rem; }
  .category-app-card p { font-size: .82rem; }
}

@media (min-width: 48rem) {
  .category-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
}

@media (min-width: 68.75rem) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-app-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
  .category-app-card { min-height: 23rem; padding: 1.35rem; }
  .category-app-card > img { width: 4.5rem; height: 4.5rem; }
  .category-app-card h2 { font-size: 1.08rem; }
  .category-app-card p { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .category-card, .category-app-card { transition: none; }
  .category-card:hover, .category-app-card:hover { transform: none; }
}

/* Standalone informational pages */
:is(.download-resource, .login-resource, .games-resource) .content-page-card { overflow-wrap: anywhere; }
.download-resource .button { min-height: 2.75rem; }
:is(.download-resource, .login-resource, .games-resource) .content-page-card > h2 { margin-top: 0; }
:is(.download-resource, .login-resource, .games-resource) .content-page-card h3 { margin-bottom: .5rem; font-size: 1rem; }
.download-resource-steps { padding-left: 1.5rem; }
.download-resource-steps li + li { margin-top: 1.25rem; }
:is(.download-resource, .login-resource, .games-resource) a:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 3px; }
.login-resource-list { padding-left: 1.5rem; color: var(--text-secondary); }
.login-resource-list li + li { margin-top: .65rem; }
.games-format-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-bottom: 1.25rem; }
.games-format-grid > .content-page-card { min-width: 0; margin: 0; }
@media (min-width: 48rem) {
  .games-format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.content-page { padding-bottom: 3rem; }
.content-page-card, .contact-list { margin: 0 0 1.25rem; padding: 1.35rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.content-page-card p { color: var(--text-secondary); }
.content-page-card p:last-child { margin-bottom: 0; }
.contact-list { display: grid; gap: .75rem; }
.contact-list div { display: grid; min-width: 0; gap: .2rem; padding: .85rem; border-radius: var(--radius-sm); background: var(--surface-soft); }
.contact-list dt { color: var(--text-muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.contact-list dd { min-width: 0; margin: 0; }
.contact-list a { display: inline-block; max-width: 100%; font-weight: 750; overflow-wrap: anywhere; }
.content-page-back { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 750; }

@media (min-width: 48rem) {
  .content-page-card, .contact-list { padding: 1.75rem; }
  .contact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
