:root {
  color-scheme: light;
  --background: #f4f7f9;
  --surface: #ffffff;
  --ink: #18232d;
  --muted: #627481;
  --teal: #0f7f86;
  --teal-dark: #0b666c;
  --border: #dce5ea;
  --brass: #c9a55a;
  --shadow: 0 22px 70px rgba(24, 35, 45, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 64px));
  height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(15, 127, 134, 0.2);
}

.login-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(24, 35, 45, 0.04);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.login-button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.login-button:hover {
  border-color: #9cc7ca;
  color: var(--teal-dark);
  box-shadow: 0 9px 24px rgba(24, 35, 45, 0.07);
  transform: translateY(-1px);
}

.login-button:active {
  transform: translateY(0);
}

.login-button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 164px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: clamp(64px, 8vw, 122px);
  align-items: center;
  padding: 68px 0 106px;
}

.hero-copy {
  max-width: 650px;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 6.6vw, 94px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 span {
  color: var(--teal);
}

.hero-copy > p {
  max-width: 570px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.75;
}

.text-link {
  width: fit-content;
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link svg {
  transition: transform 160ms ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.access-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.access-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--teal);
}

.panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.panel-heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.015em;
}

.panel-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
}

.access-panel dl {
  margin: 0;
}

.access-panel dl > div {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e8eef1;
}

.access-panel dt {
  font-size: 15px;
  font-weight: 650;
}

.access-panel dd {
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 720;
}

.access-panel > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

footer {
  width: min(1180px, calc(100% - 64px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: #7d8d98;
  font-size: 12px;
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .site-header,
  main,
  footer {
    width: min(100% - 40px, 640px);
  }

  .site-header {
    height: 82px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 74px 0 86px;
  }

  .hero-copy {
    max-width: 620px;
  }

  h1 {
    font-size: clamp(54px, 12vw, 76px);
  }

  .access-panel {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 9px;
    font-size: 19px;
  }

  .login-button {
    min-height: 44px;
    padding: 0 14px;
  }

  .hero {
    gap: 46px;
    padding: 64px 0 72px;
  }

  h1 {
    font-size: clamp(48px, 14.5vw, 64px);
    line-height: 1.02;
  }

  .hero-copy > p {
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.7;
  }

  .access-panel {
    padding: 24px 22px;
    border-radius: 18px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  footer {
    min-height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
