/* =============================
   Super Landing Design System
   Executive / Paper aesthetic
   ============================= */

:root {
  --paper: #f7f5ef;
  --ink: #0a0a0a;
  --muted: #68645d;
  --white: #ffffff;
  --line: rgba(10, 10, 10, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-sm: 14px;
  --shadow-soft: 0 28px 80px rgba(24, 22, 18, 0.12);
  --shadow-hard: 0 26px 80px rgba(0, 0, 0, 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Cabinet Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(10,10,10,0.06), transparent 60%),
    radial-gradient(900px 500px at 80% 0%, rgba(10,10,10,0.05), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(10,10,10,0.04), transparent 60%),
    var(--paper);
}

.page { position: relative; overflow-x: hidden; }

.ambient-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.paper-noise {
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="120" height="120" filter="url(%23n)" opacity="0.035"/></svg>');
  pointer-events: none;
  z-index: 1;
}

.shell { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(247,245,239,0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  z-index: 10;
}

.brand img { width: 36px; height: 36px; }

.nav-links a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.btn-black { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hard); }

.hero { padding: 200px 0 140px; position: relative; z-index: 2; }
.hero-inner { text-align: center; }

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  max-width: 1120px;
  margin: 0 auto 24px;
}

.hero-sub {
  font-size: 20px;
  max-width: 760px;
  margin: 0 auto 36px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 60px;
}

.media-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}

.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter { padding: 140px 0; position: relative; z-index: 2; }

.chapter h2 {
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  margin-bottom: 48px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  grid-auto-flow: dense;
}

.bento-item {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  grid-auto-flow: dense;
}

.compare-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.compare-card.highlight {
  background: var(--ink);
  color: var(--white);
}

.source-card {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.cta-band { padding: 160px 0; text-align: center; }

@media (max-width: 768px) {
  .hero { padding: 160px 0 120px; }
  .nav { grid-template-columns: auto auto; }
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; }
  .chapter { padding: 100px 0; }
}

/* super-agent-page-refresh:start */
.super-refresh {
  --refresh-accent: #0a0a0a;
  --refresh-wash: rgba(255, 255, 255, 0.68);
  position: relative;
  overflow: hidden;
  margin: clamp(72px, 10vw, 150px) auto;
  padding: clamp(72px, 10vw, 140px) 20px;
  color: #0a0a0a;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--refresh-accent) 22%, transparent), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(255,255,255,.82), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--refresh-accent) 8%, #f7f5ef), #f7f5ef 52%, color-mix(in srgb, var(--refresh-accent) 12%, #ffffff));
  border-top: 1px solid rgba(10,10,10,.12);
  border-bottom: 1px solid rgba(10,10,10,.12);
}
.super-refresh::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .23;
  background-image: linear-gradient(rgba(10,10,10,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,10,.11) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 72%);
}
.super-refresh__shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}
.super-refresh__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(10,10,10,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  backdrop-filter: blur(18px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.super-refresh__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .72fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
}
.super-refresh__hero h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 6.2rem);
  line-height: .9;
  letter-spacing: 0;
}
.super-refresh__hero p {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  color: rgba(10,10,10,.72);
}
.super-refresh__image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(10,10,10,.18);
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(10,10,10,.26);
  background: var(--refresh-wash);
}
.super-refresh__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.55) contrast(1.16) saturate(.88);
  transition: transform .8s ease, filter .8s ease;
}
.super-refresh__image:hover img {
  transform: scale(1.055);
  filter: grayscale(.16) contrast(1.12) saturate(1.05);
}
.super-refresh__article {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  grid-auto-flow: dense;
  gap: 22px 42px;
  margin-top: clamp(52px, 8vw, 104px);
}
.super-refresh__article h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3.4rem);
  line-height: 1;
}
.super-refresh__article h3 {
  margin: 24px 0 8px;
  font-size: 1.2rem;
}
.super-refresh__field-note {
  grid-row: span 2;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(10,10,10,.16);
  border-radius: 28px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 20px 52px rgba(10,10,10,.14);
}
.super-refresh__field-note h3 {
  margin-top: 0;
}
.super-refresh__article p,
.super-refresh__article li {
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(10,10,10,.76);
}
.super-refresh__article p {
  margin: 0 0 18px;
}
.super-refresh__article ol,
.super-refresh__article ul {
  margin: 0 0 22px 18px;
  padding: 0;
}
.super-refresh__article a {
  color: color-mix(in srgb, var(--refresh-accent) 78%, #0a0a0a);
  font-weight: 800;
}
@media (max-width: 860px) {
  .super-refresh__hero,
  .super-refresh__article {
    grid-template-columns: 1fr;
  }
  .super-refresh__image {
    aspect-ratio: 16 / 10;
  }
  .super-refresh__hero h2 {
    font-size: clamp(2.6rem, 15vw, 4.8rem);
  }
}
/* super-agent-page-refresh:end */
