:root {
  color-scheme: light;
  --ink: #1b1b1d;
  --muted: #666b73;
  --line: #e5e0d8;
  --paper: #fff;
  --soft: #f7f3ec;
  --deep: #23404a;
  --gold: #a67c32;
  --green: #3f6f5b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 36px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
  min-width: 0;
}

.brand strong {
  font-size: 18px;
}

.brand span {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  background: #fff;
  white-space: nowrap;
}

.nav a.primary,
.button.primary {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: 80px 36px 56px;
  background:
    linear-gradient(120deg, rgba(35, 64, 74, 0.78), rgba(35, 64, 74, 0.26)),
    linear-gradient(145deg, #d9e3dc, #f1e4cf);
}

.hero-inner,
.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-copy {
  max-width: 680px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f0d79c;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 80px);
  line-height: 1.05;
}

.hero p {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions .button {
  min-height: 48px;
}

.button.light {
  color: var(--deep);
  background: #fff;
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.section {
  padding: 72px 36px;
}

.section.soft {
  background: var(--soft);
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.panel {
  min-height: 180px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.panel p,
.panel ul {
  margin: 0;
  color: var(--muted);
}

.panel ul {
  padding-left: 20px;
}

.wide {
  grid-column: span 2;
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.list-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.date {
  color: var(--gold);
  font-weight: 800;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

.login-box {
  max-width: 440px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.login-box input {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 20px;
}

.login-box button {
  width: 100%;
  height: 48px;
  margin-top: 14px;
  color: #fff;
  background: var(--deep);
  border: 0;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
}

.hidden {
  display: none;
}

.notice {
  margin-top: 14px;
  color: #9f2d2d;
  font-weight: 700;
}

.footer {
  padding: 34px 36px;
  color: #fff;
  background: var(--deep);
}

.footer .small {
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
  }

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

  .wide {
    grid-column: span 2;
  }

  .list-item {
    grid-template-columns: 110px 1fr auto;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.58;
  }

  .site-header {
    position: static;
    padding: 14px 16px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand span {
    font-size: 12px;
    line-height: 1.35;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav a,
  .button {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 58px 18px 48px;
  }

  h1 {
    font-size: clamp(34px, 13vw, 48px);
  }

  .hero p,
  .lead {
    font-size: 16px;
  }

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

  .section {
    padding: 48px 18px;
  }

  .section h2 {
    font-size: 28px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wide {
    grid-column: auto;
  }

  .panel {
    min-height: auto;
    padding: 20px;
  }

  .list-item {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .list-item .button {
    width: 100%;
  }

  .login-box {
    max-width: none;
    padding: 22px;
  }

  .footer {
    padding: 28px 18px;
  }
}
  padding: 32px 36px;
  color: #fff;
  background: var(--deep);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .wide {
    grid-column: auto;
  }

  .list-item {
    grid-template-columns: 1fr;
  }
}
