/* Shottan LP. Plain CSS, no build step, no web fonts. */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #253238;
  --muted: #606a6c;
  --accent: #315f5a;
  --accent-ink: #264b47;
  --accent-soft: #e5ecE8;
  --line: #d5dad5;
  --warm: #a85b49;
  --radius: 10px;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.8; }
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible, pre:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 4px;
}
::selection { background: var(--accent-soft); }

.container { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 10px 14px; background: var(--ink); color: var(--surface); border-radius: 6px; }
.skip:focus { top: 16px; }

/* Type */
h1, h2, h3 { font-weight: 700; letter-spacing: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.3; }
h2 { font-size: clamp(28px, 3.5vw, 40px); line-height: 1.35; }
h3 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.5; }
p { color: var(--ink); }
.prose { max-inline-size: 34em; }
.prose p + p { margin-top: 1em; }
:lang(en) .prose { max-inline-size: 36em; }
.eyebrow { font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--accent); margin-bottom: 14px; }
.muted { color: var(--muted); }
code, pre { font-family: var(--mono); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.wordmark img { width: 28px; height: 28px; border-radius: 7px; }
.wordmark img.is-missing { visibility: hidden; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.site-nav .nav-repo { border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; background: var(--surface); }

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
section + section, .section-rule { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head h2 { margin-bottom: 20px; }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 88px); }
.hero h1 { margin-bottom: 22px; text-wrap: pretty; }
:lang(ja) .hero h1 { font-size: clamp(34px, 4.6vw, 56px); }
.hero .lead { font-size: 18px; max-inline-size: 34em; }
:lang(en) .hero .lead { max-inline-size: 36em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.cta-primary {
  display: inline-flex; align-items: center; min-height: 48px; padding-inline: 22px;
  color: #fff; background: var(--accent); border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 16px;
}
.cta-primary:hover { background: var(--accent-ink); }
.cta-secondary { font-weight: 600; font-size: 16px; color: var(--accent); text-underline-offset: 5px; }
.meta-line { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-figure { margin-top: clamp(40px, 6vw, 64px); }

/* Figures */
.capture { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.capture img, .capture video { width: 100%; height: auto; }
figcaption { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }

.slot { position: relative; }
.slot.r-16-10 { aspect-ratio: 16 / 10; }
.slot.r-5-3 { aspect-ratio: 5 / 3; }
.slot.r-16-10 img, .slot.r-5-3 img, .slot.r-16-10 video { height: 100%; object-fit: cover; }
.slot.is-missing { background: repeating-linear-gradient(135deg, rgba(37, 50, 56, .04) 0 12px, transparent 12px 24px), var(--surface); }
.slot.is-missing img, .slot.is-missing video { visibility: hidden; }
.slot.is-missing::after {
  content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 12px; text-align: center; font: 12px/1.6 var(--mono); color: var(--muted);
}

/* Section 2: before / after */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pair-item { margin: 0; }
.pair-label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pair-item.after .pair-label { color: var(--accent); }

/* Section 3 */
.tools { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); max-inline-size: 34em; }
.subblock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.subblock h3 { margin: 0; }
.subblock .prose p { font-size: 16px; }

.demo { margin-top: clamp(64px, 8vw, 96px); padding-top: clamp(40px, 6vw, 56px); border-top: 1px solid var(--line); }
.demo h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.4; margin-bottom: 16px; }
.demo .capture { background: var(--ink); }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.play-button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-inline: 18px;
  border: 1px solid var(--accent); border-radius: 8px; background: var(--surface); color: var(--accent);
  font: 600 15px var(--sans); cursor: pointer;
}
.play-button:hover { background: var(--accent-soft); }
.play-button .tri { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.demo-bar .meta-line { margin: 0; }
.demo-bar a { font-size: 14px; color: var(--accent); text-underline-offset: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Section 4: diagram */
.diagram { padding: clamp(20px, 4vw, 40px); background: var(--surface); }
.diagram svg { width: 100%; height: auto; margin-inline: auto; max-width: 820px; }
.diagram text { font-family: var(--sans); fill: var(--ink); }
.diagram .d-label { font-size: 30px; font-weight: 700; }
.diagram .d-node { font-size: 27px; font-weight: 600; }
.diagram .d-folder { font-size: 26px; font-weight: 600; fill: var(--accent); }

/* Section 5 */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.two-up article { border-top: 1px solid var(--line); padding-top: 24px; }
.two-up h3 { margin-bottom: 10px; }
.two-up p { font-size: 16px; }
.two-up figure { margin-top: 24px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--accent); }
details[open] summary::after { content: "\2212"; }
details p { padding-bottom: 22px; font-size: 16px; max-inline-size: 40em; }

/* Install */
.install-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 56px; align-items: start; }
.install-grid .prose p { font-size: 16px; }
.install-grid .prose p:first-child { font-size: 17px; }
.links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; font-size: 15px; font-weight: 600; }
.links a { color: var(--accent); text-underline-offset: 4px; }
.commands { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.commands-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.commands-head h3 { font-size: 15px; line-height: 1.5; }
.copy-button { min-height: 36px; padding-inline: 14px; border: 1px solid var(--accent); border-radius: 8px; background: var(--surface); color: var(--accent); font: 600 14px var(--sans); cursor: pointer; }
.copy-button:hover { background: var(--accent-soft); }
.commands pre { margin: 0; padding: 18px 16px; font-size: 14px; line-height: 2; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.commands .note { padding: 0 16px 16px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.commands [role=status] { display: block; padding: 0 16px 14px; font-size: 13px; color: var(--accent); }
.commands [role=status]:empty { display: none; }
.commands [role=status].is-error { color: var(--warm); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 56px; }
.site-footer .tagline { font-weight: 700; font-size: 18px; }
.site-footer .footer-line { margin-top: 8px; font-size: 14px; color: var(--muted); }
.site-footer .footer-line a { color: var(--muted); text-underline-offset: 3px; }
.site-footer .footer-line a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 880px) {
  .subblock, .install-grid { grid-template-columns: 1fr; }
  .two-up { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .site-header .container { min-height: 60px; }
  .site-nav { gap: 14px; }
  .site-nav .nav-section { display: none; }
  .hero .lead { font-size: 17px; }
  .pair { grid-template-columns: 1fr; gap: 28px; }
  .section-head { margin-bottom: 28px; }
  .diagram { padding: 14px; }
  .commands pre { font-size: 13px; }
}
.install-grid h2 { margin-bottom: 20px; }
.demo figure { margin-top: 28px; }
.slot.r-16-10 video { object-fit: contain; background: var(--ink); }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) summary, :lang(ja) p, :lang(ja) li, :lang(ja) figcaption { word-break: auto-phrase; }
@media (max-width: 640px) {
  .commands pre { white-space: pre; overflow-x: auto; overflow-wrap: normal; }
}

/* Round 3 polish */
section { padding-block: clamp(56px, 6vw, 88px); }
.hero-figure { margin-top: clamp(32px, 4vw, 48px); }
.hero-assurance { display: block; margin-top: .5em; }
.hero-composition { display: grid; grid-template-columns: minmax(0, 2.8fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.chat-example img { width: 100%; height: auto; }
.zoom { display: block; color: inherit; }
.zoom:hover .capture { border-color: var(--accent); }
#local .diagram { padding: 0; border: 0; border-radius: 0; background: transparent; }
#local .diagram svg { max-width: 640px; margin-inline: 0; }
.commands pre { white-space: pre; overflow-x: auto; overflow-wrap: normal; }
.commands-head { flex-wrap: wrap; }
.copy-button { min-height: 44px; }
.wordmark img { width: 28px; height: 28px; border-radius: 0; }
.site-footer .footer-line { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer .footer-line > span { display: inline-block; }
@media (max-width: 880px) {
  .pair { grid-template-columns: 1fr; gap: 28px; }
  .site-nav .nav-section { display: none; }
}
@media (max-width: 640px) {
  :lang(ja) .hero h1 { font-size: clamp(28px, 8.2vw, 34px); }
  .hero-composition { grid-template-columns: 1fr; gap: 20px; }
  .hero-composition .chat-example { width: min(100%, 320px); }
  .diagram .d-label, .diagram .d-node { font-size: 36px; }
  .diagram .d-folder { font-size: 34px; }
}
@media (max-width: 880px) {
  .subblock, .install-grid { grid-template-columns: minmax(0, 1fr); }
}
/* Phone overflow guards */
.commands .note { overflow-wrap: anywhere; }
.commands { min-width: 0; }
@media (max-width: 880px) {
  .pair, .two-up { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero-composition { grid-template-columns: minmax(0, 1fr); }
}

/* Round 4: App Store, hero badges, tool tabs, destinations, centered sections, sentence wrapping */
.hero .lead { max-inline-size: 44em; }
.prose { max-inline-size: 40em; }
:lang(en) .prose, :lang(en) .hero .lead { max-inline-size: 38em; }
.sentence { display: inline-block; max-width: 100%; }
@media (max-width: 880px) { .sentence { display: inline; } }

.site-nav .nav-store { display: inline-flex; align-items: baseline; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; background: var(--surface); white-space: nowrap; }
.site-nav .nav-store small { font-size: 11px; color: var(--muted); font-weight: 600; }
.site-nav .nav-store[aria-disabled="true"] { color: var(--muted); cursor: default; }
.site-nav .nav-store[aria-disabled="true"]:hover { text-decoration: none; color: var(--muted); }
.cta-store[aria-disabled="true"] { background: var(--surface); color: var(--muted); border: 1px solid var(--line); cursor: default; }
.cta-store[aria-disabled="true"]:hover { background: var(--surface); }

.feature-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 22px; padding: 0; }
.feature-badges li { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink); }
.feature-badges li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.tool-tabs { margin-top: 24px; }
.tools-label { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.tool-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-list [role="tab"] { display: flex; flex-direction: column; gap: 2px; min-width: 128px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.tool-list [role="tab"] b { font-size: 15px; font-weight: 700; }
.tool-list [role="tab"] span { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.tool-list [role="tab"]:hover { border-color: var(--accent); }
.tool-list [role="tab"][aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.tool-list [role="tab"][aria-selected="true"] span { color: var(--accent-ink); }
#tool-panel { margin-top: 20px; }
#tool-panel img { transition: opacity .15s; }
#tool-panel.is-switching img { opacity: .4; }

.dest-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 16px 0 0; padding: 0; }
.dest-list li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; }
.dest-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; background: var(--c, var(--accent)); color: #fff; font-size: 13px; font-weight: 700; }
.dest-mail { position: relative; }
.dest-mail::before { content: ""; width: 14px; height: 10px; border: 1.6px solid #fff; border-radius: 2px; box-sizing: border-box; }
.dest-mail::after { content: ""; position: absolute; left: 7px; top: 8px; width: 7px; height: 7px; border-right: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(45deg) translate(-1px, -1px); }
.dest-list .dest-more { border-style: dashed; color: var(--muted); padding-left: 12px; }
.subblock .prose .dest-list + p { margin-top: 16px; }

.demo-flow { margin-top: 18px; font-size: 18px; font-weight: 600; line-height: 1.6; }
.demo figure { margin-top: 14px; }

.centered .section-head { text-align: center; }
.centered .section-head .prose { margin-inline: auto; }
.centered .lead-line { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.centered .prose p { text-align: left; }
.faq-list { margin-inline: auto; }
#local .diagram svg { max-width: 880px; margin-inline: auto; }
.diagram .d-cloud { font-size: 24px; font-weight: 600; fill: var(--muted); }
.diagram .d-no { font-size: 26px; font-weight: 700; fill: var(--warm); }
.diagram .d-note { font-size: 20px; fill: var(--muted); }

#get .section-head { margin-bottom: 28px; }
.store-badge { display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 22px 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; }
.store-badge[aria-disabled="true"] { background: var(--surface); color: var(--muted); border: 1px dashed var(--line); cursor: default; }
.store-badge-mark { width: 30px; height: 30px; border-radius: 8px; border: 2px solid currentColor; position: relative; flex: none; }
.store-badge-mark::before { content: ""; position: absolute; left: 7px; top: 7px; width: 12px; height: 12px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg) translate(2px, 2px); }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.2; font-size: 20px; font-weight: 700; }
.store-badge-text small { font-size: 12px; font-weight: 600; opacity: .8; }
.store-badge[aria-disabled="true"] .store-badge-text small { color: var(--warm); opacity: 1; }
@media (max-width: 640px) {
  .tool-list [role="tab"] { min-width: calc(50% - 5px); }
  .feature-badges li { font-size: 13px; }
}
@media (min-width: 881px) { .tool-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); } .tool-list [role="tab"] { min-width: 0; padding: 10px 12px; } }
.centered figcaption { text-align: center; }
.scene-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; max-width: 960px; margin-inline: auto; }
.scene-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.scene-grid p { font-size: 16px; font-weight: 600; line-height: 1.6; max-inline-size: 16em; }
.scene-icon { display: inline-flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 20px; background: var(--accent-soft); }
.scene-icon svg { width: 48px; height: 48px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } .scene-icon { width: 76px; height: 76px; } .scene-icon svg { width: 40px; height: 40px; } .scene-grid p { font-size: 14px; } }
/* Hero feature cards + flow steps; centered store badge; footer */
.feature-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; padding: 0; max-width: 820px; }
.feature-cards li { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.feature-cards .feature-icon { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; }
.feature-cards .feature-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature-cards b { font-size: 15px; font-weight: 700; line-height: 1.4; }
.feature-cards li > span:last-child { font-size: 13px; line-height: 1.55; color: var(--muted); }
.hero .meta-line { margin-top: 14px; }
@media (max-width: 880px) { .feature-cards { grid-template-columns: minmax(0, 1fr); } }
.flow-steps { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; padding: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.flow-steps li { display: inline-flex; align-items: center; gap: 8px; }
.flow-steps li b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }
.flow-steps li + li::before { content: ""; width: 22px; height: 2px; margin-right: 8px; background: var(--line); border-radius: 1px; }
#get .container { text-align: center; }
/* Tool tabs: icon tiles, max 4 per row, short last row centered */
.tool-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (min-width: 881px) { .tool-list { display: flex; grid-template-columns: none; } }
.tool-list [role="tab"] { flex: 0 0 calc(25% - 9px); min-width: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 14px; }
.tool-list .tool-icon { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.tool-list .tool-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-list [role="tab"][aria-selected="true"] .tool-icon { background: var(--accent); color: #fff; }
.tool-list [role="tab"] b { font-size: 15px; }
@media (max-width: 880px) { .tool-list [role="tab"] { flex-basis: calc(50% - 6px); } }
@media (max-width: 640px) { .tool-list [role="tab"] { flex-basis: 100%; min-width: 0; } }
/* App Store badges (placeholder glyph: swap in Apple's official badge artwork before release) */
.store-glyph { width: 30px; height: 30px; flex: none; }
.site-nav .nav-store { padding: 5px 12px 5px 8px; gap: 8px; align-items: center; }
.site-nav .nav-store .store-glyph { width: 22px; height: 22px; }
.site-nav .nav-store .store-label { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; }
.site-nav .nav-store .store-label small { font-size: 10px; color: var(--warm); }
.site-nav .nav-store[aria-disabled="true"] { color: var(--ink); }
.store-badge, .store-badge[aria-disabled="true"] { background: #0b0b0c; color: #fff; border: 1px solid #0b0b0c; cursor: default; }
.store-badge { min-height: 52px; padding: 8px 18px 8px 12px; border-radius: 10px; gap: 10px; }
.store-badge-text { font-size: 18px; }
.store-badge-text small { font-size: 11px; opacity: .85; }
.store-badge[aria-disabled="true"] .store-badge-text small { color: #ffd9a8; opacity: 1; }
.store-badge:not([aria-disabled]) { cursor: pointer; }
.store-badge:not([aria-disabled]):hover { background: #222; }
.store-badge-large { min-height: 64px; padding: 10px 24px 10px 16px; border-radius: 12px; }
.store-badge-large .store-glyph { width: 38px; height: 38px; }
.store-badge-large .store-badge-text { font-size: 22px; }
.store-badge-large .store-badge-text small { font-size: 12px; }
.store-badge-mark { display: none; }
/* Before / after tags */
.pair-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 16px; font-weight: 700; color: var(--ink); background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; }
.pair-item.after .pair-tag { color: #fff; background: var(--accent); border-color: var(--accent); }
.pair-item.after .pair-tag::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23315f5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.pair-item.before .pair-tag::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
/* Brand logos in the destinations row */
.dest-logo { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.dest-logo svg { width: 20px; height: 20px; display: block; }
.dest-list li { padding-left: 8px; }
/* Hero per the KV review: step strip, cards after the figure, bigger editor, chat label */
.flow-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 16px; padding: 0; color: var(--ink); font-weight: 400; font-size: inherit; }
.flow-steps li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 10px; align-items: center; padding-block: 12px 10px; border-top: 2px solid var(--accent); }
.flow-steps li b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #F7F6F2; font-size: 18px; line-height: 1; }
.flow-steps strong { font-size: 24px; font-weight: 700; line-height: 1.3; }
.flow-steps small { grid-column: 1 / -1; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--muted); }
.flow-steps li + li::before { content: none; }
.flow-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -21px; top: 16px; color: var(--accent); font-size: 18px; }
@media (max-width: 640px) {
  .flow-steps { gap: 16px; margin-bottom: 12px; }
  .flow-steps li { grid-template-columns: 1fr; gap: 6px; }
  .flow-steps li b { width: 28px; height: 28px; font-size: 15px; }
  .flow-steps strong { font-size: 18px; }
  .flow-steps small { font-size: 12px; }
  .flow-steps li:not(:last-child)::after { right: -14px; }
}
.hero-figure { margin-top: 28px; }
.hero > .container > .feature-cards { max-width: none; margin-top: 32px; }
.hero-composition { grid-template-columns: minmax(0, 3.5fr) minmax(0, 1fr); align-items: end; }
@media (max-width: 880px) { .hero-composition { grid-template-columns: minmax(0, 1fr); gap: 24px; } .hero-composition .chat-example { width: min(100%, 280px); justify-self: end; } }
.chat-example .pair-label.chat-label { margin-bottom: 12px; color: var(--accent); font-size: 16px; font-weight: 700; line-height: 1.5; }
.chat-example .chat-label small { display: block; margin-top: 4px; color: var(--ink); font-size: 13px; font-weight: 400; }
.hero-figure > figcaption { max-inline-size: 52em; margin-top: 14px; color: var(--ink); font-size: 15px; line-height: 1.7; }
/* Sub block: heading vertically centred */
.subblock { align-items: center; }
/* Footer: tagline on the right */
.site-footer .container { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.site-footer .tagline { order: 2; margin-left: auto; text-align: right; }
.site-footer .footer-line { order: 1; margin-top: 0; }
/* Fixes: scene spacing, centred feature cards, step progress synced with the hero GIF */
.scene-grid li { gap: 22px; }
.scene-grid p { max-inline-size: 18em; }
.hero > .container > .feature-cards { max-width: 980px; margin-inline: auto; justify-content: center; }
.feature-cards li { align-items: center; }
.feature-cards .feature-icon { align-self: center; }
.flow-steps li { color: var(--muted); transition: color .2s; }
.flow-steps li b { background: var(--line); color: var(--ink); transition: background-color .2s, color .2s; }
.flow-steps li.is-active, .flow-steps li.is-static { color: var(--ink); }
.flow-steps li.is-active b, .flow-steps li.is-static b { background: var(--accent); color: #F7F6F2; }
.flow-steps li.is-done b { background: var(--accent-soft); color: var(--accent); }
/* Light App Store badge; horizontal scene cards; centred FAQ lead */
.store-badge, .store-badge[aria-disabled="true"] { background: var(--surface); color: var(--ink); border: 1px solid var(--ink); }
.store-badge[aria-disabled="true"] .store-badge-text small { color: var(--warm); }
.store-badge:not([aria-disabled]):hover { background: var(--accent-soft); }
.scene-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1080px; }
.scene-grid li { flex-direction: row; align-items: center; text-align: left; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.scene-icon { flex: none; width: 64px; height: 64px; border-radius: 16px; }
.scene-icon svg { width: 34px; height: 34px; }
.scene-grid p { max-inline-size: none; font-size: 15px; }
@media (max-width: 880px) { .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .scene-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } .scene-icon { width: 56px; height: 56px; } .scene-icon svg { width: 30px; height: 30px; } .scene-grid p { font-size: 14px; } }
#faq .section-head .prose p, #get .section-head .prose p { text-align: center; }
.hero > .container > .meta-line { text-align: center; }
/* Hero capabilities, framed as an editor annotation (Codex round) */
.hero-support { position: relative; margin-top: 40px; padding: 28px 24px 16px; border: 1px solid var(--accent); border-radius: 2px; background: var(--bg); }
.support-label { position: absolute; top: 0; left: 16px; transform: translateY(-50%); padding: 0 8px; background: var(--bg); color: var(--accent); font-size: 13px; font-weight: 700; line-height: 1.5; margin: 0; }
.support-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.support-list > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 14px; min-width: 0; padding: 4px 20px 8px; }
.support-list > li:first-child { padding-left: 0; }
.support-list > li:last-child { padding-right: 0; }
.support-list > li + li { border-left: 1px solid var(--line); }
.support-icon { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.support-copy h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.5; font-weight: 700; text-wrap: pretty; }
.support-copy p { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.8; }
.support-meta { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--accent); font-size: 12px; line-height: 1.6; }
h2.support-label { font-size: 13px; }
@media (max-width: 1100px) {
  .hero-support { margin-top: 32px; padding: 24px 20px 16px; }
  .support-list { grid-template-columns: minmax(0, 1fr); }
  .support-list > li { padding: 18px 0; }
  .support-list > li:first-child { padding-top: 0; }
  .support-list > li:last-child { padding-bottom: 0; }
  .support-list > li + li { border-left: 0; border-top: 1px solid var(--line); }
  .support-meta { flex-direction: column; }
}
.dest-list .dest-more { border: 0; background: transparent; padding-left: 4px; }
/* Flow steps: no top rule, pale disabled state, big arrows between the steps */
.flow-steps { gap: 44px; }
.flow-steps li { border-top: 0; padding-block: 4px 0; color: #BFC6C6; }
.flow-steps li small { color: inherit; }
.flow-steps li b { background: #E8EBE9; color: #BFC6C6; }
.flow-steps li.is-done b { background: #E8EBE9; color: #BFC6C6; }
.flow-steps li.is-active, .flow-steps li.is-static { color: var(--ink); }
.flow-steps li.is-active small, .flow-steps li.is-static small { color: var(--muted); }
.flow-steps li.is-active b, .flow-steps li.is-static b { background: var(--accent); color: #F7F6F2; }
.flow-steps li:not(:last-child)::after { content: "→"; right: -36px; top: 2px; width: 28px; text-align: center; font-size: 28px; line-height: 36px; color: #BFC6C6; }
@media (max-width: 640px) {
  .flow-steps { gap: 24px; }
  .flow-steps li:not(:last-child)::after { right: -22px; top: 0; width: 20px; font-size: 20px; line-height: 28px; }
}
/* Flow steps: content-width items so the arrow sits in the middle of each gap */
.flow-steps { display: flex; flex-wrap: wrap; gap: 12px 60px; }
.flow-steps li { flex: 0 0 auto; }
.flow-steps li:not(:last-child)::after { right: -44px; width: 28px; }
@media (max-width: 640px) {
  .flow-steps { gap: 8px 32px; }
  .flow-steps li:not(:last-child)::after { right: -26px; width: 20px; }
}
.hero-support { padding-bottom: 20px; }
/* Comparison: question -> instruction (Codex round) */
#communicate .pair-story { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 0 12px; align-items: start; }
.pair-story .pair-item { min-width: 0; margin: 0; }
.pair-story .pair-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--ink); font-size: 16px; font-weight: 700; }
.pair-story .pair-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pair-story .pair-tag { display: inline-block; min-height: 0; margin: 0; padding: 4px 7px; border: 1px solid var(--line); border-radius: 2px; background: var(--bg); color: var(--ink); font-size: 10px; line-height: 1.4; letter-spacing: .1em; }
.pair-story .pair-item .pair-tag::before { content: none; }
.pair-story .pair-item.after .pair-tag { background: var(--accent); border-color: var(--accent); color: #F7F6F2; }
.pair-story .after .pair-heading { color: var(--accent); }
.pair-story .after .pair-heading::after { background: var(--accent); }
.pair-story .pair-image { display: block; border: 1px solid var(--line); border-radius: 2px; }
.pair-story .after .pair-image { border-color: var(--accent); }
.pair-story .pair-image img { display: block; width: 100%; height: auto; border-radius: 2px; }
.pair-story .pair-image:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.pair-story .pair-verdict { position: relative; display: grid; gap: 4px; margin: 18px 0 0; padding: 16px; border-left: 2px solid var(--line); color: var(--ink); font-size: 14px; line-height: 1.7; }
.pair-story .pair-reader { font-size: 12px; }
.pair-story .pair-verdict strong { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; }
.pair-story .before .pair-verdict strong { color: var(--warm); }
.pair-story .after .pair-verdict { background: var(--accent-soft); border-color: var(--accent); }
.pair-story .after .pair-verdict strong { color: var(--accent); }
.pair-story .after .pair-verdict::before { content: ""; position: absolute; top: -12px; left: 64%; height: 12px; border-left: 1px solid var(--accent); }
.pair-story .pair-bridge { align-self: center; display: grid; justify-items: center; gap: 8px; color: var(--accent); font-size: 12px; font-weight: 700; }
.pair-story .pair-bridge svg { width: 48px; height: 24px; }
@media (max-width: 760px) {
  #communicate .pair-story { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pair-story .pair-bridge { display: flex; justify-content: center; gap: 12px; min-height: 48px; }
  .pair-story .pair-bridge svg { transform: rotate(90deg); }
  .pair-story .pair-heading { margin-bottom: 12px; }
  .pair-story .pair-verdict { margin-top: 16px; padding: 14px; }
}
/* Footer: everything on the right */
.site-footer .container { flex-direction: column; align-items: flex-end; gap: 6px; }
.site-footer .tagline { order: 1; margin-left: 0; }
.site-footer .footer-line { order: 2; justify-content: flex-end; }
