@import url("https://fonts.googleapis.com/css2?family=Jersey+15&family=Jersey+20&family=Space+Grotesk:wght@400;500;700;800&display=swap");

:root {
  color-scheme: light;
  --page-frame-width: 960px;
  --page-pad: 20px;
  --ink: #023048;
  --muted: rgba(2, 48, 72, 0.78);
  --line: rgba(2, 48, 72, 0.18);
  --glass-fill: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-glow: rgba(255, 255, 255, 0.16);
  --paper: rgba(255, 255, 255, 0.84);
  --accent: #fb8601;
  --support: #219ebd;
  --scrim: rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: #023048;
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
}

body::before {
  background-image: url("assets/assets/Backgrounds/mountain-sunset.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

body::after {
  background: var(--scrim);
  z-index: 1;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow:
    0 0 18px 1px var(--glass-glow),
    inset 0 1px 18px rgba(11, 14, 20, 0.07);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 9px auto 0;
  max-width: var(--page-frame-width);
  min-height: 80px;
  padding: 14px 16px;
  position: relative;
  width: calc(100% - var(--page-pad) - var(--page-pad));
  z-index: 20;
}

.brand {
  align-items: center;
  color: #2f2f2e;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: "Jersey 15", "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 36px;
  font-weight: 400;
  gap: 10px;
  letter-spacing: 0;
  line-height: 1;
  min-width: 0;
  padding: 2px 4px;
  white-space: nowrap;
}

.brand img {
  border-radius: 8px;
  height: 32px;
  width: 32px;
}

.nav {
  align-items: center;
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.nav a {
  align-items: center;
  background: rgba(2, 48, 72, 0.06);
  border: 1px solid rgba(2, 48, 72, 0.08);
  border-radius: 10px;
  color: var(--ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  white-space: nowrap;
}

.nav a[aria-current="page"] {
  background: #ffffff;
  border-color: rgba(33, 158, 189, 0.52);
  box-shadow: 0 8px 18px rgba(2, 48, 72, 0.08);
}

main {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: calc(var(--page-frame-width) + var(--page-pad) + var(--page-pad));
  min-width: 0;
  padding: 20px var(--page-pad) 40px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.page-hero,
.panel {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  box-shadow:
    0 0 26px var(--glass-glow),
    inset 0 1px 18px rgba(11, 14, 20, 0.07);
  min-width: 0;
  overflow: hidden;
  padding: 42px 48px;
  position: relative;
  width: 100%;
}

.panel {
  padding: 32px 36px;
}

.eyebrow {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 12px;
  opacity: 0.72;
  text-transform: uppercase;
}

h1 {
  color: var(--ink);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
  overflow-wrap: anywhere;
}

h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0 0 14px;
}

h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 24px 0 8px;
}

h1,
h2,
h3,
p,
li,
th,
td {
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 16px;
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.72;
  margin: 0;
  padding-left: 18px;
  position: relative;
}

li::before {
  background: var(--support);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.76em;
  width: 6px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  margin: 18px 0 0;
  max-width: 780px;
}

.panel p,
td {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.72;
}

.panel a,
.site-footer a {
  color: #035970;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.notice {
  border-color: rgba(251, 134, 1, 0.42);
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid .panel {
  height: 100%;
}

table {
  border-collapse: collapse;
  overflow-wrap: anywhere;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

th {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  width: 34%;
}

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

.button {
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(2, 48, 72, 0.24);
  box-shadow: none;
  color: var(--ink);
}

.panel .button {
  color: var(--ink);
  text-decoration: none;
}

.site-footer {
  padding: 0 var(--page-pad) 34px;
  position: relative;
  z-index: 2;
}

.site-footer-surface {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow:
    0 0 18px 1px var(--glass-glow),
    inset 0 1px 18px rgba(11, 14, 20, 0.07);
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: var(--page-frame-width);
  padding: 24px 28px;
  width: 100%;
}

.site-footer-main {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.site-footer-brand {
  color: #2f2f2e;
  display: inline-flex;
  font-family: "Jersey 15", "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 10px;
  text-decoration: none;
}

.site-footer .site-footer-brand {
  text-decoration: none;
}

.site-footer p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-end;
}

.site-footer-links a {
  align-items: center;
  background: rgba(2, 48, 72, 0.06);
  border: 1px solid rgba(2, 48, 72, 0.08);
  border-radius: 10px;
  color: var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  padding: 8px 11px;
  text-decoration: none;
}

.site-footer-meta {
  align-items: center;
  border-top: 1px solid rgba(2, 48, 72, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  padding-top: 16px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    border-radius: 16px;
    flex-direction: column;
    min-height: 0;
    padding: 12px;
  }

  .brand {
    font-family: "Jersey 20", "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 24px;
    font-weight: 800;
  }

  .brand img {
    height: 28px;
    width: 28px;
  }

  .nav {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    width: 100%;
  }

  .nav a {
    font-size: 13px;
    min-height: 35px;
    padding: 6px 10px;
    white-space: normal;
  }

  .page-hero,
  .panel {
    border-radius: 24px;
    padding: 30px 26px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

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

  .site-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 14px;
  }

  main {
    padding-top: 18px;
  }

  .page-hero,
  .panel {
    padding: 26px 22px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 22px;
  }

  th,
  td {
    display: block;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  th {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  .button {
    width: 100%;
  }
}
