:root {
  font-family: Arial, Helvetica, Tahoma, sans-serif;
  color: #2f4052;
  background: #dbe3ec;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  padding: 20px 12px 38px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 3px),
    linear-gradient(to bottom, #f3f6f9, #d8e1ea 68%, #bccbd9);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: #164f84;
  text-underline-offset: 3px;
}

.page-shell {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid #788da2;
  background: white;
  box-shadow: 0 7px 22px rgba(41, 58, 76, 0.32);
}

.utility-bar {
  display: flex;
  justify-content: flex-end;
  min-height: 40px;
  padding: 8px 18px;
  border-bottom: 1px solid #71879f;
  background: linear-gradient(to bottom, #fafafa, #d8dee4);
  color: #536373;
  font-size: 14px;
}

.utility-bar nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility-bar a {
  color: #193f66;
  text-decoration: none;
}

.utility-bar a:hover,
.utility-bar a:focus-visible {
  text-decoration: underline;
}

.brand-header {
  display: flex;
  align-items: center;
  min-height: 158px;
  padding: 18px 35px;
  background:
    radial-gradient(circle at 17% 0%, rgba(255, 255, 255, 0.34), transparent 27%),
    linear-gradient(to bottom, #2c6ea7 0%, #0e4a80 50%, #07355f 100%);
  color: white;
}

.brand-mark {
  display: block;
  width: 112px;
  height: 112px;
  margin-right: 18px;
  object-fit: contain;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.42));
}

.brand-name,
.brand-subtitle {
  margin: 0;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 62px);
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1;
  text-shadow: 2px 3px #092d4f;
}

.brand-subtitle {
  margin-top: 6px;
  color: #d8e9f8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 6px;
}

.header-rule {
  height: 7px;
  border-top: 1px solid #fff4b4;
  border-bottom: 1px solid #9a7214;
  background: linear-gradient(to bottom, #ffe98d, #d4a42c);
}

main {
  padding: 58px 62px 64px;
}

.welcome-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 30px;
}

.welcome-hero-grid .welcome-section {
  margin-bottom: 0;
}

.section-kicker {
  margin: 0 0 9px;
  color: #557796;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: #153f69;
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 400;
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.2;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
  font-weight: 400;
}

.special-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #9dabb8;
  box-shadow: 0 3px 8px rgba(39, 65, 87, 0.09);
}

.special-panel > * {
  position: relative;
  z-index: 1;
}

.welcome-section {
  max-width: none;
  margin-bottom: 30px;
  padding: 48px;
  background: rgba(249, 253, 253, 0.88);
}

.welcome-texture {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  background: rgba(231, 246, 247, 0.34);
  opacity: 0.42;
}

.welcome-texture svg {
  display: block;
  width: 100%;
  height: 100%;
}

.matrix-field,
.texture-orbit {
  transform-box: fill-box;
  transform-origin: center;
}

.matrix-field-horizontal {
  animation: matrix-scroll-horizontal 8s ease-in-out infinite alternate;
}

.matrix-field-vertical {
  animation: matrix-scroll-vertical 6.5s ease-in-out infinite alternate;
}

.texture-orbit {
  fill: none;
  stroke: #1b8fa8;
  stroke-width: 1.2;
  opacity: 0.42;
}

.texture-orbit-outer {
  animation: orbit-enclose 7s ease-in-out infinite alternate;
}

.texture-orbit-inner {
  stroke: #44c7aa;
  animation: orbit-release 7s ease-in-out infinite alternate;
}

.texture-signal {
  fill: none;
  stroke: #1da9bd;
  stroke-width: 1.4;
  opacity: 0.42;
  stroke-dasharray: 8 7;
  animation: signal-travel 9s linear infinite;
}

@keyframes matrix-scroll-horizontal {
  from { transform: translateX(-28px) scaleX(0.96); opacity: 0.46; }
  to { transform: translateX(28px) scaleX(1.04); opacity: 0.82; }
}

@keyframes matrix-scroll-vertical {
  from { transform: translateY(-16px) scaleY(1.08); opacity: 0.28; }
  to { transform: translateY(16px) scaleY(0.92); opacity: 0.62; }
}

@keyframes orbit-enclose {
  from { transform: scale(1.08, 1.22); opacity: 0.18; }
  to { transform: scale(0.86, 0.78); opacity: 0.56; }
}

@keyframes orbit-release {
  from { transform: scale(0.78, 0.72); opacity: 0.54; }
  to { transform: scale(1.16, 1.28); opacity: 0.16; }
}

@keyframes signal-travel {
  to { stroke-dashoffset: -180; }
}

.welcome-section > p:not(.section-kicker) {
  max-width: 760px;
}

.welcome-lede {
  margin-bottom: 17px;
  color: #344f68;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.55;
}

.direction-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 31px 25px;
  border: 1px solid rgba(82, 187, 216, 0.42);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(36, 195, 207, 0.2), transparent 33%),
    radial-gradient(circle at 0% 100%, rgba(48, 102, 179, 0.22), transparent 40%),
    linear-gradient(155deg, #123d62 0%, #0a2945 58%, #061c30 100%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.18),
    0 18px 40px rgba(8, 33, 54, 0.24),
    0 3px 8px rgba(22, 43, 61, 0.18);
  color: #e7f0f7;
}

.direction-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -85px;
  right: -95px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(108, 225, 226, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(108, 225, 226, 0.035),
    0 0 0 58px rgba(108, 225, 226, 0.025);
}

.direction-panel h2 {
  margin-bottom: 22px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.5px;
  line-height: 1.12;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
}

.direction-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 11px;
  padding: 5px 9px;
  border: 1px solid rgba(109, 221, 224, 0.28);
  border-radius: 999px;
  background: rgba(88, 207, 211, 0.1);
  color: #8ee6e2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.direction-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.36;
  list-style: none;
}

.direction-panel li {
  position: relative;
  margin: 0;
  padding: 9px 10px 9px 31px;
  border: 1px solid rgba(169, 222, 233, 0.1);
  border-radius: 9px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.direction-panel li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 12px;
  width: 8px;
  height: 8px;
  border: 2px solid #72dfd8;
  border-radius: 3px;
  box-shadow: 0 0 9px rgba(74, 224, 216, 0.45);
  transform: rotate(45deg);
}

.direction-note {
  margin: 14px 0 0;
  padding: 12px 13px;
  border: 1px solid rgba(238, 194, 91, 0.32);
  border-radius: 9px;
  background: linear-gradient(100deg, rgba(238, 194, 91, 0.13), rgba(255, 255, 255, 0.025));
  color: #f3f7fa;
  font-size: 12px;
  line-height: 1.45;
}

.direction-note strong {
  display: block;
  margin-bottom: 3px;
  color: #f1cf78;
  font-size: 10px;
  letter-spacing: 1.5px;
}

.intelligence-panel {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.55fr);
  gap: 48px;
  margin-bottom: 30px;
  padding: 46px;
  border-color: #7599ad;
  background:
    linear-gradient(90deg, rgba(218, 241, 242, 0.84), rgba(246, 251, 251, 0.96)),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(24, 124, 145, 0.08) 47px 48px);
}

.intelligence-panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto -8% -82% 35%;
  height: 340px;
  border: 1px solid rgba(24, 151, 163, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(24, 151, 163, 0.035),
    0 0 0 70px rgba(24, 151, 163, 0.025);
}

.intelligence-heading h2 {
  margin-bottom: 0;
  font-size: 31px;
}

.intelligence-copy p {
  margin-bottom: 17px;
}

.intelligence-proof {
  padding: 14px 16px;
  border-left: 3px solid #168b9e;
  background: rgba(255, 255, 255, 0.58);
  color: #173f5a;
  font-weight: 700;
}

.intelligence-signoff {
  margin-bottom: 0 !important;
  color: #0b5067;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-style: italic;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.primary-button {
  display: inline-block;
  padding: 11px 21px;
  border: 1px solid #34630e;
  border-radius: 4px;
  background: linear-gradient(to bottom, #a8d64c, #5c981d 52%, #467c12);
  box-shadow: inset 0 1px white, 0 2px 3px rgba(38, 68, 11, 0.35);
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 1px 1px #345e11;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: linear-gradient(to bottom, #bee86b, #6eaa2a 52%, #4b8413);
}

.origin-section {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 38px;
  margin-bottom: 30px;
  padding: 42px;
  background: rgba(248, 251, 252, 0.94);
}

.origin-panel::before,
.values-panel::before,
.community-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -36px;
  pointer-events: none;
  animation: panel-texture-drift 13s ease-in-out infinite alternate;
}

.origin-panel::before {
  background:
    radial-gradient(ellipse at 8% 50%, rgba(44, 153, 169, 0.14), transparent 34%),
    repeating-linear-gradient(135deg, rgba(42, 121, 151, 0.05) 0 1px, transparent 1px 20px);
}

.values-panel::before {
  background:
    radial-gradient(ellipse at 88% 0%, rgba(207, 170, 52, 0.11), transparent 31%),
    repeating-linear-gradient(90deg, rgba(34, 100, 139, 0.045) 0 1px, transparent 1px 48px);
  animation-duration: 16s;
}

.community-panel::before {
  background:
    radial-gradient(ellipse at 22% 52%, transparent 0 22%, rgba(36, 147, 161, 0.1) 22.5% 23%, transparent 23.5% 34%, rgba(50, 166, 139, 0.08) 34.5% 35%, transparent 35.5%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.42), rgba(214, 234, 235, 0.24));
  animation-duration: 18s;
}

@keyframes panel-texture-drift {
  from { transform: translate(-12px, -8px) scale(1.01); }
  to { transform: translate(12px, 8px) scale(1.05); }
}

.section-label {
  padding-top: 8px;
  color: #66809a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.section-copy p,
.commitment-grid p,
.community-copy p {
  margin-bottom: 17px;
}

.section-copy p:last-child,
.commitment-grid p:last-child,
.community-copy p:last-child {
  margin-bottom: 0;
}

.commitment-section {
  margin-bottom: 30px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.94);
}

.commitment-section > h2 {
  max-width: 650px;
  margin-bottom: 35px;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #b4c0cb;
  border-bottom: 1px solid #b4c0cb;
}

.commitment-grid article {
  padding: 28px 28px 28px 0;
}

.commitment-grid article + article {
  padding-left: 28px;
  border-left: 1px solid #b4c0cb;
}

.community-section {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.25fr);
  gap: 46px;
  padding: 42px;
  background: rgba(239, 245, 247, 0.93);
}

.community-heading h2 {
  margin-bottom: 0;
}

.plain-notice {
  margin-top: 36px;
  padding: 17px 20px;
  border: 1px solid #d4ba5a;
  background: #fffbea;
  color: #554c2b;
  font-size: 15px;
  line-height: 1.55;
}

.site-footer {
  padding: 22px 24px;
  border-top: 1px solid #8699ab;
  background: linear-gradient(to bottom, #f1f3f5, #d7dde3);
  color: #566777;
  font-size: 13px;
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 9px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  body {
    padding: 0;
  }

  .page-shell {
    width: 100%;
    min-height: 100vh;
    border: 0;
  }

  .brand-header {
    min-height: 132px;
    padding: 15px 20px;
  }

  .brand-mark {
    width: 88px;
    height: 88px;
    margin-right: 12px;
  }

  .brand-subtitle {
    letter-spacing: 3px;
  }

  main {
    padding: 40px 24px 48px;
  }

  .origin-section,
  .community-section,
  .intelligence-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .welcome-hero-grid {
    grid-template-columns: 1fr;
  }

  .welcome-section,
  .origin-section,
  .commitment-section,
  .community-section {
    padding: 28px 24px;
  }

  .commitment-grid {
    grid-template-columns: 1fr;
  }

  .commitment-grid article,
  .commitment-grid article + article {
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid #b4c0cb;
  }

  .commitment-grid article:first-child {
    border-top: 0;
  }

}

@media (max-width: 480px) {
  .utility-bar {
    font-size: 13px;
  }

  .brand-name {
    font-size: 34px;
    letter-spacing: 1px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .matrix-field,
  .texture-orbit,
  .texture-signal,
  .origin-panel::before,
  .values-panel::before,
  .community-panel::before {
    animation: none;
  }
}
