:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --ink: #243b32;
  --muted: #616960;
  --line: #dcded4;
  --green: #244e3d;
  --focus: #244e3d;
  --surface: #eeeee6;
  --status: #626958;
  --dock: rgba(250, 250, 246, 0.96);
  --dock-hover: #e7ebe1;
  --shadow:
    0 12px 40px rgba(25, 43, 32, 0.14), 0 2px 6px rgba(25, 43, 32, 0.05);
  --serif: Georgia, "Times New Roman", serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #17211d;
  --ink: #e7ece2;
  --muted: #b2bdb1;
  --line: #36473b;
  --green: #315d46;
  --focus: #c4d9a9;
  --surface: #222f27;
  --status: #c5c9ac;
  --dock: rgba(34, 47, 39, 0.96);
  --dock-hover: #394c3d;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-bottom: 120px;
}
body {
  margin: 0;
  padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #d9e3c8;
  color: #183628;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 6px;
  border-radius: 2px;
}
svg {
  display: block;
  flex-shrink: 0;
}
h1,
h2,
p {
  margin: 0;
}
.container {
  width: min(1080px, calc(100% - 64px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 10;
  padding: 10px 18px;
  background: var(--green);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand-name {
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.2px;
}
.brand-name span {
  font-weight: 500;
}
.header-note {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.025em;
}
.header-note span {
  margin-inline: 12px;
  color: #a4aa9f;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding-block: 32px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.closure-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--status);
  margin-bottom: 16px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8a7350;
  flex-shrink: 0;
}
h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.065em;
}
h1 span {
  display: block;
}
h1 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
}
.hero-description {
  max-width: 530px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.hero-description strong {
  color: var(--ink);
  font-weight: 550;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 49px;
  padding: 12px 21px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.2s;
}
.button:hover {
  background: #183b2c;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.icon {
  width: 16px;
  height: 16px;
}
.keepsake {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px;
  border-radius: 12px;
  background: #233f33;
  color: #f3f1e5;
  display: flex;
  flex-direction: column;
}
.keepsake-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #c7d1bb;
}
.keepsake-top .eyebrow {
  font-size: 9px;
  letter-spacing: 0.18em;
}
.keepsake-star {
  width: 22px;
  height: 22px;
}
.keepsake-message {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.5vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.keepsake-message em {
  color: #d4dfb9;
  font-weight: 400;
}
.keepsake-signoff {
  margin-top: 16px;
  color: #c7d1bb;
  font-size: 11px;
}
.keepsake-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #4b6250;
  color: #c7d1bb;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.keepsake-bottom span:last-child {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0;
}
.orbit-art {
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -235px;
  right: -150px;
  color: #8caa7d;
  opacity: 0.23;
  z-index: -1;
}
.information {
  border-top: 1px solid var(--line);
  padding-block: 20px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section-heading .eyebrow {
  color: var(--muted);
  font-weight: 500;
}
.section-heading .short-line {
  width: 24px;
  height: 1px;
  background: #9aa592;
}
.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.resource {
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.resource-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
}
.resource-icon svg {
  width: 15px;
  height: 15px;
}
.resource h2 {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 6px;
}
.resource p {
  max-width: 395px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.resource .text-link {
  margin-top: 4px;
  font-size: 12px;
}
.resource small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.notice svg {
  margin-top: 2px;
}
.site-footer {
  margin-top: 20px;
  padding-block: 16px 8px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-signoff {
  font-size: 12px;
  font-weight: 500;
}
.footer-signoff span {
  color: var(--muted);
  font-weight: 400;
}
.footer-bottom {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.floating-dock {
  position: fixed;
  z-index: 20;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--dock);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.dock-item {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.18s,
    transform 0.18s;
}
.dock-item svg {
  width: 21px;
  height: 21px;
}
.dock-item:focus-visible {
  border-radius: 14px;
  outline-offset: 2px;
  background: var(--dock-hover);
}
.dock-item:active {
  transform: scale(0.94);
}
.dock-divider {
  height: 24px;
  width: 1px;
  background: var(--line);
  margin-inline: 3px;
}
.dock-tooltip {
  position: absolute;
  bottom: calc(100% + 19px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.dock-item:focus-visible .dock-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dock-item:first-child .dock-tooltip {
  left: 0;
  transform: translateY(0);
}
.dock-item:last-child .dock-tooltip {
  left: auto;
  right: 0;
  transform: translateY(0);
}
.theme-toggle[hidden],
.sun-icon {
  display: none;
}
[data-theme="dark"] .moon-icon {
  display: none;
}
[data-theme="dark"] .sun-icon {
  display: block;
}
[data-theme="dark"] .brand-mark {
  background: #f6f5f0;
  border-radius: 12px;
}
.archive-shortcut {
  margin-top: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}
@media (hover: hover) {
  .dock-item:hover {
    background: var(--dock-hover);
    transform: translateY(-3px);
  }
  .dock-item:hover .dock-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .dock-item:first-child:hover .dock-tooltip,
  .dock-item:last-child:hover .dock-tooltip {
    transform: translateY(0);
  }
}
@media (max-width: 1000px) {
  .hero {
    gap: 24px;
  }
  h1 {
    font-size: 38px;
  }
  .keepsake {
    padding: 20px;
  }
  .keepsake-message {
    font-size: 27px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 68px;
  }
  .header-note {
    font-size: 10px;
  }
  .header-note span,
  .header-note .header-year {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 24px;
  }
  h1 {
    font-size: clamp(34px, 6.5vw, 44px);
  }
  .hero-description {
    max-width: 500px;
  }
  .keepsake {
    padding: 20px;
  }
  .keepsake-message {
    margin-top: 12px;
    font-size: 26px;
  }
  .keepsake-signoff {
    margin-top: 12px;
  }
  .keepsake-bottom {
    margin-top: 12px;
    padding-top: 10px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .resource {
    padding: 16px;
  }
  .resource p {
    max-width: none;
    font-size: 14px;
  }
  .resource small {
    font-size: 11px;
  }
  .notice {
    font-size: 12px;
  }
  .information {
    padding-block: 18px;
  }
  .notice {
    padding: 12px;
  }
  .site-footer {
    margin-top: 18px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .floating-dock {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    gap: 3px;
    padding: 7px;
    border-radius: 20px;
  }
  .button {
    min-height: 48px;
    font-size: 14px;
  }
  .hero-description {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  .container {
    width: calc(100% - 36px);
  }
  .brand-name {
    font-size: 23px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .header-note {
    font-size: 9px;
  }
  h1 {
    font-size: 32px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .keepsake {
    padding: 18px;
  }
  .keepsake-message {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
