:root {
  --bg: #0d131b;
  --bg-soft: #111923;
  --panel: #141d28;
  --panel-soft: rgba(20, 29, 40, 0.86);

  --text: #ece9e2;
  --text-soft: #c7c3bb;
  --muted: #8f98a3;

  --blue: #5f7f9f;
  --blue-soft: #7894ae;
  --blue-faint: #9cabb9;

  --line: rgba(224, 229, 235, 0.10);
  --line-strong: rgba(224, 229, 235, 0.16);

  --max-width: 1080px;
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(95, 127, 159, 0.09), transparent 30rem),
    linear-gradient(145deg, #0b1118 0%, #101821 52%, #0e151d 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.hero {
  position: relative;
  width: min(100%, var(--max-width));
  min-height: min(760px, calc(100vh - 56px));
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0)),
    var(--panel-soft);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255,255,255,0.02);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

.topbar,
.hero-copy,
.shelf-wrap,
footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.mark-frame {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 7px 6px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(255,255,255,0.015);
}

.mark-book {
  display: block;
  width: 4px;
  border-radius: 1px 1px 0 0;
  background: var(--blue-soft);
}

.book-a { height: 11px; opacity: .55; }
.book-b { height: 17px; opacity: .82; }
.book-c { height: 13px; opacity: .65; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: 0 0 0 4px rgba(120, 148, 174, 0.05);
}

.hero-copy {
  width: min(820px, 100%);
  margin: auto 0;
  padding: clamp(68px, 11vh, 126px) 0 clamp(48px, 7vh, 86px);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 98px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.048em;
}

h1 span {
  display: block;
  color: #b8c4cf;
}

.intro {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.7;
  letter-spacing: -0.008em;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
}

.meta-row a {
  text-decoration: none;
  transition: color 160ms ease;
}

.meta-row a:hover,
.meta-row a:focus-visible {
  color: var(--text);
}

.meta-row a:focus-visible {
  outline: 2px solid rgba(120, 148, 174, 0.5);
  outline-offset: 4px;
  border-radius: 3px;
}

.domain-link {
  color: #a8b5c1 !important;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.separator {
  color: rgba(143,152,163,0.32);
}

.shelf-wrap {
  margin-top: auto;
}

.shelf {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  min-height: 58px;
  padding: 0 3px 8px;
  border-bottom: 1px solid var(--line-strong);
}

.book {
  display: block;
  width: 12px;
  border: 1px solid rgba(156, 171, 185, 0.22);
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  background: rgba(156, 171, 185, 0.025);
}

.b1 { height: 25px; width: 10px; }
.b2 { height: 39px; width: 14px; }
.b3 { height: 31px; width: 10px; }
.b4 { height: 46px; width: 17px; border-color: rgba(156,171,185,.30); }
.b5 { height: 35px; width: 11px; }
.b6 { height: 28px; width: 10px; }
.b7 { height: 42px; width: 14px; }
.b8 { height: 32px; width: 11px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  color: rgba(143,152,163,0.66);
  font-size: 10px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

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

@media (max-width: 700px) {
  .page-shell {
    align-items: stretch;
    padding: 14px;
  }

  .hero {
    min-height: calc(100vh - 28px);
    padding: 22px;
    border-radius: 20px;
  }

  .brand-name {
    display: none;
  }

  .hero-copy {
    padding: 82px 0 60px;
  }

  h1 {
    font-size: clamp(50px, 16vw, 74px);
  }

  .intro {
    font-size: 17px;
  }

  footer {
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 430px) {
  .hero-copy {
    padding-top: 70px;
  }

  .meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .separator {
    display: none;
  }
}
