/* atrlabs.app landing — framed white canvas, pill nav, layered colour cards. No third-party fonts/scripts. */
:root {
  --page: #E4E4E8;
  --card: #FFFFFF;
  --ink: #0E0E10;
  --muted: #55555C;
  --line: #E7E7EA;
  --violet: #5223D6;
  --violet-deep: #4B1CC4;
  --pink: #EE86BE;
  --yellow: #F6D54C;
  --orange: #F28A3C;
  --radius-xl: 32px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.frame {
  max-width: 1280px;
  overflow-x: hidden;
  margin: clamp(12px, 3vw, 40px) auto;
  background: var(--card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 60px rgba(20,20,40,.06);
}

/* Header */
.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 3vw, 36px) clamp(20px, 5vw, 64px) 0;
}
.logo { font-weight: 700; font-size: 26px; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo svg { width: 26px; height: 26px; }
.pillnav {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: #F5F5F7;
  border-radius: 14px;
}
.pillnav a { text-decoration: none; font-size: 15px; padding: 10px 16px; border-radius: 10px; color: var(--ink); }
.pillnav a:hover, .pillnav a:focus-visible { background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,.06); outline: none; }
.top-cta { justify-self: end; display: flex; align-items: center; gap: 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-black { background: var(--ink); color: #fff; }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 8px 20px rgba(82,35,214,.25); }
.btn-violet:hover { background: var(--violet-deep); }
.btn-outline { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.btn:focus-visible { outline: 3px solid rgba(82,35,214,.4); outline-offset: 2px; }
.textlink { text-decoration: none; font-size: 15px; color: var(--muted); }

/* Hero */
.hero { text-align: center; padding: clamp(56px, 9vw, 112px) 20px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 18px; }
.hero h1 {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(40px, 7.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.hero p.sub { max-width: 560px; margin: 22px auto 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* Layered cards */
/* The layered cards bleed off the bottom of the hero and are clipped there (like a stack of cards behind a slot). */
.stage { position: relative; height: clamp(280px, 40vw, 500px); margin-top: clamp(28px, 5vw, 64px); overflow: hidden; }
/* Anchored from the top so the stack always fills the stage, whatever the width. */
.layer { position: absolute; left: 7%; right: 7%; bottom: -160px; border-radius: 44px; }
.layer.yellow { background: var(--yellow); top: 6%; transform: rotate(-1deg); left: 9%; right: 6%; }
.layer.pink { background: var(--pink); top: 10%; transform: rotate(-3deg); left: 8%; right: 9%; }
.layer.violet { background: var(--violet); top: 15%; transform: rotate(-5.5deg); left: 9%; right: 10%; overflow: hidden; }
.layer.violet svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .orbit { transform-origin: 30% 62%; animation: spin 40s linear infinite; }
  .float { animation: bob 6s ease-in-out infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes bob { 50% { transform: translateY(-8px); } }
}

/* Sections */
section.block { padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 80px); border-top: 1px solid var(--line); }
.block h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.03em; font-weight: 500; line-height: 1.05; margin: 0 0 16px; max-width: 720px; }
.block p.lead { color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 620px; margin: 0; }
.product {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  background: #F6F5FB;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
}
.product h3 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 600; }
.product .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.product ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.product li { display: flex; gap: 10px; color: var(--ink); font-size: 16px; line-height: 1.45; }
.product li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--violet); }
.product .art { display: flex; justify-content: center; }
.product .art svg { width: min(100%, 340px); height: auto; }
.badge-soon { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card {
  border: 1px solid var(--line); border-radius: 22px; padding: 26px;
  background: var(--card);
}
.card .dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.dot-violet { background: #EFE9FF; }
.dot-yellow { background: #FFF4CC; }
.dot-pink { background: #FFE6F2; }
.card h4 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 15.5px; }
.closing { text-align: center; }
.closing h2 { margin: 0 auto 18px; }
.closing p.lead { margin: 0 auto; }
.closing .actions { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

footer.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding: 28px clamp(20px, 6vw, 80px) 36px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
footer.foot nav a { margin-left: 18px; text-decoration: none; }

/* Responsive */
@media (max-width: 900px) {
  .top { grid-template-columns: 1fr auto; }
  .pillnav { display: none; }
  .product { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .layer.yellow, .layer.pink, .layer.violet { left: 4%; right: 4%; }
  .hero h1 { letter-spacing: -0.03em; }
  .top-cta .textlink { display: none; }
  .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
  .layer { border-radius: 28px; }
  footer.foot nav a { margin: 0 14px 0 0; }
}
