:root {
  color-scheme: dark;
  --vinyl: #0e0c0a;
  --ink: #171008;
  --panel: #15120d;
  --panel-soft: #201b12;
  --paper: #e8ddae;
  --paper-bright: #fff7d2;
  --muted: #b9ac87;
  --brass: #c79145;
  --brass-strong: #dca044;
  --clay: #b85d2a;
  --teal: #0d595f;
  --teal-deep: #082e32;
  --line: rgba(232, 221, 174, 0.18);
  --shadow: rgba(0, 0, 0, 0.44);
  --page-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--vinyl);
  color: var(--paper);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(14, 12, 10, 0.58), var(--vinyl) 42rem),
    linear-gradient(115deg, rgba(13, 89, 95, 0.24), transparent 38rem),
    var(--vinyl);
}

.topbar,
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(232, 221, 174, 0.12);
  background: rgba(14, 12, 10, 0.82);
  backdrop-filter: blur(18px);
}

.topbar,
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.2rem;
  padding: 0.9rem max(1.1rem, calc((100% - var(--page-max)) / 2));
}

.brand-link,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper-bright);
  text-decoration: none;
  font-weight: 800;
}

.brand-link img,
.brand img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  box-shadow: 0 0.45rem 1rem rgba(0, 0, 0, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.nav-links a {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--paper-bright);
  background: rgba(232, 221, 174, 0.08);
  outline: none;
}

.nav-links .language {
  color: var(--ink);
  background: var(--brass);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  padding: 6.4rem max(1.25rem, calc((100% - var(--page-max)) / 2)) 4rem;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 12, 10, 0.91) 0%, rgba(14, 12, 10, 0.68) 33%, rgba(14, 12, 10, 0.08) 68%, rgba(14, 12, 10, 0.28) 100%),
    linear-gradient(180deg, rgba(14, 12, 10, 0.03), rgba(14, 12, 10, 0.13) 56%, var(--vinyl) 96%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(46rem, 100%);
  padding-top: 2rem;
}

.release-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
  color: var(--brass-strong);
  font-size: 0.95rem;
  font-weight: 800;
}

.release-note::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--brass-strong);
  box-shadow: 0 0 0 0.32rem rgba(199, 145, 69, 0.16);
}

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

h1 {
  margin-bottom: 1rem;
  color: var(--paper-bright);
  font-size: 4.7rem;
  line-height: 0.98;
}

h2 {
  color: var(--paper-bright);
  font-size: 2.55rem;
  line-height: 1.08;
}

h3 {
  color: var(--paper-bright);
}

.lead {
  max-width: 40rem;
  color: #e2d6b0;
  font-size: 1.35rem;
  line-height: 1.55;
}

.actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
}

.button.primary {
  color: var(--ink);
  background: var(--brass-strong);
  border-color: transparent;
}

.button.secondary {
  color: var(--paper-bright);
  background: rgba(232, 221, 174, 0.08);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(232, 221, 174, 0.32);
  outline-offset: 2px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 17.2rem;
  aspect-ratio: 553 / 1200;
  margin: 0;
  border: 0.55rem solid #0a0908;
  border-radius: 2rem;
  background: #0a0908;
  box-shadow: 0 2rem 4.5rem var(--shadow);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.4rem;
}

.phone-main {
  top: 4.7rem;
  right: max(1rem, calc((100% - var(--page-max)) / 2 + 6rem));
  width: 22.4rem;
}

.phone-secondary {
  top: 8.6rem;
  right: max(1rem, calc((100% - var(--page-max)) / 2 - 2.5rem));
  width: 17.8rem;
  transform: rotate(5deg);
  opacity: 0.96;
}

.phone-third {
  top: 19rem;
  right: max(1rem, calc((100% - var(--page-max)) / 2 + 25rem));
  width: 14.6rem;
  transform: rotate(-7deg);
  opacity: 0.9;
}

.hero-marek {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: min(35rem, 100%);
  margin: 1.35rem 0 0;
  padding: 0.55rem;
  border: 1px solid rgba(232, 221, 174, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(199, 145, 69, 0.22), rgba(13, 89, 95, 0.14)),
    rgba(14, 12, 10, 0.52);
  box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.hero-marek img {
  width: 100%;
  height: 5.35rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
}

.hero-marek figcaption {
  display: grid;
  gap: 0.25rem;
}

.hero-marek strong {
  color: var(--paper-bright);
  font-size: 0.98rem;
}

.hero-marek span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ritual-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.2rem max(1.25rem, calc((100% - var(--page-max)) / 2));
  background:
    linear-gradient(90deg, rgba(13, 89, 95, 0.2), rgba(199, 145, 69, 0.14), rgba(184, 93, 42, 0.12)),
    rgba(9, 8, 7, 0.72);
  border-bottom: 1px solid var(--line);
}

.ritual-card {
  position: relative;
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  min-height: 10.5rem;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(232, 221, 174, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, rgba(199, 145, 69, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(32, 27, 18, 0.94), rgba(13, 89, 95, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 247, 210, 0.05);
}

.ritual-card::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0;
  height: 0.18rem;
  background: linear-gradient(90deg, var(--brass-strong), var(--teal), var(--clay));
  opacity: 0.76;
}

.ritual-card img {
  width: 100%;
  aspect-ratio: 553 / 1200;
  object-fit: cover;
  border: 0.22rem solid #0a0908;
  border-radius: 0.95rem;
  background: #0a0908;
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.3);
}

.ritual-number {
  display: inline-flex;
  margin-bottom: 0.4rem;
  color: var(--brass-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ritual-card h3 {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--paper-bright);
  font-size: 1.02rem;
}

.ritual-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.band {
  padding: 5.5rem max(1.25rem, calc((100% - var(--page-max)) / 2));
  border-bottom: 1px solid var(--line);
}

.band.alt {
  background: linear-gradient(180deg, rgba(13, 89, 95, 0.17), rgba(14, 12, 10, 0));
}

.section-header {
  max-width: 48rem;
  margin-bottom: 2.2rem;
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: var(--brass-strong);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section-header p,
.feature-card p,
.story-copy p,
.screen-card p,
.privacy-panel p,
.footer p,
.document p,
.document li {
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.privacy-panel article,
.document section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(32, 27, 18, 0.94), rgba(13, 89, 95, 0.13));
}

.feature-card {
  min-height: 15rem;
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 247, 210, 0.05);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 8px;
  filter: saturate(1.08) contrast(1.03);
}

.feature-card h3 {
  font-size: 1.22rem;
}

.story {
  display: grid;
  grid-template-columns: minmax(13rem, 0.62fr) minmax(0, 1.38fr);
  gap: 3rem;
  align-items: center;
}

.story-visual {
  overflow: hidden;
  width: min(100%, 21rem);
  aspect-ratio: 553 / 1200;
  justify-self: center;
  border: 0.55rem solid #0a0908;
  border-radius: 2rem;
  background: #0a0908;
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.32);
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.35rem;
}

.story-copy {
  max-width: 45rem;
}

.story-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.35rem 0 1.55rem;
}

.story-notes article {
  padding: 0.95rem;
  border: 1px solid rgba(232, 221, 174, 0.16);
  border-radius: 8px;
  background: rgba(232, 221, 174, 0.06);
}

.story-notes strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--paper-bright);
  font-size: 0.94rem;
}

.story-notes span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 0.9rem;
  border: 1px solid rgba(199, 145, 69, 0.24);
  border-radius: 8px;
  background: rgba(199, 145, 69, 0.08);
  color: var(--paper);
  font-weight: 750;
}

.screen-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(19rem, 21.5rem);
  gap: 1.05rem;
  overflow-x: auto;
  padding: 0.35rem 0 1.2rem;
  scroll-snap-type: x mandatory;
}

.screen-card {
  scroll-snap-align: start;
}

.screen-card figure {
  margin: 0 0 0.95rem;
  overflow: hidden;
  aspect-ratio: 553 / 1200;
  border: 0.46rem solid #0a0908;
  border-radius: 1.9rem;
  background: #0a0908;
  box-shadow: 0 1.1rem 2.4rem rgba(0, 0, 0, 0.28);
}

.screen-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.35rem;
}

.screen-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.privacy-panel article {
  padding: 1.25rem;
}

.text-link {
  color: var(--brass-strong);
  font-weight: 800;
  text-underline-offset: 3px;
}

.document {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

.document h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.document section {
  margin-top: 1rem;
  padding: 1.35rem;
}

.document ul {
  margin: 0.6rem 0 0;
  padding-left: 1.25rem;
}

.contact-list {
  list-style: none;
  padding-left: 0;
}

.document a {
  color: var(--brass-strong);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem max(1.25rem, calc((100% - var(--page-max)) / 2));
  background: #090807;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-mark img {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  box-shadow: 0 0.55rem 1.2rem rgba(0, 0, 0, 0.3);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-links a {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--paper-bright);
  background: rgba(232, 221, 174, 0.08);
  outline: none;
}

@media (max-width: 980px) {
  .hero {
    min-height: 82svh;
    padding-top: 5.2rem;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1 {
    font-size: 3.35rem;
  }

  .lead {
    font-size: 1.15rem;
  }

  .phone-main {
    right: -0.6rem;
    top: 10rem;
    width: 16rem;
    opacity: 0.82;
  }

  .phone-secondary {
    right: 11.5rem;
    top: 18rem;
    width: 13rem;
    opacity: 0.6;
  }

  .phone-third {
    display: none;
  }

  .ritual-strip,
  .feature-grid,
  .story,
  .privacy-panel,
  .footer {
    grid-template-columns: 1fr;
  }

  .ritual-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar,
  .site-header {
    position: static;
  }

  .topbar,
  .site-header .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 3.2rem;
    padding-bottom: 4.5rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2rem;
  }

  .phone-main {
    right: -3rem;
    top: 15rem;
    width: 14rem;
    opacity: 0.52;
  }

  .phone-secondary {
    display: none;
  }

  .actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-marek {
    grid-template-columns: 1fr;
  }

  .hero-marek img {
    height: min(12rem, 48vw);
  }

  .button {
    width: 100%;
  }

  .ritual-strip {
    grid-template-columns: 1fr;
  }

  .band {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .story-notes {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .screen-rail {
    grid-auto-columns: minmax(16.8rem, 84%);
  }
}
