:root {
  color-scheme: dark;
  --bg: #0b101b;
  --surface: #151d2b;
  --surface-hover: #1b2738;
  --text: #edf3fa;
  --muted: #98a7b8;
  --accent: #79e1cc;
  --border: #2b3747;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.container { width: min(1120px, calc(100% - 48px)); margin: auto; }
.skip { position: absolute; left: -9999px; top: 10px; }
.skip:focus { left: 20px; z-index: 20; background: #fff; color: #000; padding: 10px; }

.header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 800; letter-spacing: .09em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--accent); color: var(--accent); border-radius: 10px; letter-spacing: -.05em; }
.brand-text { display: grid; font-size: 14px; line-height: 1.35; }
.brand-text small { color: var(--muted); font-weight: 400; letter-spacing: 0; }
nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 65px; padding-top: 100px; padding-bottom: 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .18em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 25px 0; font-size: clamp(48px, 6vw, 83px); line-height: 1.08; letter-spacing: -.065em; }
.hero h1 span { color: var(--accent); }
.lead { max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 45px; margin-top: 20px; padding: 15px 22px; background: var(--accent); border-radius: 9px; color: #091b1c; font-size: 14px; font-weight: 750; transition: background .2s; }
.button:hover { background: #a2f2e0; }

.hero-panel { display: flex; flex-direction: column; justify-content: space-between; min-height: 350px; padding: 25px; border: 1px solid #365a60; border-radius: 18px; background: radial-gradient(circle at 50% 45%, #234a4c 0%, #152c32 42%, #101b29 100%); }
.panel-top, .panel-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 11px; letter-spacing: .1em; color: #bad5d6; }
.panel-symbol { align-self: center; font-size: 110px; font-weight: 200; line-height: 1; color: var(--accent); }
.panel-bottom { align-items: flex-end; letter-spacing: 0; }
.panel-bottom strong { font-size: 13px; color: var(--text); }
.panel-bottom span { font-size: 11px; }

.files-section { padding: 85px 0 105px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #101725; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-heading h2, .about h2 { margin: 12px 0 0; font-size: clamp(30px, 3.5vw, 43px); line-height: 1.2; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.file-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.file-card { min-width: 0; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 25px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; transition: background .2s, border-color .2s, transform .2s; }
.file-card:hover { background: var(--surface-hover); border-color: var(--accent); transform: translateY(-3px); }
.file-top, .file-bottom { display: flex; justify-content: space-between; gap: 12px; }
.file-type { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.arrow { color: var(--accent); font-size: 21px; }
.file-card h3 { margin-bottom: 8px; font-size: 21px; letter-spacing: -.03em; }
.file-card p { margin: 0; color: var(--muted); font-size: 13px; }
.file-bottom { padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.file-bottom span { flex-shrink: 0; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 100px; padding-bottom: 110px; }
.about-content > p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.notice { margin-top: 30px; padding: 22px; border: 1px solid #6e6040; border-radius: 10px; background: #211f1b; }
.notice strong { color: #f1d69d; font-size: 14px; }
.notice p { margin: 8px 0 0; color: #c4b9a6; font-size: 13px; }
.footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 26px; color: var(--muted); font-size: 12px; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.error-content { max-width: 530px; }
.error-brand { justify-content: center; margin-bottom: 45px; }
.error-code { color: var(--accent); font-size: clamp(90px, 18vw, 160px); font-weight: 800; letter-spacing: -.09em; line-height: 1; }
.error-content h1 { margin: 15px 0; font-size: 32px; letter-spacing: -.04em; }
.error-content p { color: var(--muted); }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 70px; padding-bottom: 75px; }
  .hero-panel { min-height: 250px; }
  .panel-symbol { font-size: 80px; }
  .file-grid { grid-template-columns: 1fr; }
  .file-card { min-height: 195px; }
  .about { grid-template-columns: 1fr; gap: 30px; padding-top: 75px; padding-bottom: 80px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 75px; }
  .brand-text { font-size: 12px; }
  nav { gap: 14px; font-size: 12px; }
  .hero h1 { font-size: 52px; }
  .lead { font-size: 15px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 12px; }
  .footer-inner { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .file-card { transition: none; }
}
