/*
 * Riding Buddy 公開サイト共通スタイル（全ページのデザイントークンとレイアウト）。
 * 2026-09-04 のリデザイン（Codex作成のデザインサンプルを採用）。ライト/ダークは prefers-color-scheme で切替。
 * Webフォント（Noto Sans JP / Orbitron）は各ページの <head> で読み込む。
 */
:root {
  color-scheme: light dark;
  --bg: #f5f8fb;
  --bg-deep: #eaf1f6;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-soft: #eef4f8;
  --ink: #17232d;
  --ink-strong: #072f58;
  --muted: #526572;
  --line: #d7e2e9;
  --cyan: #087f9e;
  --cyan-bright: #00a9d5;
  --cyan-soft: #dff6fb;
  --orange: #dc7000;
  --orange-bright: #f5820a;
  --orange-soft: #fff0dd;
  --danger: #b94634;
  --danger-soft: #fff0ed;
  --shadow: 0 20px 60px rgba(9, 45, 70, 0.12);
  --shadow-soft: 0 10px 32px rgba(9, 45, 70, 0.08);
  --radius-sm: 0.75rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.8rem;
  --radius-xl: 2.5rem;
  --page: min(100% - 2rem, 72rem);
  --page-wide: min(100% - 2rem, 82rem);
  --font-sans: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Orbitron", "Noto Sans JP", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0e14;
    --bg-deep: #07111d;
    --surface: #101720;
    --surface-raised: #141e29;
    --surface-soft: #0d1924;
    --ink: #e8f0f2;
    --ink-strong: #f4f9fb;
    --muted: #a0b2bd;
    --line: #22303f;
    --cyan: #4cd5fa;
    --cyan-bright: #33c7f2;
    --cyan-soft: #102b38;
    --orange: #ff9f32;
    --orange-bright: #ff9218;
    --orange-soft: #352414;
    --danger: #ff8878;
    --danger-soft: #351d1d;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
    --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.24);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--orange);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: #fff;
  color: #09223a;
  padding: 0.65rem 1rem;
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(113, 153, 175, 0.18);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: var(--page-wide);
  min-height: 4.3rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.62rem;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-brand__mark {
  width: 2rem;
  aspect-ratio: 1;
  padding: 0.25rem;
  border: 1px solid rgba(51, 199, 242, 0.4);
  border-radius: 50%;
  background: #07111d;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--muted);
  padding: 0.55rem 0.68rem;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 46rem;
  overflow: hidden;
  background: #07111d;
  color: #e8f0f2;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: url("../img/hero-road.webp") center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 12, 22, 0.16), rgba(4, 12, 22, 0.84) 78%, #07111d),
    linear-gradient(90deg, rgba(4, 12, 22, 0.92) 0%, rgba(4, 12, 22, 0.66) 52%, rgba(4, 12, 22, 0.12));
  content: "";
}

.hero__grid {
  width: var(--page-wide);
  min-height: 46rem;
  margin-inline: auto;
  padding-block: 4rem 2.5rem;
  display: grid;
  align-content: center;
  gap: 2rem;
}

.hero__content {
  max-width: 43rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #70e1ff;
}

.hero h1 {
  max-width: 11em;
  margin: 0;
  font-size: clamp(2.5rem, 11vw, 5.5rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero h1 em {
  color: #69dcfa;
  font-style: normal;
}

.nowrap {
  white-space: nowrap;
}

.hero__lead {
  max-width: 38rem;
  margin: 1.3rem 0 0;
  color: #c3d4dc;
  font-size: clamp(1rem, 2.7vw, 1.18rem);
  line-height: 1.9;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(105, 220, 250, 0.65);
  border-radius: 999px;
  background: rgba(5, 23, 35, 0.82);
  color: #ecf8fb;
  padding: 0.64rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.status-pill::before {
  width: 0.58rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange-bright);
  box-shadow: 0 0 0 0.28rem rgba(255, 146, 24, 0.13), 0 0 1.2rem rgba(255, 146, 24, 0.8);
  content: "";
}

.hero__actions {
  margin-top: 1.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  background: var(--cyan-bright);
  color: #04121d;
  box-shadow: 0 0.75rem 2.5rem rgba(51, 199, 242, 0.22);
}

.button--primary:hover {
  background: #77e5ff;
  color: #04121d;
}

.button--ghost {
  border-color: rgba(232, 240, 242, 0.32);
  background: rgba(7, 17, 29, 0.42);
  color: #e8f0f2;
}

.button--ghost:hover {
  border-color: #69dcfa;
  color: #fff;
}

.app-icon-stage {
  position: relative;
  width: min(64vw, 18rem);
  margin-inline: auto;
}

.app-icon-stage::before {
  position: absolute;
  z-index: -1;
  inset: 15%;
  border-radius: 50%;
  background: rgba(51, 199, 242, 0.32);
  filter: blur(2rem);
  content: "";
}

.app-icon-stage img {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 23%;
  box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.48);
  transform: rotate(2deg);
}

.system-check {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin: -2rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid rgba(51, 199, 242, 0.28);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
}

.check-item {
  min-width: 0;
  padding: 1rem;
}

.check-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.check-item:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.check-item__top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.check-dot {
  width: 0.52rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--cyan-bright) 14%, transparent);
}

.check-item strong {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.check-item span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.section--tight {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section--deep {
  background: var(--bg-deep);
}

.section--line {
  border-block: 1px solid var(--line);
}

.container {
  width: var(--page);
  margin-inline: auto;
}

.container--wide {
  width: var(--page-wide);
  margin-inline: auto;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: clamp(2rem, 6vw, 3.5rem);
}

.section-heading h2,
.split-copy h2,
.cta-card h2,
.page-intro h1,
.article h1,
.not-found h1 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.85rem, 7vw, 3.55rem);
  letter-spacing: -0.045em;
  line-height: 1.28;
}

.section-heading p,
.page-intro__lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.12rem);
}

.split {
  display: grid;
  align-items: center;
  gap: 2rem;
}

.split__media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(51, 199, 242, 0.25);
  border-radius: var(--radius-xl);
  background: #07111d;
  box-shadow: var(--shadow);
}

.split__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.split__media::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  content: "";
  pointer-events: none;
}

.flow-list {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  min-height: 3.2rem;
  margin-top: 1rem;
  padding-left: 4rem;
  counter-increment: flow;
}

.flow-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.85rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--cyan) 40%, var(--line));
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--cyan);
  content: counter(flow, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
}

.flow-list strong {
  display: block;
  color: var(--ink-strong);
}

.flow-list span {
  color: var(--muted);
  font-size: 0.94rem;
}

.phone-strip {
  display: grid;
  grid-auto-columns: minmax(13rem, 72%);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem max(1rem, calc((100vw - 72rem) / 2)) 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--cyan) transparent;
}

.phone {
  scroll-snap-align: center;
  border: 1px solid var(--line);
  border-radius: 2.15rem;
  background: #08121f;
  padding: 0.48rem;
  box-shadow: var(--shadow-soft);
}

.phone img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 1.75rem;
  object-fit: cover;
}

.phone figcaption {
  margin: 0.7rem 0 0.35rem;
  color: #dce9ee;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.note {
  width: var(--page);
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.info-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 1.35rem;
}

.feature-card__index {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.feature-card h3,
.info-card h3,
.faq-card h3 {
  margin: 0.55rem 0 0.55rem;
  color: var(--ink-strong);
  font-size: 1.08rem;
  line-height: 1.5;
}

.feature-card p,
.info-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.limit-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--danger) 34%, var(--line));
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.limit-panel__title {
  padding: 1.5rem;
  background: var(--danger-soft);
}

.limit-panel__title .eyebrow {
  color: var(--danger);
}

.limit-panel__title h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.65rem, 6vw, 2.7rem);
  line-height: 1.35;
}

.limit-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.limit-list li {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 1rem 1rem 1rem 3rem;
  color: var(--muted);
}

.limit-list li::before {
  position: absolute;
  top: 1.18rem;
  left: 1rem;
  width: 1.15rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--danger-soft);
  color: var(--danger);
  content: "\00d7";
  font-weight: 800;
  line-height: 1;
}

.assurance-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.assurance-item {
  position: relative;
  padding-left: 2rem;
}

.assurance-item::before {
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 0.75rem;
  aspect-ratio: 1;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.16rem var(--surface), 0 0 0 0.18rem color-mix(in srgb, var(--cyan) 22%, transparent);
  background: var(--cyan);
  content: "";
}

.assurance-item strong {
  display: block;
  color: var(--ink-strong);
}

.assurance-item p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.store-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(51, 199, 242, 0.3);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 20%, rgba(51, 199, 242, 0.2), transparent 28rem),
    #07111d;
  color: #e8f0f2;
  padding: clamp(1.5rem, 6vw, 4rem);
  box-shadow: var(--shadow);
}

.store-card::after {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 22rem;
  aspect-ratio: 1;
  border: 1px solid rgba(51, 199, 242, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(51, 199, 242, 0.035), 0 0 0 6rem rgba(51, 199, 242, 0.025);
  content: "";
}

.store-card__body {
  position: relative;
  z-index: 1;
  max-width: 39rem;
}

.store-card h2 {
  margin: 0;
  color: #f4f9fb;
  font-size: clamp(1.75rem, 7vw, 3rem);
  line-height: 1.35;
}

.store-card p {
  color: #a9bdc8;
}

.store-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.store-placeholder {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  gap: 0.85rem;
  border: 1px dashed rgba(232, 240, 242, 0.38);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  color: #edf7fa;
  padding: 0.75rem 1rem;
}

.store-placeholder__symbol {
  width: 2rem;
  display: grid;
  place-items: center;
  color: #72dffa;
  font-family: var(--font-display);
  font-weight: 800;
}

.store-placeholder small,
.store-placeholder strong {
  display: block;
  line-height: 1.35;
}

.store-placeholder small {
  color: #90a9b6;
  font-size: 0.72rem;
}

.store-placeholder strong {
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.subpage {
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 5%, color-mix(in srgb, var(--cyan-bright) 9%, transparent), transparent 23rem),
    var(--bg);
}

.page-intro {
  width: var(--page);
  margin-inline: auto;
  padding-block: clamp(4rem, 10vw, 7rem) clamp(2.5rem, 7vw, 4rem);
}

.page-intro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 0.42rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-shell {
  width: var(--page);
  margin: 0 auto clamp(4rem, 10vw, 8rem);
  display: grid;
  gap: 1.5rem;
}

.article {
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(1.25rem, 5vw, 3.25rem);
  box-shadow: var(--shadow-soft);
}

.article .meta {
  margin: 0.35rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.article h2 {
  margin: 2.8rem 0 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
  color: var(--ink-strong);
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  line-height: 1.5;
}

.article p {
  margin: 0 0 1rem;
}

.article ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.article li {
  margin-bottom: 0.65rem;
}

.article li::marker {
  color: var(--cyan);
}

.article-aside {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  padding: 1.1rem;
}

.article-aside strong {
  color: var(--ink-strong);
}

.article-aside p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-grid {
  display: grid;
  gap: 1rem;
}

.faq-card {
  padding: clamp(1.2rem, 4vw, 1.7rem);
}

.faq-card h3 {
  margin: 0;
}

.faq-card p {
  margin-top: 0.65rem;
}

.info-card {
  padding: 1.3rem;
}

.info-card--accent {
  border-color: color-mix(in srgb, var(--cyan) 44%, var(--line));
  background: var(--cyan-soft);
}

.safety-hero-image {
  width: var(--page-wide);
  margin: 0 auto clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  border: 1px solid rgba(51, 199, 242, 0.28);
  border-radius: var(--radius-xl);
  background: #07111d;
  box-shadow: var(--shadow);
}

.safety-hero-image img {
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
}

.contact-card {
  margin-top: 2rem;
  border: 1px solid color-mix(in srgb, var(--orange) 38%, var(--line));
  border-radius: var(--radius-md);
  background: var(--orange-soft);
  padding: 1.2rem;
}

.contact-card p {
  margin: 0.3rem 0 0;
}

.not-found {
  min-height: calc(100vh - 4.3rem);
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
}

.not-found__card {
  width: min(100%, 42rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  padding: clamp(1.5rem, 8vw, 4rem);
  box-shadow: var(--shadow);
  text-align: center;
}

.not-found__code {
  margin: 0;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: clamp(4rem, 22vw, 9rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.not-found p:not(.not-found__code) {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.site-footer__inner {
  width: var(--page-wide);
  margin-inline: auto;
  padding-block: 2.2rem;
  display: grid;
  gap: 1.5rem;
}

.footer-brand p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-meta p {
  margin: 0.25rem 0 0;
}

@media (max-width: 35rem) {
  .site-header .site-brand span {
    display: none;
  }

  .site-header__inner {
    gap: 0.4rem;
  }

  .site-nav a {
    padding-inline: 0.58rem;
    font-size: 0.78rem;
  }
}

@media (min-width: 42rem) {
  :root {
    --page: min(100% - 3rem, 72rem);
    --page-wide: min(100% - 3rem, 82rem);
  }

  .site-nav {
    gap: 0.35rem;
  }

  .site-nav a {
    padding-inline: 0.9rem;
    font-size: 0.9rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
    align-items: center;
  }

  .system-check {
    grid-template-columns: repeat(4, 1fr);
  }

  .check-item:nth-child(n) {
    border: 0;
  }

  .check-item + .check-item {
    border-left: 1px solid var(--line);
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 7vw, 6rem);
  }

  .split--reverse .split__media {
    order: 2;
  }

  .phone-strip {
    grid-auto-columns: minmax(14rem, 22vw);
  }

  .card-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }

  .limit-panel {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .limit-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .limit-list li:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .assurance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-links {
    grid-template-columns: repeat(2, minmax(0, 14rem));
  }

  .faq-grid,
  .card-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer-meta {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .hero,
  .hero__grid {
    min-height: min(52rem, calc(100vh - 2rem));
  }

  .app-icon-stage {
    width: min(24vw, 21rem);
  }

  .phone-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: initial;
    gap: 1.25rem;
    overflow: visible;
  }

  .card-grid--four {
    grid-template-columns: repeat(4, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid--three {
    grid-template-columns: repeat(3, 1fr);
  }

  .article-shell {
    grid-template-columns: minmax(0, 1fr) 17rem;
    align-items: start;
  }

  .article-aside {
    position: sticky;
    top: 6rem;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
    color: #111;
  }

  .article {
    border: 0;
    box-shadow: none;
  }
}
