:root {
  --base: #fafafa;
  --paper: #ffffff;
  --text: #2d3436;
  --muted: #738083;
  --line: #eceff0;
  --pink: #ffb7c5;
  --mint: #b5ead7;
  --orange: #ff6b35;
  --yellow: #ffd93d;
  --coral: #ff4757;
  --shadow: 0 24px 70px rgba(45, 52, 54, 0.11);
  --radius: 8px;

  /* ボタン配色の単一ソース（guide-common.css と同値）。
     申込フォーム（/form/reserve/）へのCTAだけオレンジ、それ以外のボタンは白。 */
  --btn-order-bg: var(--orange);
  --btn-order-text: var(--paper);
  --btn-order-shadow: 0 6px 18px rgba(255, 107, 53, 0.24);
  --btn-plain-bg: var(--paper);
  --btn-plain-text: var(--text);
  --btn-plain-border: #d8dcdd;
  --btn-plain-hover-bg: #fafafa;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--text);
  background: var(--base);
  font-family: "Kosugi Maru", system-ui, sans-serif;
  letter-spacing: 0;
}

body {
  min-width: 320px;
  margin: 0;
  padding: 0 0 86px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 217, 61, 0.24), transparent 22%),
    radial-gradient(circle at 82% 22%, rgba(255, 183, 197, 0.34), transparent 24%),
    linear-gradient(120deg, rgba(181, 234, 215, 0.34), transparent 30%, transparent 68%, rgba(255, 183, 197, 0.32)),
    var(--base);
}

body,
button,
input {
  font-family: "Kosugi Maru", system-ui, sans-serif;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header,
.top-page,
.site-footer {
  width: min(100%, 760px);
  margin: 0 auto;
  background: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-text {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.2;
}

.header-cta,
.school-cta,
.fixed-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius);
  font-weight: 900;
}

.header-cta {
  padding: 0 18px;
  color: var(--paper);
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(255, 107, 53, 0.22);
}

.top-page {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero {
  padding: 22px 20px 30px;
}

.hero-visual {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mint);
  box-shadow: 0 12px 28px rgba(45, 52, 54, 0.1);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.concept {
  margin: 26px 0 8px;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 900;
}

.lead {
  margin: 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
}

.philosophy-section,
.quick-actions,
.category-section,
.pickup-section,
.luna-section,
.data-section {
  padding: 28px 20px;
  border-bottom: 1px solid #ebebeb;
}

.philosophy-section {
  text-align: center;
}

.philosophy-section h2 {
  margin-bottom: 10px;
}

.philosophy-section p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.philosophy-section .philosophy-lead {
  margin-top: 0;
  color: var(--text);
  font-weight: 900;
}

h2 {
  margin: 0 0 18px;
  font-size: 1.25rem;
  font-weight: 900;
}

.action-list {
  display: grid;
  gap: 10px;
}

.action-item {
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  align-items: center;
  min-height: 68px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(45, 52, 54, 0.04);
}

.action-item::after {
  content: "›";
  color: var(--muted);
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

.action-primary {
  border-color: var(--yellow);
  background: #ffd700;
  box-shadow: 0 10px 24px rgba(255, 217, 61, 0.18);
}

.action-icon {
  font-size: 1.35rem;
}

.tile-grid,
.chip-grid {
  display: grid;
  gap: 10px;
}

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

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

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

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
}

.tile span {
  font-size: 1.8rem;
}

.tile strong {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 900;
}

.tile small {
  margin-top: 6px;
  color: var(--muted);
  font-family: "Poppins", "Kosugi Maru", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
}

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

.chip-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-weight: 700;
}

.pickup-heading {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.pickup-heading img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.pickup-heading h2 {
  margin-bottom: 5px;
}

.pickup-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.pickup-list {
  display: grid;
  gap: 10px;
}

.school-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.school-info {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.school-number {
  color: #a98f00;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

.school-number {
  font-size: 1.35rem;
}

.school-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.school-card p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.school-card .school-comment {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 0;
  font-size: 0.75rem;
}

.school-comment-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.school-card .school-badge {
  display: inline-flex;
  width: fit-content;
  margin: 4px 0 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(181, 234, 215, 0.38);
  color: #356e5c;
  font-size: 0.68rem;
  font-weight: 900;
}

.school-card .school-badge--kokoro {
  background: rgba(255, 183, 197, 0.22);
  color: #a13f57;
}

.school-cta {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 4px;
  max-width: 420px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--text);
  border: 1px solid var(--btn-plain-border);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 6px 14px rgba(229, 196, 0, 0.3);
  font-size: 0.9rem;
  white-space: nowrap;
}

.luna-bubble {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
}

.luna-bubble__image {
  width: 64px;
  height: 64px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(255, 183, 197, 0.28);
}

.luna-bubble__content {
  padding: 16px;
  border: 1px solid rgba(255, 183, 197, 0.8);
  border-radius: var(--radius);
  background: rgba(255, 183, 197, 0.1);
}

.luna-bubble__label {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.95rem;
  font-weight: 900;
}

.luna-bubble__content p:last-child {
  margin: 0;
  line-height: 1.85;
}

.data-card {
  padding: 28px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
}

.data-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.data-card a {
  color: #a98f00;
  font-weight: 900;
}

.site-footer {
  padding: 30px 20px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer-text-logo {
  justify-content: center;
  color: rgba(45, 52, 54, 0.45);
  font-family: "Poppins", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.site-footer p {
  margin: 12px 0 18px;
  color: var(--text);
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-bottom: 18px;
  font-size: 0.78rem;
}

.site-footer small {
  font-family: "Poppins", "Kosugi Maru", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}

.fixed-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.fixed-actions a {
  color: var(--text);
}

.fixed-actions a:last-child {
  color: var(--paper);
  background: var(--orange);
}

.fixed-actions--space-check {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  body {
    padding-top: 28px;
  }

  .site-header {
    border-radius: 28px 28px 0 0;
  }

  .site-footer {
    border-radius: 0 0 28px 28px;
    margin-bottom: 34px;
  }
}

.desktop-world {
  display: none;
}

@media (min-width: 980px) {
  :root {
    --desktop-rail: clamp(300px, 30vw, 420px);
    --desktop-main: min(760px, calc(100vw - var(--desktop-rail) - 48px));
    --desktop-main-offset: max(24px, calc((100vw - var(--desktop-rail) - var(--desktop-main)) / 2));
  }

  body {
    position: relative;
    min-height: 100vh;
    background:
      radial-gradient(circle at 13% 12%, rgba(255, 217, 61, 0.28), transparent 18%),
      radial-gradient(circle at 86% 16%, rgba(255, 183, 197, 0.45), transparent 22%),
      radial-gradient(circle at 72% 76%, rgba(181, 234, 215, 0.36), transparent 24%),
      linear-gradient(120deg, #fff7fa 0%, #fafafa 34%, #f7fffb 68%, #fff9ed 100%);
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
      linear-gradient(rgba(255, 183, 197, 0.18) 1px, transparent 1px),
      linear-gradient(90deg, rgba(181, 234, 215, 0.18) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, #000, transparent 44%, transparent 56%, #000);
  }

  .site-header,
  .top-page,
  .site-footer {
    position: relative;
    z-index: 5;
    width: var(--desktop-main);
    margin-right: 0;
    margin-left: var(--desktop-main-offset);
  }

  .hero,
  .philosophy-section,
  .quick-actions,
  .category-section,
  .pickup-section,
  .luna-section,
  .data-section {
    padding-right: 32px;
    padding-left: 32px;
  }

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

  .tile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .chip-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .school-card {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 116px;
    padding: 16px;
  }

  .school-cta {
    grid-column: 3;
    grid-row: 1 / 3;
    margin-top: 0;
    min-width: 108px;
  }

  .desktop-world {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    width: max(220px, calc((100vw - 520px) / 2));
    pointer-events: none;
  }

  .desktop-world-left {
    display: none;
  }

  .desktop-world-right {
    right: 0;
    width: var(--desktop-rail);
    padding: 112px max(24px, 4vw) 40px 24px;
  }

  .world-copy {
    max-width: 310px;
  }

  .world-label {
    margin: 0 0 12px;
    color: var(--orange);
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
  }

  .world-title {
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5.4rem);
    font-weight: 900;
    line-height: 1.05;
  }

  .world-text {
    max-width: 260px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.9;
  }

  .road-line {
    position: absolute;
    left: max(44px, 7vw);
    bottom: 8vh;
    width: min(360px, 30vw);
    height: 118px;
    border-bottom: 12px solid rgba(45, 52, 54, 0.18);
    border-left: 12px solid rgba(45, 52, 54, 0.18);
    border-radius: 0 0 0 120px;
    transform: rotate(-12deg);
  }

  .road-line::before,
  .road-line::after {
    content: "";
    position: absolute;
    bottom: -12px;
    width: 56px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
  }

  .road-line::before {
    left: 90px;
  }

  .road-line::after {
    left: 190px;
  }

  .world-moon {
    position: absolute;
    top: 68px;
    left: min(340px, 28vw);
    width: 72px;
    height: 72px;
    border-right: 12px solid var(--yellow);
    border-bottom: 12px solid var(--yellow);
    border-radius: 50%;
    transform: rotate(-22deg);
  }

  .world-star,
  .world-dot {
    position: absolute;
    display: block;
  }

  .world-star {
    width: 24px;
    height: 24px;
    background: var(--yellow);
    clip-path: polygon(50% 0%, 61% 34%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 34%);
    filter: drop-shadow(0 6px 10px rgba(255, 217, 61, 0.35));
  }

  .world-star-one {
    top: 220px;
    left: 18vw;
  }

  .world-star-two {
    top: 58vh;
    left: 7vw;
    width: 18px;
    height: 18px;
    background: var(--pink);
  }

  .world-star-three {
    top: 17vh;
    right: 8vw;
    background: var(--yellow);
  }

  .world-dot {
    border-radius: 999px;
    background: var(--mint);
  }

  .world-dot-one {
    top: 44vh;
    left: 4vw;
    width: 64px;
    height: 64px;
    opacity: 0.55;
  }

  .world-dot-two {
    right: 16px;
    bottom: 18vh;
    width: 110px;
    height: 110px;
    background: rgba(255, 183, 197, 0.35);
  }

  .world-dot-three {
    right: 3vw;
    bottom: 13vh;
    width: 96px;
    height: 96px;
    background: rgba(181, 234, 215, 0.6);
  }

  .right-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .right-decor span {
    position: absolute;
    display: block;
  }

  .right-decor-moon {
    top: 38px;
    right: max(24px, 3vw);
    width: 68px;
    height: 68px;
    border-right: 11px solid var(--yellow);
    border-bottom: 11px solid var(--yellow);
    border-radius: 50%;
    filter: drop-shadow(0 8px 14px rgba(255, 217, 61, 0.28));
    transform: rotate(-22deg);
  }

  .right-decor-diamond {
    top: 54px;
    left: 28px;
    width: 34px;
    height: 34px;
    border: 4px solid rgba(181, 234, 215, 0.9);
    transform: rotate(24deg);
  }

  .right-decor-ring {
    top: 238px;
    right: 18px;
    width: 46px;
    height: 46px;
    border: 5px solid rgba(255, 183, 197, 0.68);
    border-radius: 50%;
  }

  .right-decor-triangle {
    top: 248px;
    left: 26px;
    width: 42px;
    height: 38px;
    background: rgba(255, 217, 61, 0.5);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    transform: rotate(-12deg);
  }

  .right-decor-line {
    top: 88px;
    left: 92px;
    width: 72px;
    border-top: 4px dotted rgba(255, 183, 197, 0.72);
    transform: rotate(-8deg);
  }

  .side-balloon {
    position: absolute;
    top: 118px;
    right: max(28px, 7vw);
    width: min(280px, 22vw);
    min-height: 92px;
    padding: 18px 20px;
    border: 2px solid rgba(255, 183, 197, 0.82);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 38px rgba(45, 52, 54, 0.1);
    color: var(--text);
    font-weight: 900;
    line-height: 1.75;
    z-index: 1;
  }

  .side-balloon::after {
    content: "";
    position: absolute;
    right: 42px;
    bottom: -15px;
    width: 26px;
    height: 26px;
    border-right: 2px solid rgba(255, 183, 197, 0.82);
    border-bottom: 2px solid rgba(255, 183, 197, 0.82);
    background: rgba(255, 255, 255, 0.88);
    transform: rotate(45deg);
  }

  .side-luna {
    position: absolute;
    right: max(12px, 4vw);
    bottom: max(24px, 8vh);
    width: min(340px, 27vw);
    aspect-ratio: 472 / 512;
    border-radius: 24px;
    background: var(--paper);
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 24px 52px rgba(45, 52, 54, 0.16);
    z-index: 1;
  }

  .side-luna.is-changing {
    animation: side-luna-change 0.32s ease-out;
  }

  .fixed-actions {
    position: fixed;
    right: max(28px, 4vw);
    bottom: 28px;
    left: auto;
    z-index: 40;
    width: 220px;
    margin: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 183, 197, 0.72);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(45, 52, 54, 0.16);
  }

  .fixed-actions a {
    min-height: 48px;
  }

  .fixed-actions a:first-child {
    color: var(--orange);
    border: 1px solid rgba(255, 107, 53, 0.35);
    background: rgba(255, 255, 255, 0.72);
  }
}

@media (max-width: 390px) {
  .site-header {
    min-height: 66px;
    padding: 14px 16px;
  }

  .hero,
  .philosophy-section,
  .quick-actions,
  .category-section,
  .pickup-section,
  .luna-section,
  .data-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-visual {
    min-height: 0;
  }

  .school-card {
    grid-template-columns: 28px 1fr;
  }

  .luna-bubble {
    grid-template-columns: 58px 1fr;
    gap: 10px;
  }

  .luna-bubble__image {
    width: 52px;
    height: 52px;
  }
}

@keyframes side-luna-change {
  from {
    opacity: 0.35;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------------
   グローバルナビ（ドロワー）
------------------------------------------------------------------ */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle-icon {
  position: relative;
  /* 上下のバーは絶対配置で行の高さに入らないため、margin で 6px ずつ場所を確保する。
     これがないと MENU の文字が下のバーに重なり、アイコン全体も上寄りになる。 */
  margin: 6px 0;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after  { top: 6px; }

.nav-toggle-label {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* z-index の並び: .site-header 20 < .fixed-actions 30（PC は 40）< .nav-overlay 50 < .global-nav 60。
   PC の右下固定 CTA が 40 なので、ドロワーは必ずそれより上に重ねる。 */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(45, 52, 54, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-overlay.is-visible {
  opacity: 1;
}

.global-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: min(84vw, 320px);
  height: 100%;
  padding: 18px 20px 28px;
  overflow-y: auto;
  background: var(--paper);
  box-shadow: -18px 0 50px rgba(45, 52, 54, 0.16);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-overflow-scrolling: touch;
}

.global-nav.is-open {
  transform: translateX(0);
}

.global-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.global-nav-title {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.global-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.global-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav-list a {
  display: block;
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.global-nav-list a[aria-current="page"] {
  color: var(--orange);
}

.global-nav-subtitle {
  margin: 20px 0 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.global-nav-list-sub a {
  padding: 10px 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.global-nav-actions {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.global-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--orange);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(255, 107, 53, 0.22);
}

.global-nav-cta-sub {
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
}

.nav-open {
  overflow: hidden;
}

@media (max-width: 390px) {
  .header-actions {
    gap: 6px;
  }

  .header-cta {
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-nav,
  .nav-overlay,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    transition: none;
  }
}
