:root {
  color-scheme: light;
  --ink: #231b16;
  --muted: #6d5e53;
  --paper: #f8f1e7;
  --paper-deep: #ead7bf;
  --line: rgba(55, 38, 25, 0.18);
  --accent: #866632;
  --accent-dark: #4d351d;
  --panel: rgba(255, 250, 241, 0.92);
}

@font-face {
  font-family: "Alkatra";
  src: url("assets/alkatra_regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alkatra";
  src: url("assets/alkatra_semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alkatra";
  src: url("assets/alkatra_bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Corinthia";
  src: url("assets/corinthia_bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Shadows Into Light";
  src: url("assets/shadowsintolight_regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Alkatra", Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(248, 241, 231, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 128px;
}

.brand img {
  display: block;
  width: 156px;
  max-width: 42vw;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 600;
}

nav a,
.site-footer a {
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.hero {
  min-height: calc(100svh - 82px);
  display: flex;
  align-items: center;
  padding: clamp(56px, 9vw, 110px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(20, 13, 10, 0.74), rgba(20, 13, 10, 0.44), rgba(20, 13, 10, 0.12)),
    url("assets/background-library.png") center / cover;
}

.hero-copy {
  width: min(680px, 100%);
  color: #fff7eb;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.hero-logo {
  width: min(330px, 76vw);
  height: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: "Alkatra", Georgia, serif;
  font-size: clamp(4.9rem, 12vw, 9.2rem);
  line-height: 0.94;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.hero p {
  max-width: 620px;
  font-size: clamp(1.14rem, 2.1vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 247, 235, 0.62);
  border-radius: 6px;
  background: rgba(255, 247, 235, 0.14);
  color: #fff7eb;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: #f0d49b;
  border-color: #f0d49b;
  color: #2a1b11;
  text-shadow: none;
}

.content-band {
  padding: clamp(56px, 8vw, 100px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.content-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.kicker {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-family: "Alkatra", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 40px);
  padding: 0 clamp(18px, 5vw, 72px) clamp(64px, 8vw, 108px);
  width: min(980px, 100%);
  margin: 0 auto;
}

.screenshots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(62, 42, 26, 0.18);
}

.legal-page {
  padding: clamp(40px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.legal-document {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.78);
}

.legal-document h1 {
  color: var(--ink);
  font-size: clamp(2.9rem, 6vw, 4.6rem);
  text-shadow: none;
}

.legal-document h2 {
  margin-top: 38px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-document h3 {
  margin-top: 28px;
  font-size: 1.02rem;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document ul {
  padding-left: 22px;
}

.notice {
  padding: 14px 16px;
  border: 1px solid rgba(134, 102, 50, 0.42);
  border-radius: 8px;
  background: rgba(240, 212, 155, 0.25);
  color: var(--accent-dark) !important;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    align-items: flex-end;
    min-height: 76svh;
    background:
      linear-gradient(0deg, rgba(20, 13, 10, 0.82), rgba(20, 13, 10, 0.34)),
      url("assets/background-library.png") center / cover;
  }

  .content-grid,
  .screenshots {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
