/* Phonewell site. One stylesheet for the landing page, guides, recipes and
   privacy. Brand tokens match the app's theme.ts: porcelain ground, ink for
   every action, the Glow as the one warm signature, green only for
   "verified". */
:root {
  --porcelain: #F3F4F8;
  --card: #FFFFFF;
  --sunken: #ECEEF4;
  --ink: #14151C;
  --ink-soft: #4A4E5E;
  --muted: #6E7385;
  --line: #E1E3EC;
  --glow: #FF9F43;
  --glow-deep: #FF6B4A;
  --glow-soft: #FFF2E4;
  --done: #17A06B;
  --done-text: #0E7A50;
  --done-soft: #E2F5EC;
  --unknown: #7D8396;
  --unknown-soft: #E9EBF1;
  --note: #9A5B07;
  --note-soft: #FDF1DE;
  --display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--glow-deep); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; }
h1 { font-weight: 800; font-size: clamp(2.6rem, 7.2vw, 5.6rem); line-height: .98; letter-spacing: -.012em; }
h2 { font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.04; letter-spacing: -.018em; }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.012em; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--ink-soft); max-width: 36em; }
.muted { color: var(--muted); }
.fine { font-size: .9rem; color: var(--muted); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.3rem/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { display: flex; gap: clamp(14px, 2.4vw, 28px); font-weight: 500; font-size: .98rem; }
.top nav a { text-decoration: none; color: var(--ink-soft); }
.top nav a:hover { color: var(--ink); text-decoration: underline; }

/* Buttons: ink for every action */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 1rem/1 var(--body); text-decoration: none; border: 0; }
.btn:hover { background: #2A2C38; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--card); }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 22px; border-radius: 14px; background: var(--ink); color: #fff; font: 600 1rem/1.2 var(--body); }
.store small { font-weight: 400; font-size: .8rem; color: #C9CCD8; }

/* Hero */
.hero { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding-block: clamp(28px, 6vw, 72px) clamp(56px, 8vw, 110px); }
.hero h1 { max-width: 9.5em; }
.hero .lede { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.hero-facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-soft); font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); }

/* The Glow stage: the phone lights up as each item is set up. */
.stage { position: relative; display: grid; justify-items: center; }
.cast { position: absolute; inset: -22% -45%; background: radial-gradient(closest-side, rgba(255,159,67,.55), rgba(255,107,74,.18) 55%, rgba(255,159,67,0) 100%); transform: scale(.35); opacity: .3; pointer-events: none; z-index: 0; }
.phone { position: relative; z-index: 1; width: min(250px, 62vw); aspect-ratio: 9 / 18.5; border-radius: 44px; background: var(--ink); padding: 11px; box-shadow: 0 30px 60px -30px rgba(20,21,28,.55); }
.screen { position: relative; height: 100%; border-radius: 34px; background: #24252E; overflow: hidden; }
.screen::before { content: ''; position: absolute; left: 50%; top: 14px; width: 54px; height: 11px; margin-left: -27px; border-radius: 6px; background: var(--ink); z-index: 3; }
.bloom { position: absolute; left: 50%; top: 55%; width: 190%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, #FFE2B0 0%, var(--glow) 34%, rgba(255,107,74,.9) 68%, rgba(255,107,74,0) 100%); transform: scale(.18); opacity: .45; }
.spark { position: absolute; left: 50%; top: 55%; width: 34%; translate: -50% -50%; opacity: .3; z-index: 2; }
.setlist { position: relative; z-index: 2; list-style: none; margin: -40px 0 0; padding: 14px; width: min(320px, 100%); background: var(--card); border-radius: 20px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(20,21,28,.35); }
.setlist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 6px; font-size: .95rem; font-weight: 500; }
.setlist li + li { border-top: 1px solid var(--line); }
.setlist .st { flex: none; display: grid; justify-items: end; }
.setlist .st .tag { grid-area: 1 / 1; }

@media (prefers-reduced-motion: no-preference) {
  .cast { animation: cast 4.2s cubic-bezier(.2,.8,.2,1) .3s forwards; }
  .bloom { animation: bloom 4.2s cubic-bezier(.2,.8,.2,1) .3s forwards; }
  .spark { animation: spark 4.2s ease-out .3s forwards; }
  .st .on { opacity: 0; animation: show .5s ease-out both; }
  .st .todo { animation: hide .25s ease-in both; }
  .setlist li:nth-child(1) .tag { animation-delay: 1.1s; }
  .setlist li:nth-child(2) .tag { animation-delay: 2.2s; }
  .setlist li:nth-child(3) .tag { animation-delay: 3.3s; }
}
@media (prefers-reduced-motion: reduce) {
  .cast { transform: scale(1); opacity: 1; }
  .bloom { transform: scale(1); opacity: 1; }
  .spark { opacity: 1; }
  .st .todo { visibility: hidden; }
}
/* The light steps up with each row, the way the app's Glow only ever brightens. */
@keyframes bloom { 0% { transform: scale(.18); opacity: .45; } 26% { transform: scale(.42); opacity: .65; } 52% { transform: scale(.66); opacity: .82; } 78%, 100% { transform: scale(1); opacity: 1; } }
@keyframes cast { 0% { transform: scale(.35); opacity: .3; } 26% { transform: scale(.55); opacity: .5; } 52% { transform: scale(.78); opacity: .75; } 78%, 100% { transform: scale(1); opacity: 1; } }
@keyframes spark { 0% { opacity: .3; } 78%, 100% { opacity: 1; } }
@keyframes show { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes hide { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }

/* Status tags: green is reserved for "checked and on". */
.tag { background: var(--sunken); color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font: 600 .8rem/1.3 var(--body); white-space: nowrap; }
.tag.on { background: var(--done-soft); color: var(--done-text); }
.tag.on::before { content: ''; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.6 2.5L10 3.4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.6 2.5L10 3.4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.tag.todo { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tag.unknown { background: var(--unknown-soft); color: #555B6E; }
.tag.plus { background: var(--glow-soft); color: #A2401F; }

/* Settings path chips: the trail you'd tap through yourself. */
.path { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0; margin: 0; }
.path li { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 500; }
.path li span { padding: 5px 11px; border-radius: 8px; background: var(--sunken); color: var(--ink); }
.path li:last-child span { background: var(--ink); color: #fff; }
.path li + li::before { content: '›'; color: var(--muted); font-weight: 600; }

/* Sections */
.band { padding-block: clamp(64px, 9vw, 120px); }
.band + .band { border-top: 1px solid var(--line); }
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.band-head p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; max-width: 34em; }

/* How it works: a real three-step sequence */
.how { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.steps-list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps-list li:first-child { border-top: 0; padding-top: 0; }
.steps-list li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 800 1rem/1 var(--display); box-shadow: inset 0 0 0 1.5px var(--ink); }
.steps-list h3 { font-size: 1.2rem; }
.steps-list p { margin: 4px 0 0; color: var(--ink-soft); }

.feature-card { background: var(--card); border-radius: 26px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 1px 0 var(--line); }
.feature-card .fc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.feature-card h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); max-width: 16em; }
.feature-card .why { color: var(--ink-soft); margin: 12px 0 20px; }
.feature-card .label { font-size: .85rem; color: var(--muted); margin: 18px 0 8px; font-weight: 500; }
.feature-card ol.do { margin: 0; padding-left: 1.3em; }
.feature-card ol.do li { margin: 4px 0; }
.feature-card .result { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.feature-card .result p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Checkup report */
.checkup { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.report { background: var(--card); border-radius: 26px; padding: 8px clamp(16px, 3vw, 28px) 16px; box-shadow: 0 1px 0 var(--line); }
.report h3 { font-size: 1rem; padding: 18px 0 6px; color: var(--muted); font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.report .row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.report .row b { display: block; font-weight: 600; }
.report .row small { color: var(--muted); font-size: .88rem; }
.legend { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.legend li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--ink-soft); }
.legend .tag { justify-self: start; }

/* Recipes: a list, not a card wall */
.recipes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
.recipes li { border-top: 1px solid var(--line); }
.recipes a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; padding: 20px 0; text-decoration: none; }
.recipes a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.recipes h3 { font-size: 1.22rem; }
.recipes p { grid-column: 1; margin: 0; color: var(--ink-soft); font-size: .96rem; }
.recipes .meta { grid-row: 1 / span 2; grid-column: 2; align-self: center; text-align: right; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.recipes .meta b { display: block; font: 800 1.5rem/1 var(--display); color: var(--ink); }

/* Makeovers: five little screens in their own palettes */
.makeovers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.mk .mini { aspect-ratio: 9 / 16; background-image: linear-gradient(165deg, rgba(255,255,255,.22), rgba(255,255,255,0) 60%); border-radius: 22px; padding: 14% 12%; display: flex; flex-direction: column; gap: 8%; border: 6px solid var(--ink); }
.mk .mini .clock { height: 12%; width: 62%; border-radius: 6px; }
.mk .mini .apps { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10%; }
.mk .mini .apps i { aspect-ratio: 1; border-radius: 30%; }
.mk h3 { font-size: 1.1rem; margin-top: 14px; }
.mk p { margin: 4px 0 0; font-size: .92rem; color: var(--ink-soft); }
.mk-note { margin-top: 28px; color: var(--ink-soft); }

/* Tidy */
.tidy { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.applist { background: var(--card); border-radius: 26px; padding: 6px clamp(16px, 3vw, 26px); box-shadow: 0 1px 0 var(--line); }
.applist .app { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; }
.applist .app + .app { border-top: 1px solid var(--line); }
.applist .ico { width: 40px; height: 40px; border-radius: 11px; }
.applist b { display: block; font-weight: 600; }
.applist small { color: var(--muted); font-size: .86rem; }
.applist .rm { font: 600 .86rem/1 var(--body); padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.applist .sum { display: flex; justify-content: space-between; padding: 14px 0 12px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.example { font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* Power mode: the one dark band */
.dark { background: var(--ink); color: #E7E8EE; }
.dark h2, .dark h3 { color: #fff; }
.dark .band-head p, .dark p { color: #C3C6D2; }
.power { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 8px; }
.power > div { border-top: 1.5px solid #3A3D4C; padding-top: 22px; }
.power h3 { font-size: 1.18rem; margin-bottom: 8px; }
.power p { margin: 0; font-size: .98rem; }
.power-plain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); margin-bottom: clamp(36px, 5vw, 56px); }
.power-plain p { font-size: 1.06rem; }
.dark a { color: #fff; }
.dark :focus-visible { outline-color: var(--glow); }

/* Pricing */
.prices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 28px); }
.price { border-radius: 28px; padding: clamp(24px, 3.5vw, 40px); background: var(--card); box-shadow: 0 1px 0 var(--line); }
.price.plus { background: var(--card); position: relative; box-shadow: inset 0 0 0 2px var(--ink); }
.price .amount { font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display); letter-spacing: -.03em; margin: 14px 0 4px; }
.price .per { color: var(--ink-soft); margin-bottom: 22px; }
.price ul { list-style: none; padding: 0; margin: 0; }
.price li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; }
.price li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.promise { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; color: var(--ink-soft); }
.promise span { font-weight: 500; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 700 clamp(1.1rem, 1.8vw, 1.3rem)/1.3 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 500 1.3rem/1 var(--body); box-shadow: inset 0 0 0 1.5px var(--ink); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--ink-soft); max-width: 44em; margin: -6px 0 24px; }

/* Closing call */
.closing { text-align: left; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.closing img { width: 96px; height: 96px; border-radius: 24px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 36px 48px; color: var(--ink-soft); font-size: .93rem; }
footer .row { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
footer .row span:first-child { margin-right: auto; }

/* Article pages (guides, recipes, privacy) */
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 12px; }
.crumbs a { color: var(--ink-soft); }
.article { padding-block: 24px 80px; }
.article h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.02; margin: 14px 0 20px; max-width: 16em; }
.article h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 44px 0 12px; letter-spacing: -.02em; }
.article h3 { margin: 28px 0 8px; }
.article .body { max-width: 720px; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: 6px 0; }
.article .path, .article .related, .article .guide-list, .article .recipe-steps, .article .recipes { padding-left: 0; }
.article .path li, .article .related li, .article .guide-list li, .article .recipe-steps li, .article .recipes li { margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.facts .tag { background: var(--card); color: var(--ink-soft); box-shadow: 0 0 0 1px var(--line); }
.notice { background: var(--card); border-radius: 18px; padding: 18px 22px; box-shadow: 0 1px 0 var(--line); }
.notice p:last-child { margin: 0; }

/* Brand tabs: plain radio inputs, no script */
.tabs { margin-top: 18px; }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tablist label { cursor: pointer; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--card); }
.tablist label:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.panel { display: none; background: var(--card); border-radius: 22px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 1px 0 var(--line); }
.panel h3 { margin: 0 0 12px; }
.panel ol.do { padding-left: 1.4em; margin: 16px 0 0; }
.panel ol.do li { margin: 8px 0; padding-left: 4px; }
.panel .meta-notes { margin-top: 18px; display: grid; gap: 10px; }
.panel .meta-notes p { margin: 0; font-size: .95rem; padding: 10px 14px; border-radius: 12px; background: var(--sunken); color: var(--ink-soft); }
.panel .meta-notes p.warn { background: var(--note-soft); color: var(--note); }
.panel .source { font-size: .88rem; color: var(--muted); margin-top: 16px; }
#b-samsung:checked ~ .tablist label[for=b-samsung],
#b-pixel:checked ~ .tablist label[for=b-pixel],
#b-xiaomi:checked ~ .tablist label[for=b-xiaomi],
#b-other:checked ~ .tablist label[for=b-other] { background: var(--ink); color: #fff; box-shadow: none; }
#b-samsung:checked ~ .p-samsung, #b-pixel:checked ~ .p-pixel, #b-xiaomi:checked ~ .p-xiaomi, #b-other:checked ~ .p-other { display: block; }
#b-samsung:focus-visible ~ .tablist label[for=b-samsung],
#b-pixel:focus-visible ~ .tablist label[for=b-pixel],
#b-xiaomi:focus-visible ~ .tablist label[for=b-xiaomi],
#b-other:focus-visible ~ .tablist label[for=b-other] { outline: 3px solid var(--glow-deep); outline-offset: 3px; }

.cta { margin-top: 56px; background: var(--ink); color: #E7E8EE; border-radius: 26px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.cta img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 0 0 1px #33354A; }
.cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.cta p { margin: 0 0 16px; color: #C3C6D2; }
.cta .btn { background: #fff; color: var(--ink); }
.cta .btn:hover { background: var(--glow-soft); }

.related { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.related li { border-top: 1px solid var(--line); margin: 0; }
.related a { display: block; padding: 14px 0; text-decoration: none; font-weight: 500; }
.related a small { display: block; color: var(--muted); font-weight: 400; font-size: .88rem; }
.related a:hover span { text-decoration: underline; }

.cat { margin-top: 48px; }
.cat h2 { margin: 0 0 6px; }
.cat > p { color: var(--muted); margin: 0 0 14px; }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.guide-list li { border-top: 1px solid var(--line); margin: 0; }
.guide-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 0; text-decoration: none; }
.guide-list a span { font-weight: 500; }
.guide-list a small { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.guide-list a:hover span { text-decoration: underline; }

.recipe-steps { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: r; }
.recipe-steps li { counter-increment: r; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 18px 0; border-top: 1px solid var(--line); margin: 0; }
.recipe-steps li::before { content: counter(r); grid-row: span 3; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 800 .95rem/1 var(--display); box-shadow: inset 0 0 0 1.5px var(--ink); }
.recipe-steps a { font-weight: 600; font-size: 1.08rem; }
.recipe-steps p { margin: 2px 0 0; color: var(--ink-soft); font-size: .96rem; }
.recipe-steps small { color: var(--muted); font-size: .86rem; }

.policy h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.policy table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.policy .table-wrap { overflow-x: auto; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.policy th { font-weight: 600; }

.notfound { padding-block: 80px 120px; }

/* Responsive */
@media (max-width: 980px) {
  .makeovers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .power { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .how, .checkup, .tidy, .band-head, .power-plain, .prices { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-top: 12px; }
  .stage { margin-top: 12px; }
  .recipes, .related, .guide-list { grid-template-columns: minmax(0, 1fr); }
  .tidy .applist { order: 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top nav a.hide-sm { display: none; }
  .makeovers { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; }
  .mk { flex: 0 0 44vw; scroll-snap-align: start; }
  .phone { width: min(210px, 56vw); }
  .legend li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .closing, .cta { grid-template-columns: minmax(0, 1fr); }
  footer .row span:first-child { margin-right: 0; width: 100%; }
  .recipes a { grid-template-columns: minmax(0, 1fr); }
  .recipes .meta { grid-row: auto; grid-column: 1; text-align: left; }
  .recipes .meta b { display: inline; font-size: 1rem; }
}
