:root {
  --navy: #08233f;
  --navy-2: #123858;
  --blue: #d9ebf4;
  --blue-2: #edf7fb;
  --paper: #ffffff;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --ink: #17222d;
  --muted: #657380;
  --gold: #d8ae55;
  --gold-2: #b78a34;
  --line: rgba(8, 35, 63, 0.13);
  --glass-line: rgba(255, 255, 255, 0.54);
  --shadow: 0 26px 80px rgba(8, 35, 63, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 255, 255, 0.94), transparent 13rem),
    radial-gradient(circle at 82% 0%, rgba(217, 235, 244, 0.96), transparent 18rem),
    radial-gradient(circle at 50% 36%, rgba(216, 174, 85, 0.13), transparent 18rem),
    linear-gradient(180deg, #eaf6fb 0%, #f9fcfd 38%, #eef7fb 100%);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 72%, rgba(8, 35, 63, 0.14), transparent 14rem),
    radial-gradient(circle at 92% 54%, rgba(217, 235, 244, 0.9), transparent 15rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  pointer-events: none;
}

a {
  color: inherit;
}

.bio-shell {
  width: min(100%, 460px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 14px max(24px, env(safe-area-inset-bottom));
}

.hero,
.section-block,
.notice,
.footer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.18);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
}

.hero {
  padding: 23px 18px 18px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 50% -16%, rgba(217, 235, 244, 0.26), transparent 14rem),
    linear-gradient(165deg, rgba(8, 35, 63, 0.88), rgba(18, 56, 88, 0.74)),
    var(--navy);
}

.hero::after,
.section-block::after,
.notice::before,
.footer::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 34%);
  pointer-events: none;
}

.hero > *,
.section-block > *,
.notice > *,
.footer > * {
  position: relative;
  z-index: 1;
}

.wave {
  position: absolute;
  inset: auto -16% -38px -16%;
  height: 130px;
  opacity: 0.46;
  background:
    radial-gradient(90% 72% at 50% 0%, transparent 58%, rgba(217, 235, 244, 0.72) 59%, transparent 61%),
    radial-gradient(80% 70% at 50% 10%, transparent 61%, rgba(216, 174, 85, 0.22) 62%, transparent 64%);
  pointer-events: none;
}

.wave-top {
  inset: -70px -24% auto -24%;
  transform: rotate(180deg);
}

.crest {
  position: relative;
  z-index: 1;
  display: block;
  width: 56px;
  height: auto;
  margin: 0 auto 12px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.18));
}

.eyebrow,
.section-heading p,
.notice-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

em {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  margin: 8px auto 10px;
  font-size: clamp(1.9rem, 9.8vw, 3.08rem);
  line-height: 0.95;
}

.lead {
  position: relative;
  z-index: 1;
  max-width: 28ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.87);
  font-size: 0.92rem;
}

.lead em {
  color: rgba(216, 174, 85, 0.96);
  font-size: 1.08em;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.button,
.feature-link,
.area-card,
.notice-link {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.button,
.notice-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button em {
  color: inherit;
  font-size: 1.08em;
}

.button-primary {
  background: linear-gradient(180deg, rgba(232, 198, 112, 0.96), rgba(216, 174, 85, 0.92));
  color: #10243a;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.arrow {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  place-items: center;
  background: rgba(255, 255, 255, 0.84);
  color: var(--navy);
  font-weight: 800;
}

.section-block,
.notice,
.footer {
  margin-top: 12px;
  padding: 20px 14px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-heading span {
  width: 34px;
  height: 1px;
  background: currentColor;
  color: var(--gold);
}

.section-block h2,
.notice h2 {
  margin: 10px auto 16px;
  color: var(--navy);
  font-size: clamp(1.72rem, 7.6vw, 2.45rem);
  line-height: 1;
  text-align: center;
}

.area-grid,
.link-stack {
  display: grid;
  gap: 10px;
}

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

.area-card {
  position: relative;
  display: grid;
  min-height: 154px;
  grid-template-columns: 1fr;
  gap: 7px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 22px;
  color: var(--navy);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.92), transparent 4.5rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(237, 247, 251, 0.56));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 14px 34px rgba(8, 35, 63, 0.09);
  backdrop-filter: blur(20px) saturate(1.16);
  -webkit-backdrop-filter: blur(20px) saturate(1.16);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.area-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(217, 235, 244, 0.2));
}

.area-number {
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.area-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.05;
}

.area-card strong em {
  display: inline;
}

.area-card small,
.feature-link small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.28;
}

.area-card .arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  background: var(--navy);
  color: #fff;
}

.link-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(237, 247, 251, 0.46));
}

.feature-link {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 13px 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 26px rgba(8, 35, 63, 0.07);
  backdrop-filter: blur(18px) saturate(1.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  color: var(--navy);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-link strong {
  display: block;
  font-size: 1rem;
}

.feature-link strong em {
  font-size: 1.12em;
}

.feature-link.is-gold {
  border-color: rgba(216, 174, 85, 0.62);
  background: linear-gradient(135deg, rgba(216, 174, 85, 0.28), rgba(255, 255, 255, 0.62));
}

.feature-link .arrow {
  background: var(--navy);
  color: #fff;
}

.notice {
  padding: 22px 18px;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(8, 35, 63, 0.86), rgba(18, 56, 88, 0.72)),
    var(--navy);
}

.notice::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 160px;
  height: 110px;
  border: 1px solid rgba(217, 235, 244, 0.38);
  border-radius: 50%;
}

.notice h2 {
  margin-bottom: 10px;
  color: #fff;
  text-align: left;
}

.notice p:not(.notice-kicker) {
  max-width: 32ch;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.84);
}

.notice-link {
  min-height: 44px;
  padding: 0 18px;
  background: var(--gold);
  color: #10243a;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-bottom: 18px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(8, 35, 63, 0.08);
}

.seal {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 12px 22px rgba(8, 35, 63, 0.14));
}

.footer p {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer a {
  color: var(--muted);
  font-size: 0.86rem;
  text-underline-offset: 3px;
}

@media (hover: hover) {
  .button:hover,
  .notice-link:hover,
  .area-card:hover,
  .feature-link:hover {
    transform: translateY(-2px);
  }

  .area-card:hover,
  .feature-link:hover {
    border-color: rgba(216, 174, 85, 0.68);
    box-shadow: 0 16px 34px rgba(8, 35, 63, 0.1);
  }
}

.button:active,
.area-card:active,
.feature-link:active,
.notice-link:active {
  transform: scale(0.985);
}

.button:focus-visible,
.area-card:focus-visible,
.feature-link:focus-visible,
.notice-link:focus-visible,
.footer a:focus-visible {
  outline: 3px solid rgba(216, 174, 85, 0.74);
  outline-offset: 3px;
}

@media (min-width: 760px) {
  .bio-shell {
    width: min(100%, 720px);
    padding-top: 28px;
  }

  .hero {
    padding: 31px 31px 24px;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
  }

  .section-block,
  .notice,
  .footer {
    padding-right: 32px;
    padding-left: 32px;
  }

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

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