:root {
  --bg: #0f0706;
  --accent: #ff6f2a;
  --accent2: #ffc857;
  --text: #ffe9d4;
  --muted: #b8926f;
  --deep: #2a1210;
  --max: 1120px;
  --font-display: "Archivo Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #3a1810 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.55;
  padding: 0 1.25rem 4rem;
  padding-right: 3.5rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

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

.intro {
  max-width: var(--max);
  margin: 0 auto 2rem;
}

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

.intro h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--accent2);
  margin: 0 0 0.5rem;
}

.intro p {
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
}

.intro-center p { margin-inline: auto; }
.intro-right p { margin-left: auto; }

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

.margin-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  background: transparent;
  text-decoration: none;
  position: relative;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.margin-dots .dot span {
  position: absolute;
  right: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.margin-dots .dot:hover span,
.margin-dots .dot.is-active span {
  opacity: 1;
}

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

.hero {
  position: relative;
  max-width: var(--max);
  margin: 3rem auto 5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
  }
}

.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  margin: 0 0 1rem;
  color: var(--text);
}

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

.window-frame {
  background: linear-gradient(145deg, #1a0e0c, #0a0504);
  border: 1px solid rgba(255, 200, 87, 0.25);
  border-radius: 18px;
  padding: 0.65rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 111, 42, 0.12);
  max-width: 320px;
  margin-inline: auto;
}

.window-chrome {
  display: flex;
  gap: 6px;
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.window-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3d2520;
}

.window-chrome span:nth-child(2) { background: #6b3a28; }
.window-chrome span:nth-child(3) { background: var(--accent); }

.window-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.hero-glow {
  position: absolute;
  inset: 10% 20% auto;
  height: 40%;
  background: radial-gradient(circle, rgba(255, 111, 42, 0.22), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.features {
  max-width: var(--max);
  margin: 0 auto 5rem;
}

.cork-notes {
  list-style: none;
  margin: 0;
  padding: 2rem 1.5rem 3rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 90, 43, 0.35), transparent 45%),
    linear-gradient(160deg, #4a3224, #2f1f16);
  border-radius: 20px;
  display: grid;
  gap: 1.25rem;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 233, 212, 0.08);
}

@media (min-width: 768px) {
  .cork-notes {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.note {
  background: #fff6e8;
  color: #2a1810;
  padding: 1.25rem 1.1rem 1.5rem;
  border-radius: 4px;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.35);
  position: relative;
}

.note::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #888, #333);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.note h3 {
  font-size: 1rem;
  margin: 0.5rem 0 0.65rem;
  color: #5c2a12;
}

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

.note-tilt-a { transform: rotate(-2.5deg); }
.note-tilt-b { transform: rotate(1.8deg) translateY(8px); }
.note-tilt-c { transform: rotate(-1deg); }

.gallery-strip {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-strip img {
  width: min(100%, 220px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 200, 87, 0.2);
}

.screens {
  max-width: var(--max);
  margin: 0 auto 5rem;
}

.pair-stage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: flex-end;
}

.phone {
  margin: 0;
  text-align: center;
  max-width: 260px;
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(255, 233, 212, 0.12);
}

.phone.left { transform: rotate(-4deg); }
.phone.right { transform: rotate(3deg) translateY(-12px); }

.phone figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.acc-panel {
  background: rgba(42, 18, 16, 0.85);
  border: 1px solid rgba(255, 111, 42, 0.25);
  border-radius: 12px;
  overflow: hidden;
}

.acc-panel summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 1rem 1.15rem;
  list-style: none;
  color: var(--accent2);
}

.acc-panel summary::-webkit-details-marker {
  display: none;
}

.acc-body {
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.acc-body p {
  margin: 0 0 0.85rem;
}

.site-foot {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 200, 87, 0.12);
  max-width: var(--max);
  margin: 0 auto;
}
