:root {
  --bg: #1a1f3a;
  --accent: #f4c95d;
  --accent2: #3ddc97;
  --text: #fff8f0;
  --muted: #9aa3b5;
  --max: 1120px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, #252b52 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.55;
}

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

a {
  color: var(--accent2);
}

.margin-dots {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 20;
}

.margin-dots a {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  display: block;
  transition: border-color 0.2s, transform 0.2s;
}

.margin-dots a span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.margin-dots a.is-active,
.margin-dots a:hover {
  border-color: var(--accent);
  transform: scale(1.15);
}

.hero-band {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 1.5rem 3rem;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-band {
    grid-template-columns: 0.95fr 1.05fr;
    padding-right: 3.5rem;
  }
}

.section-intro-right {
  text-align: left;
}

@media (min-width: 760px) {
  .section-intro-right {
    margin-left: auto;
    max-width: 34rem;
    text-align: right;
  }
}

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

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.tagline {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 28rem;
  margin: 0;
}

@media (min-width: 760px) {
  .hero-copy .tagline {
    margin-left: auto;
  }
}

.hero-window {
  background: #0f1328;
  border-radius: 18px;
  border: 1px solid rgba(244, 201, 93, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.window-chrome {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}

.window-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.65;
}

.window-body {
  position: relative;
  aspect-ratio: 16 / 10;
}

.window-body > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.window-screenshot {
  position: absolute;
  right: 8%;
  bottom: -6%;
  width: min(42%, 220px);
  border-radius: 22px;
  border: 3px solid rgba(255, 248, 240, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.features-cork,
.screens-pair,
.legal-dropcap,
.support-block {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.features-cork h2,
.screens-pair h2,
.legal-dropcap h2,
.support-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.35rem;
}

.cork-board {
  position: relative;
  min-height: 420px;
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
}

.cork-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.55);
}

.note {
  position: absolute;
  width: min(240px, 44vw);
  padding: 1rem 1.1rem;
  background: #fff8f0;
  color: #1a1f3a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: rotate(var(--rot, 0deg));
}

.note h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.note p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.note-a {
  --rot: -4deg;
  top: 12%;
  left: 6%;
}

.note-b {
  --rot: 3deg;
  top: 8%;
  right: 8%;
}

.note-c {
  --rot: -2deg;
  bottom: 18%;
  left: 18%;
}

.note-d {
  --rot: 5deg;
  bottom: 10%;
  right: 12%;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-strip img {
  border-radius: 12px;
  aspect-ratio: 1;
  object-fit: cover;
}

.device-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .device-pair {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.phone-shell {
  background: #0b0e1c;
  border-radius: 28px;
  padding: 0.65rem;
  border: 1px solid rgba(61, 220, 151, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.phone-shell img {
  border-radius: 22px;
}

.device-pair figcaption {
  text-align: center;
  color: var(--muted);
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.legal-prose {
  max-width: 42rem;
  margin: 2rem 0 0 auto;
  font-size: 1.02rem;
}

.legal-prose p:first-child::first-letter {
  float: left;
  font-size: 3.4rem;
  line-height: 0.85;
  padding-right: 0.45rem;
  color: var(--accent);
  font-weight: 700;
}

.support-card {
  max-width: 36rem;
  margin: 1.5rem 0 0 auto;
  padding: 1.5rem 1.75rem;
  border-radius: 14px;
  background: rgba(255, 248, 240, 0.06);
  border: 1px solid rgba(61, 220, 151, 0.25);
}

.support-mail {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  word-break: break-word;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 2rem 1rem 3rem;
}

@media (max-width: 640px) {
  .margin-dots {
    right: 0.65rem;
  }

  .window-screenshot {
    width: 48%;
    right: 4%;
    bottom: 2%;
  }

  .note {
    position: relative;
    width: auto;
    margin: 0.75rem;
  }

  .note-a,
  .note-b,
  .note-c,
  .note-d {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .cork-board {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 1rem 0;
  }
}
