:root {
  color-scheme: light;
  --color-ink: #172033;
  --color-ink-soft: #334155;
  --color-muted: #64748b;
  --color-line: #dbe4ee;
  --color-line-strong: #c5d2df;
  --color-blue: #2f7dd1;
  --color-blue-dark: #1f62aa;
  --color-blue-soft: #eaf4ff;
  --color-blue-pale: #f5f9ff;
  --color-surface: #ffffff;
  --color-background: #f4f7fb;
  --color-success: #0f9488;
  --color-warning: #b7791f;
  --color-error: #c8324f;
  --shadow-sm: 0 10px 30px rgba(23, 32, 51, 0.08);
  --shadow-md: 0 24px 70px rgba(23, 32, 51, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --content-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(47, 125, 209, 0.4);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--color-ink);
  color: white;
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  min-height: 72px;
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--color-ink-soft);
  font-size: 0.92rem;
  font-weight: 750;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--color-blue-soft);
  color: var(--color-blue-dark);
}

.nav-toggle {
  display: none;
  min-width: 92px;
  min-height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: white;
  color: var(--color-ink);
  font-weight: 800;
}

.page-main {
  overflow: hidden;
}

.content-shell {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.hero {
  background:
    radial-gradient(circle at 80% 18%, rgba(47, 125, 209, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.hero__inner {
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  padding: clamp(64px, 8vw, 104px) 0;
}

.hero__inner > *,
.app-showcase > * {
  min-width: 0;
}

.kicker {
  margin: 0 0 14px;
  color: var(--color-blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.display-title,
.page-title,
.section-title,
.guide-title,
.guide-step h2,
.guide-step h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.display-title {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.65rem, 5.2vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.display-title__line {
  display: block;
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 600;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-blue);
  border-radius: 12px;
  background: var(--color-blue);
  color: white;
  padding: 0 22px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--color-blue-dark);
  background: var(--color-blue-dark);
}

.button--secondary {
  border-color: var(--color-line-strong);
  background: white;
  color: var(--color-ink);
}

.button--secondary:hover {
  border-color: var(--color-blue);
  background: var(--color-blue-soft);
  color: var(--color-blue-dark);
}

.hero__note {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(220px, 286px) minmax(210px, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
}

.iphone-16-pro-max {
  position: relative;
  display: block;
  overflow: hidden;
  width: min(100%, var(--iphone-frame-width));
  aspect-ratio: 77.6 / 163;
  border-radius: 11.2% / 5.33%;
  background: #111827;
  box-shadow: var(--iphone-frame-shadow);
}

.iphone-16-pro-max img {
  position: absolute;
  inset: 1.4657% 3.0788%;
  display: block;
  width: 93.8424%;
  height: 97.0686%;
  max-width: none;
  border-radius: 8.65% / 3.98%;
}

.iphone-16-pro-max--hero {
  --iphone-frame-width: 286px;
  --iphone-frame-shadow: var(--shadow-md);
  justify-self: end;
}

.download-card {
  align-self: center;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.download-card__eyebrow {
  margin: 0;
  color: var(--color-blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-card h2 {
  margin: 8px 0 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.download-card > p:not(.download-card__eyebrow) {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.65;
}

.store-badges {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.store-badge {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 2px solid #a6a6a6;
  border-radius: 11px;
  background: #000000;
  color: #ffffff;
  padding: 7px 12px;
  opacity: 1;
  text-align: left;
}

.store-badge:disabled {
  color: #ffffff;
  cursor: default;
}

.store-badge svg {
  display: block;
  width: 100%;
  height: 44px;
}

.store-badge__apple {
  fill: currentColor;
}

.store-badge__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  white-space: nowrap;
}

.store-badge__name {
  font-size: clamp(1.32rem, 2vw, 1.58rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.store-badge__caption {
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 650;
}

.text-link,
.header-link {
  color: var(--color-blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.download-card .text-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section--white {
  background: white;
}

.section--soft {
  background: var(--color-blue-pale);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.section-description {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 1.02rem;
  font-weight: 600;
}

.feature-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.guide-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.feature-card__image,
.guide-card__image {
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #edf5ff 0%, #f9fbff 100%);
  padding: 22px;
}

.iphone-16-pro-max--card {
  --iphone-frame-width: 150px;
  --iphone-frame-shadow: 0 18px 38px rgba(23, 32, 51, 0.18);
}

.feature-card__body,
.guide-card__body {
  padding: 24px;
}

.feature-card h3,
.guide-card h2,
.guide-card h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 850;
  line-height: 1.35;
}

.feature-card p,
.guide-card p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-weight: 600;
}

.guide-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: #a8c8ec;
  box-shadow: var(--shadow-md);
}

.guide-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.guide-card__meta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--color-blue-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

.overview-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: start-step;
}

.overview-step {
  counter-increment: start-step;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: white;
  padding: 26px;
}

.overview-step::before {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-blue-soft);
  color: var(--color-blue-dark);
  content: counter(start-step);
  font-weight: 900;
}

.overview-step h3 {
  margin: 18px 0 0;
  font-size: 1.16rem;
}

.overview-step p {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-weight: 600;
}

.store-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-radius: var(--radius-lg);
  background: var(--color-ink);
  color: white;
  padding: clamp(30px, 5vw, 52px);
}

.store-cta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.15;
}

.store-cta p {
  margin: 12px 0 0;
  color: #cbd5e1;
  font-weight: 600;
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: white;
  padding: 0 20px;
}

.faq-list summary {
  min-height: 58px;
  cursor: pointer;
  align-content: center;
  font-weight: 800;
}

.faq-list details p {
  margin: 0;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  padding: 16px 0 20px;
  font-weight: 600;
}

.site-footer {
  background: #111827;
  color: white;
  padding: 48px 0 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 40px;
}

.site-footer .brand {
  color: white;
}

.site-footer p {
  max-width: 720px;
  margin: 16px 0 0;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: #dbeafe;
  font-weight: 750;
}

.copyright {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  color: #94a3b8;
  font-size: 0.82rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--color-blue-dark);
}

.page-hero {
  border-bottom: 1px solid var(--color-line);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  padding: clamp(54px, 8vw, 88px) 0;
}

.page-hero__inner {
  max-width: 820px;
}

.page-title {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.page-lead {
  margin: 20px 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
  font-weight: 600;
}

.guide-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 78px);
  padding: clamp(52px, 7vw, 86px) 0 100px;
}

.guide-sidebar {
  position: sticky;
  top: 98px;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: white;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.guide-sidebar h2 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.guide-toc {
  display: grid;
  gap: 4px;
}

.guide-toc a {
  display: flex;
  min-height: 42px;
  align-items: center;
  border-radius: 9px;
  padding: 8px 10px;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
}

.guide-toc a:hover {
  background: var(--color-blue-soft);
  color: var(--color-blue-dark);
}

.guide-article {
  min-width: 0;
}

.guide-intro {
  border: 1px solid #bcd8f5;
  border-radius: var(--radius-md);
  background: var(--color-blue-soft);
  padding: 24px;
}

.guide-intro h2 {
  margin: 0;
  font-size: 1.28rem;
}

.guide-intro ul {
  margin: 12px 0 0;
  padding-left: 1.35em;
  color: var(--color-ink-soft);
  font-weight: 600;
}

.guide-steps {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.guide-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: start;
  gap: clamp(28px, 5vw, 58px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: white;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
}

.guide-step__content {
  min-width: 0;
}

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-blue);
  color: white;
  font-weight: 900;
}

.guide-step h2,
.guide-step h3 {
  margin: 18px 0 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.25;
}

.guide-step p {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-weight: 600;
}

.guide-step ul,
.guide-step ol {
  margin: 14px 0 0;
  padding-left: 1.35em;
  color: var(--color-ink-soft);
  font-weight: 600;
}

.notice {
  margin-top: 18px;
  border-left: 4px solid var(--color-blue);
  border-radius: 0 10px 10px 0;
  background: var(--color-blue-pale);
  color: var(--color-ink-soft);
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 650;
}

.notice--warning {
  border-left-color: #e5a72f;
  background: #fff9eb;
}

.guide-step__media {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.shot-link {
  display: block;
  width: min(100%, 330px);
  border-radius: 30px;
}

.shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 750 / 1630;
  border: 7px solid #111827;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 20px 52px rgba(23, 32, 51, 0.18);
  object-fit: contain;
}

.shot-caption {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8rem;
  text-align: center;
}

.shot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.shot-pair .shot-link {
  min-width: 0;
}

.shot-pair .shot {
  border-width: 5px;
  border-radius: 22px;
}

.guide-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.guide-next a {
  min-height: 110px;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: white;
  padding: 20px;
}

.guide-next small {
  display: block;
  color: var(--color-muted);
  font-weight: 700;
}

.guide-next strong {
  display: block;
  margin-top: 8px;
  color: var(--color-blue-dark);
  font-size: 1.08rem;
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: start;
  gap: clamp(34px, 6vw, 72px);
}

.search-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: white;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow-md);
}

.search-form {
  display: grid;
  gap: 14px;
}

.search-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.search-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--color-line-strong);
  border-radius: 10px;
  background: white;
  color: var(--color-ink);
  padding: 0 15px;
  font-weight: 650;
}

.search-form input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(47, 125, 209, 0.13);
  outline: 0;
}

.search-form button {
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  background: var(--color-blue);
  color: white;
  cursor: pointer;
  font-weight: 850;
}

.search-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.message {
  margin: 16px 0 0;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.94rem;
  font-weight: 750;
}

.message.info {
  background: var(--color-blue-soft);
  color: var(--color-blue-dark);
}

.message.empty {
  background: #f8fafc;
  color: var(--color-muted);
}

.message.error {
  background: #fff1f3;
  color: var(--color-error);
}

.results-section {
  padding: 0 0 clamp(72px, 9vw, 112px);
}

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--color-line);
  padding-top: 34px;
}

.results-meta {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.store-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.store-item {
  display: grid;
  gap: 12px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: white;
  padding: 20px;
}

.store-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.store-name {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 850;
}

.distance {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  background: #e8fbf7;
  color: var(--color-success);
  padding: 0 12px;
  font-size: 0.85rem;
  font-weight: 850;
}

.store-detail,
.store-hours {
  margin: 0;
  color: var(--color-muted);
  font-weight: 650;
}

.store-hours {
  color: var(--color-ink-soft);
  font-size: 0.92rem;
}

.download-page {
  min-height: 70vh;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-blue-pale) 100%);
}

.download-page__inner {
  padding: clamp(54px, 8vw, 96px) 0;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: center;
  gap: clamp(36px, 7vw, 84px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: white;
  padding: clamp(28px, 5vw, 58px);
  box-shadow: var(--shadow-sm);
}

.download-panel .page-title {
  max-width: 720px;
}

.download-panel__notice {
  margin-top: 26px;
  border-radius: 14px;
  background: var(--color-blue-pale);
  padding: 18px 20px;
}

.download-panel__notice h2 {
  margin: 0;
  font-size: 1.08rem;
}

.download-panel__notice p {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-weight: 600;
}

.download-panel__visual {
  overflow: hidden;
  width: min(100%, 280px);
  justify-self: center;
  border: 7px solid #111827;
  border-radius: 30px;
  background: #111827;
  box-shadow: var(--shadow-md);
}

.download-panel__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .hero__inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 38px;
  }

  .app-showcase {
    grid-template-columns: minmax(180px, 235px) minmax(170px, 1fr);
  }

  .feature-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }

  .guide-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 65px 0 auto;
    display: none;
    max-height: calc(100vh - 65px);
    align-items: stretch;
    overflow-y: auto;
    border-bottom: 1px solid var(--color-line);
    background: white;
    padding: 14px 20px 22px;
    box-shadow: var(--shadow-md);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    min-height: 48px;
    padding: 0 14px;
  }

  .hero__inner,
  .search-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    padding: 54px 0 72px;
  }

  .app-showcase {
    grid-template-columns: minmax(190px, 244px) minmax(180px, 1fr);
  }

  .overview-steps,
  .store-cta,
  .download-panel,
  .guide-step,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .guide-step__media {
    order: -1;
  }

  .store-cta .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .content-shell,
  .site-header__inner {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .display-title {
    font-size: clamp(2.2rem, 10.8vw, 2.65rem);
    line-height: 1.13;
  }

  .page-title {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .app-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 6px;
  }

  .iphone-16-pro-max--hero {
    --iphone-frame-width: 238px;
    justify-self: center;
    order: 2;
  }

  .download-card {
    width: 100%;
    order: 1;
  }

  .feature-grid,
  .guide-grid,
  .guide-toc,
  .guide-next {
    grid-template-columns: 1fr;
  }

  .feature-card__image,
  .guide-card__image {
    min-height: 330px;
  }

  .iphone-16-pro-max--card {
    --iphone-frame-width: 136px;
  }

  .download-panel__visual {
    width: 230px;
    order: -1;
  }

  .shot-pair {
    grid-template-columns: 1fr;
  }

  .shot-pair .shot-link {
    width: min(100%, 300px);
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
