@font-face {
  font-family: "Barlow Condensed Local";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/atkinson-hyperlegible-400.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible Local";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/atkinson-hyperlegible-700.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #171a17;
  --muted: #575e58;
  --line: #cfd4ce;
  --soft: #f6f7f3;
  --white: #fff;
  --gold: #e1a32c;
  --gold-dark: #c9880c;
  --green: #187244;
  --forest: #103c2b;
  --petrol: #245d66;
  --petrol-deep: #173f46;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--white);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Atkinson Hyperlegible Local", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

.ssu-support-page {
  color: var(--ink);
  background: var(--white);
  font-family: "Atkinson Hyperlegible Local", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button {
  font: inherit;
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Barlow Condensed Local", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  max-width: 700px;
  font-size: 5.5rem;
}

h2 {
  font-size: 3.7rem;
}

.support-title,
.contact-title,
.planning-title {
  margin: 0;
  font-family: "Barlow Condensed Local", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

.support-title {
  max-width: 700px;
  color: var(--white);
  font-size: 5.5rem;
}

.eyebrow,
.contact-intro,
.attachment-note,
.chat-status,
.privacy-disclosure,
.planning-copy,
.footer-tagline,
.footer-label {
  margin: 0;
}

p,
li {
  text-wrap: pretty;
}

.wrap {
  width: min(var(--max-width), calc(100% - 64px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  font-weight: 700;
  transform: translateY(-160%);
}

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

:focus-visible {
  outline: 3px solid #f2c46d;
  outline-offset: 3px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: var(--forest);
}

.nav-shell {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  width: 138px;
  height: auto;
  filter: grayscale(1) brightness(0) invert(1);
}

.brand-market {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a,
.mobile-menu a,
.nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover,
.mobile-menu a:hover,
.desktop-nav [aria-current="page"],
.mobile-menu [aria-current="page"] {
  text-decoration: underline;
}

.mobile-menu {
  display: none;
}

.route-intro {
  padding: 164px 0 72px;
  color: var(--white);
  background: var(--petrol-deep);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
  gap: 72px;
  align-items: end;
}

.route-label {
  margin-bottom: 16px;
  color: #f2d8a5;
  font-weight: 700;
}

.intro-copy {
  padding-top: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.86);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
}

.contact-start {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.eyebrow {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
}

.eyebrow-light {
  color: #f1cb72;
}

.contact-panel {
  width: min(760px, 100%);
  display: grid;
  gap: 18px;
  margin-inline: auto;
  padding: 34px;
  border-top: 5px solid var(--gold);
  color: var(--ink);
  background: var(--white);
}

.contact-panel h2,
.contact-title {
  font-size: 2.8rem;
}

.contact-intro {
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.chat-button {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border: 1px solid var(--gold-dark);
  border-radius: 2px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease-out, border-color 160ms ease-out;
}

.chat-button:hover {
  border-color: #a96d00;
  background: #edb43e;
}

.attachment-note,
.chat-status,
.privacy-disclosure {
  color: var(--muted);
  font-size: 0.86rem;
}

.attachment-note {
  font-weight: 700;
}

.chat-status {
  min-height: 22px;
}

.contact-alternatives {
  display: grid;
  border-top: 1px solid var(--line);
}

.contact-option {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.contact-option span,
.contact-option-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-option strong,
.contact-option-value {
  font-size: 0.92rem;
  text-align: right;
}

.contact-option:hover strong {
  color: var(--green);
  text-decoration: underline;
}

.privacy-disclosure a,
.privacy-copy a {
  color: var(--green);
  font-weight: 700;
}

.project-planning {
  padding: 96px 0 104px;
  background: var(--white);
}

.planning-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 38px 80px;
  align-items: start;
}

.planning-heading {
  display: grid;
  gap: 18px;
}

.planning-heading h2,
.planning-title {
  color: var(--petrol);
}

.planning-heading p:last-child,
.planning-copy {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.project-details li,
.project-detail {
  min-height: 58px;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.project-details li::before,
.project-detail::before {
  width: 7px;
  height: 7px;
  display: block;
  background: var(--gold);
  content: "";
}

.privacy-notice {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.privacy-notice summary,
.privacy-summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.privacy-notice summary::after {
  content: "+";
  color: var(--green);
  font-size: 1.5rem;
}

.privacy-notice[open] summary::after {
  content: "−";
}

.privacy-copy {
  max-width: 68ch;
  display: grid;
  gap: 12px;
  padding: 0 0 24px;
  font-size: 1rem;
  line-height: 1.55;
}

footer,
.support-footer {
  padding: 42px 0;
  color: var(--white);
  background: var(--petrol-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) minmax(300px, 1fr) minmax(160px, 0.6fr);
  gap: 48px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-mark {
  width: 140px;
  height: auto;
  filter: grayscale(1) brightness(0) invert(1);
}

.footer-brand p,
.footer-tagline,
.footer-label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.footer-label {
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.footer-links a,
.footer-contact a,
.footer-link,
.footer-phone {
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-monju {
  width: min(100%, 260px);
  display: grid;
  justify-items: start;
  justify-self: end;
  gap: 3px;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  text-decoration: none;
}

.footer-monju-name {
  margin-bottom: 6px;
  color: var(--white);
  font-family: "Barlow Condensed Local", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.footer-monju-discipline {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-monju-url {
  color: var(--gold);
  font-weight: 700;
}

.footer-monju-url,
.footer-monju-region {
  font-size: 0.86rem;
  line-height: 1.35;
}

.footer-monju-url:hover {
  text-decoration: underline;
}

.footer-monju-legal {
  margin-top: 8px;
  padding-top: 8px;
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

@media screen and (max-width: 991px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }

  .mobile-menu summary,
  .mobile-menu-summary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .menu-icon {
    width: 16px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
  }

  .mobile-menu nav,
  .mobile-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(280px, calc(100vw - 40px));
    display: grid;
    padding: 12px 18px;
    background: var(--forest);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-panel {
    max-width: 620px;
  }

  .planning-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .privacy-notice {
    grid-column: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-monju {
    justify-self: start;
  }
}

@media screen and (max-width: 767px) {
  .wrap {
    width: min(100% - 36px, var(--max-width));
  }

  .nav-shell {
    min-height: 76px;
  }

  .brand-mark {
    width: 104px;
  }

  .brand-market {
    padding-left: 9px;
    font-size: 0.62rem;
  }

  .route-intro {
    padding: 124px 0 48px;
  }

  h1,
  .support-title {
    font-size: 4.25rem;
  }

  h2,
  .planning-title {
    font-size: 3rem;
  }

  .contact-panel {
    gap: 16px;
    padding: 26px 20px;
  }

  .contact-start {
    padding: 54px 0;
  }

  .contact-panel h2,
  .contact-title {
    font-size: 2.35rem;
  }

  .contact-option {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 12px 0;
  }

  .contact-option strong,
  .contact-option-value {
    text-align: left;
  }

  .project-planning {
    padding: 68px 0 80px;
  }

  .project-details {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-monju {
    justify-self: start;
  }
}

@media screen and (max-width: 680px) {
  .brand-market {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}
