:root {
  --bg: #f4f1e9;
  --bg-strong: #ebe4d3;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-solid: #ffffff;
  --ink: #17263f;
  --muted: #5b6b6b;
  --accent: #937214;
  --accent-soft: #c7a54a;
  --line: rgba(147, 114, 20, 0.15);
  --shadow: 0 24px 80px rgba(23, 38, 63, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(199, 165, 74, 0.16), transparent 26%),
    radial-gradient(circle at right 20%, rgba(23, 38, 63, 0.08), transparent 22%),
    linear-gradient(180deg, #f7f3eb 0%, #f4f1e9 50%, #efe7d6 100%);
}

a {
  color: inherit;
}

code {
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  background: rgba(147, 114, 20, 0.1);
  font-size: 0.92em;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.65;
  pointer-events: none;
}

.ambient-left {
  top: -6rem;
  left: -7rem;
  background: radial-gradient(circle, rgba(199, 165, 74, 0.35), transparent 70%);
}

.ambient-right {
  right: -6rem;
  bottom: 10%;
  background: radial-gradient(circle, rgba(23, 38, 63, 0.18), transparent 70%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 4px 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-badge {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #fffdf5;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-badge.small {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 1.1rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy span,
.footer-brand p,
.nav a,
.hero-text,
.section-heading p,
.contact-card p,
.about-copy p {
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.nav a,
.footer-meta a {
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover,
.footer-meta a:hover,
.contact-mail:hover,
.button:hover {
  opacity: 0.85;
}

.card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  gap: 26px;
  padding: 32px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
}

.hero-text {
  max-width: 38rem;
  margin: 18px 0 0;
  font-size: 1.08rem;
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  background: var(--accent);
  color: #fffdf8;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.screenshot-card,
.placeholder-card,
.contact-card {
  border-radius: var(--radius-lg);
}

.section {
  margin-top: 22px;
  border-radius: var(--radius-xl);
  padding: 30px;
}

.section-heading {
  max-width: 48rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p,
.about-copy p,
.contact-card p {
  font-size: 1rem;
  line-height: 1.8;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  margin-top: 24px;
}

.about-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.about-copy p,
.contact-card p {
  margin: 0;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-card,
.placeholder-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--bg-strong);
}

.placeholder-card {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 260px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(199, 165, 74, 0.18), rgba(23, 38, 63, 0.08)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 241, 233, 0.9));
}

.placeholder-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  border: 1px dashed rgba(147, 114, 20, 0.35);
}

.placeholder-card strong,
.placeholder-card span {
  position: relative;
}

.placeholder-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.placeholder-card span {
  color: var(--muted);
  line-height: 1.6;
}

.contact-section {
  display: grid;
  gap: 24px;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 28px;
}

.contact-mail {
  width: fit-content;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  word-break: break-word;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6px 8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand p {
  margin: 4px 0 0;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.nav a.is-current {
  color: var(--accent);
}

.legal-hero {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.legal-hero h1,
.policy-section h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.08;
}

.legal-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-weight: 600;
}

.policy-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.policy-toc,
.policy-article {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.policy-toc {
  position: sticky;
  top: 20px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.policy-toc a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
}

.policy-article {
  display: grid;
  gap: 28px;
}

.policy-section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.policy-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.policy-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

.policy-section p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.85;
}

.policy-list {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--muted);
}

.policy-list li {
  margin-bottom: 10px;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .hero,
  .about-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 14px;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav,
  .footer-meta {
    justify-content: flex-start;
  }

  .hero,
  .section,
  .contact-card {
    padding: 22px;
  }

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