@font-face {
  font-family: "Tabiato Sans";
  src: local("Hiragino Kaku Gothic ProN"), local("Yu Gothic");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f1e7;
  --surface: #fffaf3;
  --ink: #49372e;
  --muted: #796a60;
  --coral: #e8896b;
  --coral-deep: #bd4a39;
  --sky: #a9c7d8;
  --sky-deep: #557a8f;
  --sage: #a9b89a;
  --sage-deep: #657957;
  --line: rgba(73, 55, 46, 0.14);
  --shadow: 0 26px 80px rgba(84, 61, 48, 0.13);
  --sans: "Tabiato Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 9%, rgba(169, 199, 216, 0.28), transparent 28rem),
    radial-gradient(circle at 4% 48%, rgba(232, 137, 107, 0.13), transparent 25rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  transform: translateY(-180%);
}

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sky-deep);
  outline-offset: 5px;
}

.support-header,
.support-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.support-header {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(57, 94, 159, 0.2);
}

.support-header nav,
.support-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2rem;
}

.support-header nav a,
.support-footer nav a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.support-header nav a:hover,
.support-footer nav a:hover { color: var(--coral-deep); }

main { overflow: hidden; }

.support-hero,
.quick-help,
.faq-section,
.contact-section {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1.05fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
  min-height: 680px;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--coral-deep);
  font-family: Georgia, var(--serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.05em;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
}

h1 em {
  color: var(--coral-deep);
  font-style: normal;
}

.lede {
  max-width: 36rem;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.13rem);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.2rem;
  padding: 0.78rem 1.35rem;
  background: var(--ink);
  color: var(--surface);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(73, 55, 46, 0.18);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-link span { color: var(--coral); }

.route-board {
  position: relative;
  padding: 1.25rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(73, 55, 46, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 55, 46, 0.045) 1px, transparent 1px),
    rgba(255, 250, 243, 0.88);
  background-size: 28px 28px;
  border: 1px solid var(--line);
  border-radius: 3px 3px 34px 3px;
  box-shadow: var(--shadow);
  color: var(--coral-deep);
  transform: rotate(1.8deg);
}

.route-board::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(73, 55, 46, 0.1);
  content: "";
  pointer-events: none;
}

.board-label {
  position: absolute;
  top: 2rem;
  left: 2rem;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.route-board svg { display: block; width: 100%; height: auto; }

.route-stop circle {
  fill: var(--surface);
  stroke: var(--coral-deep);
  stroke-width: 4;
}

.route-stop text {
  fill: var(--coral-deep);
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 800;
  text-anchor: middle;
}

.route-board dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -1rem 1rem 1rem;
  color: var(--ink);
}

.route-board dl div { padding: 0.7rem; border-left: 1px solid var(--line); }
.route-board dt { color: var(--coral-deep); font-size: 0.65rem; font-weight: 900; }
.route-board dd { margin: 0.15rem 0 0; font-family: var(--serif); font-weight: 800; }

.quick-help {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading h2,
.faq-intro h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
  border: 1px solid var(--line);
  border-radius: 2px 2px 24px 2px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(84, 61, 48, 0.08);
}

.help-grid a {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 1.5rem;
  background: rgba(255, 250, 243, 0.62);
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.help-grid a:last-child { border-right: 0; }
.help-grid a:hover { background: var(--surface); transform: translateY(-4px); }

.help-number { color: var(--coral-deep); font-family: Georgia, serif; font-size: 0.68rem; font-weight: 900; }
.help-grid strong { margin-top: auto; font-family: var(--serif); font-size: 1.15rem; }
.help-grid small { margin-top: 0.25rem; color: var(--muted); }

.faq-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.faq-intro { position: sticky; top: 2rem; align-self: start; }
.faq-intro > p:last-child { max-width: 18rem; color: var(--muted); }

.faq-list { border-top: 1px solid var(--line); }

details { border-bottom: 1px solid var(--line); }

summary {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1.7rem 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary span { color: var(--coral-deep); font-family: Georgia, serif; font-size: 0.68rem; }
summary::after { color: var(--coral-deep); content: "+"; font-family: Georgia, serif; font-size: 1.35rem; }
details[open] summary::after { content: "−"; }

.answer {
  padding: 0 2.2rem 1.8rem 3rem;
  color: var(--muted);
}

.answer p { margin: 0 0 0.8rem; }
.answer a { color: var(--coral-deep); font-weight: 800; text-underline-offset: 0.25em; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 7rem);
  background: var(--ink);
  color: var(--surface);
  border-radius: 3px 3px 42px 3px;
  box-shadow: var(--shadow);
}

.contact-section > div:first-child > p:last-child { max-width: 36rem; color: rgba(255, 250, 243, 0.68); }

.contact-card {
  padding: 1.6rem;
  background: rgba(255, 250, 243, 0.08);
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-radius: 2px 2px 20px 2px;
}

.contact-card > span {
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.support-email {
  display: block;
  margin-top: 0.8rem;
  color: #ffd0bf;
  font-size: 0.92rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-underline-offset: 0.25em;
}

.contact-card p { margin: 0.8rem 0 0; color: rgba(255, 250, 243, 0.6); font-size: 0.78rem; }

.support-footer {
  min-height: 180px;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.support-footer small { color: var(--muted); }

@media (max-width: 860px) {
  .support-header nav a:not(:last-child) { display: none; }
  .support-hero { grid-template-columns: 1fr; min-height: auto; }
  .route-board { width: min(600px, 100%); margin: 0 auto; }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .help-grid a:nth-child(2) { border-right: 0; }
  .help-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-section { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .contact-section { grid-template-columns: 1fr; padding: 3rem 2rem; }
  .support-footer { flex-wrap: wrap; padding: 2.5rem 0; }
}

@media (max-width: 560px) {
  .support-header,
  .support-footer,
  .support-hero,
  .quick-help,
  .faq-section,
  .contact-section { width: min(100% - 1.5rem, 1160px); }

  .support-header { min-height: 74px; }
  .support-header nav { display: none; }
  .support-hero { padding-top: 3.5rem; }
  h1 { font-size: clamp(2.7rem, 15vw, 4rem); }
  .route-board { padding: 0.55rem; }
  .route-board dl { margin: -0.5rem 0.4rem 0.5rem; font-size: 0.72rem; }
  .route-board dl div { padding: 0.4rem; }
  .help-grid { grid-template-columns: 1fr; }
  .help-grid a { min-height: 145px; border-right: 0; border-bottom: 1px solid var(--line); }
  .help-grid a:last-child { border-bottom: 0; }
  summary { grid-template-columns: 1.8rem 1fr auto; font-size: 1rem; }
  .answer { padding-left: 0; padding-right: 0; }
  .contact-section { padding: 2.4rem 1.25rem; border-radius: 2px 2px 26px 2px; }
  .support-footer nav { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .help-grid a { transition: none; }
}
