/*
Theme Name: Pizzasta Editorial Guide
Theme URI: https://pizzasta.jp/
Author: Pizzasta Editorial Team
Description: A source-first WordPress theme for sakibarai-kaitori guidance and comparison content.
Version: 1.1.0
Text Domain: pizzasta
*/

:root {
  --ps-paper: #fbf3e7;
  --ps-paper-strong: #fffdf8;
  --ps-ink: #241b19;
  --ps-ink-soft: #554744;
  --ps-muted: #806f67;
  --ps-line: #e6d8ca;
  --ps-accent: #e25232;
  --ps-accent-dark: #ab321d;
  --ps-warn: #b97818;
  --ps-safe: #1f6b58;
  --ps-shadow: 0 16px 40px rgba(16, 36, 51, .09);
  --ps-radius-sm: 4px;
  --ps-radius-md: 8px;
  --ps-radius-lg: 16px;
  --ps-max: 1160px;
  --ps-ease: cubic-bezier(.25, 1, .5, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ps-ink);
  background: var(--ps-paper);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
button, .ps-button { font: inherit; }
:focus-visible { outline: 3px solid rgba(216, 92, 62, .45); outline-offset: 3px; }

.ps-skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ps-ink); color: #fff; padding: 8px 12px; }
.ps-skip:focus { top: 16px; }
.ps-wrap { width: min(calc(100% - 40px), var(--ps-max)); margin: 0 auto; }
.ps-topline { background: var(--ps-ink); color: #fff7e9; font-size: 12px; letter-spacing: .08em; }
.ps-topline__inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.ps-topline a { color: #fff; }
.ps-header { background: var(--ps-paper-strong); border-bottom: 1px solid var(--ps-line); }
.ps-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ps-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.ps-brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ps-accent); color: #fff; font-size: 12px; letter-spacing: .02em; box-shadow: inset -4px -4px 0 rgba(120,35,20,.18); }
.ps-brand__name { font-size: 18px; line-height: 1.2; }
.ps-brand__sub { display: block; color: var(--ps-muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; margin-top: 2px; }
.ps-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 700; }
.ps-nav a { text-decoration: none; }
.ps-nav a:hover { color: var(--ps-accent-dark); }
.ps-nav-toggle { display: none; border: 1px solid var(--ps-line); background: var(--ps-paper-strong); color: var(--ps-ink); border-radius: var(--ps-radius-sm); padding: 8px 12px; }

.ps-hero { position: relative; overflow: hidden; padding: 72px 0 64px; background: #c7462d; color: #fffaf0; border-bottom: 1px solid #a93623; }
.ps-hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 18px 18px; pointer-events: none; }
.ps-hero > .ps-wrap { position: relative; z-index: 1; }
.ps-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 56px; align-items: center; }
.ps-kicker { display: inline-flex; align-items: center; gap: 8px; color: #ffe28d; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.ps-kicker::before { content: ""; width: 24px; height: 3px; background: #ffe28d; }
.ps-hero h1 { max-width: 760px; margin: 18px 0 20px; color: #fffaf0; font-size: clamp(32px, 5vw, 54px); line-height: 1.25; letter-spacing: -.045em; }
.ps-hero h1 em { color: #ffe28d; font-style: normal; }
.ps-lead { max-width: 680px; margin: 0; color: #ffe9dc; font-size: 18px; line-height: 1.9; }
.ps-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ps-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px; border-radius: var(--ps-radius-sm); font-weight: 800; text-decoration: none; transition: transform 150ms var(--ps-ease), background-color 150ms var(--ps-ease), color 150ms var(--ps-ease); }
.ps-button:hover { transform: translateY(-2px); }
.ps-button--primary { background: #ffe28d; color: var(--ps-ink); box-shadow: 0 8px 18px rgba(71, 26, 18, .22); }
.ps-button--primary:hover { background: #fff1bc; }
.ps-button--ghost { border: 1px solid #fff4e7; color: #fff; background: rgba(255,255,255,.06); }
.ps-button--ghost:hover { background: var(--ps-ink); color: #fff; }
.ps-proof { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; color: #ffe9dc; font-size: 12px; }
.ps-proof span { display: inline-flex; align-items: center; gap: 6px; }
.ps-proof span::before { content: "✓"; color: var(--ps-safe); font-weight: 900; }
.ps-hero .ps-proof span::before { color: #ffe28d; }
.ps-ledger { padding: 22px; background: #fffaf0; color: var(--ps-ink); border: 1px solid rgba(16,36,51,.14); border-radius: var(--ps-radius-lg); box-shadow: var(--ps-shadow); }
.ps-ledger__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ps-line); color: var(--ps-ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.ps-ledger__status { color: var(--ps-safe); }
.ps-ledger dl { display: grid; grid-template-columns: 1fr auto; gap: 0; margin: 16px 0 0; }
.ps-ledger dt, .ps-ledger dd { padding: 11px 0; border-bottom: 1px dashed var(--ps-line); font-size: 14px; }
.ps-ledger dt { color: var(--ps-muted); }
.ps-ledger dd { margin: 0; text-align: right; color: var(--ps-ink); font-weight: 800; }
.ps-ledger__note { margin: 16px 0 0; color: var(--ps-muted); font-size: 12px; line-height: 1.7; }
.ps-hero__panel { display: grid; gap: 16px; }
.ps-hero-art { margin: 0; overflow: hidden; background: var(--ps-paper-strong); border: 1px solid rgba(16,36,51,.14); border-radius: var(--ps-radius-lg); box-shadow: var(--ps-shadow); }
.ps-hero-art img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: 74% center; }
.ps-hero-art__fallback { position: relative; display: block; height: 220px; overflow: hidden; background: #f5dfc1; }
.ps-hero-art__fallback[hidden] { display: none; }
.ps-hero-art img[hidden] { display: none !important; }
.ps-fallback-pizza { position: absolute; right: 34%; top: 28px; width: 152px; height: 152px; border: 10px solid #f2c276; border-radius: 50%; background: radial-gradient(circle at 28% 31%, #7d301f 0 7px, transparent 8px), radial-gradient(circle at 70% 24%, #7d301f 0 7px, transparent 8px), radial-gradient(circle at 62% 70%, #7d301f 0 8px, transparent 9px), radial-gradient(circle at 27% 68%, #7d301f 0 7px, transparent 8px), #d94e32; box-shadow: 0 12px 0 rgba(93,42,24,.12); transform: rotate(-14deg); }
.ps-fallback-pizza::after { content: ''; position: absolute; inset: 20px; border: 3px dashed rgba(255,226,141,.72); border-radius: 50%; }
.ps-fallback-ticket { position: absolute; width: 118px; height: 154px; border: 1px solid #d6c5ae; background: #fffaf0; box-shadow: 0 12px 24px rgba(74,40,25,.16); transform: rotate(11deg); }
.ps-fallback-ticket--back { right: 8%; top: 30px; background: #e9cda8; transform: rotate(20deg); }
.ps-fallback-ticket--front { right: 10%; top: 41px; padding: 42px 16px 12px; }
.ps-fallback-ticket--front::before { content: 'ORDER CHECK'; position: absolute; top: 18px; left: 16px; color: var(--ps-accent-dark); font: 900 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.ps-fallback-ticket--front i { display: block; height: 5px; margin: 12px 0; border-radius: 4px; background: #d9c9b5; }
.ps-hero-art figcaption { display: grid; gap: 3px; padding: 14px 18px 16px; background: #fffaf0; color: var(--ps-ink); border-top: 1px solid var(--ps-line); }
.ps-hero-art figcaption strong { color: var(--ps-ink); font-size: 15px; }
.ps-hero-art figcaption span { color: var(--ps-muted); font-size: 12px; line-height: 1.65; }
.ps-ledger--compact { padding: 18px; box-shadow: none; }
.ps-orderbar { background: #2d211e; color: #fff8ea; border-bottom: 1px solid rgba(255,255,255,.12); }
.ps-orderbar__inner { display: flex; align-items: center; gap: 16px; min-height: 64px; overflow-x: auto; white-space: nowrap; }
.ps-orderbar__label { color: #ffe28d; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.ps-orderbar a { color: #fff8ea; font-size: 13px; font-weight: 800; text-decoration: none; }
.ps-orderbar a:hover { color: #ffe28d; }
.ps-orderbar b { margin-right: 6px; color: #ff9277; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.ps-orderbar__arrow { color: #bfa69d; }
.ps-orderbar__cta { margin-left: auto; padding: 8px 14px; border-radius: 999px; background: var(--ps-accent); }

.ps-section { padding: 76px 0; }
.ps-section--tight { padding: 44px 0; }
.ps-section--paper { background: var(--ps-paper-strong); border-top: 1px solid var(--ps-line); border-bottom: 1px solid var(--ps-line); }
.ps-section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.ps-eyebrow { margin: 0 0 8px; color: var(--ps-accent-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.ps-section h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.3; letter-spacing: -.035em; }
.ps-section__intro { max-width: 620px; margin: 12px 0 0; color: var(--ps-ink-soft); }
.ps-text-link { color: var(--ps-accent-dark); font-weight: 800; }
.ps-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ps-card { background: var(--ps-paper-strong); border: 1px solid var(--ps-line); border-radius: var(--ps-radius-md); padding: 24px; }
.ps-card:hover { border-color: rgba(216,92,62,.55); }
.ps-card__num { color: var(--ps-accent); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; font-weight: 800; }
.ps-card h3 { margin: 10px 0 8px; font-size: 20px; line-height: 1.45; }
.ps-card p { margin: 0; color: var(--ps-ink-soft); font-size: 14px; }
.ps-card__link { display: inline-flex; margin-top: 18px; color: var(--ps-accent-dark); font-size: 14px; font-weight: 800; text-decoration: none; }
.ps-card__link::after { content: " ↗"; }

.ps-alert { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 20px 24px; background: #fff8e9; border: 1px solid #ecd5a6; border-left: 5px solid var(--ps-warn); border-radius: var(--ps-radius-md); }
.ps-alert__icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ps-warn); color: #fff; font-weight: 900; }
.ps-alert h2 { margin: 0 0 4px; font-size: 18px; }
.ps-alert p { margin: 0; color: #604d2d; font-size: 14px; }
.ps-alert a { align-self: center; color: #80500d; font-size: 13px; font-weight: 800; white-space: nowrap; }

.ps-guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ps-guide { display: flex; gap: 16px; align-items: start; padding: 20px; background: var(--ps-paper-strong); border: 1px solid var(--ps-line); border-radius: var(--ps-radius-md); text-decoration: none; }
.ps-guide__icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--ps-radius-sm); background: #e6f0eb; color: var(--ps-safe); font-weight: 900; }
.ps-guide h3 { margin: 0 0 4px; font-size: 17px; }
.ps-guide p { margin: 0; color: var(--ps-ink-soft); font-size: 14px; line-height: 1.7; }

.ps-method { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.ps-method__note { padding: 24px; background: var(--ps-ink); color: #eff6f2; border-radius: var(--ps-radius-md); }
.ps-method__note h2 { margin: 0 0 12px; font-size: 24px; }
.ps-method__note p { margin: 0; color: #c8d6d1; font-size: 14px; }
.ps-method__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ps-method__list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ps-line); }
.ps-method__list strong { display: block; margin-bottom: 3px; }
.ps-method__list span { color: var(--ps-ink-soft); font-size: 14px; }
.ps-method__index { color: var(--ps-accent); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 800; }

.ps-cta { padding: 36px; background: var(--ps-ink); color: #fff; border-radius: var(--ps-radius-lg); }
.ps-cta h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.35; }
.ps-cta p { max-width: 680px; margin: 0; color: #cbd8d4; }
.ps-cta .ps-button--primary { margin-top: 20px; }

.ps-main { padding: 52px 0 84px; }
.ps-breadcrumbs { margin-bottom: 28px; color: var(--ps-muted); font-size: 12px; }
.ps-article { max-width: 820px; margin: 0 auto; }
.ps-article__title { margin: 0 0 12px; font-size: clamp(30px, 5vw, 48px); line-height: 1.35; letter-spacing: -.04em; }
.ps-article__meta { color: var(--ps-muted); font-size: 13px; }
.ps-article__lead { margin: 28px 0; padding: 22px 24px; background: #e8f1ed; border-left: 4px solid var(--ps-safe); font-weight: 700; }
.ps-content > * { margin-top: 24px; margin-bottom: 0; }
.ps-content h2 { margin-top: 56px; padding-bottom: 10px; border-bottom: 2px solid var(--ps-ink); font-size: 28px; line-height: 1.4; }
.ps-content h3 { margin-top: 36px; font-size: 21px; }
.ps-content p, .ps-content li { color: var(--ps-ink-soft); }
.ps-content ul, .ps-content ol { padding-left: 1.5em; }
.ps-content blockquote { position: relative; margin-left: 0; margin-right: 0; padding: 22px 24px 22px 52px; background: #fff8e9; border-left: 4px solid var(--ps-warn); }
.ps-content blockquote::before { content: '“'; position: absolute; left: 18px; top: 12px; color: var(--ps-warn); font-family: Georgia, serif; font-size: 38px; line-height: 1; }
.ps-content table { width: 100%; border-collapse: collapse; background: #fff; }
.ps-content th, .ps-content td { padding: 12px; border: 1px solid var(--ps-line); text-align: left; vertical-align: top; }
.ps-content th { background: #e8f1ed; }
.ps-content img { border-radius: var(--ps-radius-md); }
.ps-content a { color: var(--ps-accent-dark); font-weight: 700; }

/* Article components: reusable blocks for future posts and pages. */
.ps-marker { padding: 0 .16em .04em; color: inherit; background: linear-gradient(transparent 48%, #ffe28d 48% 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ps-marker--good { background: linear-gradient(transparent 48%, #bfe6d8 48% 92%, transparent 92%); }
.ps-marker--warn { background: linear-gradient(transparent 48%, #ffc9a9 48% 92%, transparent 92%); }
.ps-marker--accent { background: linear-gradient(transparent 48%, #f6b9a5 48% 92%, transparent 92%); }

.ps-box { position: relative; margin: 32px 0; padding: 24px 26px 22px 30px; background: var(--ps-paper-strong); border: 1px solid var(--ps-line); border-left: 5px solid var(--ps-accent); border-radius: var(--ps-radius-md); box-shadow: 0 8px 22px rgba(74, 40, 25, .06); }
.ps-box--point { background: #fffaf0; border-left-color: var(--ps-accent); }
.ps-box--memo { background: #eef7f2; border-left-color: var(--ps-safe); }
.ps-box--caution { background: #fff1e8; border-left-color: var(--ps-warn); }
.ps-box--check { background: #f3f0ff; border-left-color: #6e62a8; }
.ps-box__title { margin: 0 0 10px; color: var(--ps-ink); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.ps-box__body > :first-child { margin-top: 0; }
.ps-box__body > :last-child { margin-bottom: 0; }
.ps-box__body p, .ps-box__body li { color: var(--ps-ink-soft); }

.ps-speech { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: start; margin: 32px 0; }
.ps-speech__icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0; border: 3px solid #fffaf0; border-radius: 50%; background: var(--ps-accent); color: #fffaf0; box-shadow: 0 5px 0 rgba(120, 35, 20, .16); font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.ps-speech__body { min-width: 0; }
.ps-speech__label { display: block; margin: 0 0 6px 12px; color: var(--ps-muted); font-size: 12px; font-weight: 800; }
.ps-speech__bubble { position: relative; padding: 18px 20px; background: #fff; border: 1px solid var(--ps-line); border-radius: 4px 16px 16px 16px; box-shadow: 0 8px 20px rgba(74, 40, 25, .06); }
.ps-speech__bubble::before { content: ''; position: absolute; top: 13px; left: -9px; width: 16px; height: 16px; background: #fff; border-left: 1px solid var(--ps-line); border-bottom: 1px solid var(--ps-line); transform: rotate(45deg); }
.ps-speech__bubble > :first-child { margin-top: 0; }
.ps-speech__bubble > :last-child { margin-bottom: 0; }

.ps-faq { margin: 14px 0; overflow: hidden; background: #fff; border: 1px solid var(--ps-line); border-radius: var(--ps-radius-md); box-shadow: 0 6px 18px rgba(74, 40, 25, .04); }
.ps-faq summary { position: relative; display: block; padding: 17px 52px 17px 20px; color: var(--ps-ink); font-weight: 800; cursor: pointer; list-style: none; }
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after { content: '+'; position: absolute; top: 50%; right: 19px; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--ps-accent); border-radius: 50%; color: var(--ps-accent-dark); font-size: 20px; font-weight: 500; line-height: 1; transform: translateY(-50%); transition: transform 150ms var(--ps-ease), background-color 150ms var(--ps-ease); }
.ps-faq[open] summary { border-bottom: 1px solid var(--ps-line); background: #fffaf0; }
.ps-faq[open] summary::after { background: var(--ps-accent); color: #fff; transform: translateY(-50%) rotate(45deg); }
.ps-faq__answer { padding: 16px 20px 18px; }
.ps-faq__answer > :first-child { margin-top: 0; }
.ps-faq__answer > :last-child { margin-bottom: 0; }
.ps-faq__answer p, .ps-faq__answer li { color: var(--ps-ink-soft); }

.ps-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin: 28px 0; padding: 16px 18px; background: #f5efe6; border: 1px solid var(--ps-line); border-radius: var(--ps-radius-sm); }
.ps-note__label { color: var(--ps-accent-dark); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.ps-note__body { color: var(--ps-muted); font-size: 13px; }
.ps-note__body > :first-child { margin-top: 0; }
.ps-note__body > :last-child { margin-bottom: 0; }

.ps-checklist { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.ps-checklist li { position: relative; padding: 12px 16px 12px 42px; background: #fff; border: 1px solid var(--ps-line); border-radius: var(--ps-radius-sm); }
.ps-checklist li::before { content: '✓'; position: absolute; left: 15px; top: 11px; color: var(--ps-safe); font-weight: 900; }

.ps-author-box { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 16px; align-items: start; margin: 42px 0 0; padding: 22px; background: #fffaf0; border: 1px solid var(--ps-line); border-radius: var(--ps-radius-md); }
.ps-author-box__avatar { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--ps-accent); color: #fffaf0; font-size: 13px; font-weight: 900; }
.ps-author-box__label { display: block; margin-bottom: 2px; color: var(--ps-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.ps-author-box__name { display: block; color: var(--ps-ink); font-size: 17px; }
.ps-author-box__bio { margin-top: 6px; color: var(--ps-ink-soft); font-size: 13px; }
.ps-author-box__bio > :first-child { margin-top: 0; }
.ps-author-box__bio > :last-child { margin-bottom: 0; }

.ps-list { display: grid; gap: 16px; }
.ps-list-card { display: block; padding: 22px 24px; background: #fff; border: 1px solid var(--ps-line); border-radius: var(--ps-radius-md); text-decoration: none; }
.ps-list-card:hover { border-color: var(--ps-accent); }
.ps-list-card h2 { margin: 0 0 6px; font-size: 21px; }
.ps-list-card p { margin: 0; color: var(--ps-ink-soft); font-size: 14px; }

.ps-footer { padding: 42px 0 32px; background: var(--ps-ink); color: #dbe7e3; }
.ps-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ps-footer h2 { margin: 0 0 10px; color: #fff; font-size: 19px; }
.ps-footer p, .ps-footer li { color: #b9cbc5; font-size: 13px; }
.ps-footer ul { margin: 0; padding-left: 1.2em; }
.ps-footer a { color: #fff; }
.ps-footer__bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: #9fb3ac; font-size: 12px; }
.ps-mobile-cta { display: none; }

@media (max-width: 1024px) {
  .ps-hero__grid { gap: 32px; }
  .ps-nav { gap: 12px; font-size: 13px; }
}
@media (max-width: 768px) {
  .ps-wrap { width: min(calc(100% - 28px), var(--ps-max)); }
  .ps-topline__inner { display: block; }
  .ps-topline__inner span { display: block; }
  .ps-topline__inner a { display: inline-block; margin-top: 3px; }
  .ps-header__inner { min-height: 68px; }
  .ps-nav-toggle { display: inline-flex; }
  .ps-nav { display: none; position: absolute; left: 14px; right: 14px; top: 126px; z-index: 10; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; background: #fff; border: 1px solid var(--ps-line); box-shadow: var(--ps-shadow); }
  .ps-nav.is-open { display: flex; }
  .ps-nav a { padding: 10px 12px; }
  .ps-hero { padding: 48px 0; }
  .ps-hero__grid, .ps-method { grid-template-columns: 1fr; }
  .ps-hero h1 { font-size: 34px; }
  .ps-lead { font-size: 16px; }
  .ps-grid-3, .ps-guide-grid, .ps-footer__grid { grid-template-columns: 1fr; }
  .ps-section { padding: 56px 0; }
  .ps-section__head { display: block; }
  .ps-section__head .ps-text-link { display: inline-block; margin-top: 12px; }
  .ps-alert { grid-template-columns: auto 1fr; }
  .ps-alert a { grid-column: 2; justify-self: start; }
  .ps-mobile-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; }
  .ps-mobile-cta .ps-button { width: 100%; box-shadow: 0 10px 28px rgba(16,36,51,.22); }
  body { padding-bottom: 74px; }
}
@media (max-width: 640px) {
  .ps-actions { display: grid; }
  .ps-actions .ps-button { width: 100%; }
  .ps-hero h1 { font-size: 31px; }
  .ps-ledger { padding: 18px; }
  .ps-cta { padding: 24px; }
  .ps-box { padding: 20px 18px 18px 22px; }
  .ps-speech { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; }
  .ps-speech__icon { width: 46px; height: 46px; }
  .ps-speech__label { margin-left: 8px; }
  .ps-speech__bubble { padding: 15px 16px; }
  .ps-note { grid-template-columns: 1fr; gap: 4px; }
  .ps-author-box { grid-template-columns: 50px minmax(0, 1fr); gap: 12px; padding: 18px; }
  .ps-author-box__avatar { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .ps-button:hover { transform: none; }
}
