:root {
  color-scheme: light;
  --paper: #f6f5f2;
  --ink: #181919;
  --muted: #646662;
  --line: #dcded8;
}

* { box-sizing: border-box; }

html { min-width: 320px; background-color: var(--paper); }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #476a88; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 3;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border-radius: 8px;
  background: white;
}
.skip-link:focus { width: auto; height: auto; padding: 8px 16px; overflow: visible; clip-path: none; }

.site-shell {
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 104px;
  padding: 24px 48px;
}
.brand { display: inline-flex; align-items: center; font-size: 30px; font-weight: 650; letter-spacing: -1.8px; line-height: 1; }
.brand-dot { margin-left: 1px; }
.brand-mark { position: relative; width: 26px; height: 26px; margin-right: 13px; border: 2px solid currentColor; border-radius: 50%; }
.brand-mark::before { content: ""; position: absolute; inset: 6px; border: 2px solid currentColor; border-radius: 50%; }
.brand-mark span { position: absolute; right: -6px; bottom: -3px; width: 10px; height: 2px; transform: rotate(46deg); border-radius: 2px; background: currentColor; }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 500; }
.main-nav a { padding: 8px 0; }
.main-nav a:hover { color: var(--muted); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.main-nav .nav-login { display: flex; align-items: center; gap: 26px; margin-left: 4px; padding: 10px 19px; border: 1px solid #b7b9b3; border-radius: 99px; }
.nav-login span { font-size: 20px; line-height: 1; }
.site-footer { display: flex; align-items: center; justify-content: space-between; padding: 23px 48px; color: var(--muted); font-size: 12px; }
.footer-mark { color: var(--ink); font-size: 14px; letter-spacing: 1px; }

.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 1.9px; text-transform: uppercase; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 28px; min-height: 51px; padding: 14px 24px; border: 1px solid transparent; border-radius: 99px; font-size: 14px; font-weight: 500; line-height: 1.35; text-align: left; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.button span { font-size: 22px; line-height: 1; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #393c37; }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #dfe1da; }
.button-outline { min-height: 42px; padding: 10px 17px; border-color: #b7b9b3; background: transparent; }
.button-outline:hover { background: #dfe1da; }
.text-link { display: inline-flex; align-items: center; gap: 16px; padding: 8px 0; font-size: 13px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link span { font-size: 20px; line-height: 1; }

.hero { padding: 29px 48px 0; }
.hero-title { margin-top: 22px; font-size: clamp(52px, 6.65vw, 84px); font-weight: 650; line-height: 1.04; letter-spacing: -4.8px; }
.hero-title span { font-weight: 350; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 27px; }
.hero-description { color: var(--muted); font-size: 14px; line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-photo { position: relative; height: 290px; margin-top: 38px; overflow: hidden; border-radius: 20px; background: #e3e4e1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 61%; filter: grayscale(1); }
.photo-caption { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 28px; padding: 10px 17px; border: 1px solid #ffffff85; border-radius: 99px; background: #f6f5f2ed; font-size: 12px; }
.photo-caption span { font-size: 23px; line-height: 1; }

.page-title { font-size: clamp(44px, 5.4vw, 68px); font-weight: 550; letter-spacing: -3px; line-height: 1.05; }
.section-description { color: var(--muted); font-size: 14px; line-height: 1.6; }
.login-page { padding: 25px 48px 22px; }
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.93fr); gap: 72px; }
.login-content { padding: 30px 0 22px; }
.login-content .page-title { margin-top: 24px; }
.login-content .section-description { margin-top: 13px; }
.login-form { margin-top: 35px; }
.form-field + .form-field { margin-top: 19px; }
.form-field label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.form-field input { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid #b9bcb5; border-radius: 11px; background: #ffffff57; color: var(--ink); font-size: 15px; }
.form-field input::placeholder { color: #787c74; font-size: 13px; }
.form-field input:hover { border-color: var(--muted); }
.form-submit { width: 100%; margin-top: 28px; }
.login-back { margin-top: 16px; color: var(--muted); }
.form-message { margin-top: 22px; padding: 11px 14px; border-left: 2px solid #963d2d; border-radius: 0 6px 6px 0; background: #ece4de; color: #713426; font-size: 13px; }
.login-photo { position: relative; min-height: 526px; overflow: hidden; border-radius: 22px; background: #e3e4e1; }
.login-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 57% center; filter: grayscale(1); }
.login-photo p { position: absolute; right: 22px; top: 22px; left: 22px; padding: 20px; border-radius: 12px; background: #f6f5f2ed; font-size: clamp(25px, 2.6vw, 34px); font-weight: 400; letter-spacing: -1.3px; line-height: 1.13; }
.login-photo p span { margin-left: 2px; }

.archive-page { padding: 46px 48px 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 45px; }
.section-heading .page-title { margin-top: 20px; }
.section-heading > .section-description { margin-bottom: 4px; }
.archive-list { display: grid; gap: 14px; }
.archive-item { display: flex; align-items: center; gap: 26px; padding: 32px; border: 1px solid var(--line); border-radius: 18px; }
.item-number { align-self: flex-start; padding-top: 4px; font-size: 12px; opacity: .65; }
.archive-item-content { flex: 1; min-width: 0; }
.item-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; }
.archive-item h2 { font-size: clamp(22px, 2.6vw, 29px); font-weight: 450; letter-spacing: -.9px; line-height: 1.25; overflow-wrap: anywhere; }
.archive-item p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.archive-download { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.archive-download .item-label, .archive-download p { color: #bdc1b8; }
.archive-download .button { min-width: 143px; }
.download-credits { display: flex; gap: 9px; margin-top: 14px; color: #bdc1b8; font-size: 11px; }
.download-credits a { text-decoration: underline; text-underline-offset: 3px; }
.download-credits a:hover { color: white; }
.archive-note { transition: background-color 150ms ease; }
.archive-note:hover { background: #eeeee8; }
.archive-tool { background: #eeefe9; }
.archive-tool .download-credits { color: var(--muted); }
.tool-instructions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 18px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }
.tool-instructions-label { display: block; font-size: 11px; font-weight: 600; }
.archive-tool .tool-instructions p { margin-top: 5px; font-size: 12px; line-height: 1.5; }
.tool-instructions code { display: block; margin-top: 6px; overflow-wrap: anywhere; font-family: Consolas, "Courier New", monospace; font-size: 11px; line-height: 1.5; }
.tool-downloads { display: flex; flex-wrap: wrap; gap: 9px; }
.round-arrow { display: grid; flex-shrink: 0; width: 47px; height: 47px; place-items: center; border: 1px solid #bfc2b9; border-radius: 50%; font-size: 25px; }
.archive-bottom { display: flex; align-items: center; gap: 23px; padding: 33px 5px 0; }
.asterisk { font-size: 51px; line-height: 1; }
.archive-bottom p { color: var(--muted); font-size: 13px; }
.archive-bottom a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

.secret-page { padding: 28px 48px 47px; }
.result-content { position: relative; padding: 37px 0 28px; text-align: center; }
.result-symbol { display: grid; width: 62px; height: 62px; margin: 0 auto 30px; place-items: center; border: 1px solid #b9bcb5; border-radius: 50%; font-size: 37px; line-height: 1; }
.result-content .eyebrow { justify-content: center; }
.result-title { margin-top: 18px; font-size: clamp(65px, 8vw, 102px); font-weight: 600; line-height: .98; letter-spacing: -5px; }
.result-title span { font-weight: 350; }
.result-description { margin-top: 26px; color: var(--muted); font-size: 15px; }
.logout-form { margin-top: 32px; }
.message-page { padding: 30px 48px 60px; }
.message-content { max-width: 800px; min-height: 440px; padding-top: 10px; }
.message-symbol { display: block; margin-bottom: 25px; font-size: 75px; line-height: 1; }
.message-content .page-title { margin-top: 20px; overflow-wrap: anywhere; }
.message-description { max-width: 580px; margin: 22px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.message-content .text-link { margin-left: 22px; }

@media (max-width: 950px) {
  .site-header { padding: 23px 30px; }
  .site-footer { padding-right: 30px; padding-left: 30px; }
  .hero, .login-page, .archive-page, .secret-page, .message-page { padding-right: 30px; padding-left: 30px; }
  .hero-title { letter-spacing: -3px; }
  .hero-actions { gap: 18px; }
  .hero-bottom { align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-photo { height: 265px; margin-top: 29px; }
  .login-layout { gap: 36px; }
  .page-title { letter-spacing: -2px; }
  .archive-item { padding: 26px 22px; gap: 21px; }
}

@media (max-width: 650px) {
  .site-header { min-height: 86px; gap: 15px; padding: 22px 20px; }
  .brand { font-size: 25px; letter-spacing: -1.4px; }
  .brand-mark { width: 21px; height: 21px; margin-right: 10px; }
  .brand-mark::before { inset: 4px; }
  .main-nav { gap: 16px; font-size: 12px; }
  .main-nav .nav-login { gap: 9px; margin-left: 0; padding: 7px 11px; }
  .nav-login span { font-size: 17px; }
  .site-footer { padding: 20px; font-size: 11px; }
  .hero, .login-page, .archive-page, .secret-page, .message-page { padding-right: 20px; padding-left: 20px; }
  .hero { padding-top: 29px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.25px; }
  .hero-title { margin-top: 20px; font-size: clamp(38px, 8.45vw, 55px); letter-spacing: -2px; line-height: 1.09; }
  .hero-bottom { display: block; margin-top: 22px; }
  .hero-description { font-size: 13px; }
  .hero-description br { display: none; }
  .hero-actions { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 21px; margin-top: 22px; }
  .button { gap: 22px; min-height: 49px; padding: 13px 20px; font-size: 13px; }
  .hero-photo { height: 285px; margin-top: 25px; border-radius: 15px; }
  .hero-photo img { object-position: 58% center; }
  .photo-caption { left: 12px; bottom: 12px; padding: 8px 13px; gap: 19px; font-size: 11px; }
  .page-title { font-size: 47px; letter-spacing: -2.5px; }
  .login-page { padding-top: 16px; padding-bottom: 10px; }
  .login-layout { display: flex; flex-direction: column; gap: 12px; }
  .login-content { padding-top: 17px; }
  .login-content .page-title { margin-top: 20px; }
  .login-form { margin-top: 28px; }
  .login-photo { min-height: 220px; }
  .login-photo img { object-position: center 59%; }
  .login-photo p { right: auto; top: 14px; left: 14px; padding: 14px 18px; font-size: 27px; }
  .archive-page { padding-top: 29px; padding-bottom: 20px; }
  .section-heading { display: block; margin-bottom: 29px; }
  .section-heading > .section-description { margin-top: 16px; font-size: 13px; }
  .archive-item { display: grid; grid-template-columns: 20px minmax(0, 1fr); padding: 23px 19px; gap: 15px; }
  .archive-item-content { grid-column: 2; }
  .archive-item h2 { font-size: 24px; }
  .archive-item p { font-size: 12px; line-height: 1.55; }
  .tool-instructions { grid-template-columns: 1fr; gap: 14px; }
  .archive-download .button { grid-column: 2; justify-self: start; margin-top: 5px; }
  .tool-downloads { grid-column: 2; }
  .archive-note .round-arrow { grid-column: 2; justify-self: end; width: 37px; height: 37px; margin-top: -4px; font-size: 22px; }
  .archive-bottom { padding-top: 25px; gap: 18px; }
  .archive-bottom p { font-size: 12px; }
  .asterisk { font-size: 41px; }
  .secret-page { padding-top: 0; padding-bottom: 24px; }
  .result-content { padding-top: 22px; }
  .result-title { font-size: 76px; letter-spacing: -4px; }
  .result-description { font-size: 13px; }
  .message-page { padding-top: 24px; padding-bottom: 35px; }
  .message-content { min-height: 420px; }
  .message-content .page-title { font-size: 42px; letter-spacing: -2px; }
  .message-description { font-size: 14px; }
  .message-content .text-link { display: flex; width: fit-content; margin-top: 14px; margin-left: 0; }
}

@media (max-width: 390px) {
  .site-header { padding-right: 16px; padding-left: 16px; gap: 10px; }
  .main-nav { gap: 12px; font-size: 11px; }
  .main-nav .nav-login { padding: 6px 9px; }
  .nav-login span { display: none; }
  .brand-mark { display: none; }
  .hero, .login-page, .archive-page, .secret-page, .message-page { padding-right: 16px; padding-left: 16px; }
  .hero-photo { height: 235px; }
  .photo-caption { gap: 12px; font-size: 10px; }
  .result-title { font-size: 65px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
