:root {
  --bg: #050505;
  --bg-soft: #0c0c0c;
  --text: #f5f5f7;
  --dim: #a1a1a6;
  --mute: #6e6e73;
  --line: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

/* Living background */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% -20%, #1a1a1a 0%, #050505 55%, #000 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform, opacity;
}

.glow-a {
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  top: -18%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  animation: drift-a 18s var(--ease) infinite alternate;
}

.glow-b {
  width: min(55vw, 560px);
  height: min(55vw, 560px);
  right: -8%;
  top: 28%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  animation: drift-b 22s var(--ease) infinite alternate;
}

.glow-c {
  width: min(80vw, 820px);
  height: min(50vw, 420px);
  left: 15%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 72%);
  animation: drift-c 26s var(--ease) infinite alternate;
}

.sheen {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.045) 48%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.04) 52%,
    transparent 65%
  );
  mix-blend-mode: screen;
  animation: sheen-sweep 9s ease-in-out infinite;
  transform: translateX(-30%) rotate(8deg);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); opacity: 0.4; }
  to { transform: translate(12%, 10%) scale(1.12); opacity: 0.7; }
}

@keyframes drift-b {
  from { transform: translate(0, 0) scale(1); opacity: 0.28; }
  to { transform: translate(-14%, 8%) scale(1.18); opacity: 0.55; }
}

@keyframes drift-c {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(8%, -12%) scale(1.1); }
}

@keyframes sheen-sweep {
  0%, 18% { transform: translateX(-45%) rotate(8deg); opacity: 0; }
  35% { opacity: 0.9; }
  55% { transform: translateX(35%) rotate(8deg); opacity: 0.35; }
  100% { transform: translateX(55%) rotate(8deg); opacity: 0; }
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 52px;
  padding: 0 clamp(18px, 4vw, 40px);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo img {
  border-radius: 6px;
}

.top-nav {
  display: none;
  gap: 22px;
}

.top-nav a {
  font-size: 12px;
  color: var(--mute);
  transition: color 0.2s ease;
}

.top-nav a:hover {
  color: var(--text);
}

@media (min-width: 820px) {
  .top-nav {
    display: flex;
  }
}

.hero {
  min-height: calc(100dvh - 52px);
  display: flex;
  align-items: center;
  padding: 64px clamp(18px, 6vw, 72px) 72px;
}

.hero-copy {
  width: min(720px, 100%);
}

.brand,
.kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.06em;
  font-size: clamp(36px, 7.2vw, 68px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.042em;
}

.hero h1 span {
  display: block;
  max-width: 14ch;
}

.lead {
  margin: 26px 0 0;
  max-width: 34ch;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.45;
  color: var(--dim);
}

.lead-sub {
  margin: 12px 0 0;
  max-width: 32ch;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.45;
  color: var(--mute);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  background: #2aabee;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.28);
  transition: transform 0.1s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tg svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tg:hover {
  background: #229ed9;
  box-shadow: 0 10px 28px rgba(42, 171, 238, 0.38);
}

.tg:active {
  transform: scale(0.97);
}

.tg-sm {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(42, 171, 238, 0.22);
}

.tg-sm svg {
  width: 15px;
  height: 15px;
}

.tg-plain {
  box-shadow: none;
  min-height: auto;
  padding: 0;
  background: transparent;
  color: #2aabee;
  border: 0;
  font-size: 12px;
  font-weight: 600;
}

.tg-plain:hover {
  background: transparent;
  color: #5bc1f4;
  box-shadow: none;
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.1s ease, background 0.2s ease, border-color 0.2s ease;
}

.ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.ghost:active {
  transform: scale(0.97);
}

.hero-meta {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 520px;
}

.hero-meta li {
  padding: 8px 12px;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #c7c7cc;
  font-size: 13px;
  letter-spacing: -0.01em;
}

@media (min-width: 960px) {
  .hero {
    padding-left: clamp(48px, 11vw, 140px);
  }

  .hero-copy {
    width: min(640px, 100%);
  }
}

.problem {
  padding: 28px clamp(18px, 5vw, 48px) 12px;
}

.problem-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.problem-grid h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 12ch;
}

.problem-grid ul {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.problem-grid li {
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.problem-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.problem-grid span {
  color: var(--dim);
  font-size: 15px;
}

@media (min-width: 900px) {
  .problem-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
    padding: 44px 40px;
  }

  .problem-grid ul {
    margin: 0;
  }

  .problem-grid li:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

.manifesto {
  padding: 56px clamp(18px, 5vw, 48px);
}

.manifesto p {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #d2d2d7;
}

.benefits {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px clamp(18px, 5vw, 48px) 20px;
}

.section-top {
  margin-bottom: 28px;
}

.section-top h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.detail {
  display: grid;
  gap: 10px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.detail:last-child {
  border-bottom: 1px solid var(--line);
}

.detail-index {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mute);
}

.detail h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.03em;
}

.detail > div > p {
  margin: 0;
  color: var(--dim);
  max-width: 54ch;
}

.detail ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.detail li {
  position: relative;
  padding-left: 14px;
  color: #c7c7cc;
  font-size: 15px;
}

.detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

@media (min-width: 860px) {
  .detail {
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: 36px 0;
  }
}

.for-whom {
  padding: 40px clamp(18px, 5vw, 48px);
}

.for-whom-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.for-whom h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chips span {
  padding: 10px 14px;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d2d2d7;
  font-size: 14px;
}

.close {
  padding: 88px clamp(18px, 5vw, 48px) 96px;
  text-align: center;
}

.close h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.04em;
}

.close > p {
  margin: 14px auto 0;
  max-width: 36ch;
  color: var(--dim);
}

.close .tg {
  margin: 28px auto 0;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 4vw, 40px) 28px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 12px;
}

.foot a {
  color: #2aabee;
}

/* Soft enter */
.rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.rise.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow, .sheen { animation: none !important; }
  .rise { opacity: 1; transform: none; transition: none; }
}
