@font-face {
  font-family: "Inter";
  src: url("../creators/fonts/Inter-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../creators/fonts/WorkSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../creators/fonts/WorkSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("../creators/fonts/SpaceMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07080a;
  --bg-raised: #0d0f12;
  --surface: #12151a;
  --line: #2a2e33;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #fcfcfb;
  --text-soft: #d6d7d9;
  --muted: #9fa3a9;
  --quiet: #6f7680;
  --yellow: #ffdd66;
  --gold: #ffc24b;
  --orange: #ff8a35;
  --deep-orange: #f4511e;
  --blue: #7bcaff;
  --cyan: #17cdff;
  --green: #2fe6b8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --max-width: 1200px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

.tracking-pixel {
  display: none;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(190px, 236px) 1fr auto;
  align-items: center;
  gap: 32px;
  width: 100%;
  min-height: 82px;
  padding: 14px clamp(20px, 3.4vw, 52px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 8, 10, 0.82);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: block;
  width: 100%;
  max-width: 236px;
  text-decoration: none;
}

.brand-logo {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 38px);
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

/* Mobile section-shortcut chips (shown when the header nav collapses) */
.nav-chips {
  display: none;
  gap: 6px;
  padding: 8px clamp(16px, 4vw, 20px);
  overflow-x: auto;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 8, 10, 0.9);
  scrollbar-width: none;
}

.nav-chips::-webkit-scrollbar {
  display: none;
}

.nav-chips a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: "Work Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.button > span {
  font-size: 18px;
  line-height: 1;
}

.button-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  opacity: 0.7;
  transform: none;
}

.button--primary {
  background: linear-gradient(115deg, var(--yellow), var(--gold) 48%, var(--orange));
  box-shadow: 0 0 0 rgba(255, 154, 59, 0);
  color: #171007;
}

.button--primary:hover {
  box-shadow: 0 10px 34px rgba(255, 154, 59, 0.26);
}

.button--secondary {
  border-color: rgba(123, 202, 255, 0.42);
  background: rgba(123, 202, 255, 0.06);
  color: var(--blue);
}

.button--secondary:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 30px rgba(23, 205, 255, 0.12);
}

.button--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.button--large {
  min-height: 58px;
  padding: 0 30px;
  font-size: 17px;
}

.button:focus-visible,
.site-nav a:focus-visible,
.nav-chips a:focus-visible,
.footer-links a:focus-visible,
.brand-link:focus-visible,
.footer-brand:focus-visible,
.media-control:focus-visible,
.build-media video:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

/* Shared type */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 1px;
  flex: none;
  background: linear-gradient(90deg, var(--yellow), var(--deep-orange));
  box-shadow: 0 0 8px rgba(255, 154, 59, 0.5);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: clamp(50px, 6.4vw, 84px);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.desktop-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  color: var(--muted);
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
}

.desktop-note > span {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(47, 230, 184, 0.72);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Media frame (hero result + showcase) */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 75, 0.36);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow), 0 0 54px rgba(255, 138, 53, 0.12);
}

.media-frame--hero {
  aspect-ratio: 16 / 10;
}

.media-frame--showcase {
  aspect-ratio: 16 / 9;
  border-color: rgba(255, 194, 75, 0.3);
}

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

.media-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.media-frame video {
  position: relative;
  z-index: 1;
}

.media-frame.is-fallback video {
  display: none;
}

.media-control {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 8, 10, 0.68);
  color: var(--text);
  cursor: pointer;
  font-family: "Work Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.media-control svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.media-control .icon-play {
  display: none;
}

.media-control[hidden] {
  display: none;
}

.media-control.is-paused .icon-play {
  display: block;
}

.media-control.is-paused .icon-pause {
  display: none;
}

.media-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(7, 8, 10, 0.7);
  backdrop-filter: blur(12px);
}

.media-label span {
  color: var(--gold);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-label strong {
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 620px;
  align-items: center;
  gap: clamp(44px, 5vw, 64px);
  overflow: hidden;
  padding: clamp(72px, 8vw, 104px) clamp(24px, 5vw, 76px) clamp(72px, 8vw, 100px);
  /* Cap the columns on widescreens while the background stays full-bleed */
  padding-left: max(clamp(24px, 5vw, 76px), calc((100% - 1380px) / 2));
  padding-right: max(clamp(24px, 5vw, 76px), calc((100% - 1380px) / 2));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.97) 8%, rgba(7, 8, 10, 0.86) 46%, rgba(7, 8, 10, 0.78) 100%),
    linear-gradient(0deg, var(--bg) 1%, transparent 40%);
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: -14%;
  z-index: 1;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 53, 0.16), transparent 66%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-lede {
  max-width: 520px;
  margin-bottom: 34px;
  color: var(--text-soft);
  font-family: "Work Sans", sans-serif;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
}

.hero-argument {
  position: relative;
  z-index: 2;
}

.prompt-card {
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(13, 15, 18, 0.92);
  backdrop-filter: blur(12px);
}

.prompt-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prompt-card-you {
  color: var(--gold);
}

.prompt-card-step {
  color: var(--quiet);
}

.prompt-sentence {
  margin: 0;
  min-height: 60px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.run-cursor {
  display: inline-block;
  width: 9px;
  height: 20px;
  margin-left: 4px;
  vertical-align: -4px;
  background: var(--cyan);
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.style-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.style-chip {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.style-chip--on {
  border-color: rgba(255, 194, 75, 0.34);
  background: rgba(255, 194, 75, 0.07);
  color: var(--gold);
}

.prompt-connector {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 14px 26px;
}

.prompt-connector-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--gold), rgba(255, 194, 75, 0));
}

.prompt-connector-label {
  color: var(--quiet);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Rain On Neon showcase */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  padding: clamp(72px, 9vw, 110px) clamp(24px, 5vw, 76px);
  /* Cap the columns on widescreens while the band background stays full-bleed */
  padding-left: max(clamp(24px, 5vw, 76px), calc((100% - 1380px) / 2));
  padding-right: max(clamp(24px, 5vw, 76px), calc((100% - 1380px) / 2));
}

.showcase-copy p {
  max-width: 440px;
  margin-bottom: 26px;
  color: var(--muted);
  font-family: "Work Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

/* What you can build */
.build {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: clamp(40px, 5vw, 56px);
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(88px, 11vw, 124px) clamp(24px, 4vw, 76px) clamp(20px, 4vw, 40px);
}

.build-lede {
  max-width: 600px;
  margin-bottom: 34px;
  color: var(--muted);
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

.feature-rows {
  display: grid;
}

.feature-row {
  display: grid;
  grid-template-columns: 56px 230px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: border-color 180ms ease;
}

.feature-row:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-row:hover {
  border-top-color: rgba(255, 194, 75, 0.34);
}

.feature-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 194, 75, 0.36);
  border-radius: 10px;
  background: rgba(255, 194, 75, 0.07);
  color: var(--gold);
}

.feature-icon--blue {
  border-color: rgba(123, 202, 255, 0.34);
  background: rgba(123, 202, 255, 0.06);
  color: var(--blue);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.feature-row strong {
  padding-top: 8px;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.feature-row-desc {
  padding-top: 8px;
  color: var(--muted);
  font-family: "Work Sans", sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
}

.build-media {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #050608;
}

.build-media video {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 30%;
}

.build-media figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Iterate note */
.iterate-note {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid rgba(123, 202, 255, 0.3);
  border-radius: var(--radius-md);
  background: rgba(123, 202, 255, 0.05);
}

.iterate-note {
  margin-top: 34px;
  margin-left: max(clamp(24px, 4vw, 76px), calc((100% - 1300px) / 2));
  margin-right: max(clamp(24px, 4vw, 76px), calc((100% - 1300px) / 2));
}

.iterate-note-tag {
  flex: none;
  color: var(--blue);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.iterate-note p {
  margin: 0;
  color: var(--text-soft);
  font-family: "Work Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.iterate-note em {
  color: var(--text);
  font-style: normal;
}

/* Closing */
.closing-section {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
  overflow: hidden;
  margin-top: clamp(88px, 11vw, 124px);
  padding: 112px 24px;
}

.closing-section::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(7, 8, 10, 0.84), rgba(7, 8, 10, 0.92)),
    url("assets/hero-sailing-poster.webp") center / cover no-repeat;
  content: "";
  filter: saturate(0.8);
}

.closing-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 46%, rgba(255, 154, 59, 0.2), transparent 42%);
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
}

.closing-content > img {
  width: min(300px, 78vw);
  height: auto;
  margin: 0 auto 38px;
}

.closing-content h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 66px);
}

.closing-lede {
  margin-bottom: 32px;
  color: var(--text-soft);
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
}

.desktop-note--center {
  justify-content: center;
}

/* Footer */
footer {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 26px clamp(24px, 4vw, 52px);
  border-top: 1px solid var(--line);
  background: #050608;
}

.footer-brand {
  display: block;
  width: 180px;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}

footer > p {
  margin: 0;
  color: var(--quiet);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Breakpoints: 1080 / 780 / 560 */
@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: minmax(180px, 220px) 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .nav-chips {
    position: sticky;
    top: 82px;
    z-index: 49;
    display: flex;
    backdrop-filter: blur(18px);
  }

  .hero,
  .showcase,
  .build {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-argument {
    width: min(620px, 100%);
  }

  .showcase .media-frame--showcase {
    order: -1;
  }

  .build-media {
    order: -1;
  }

  .build-media video {
    height: 300px;
  }
}

@media (max-width: 780px) {
  .site-header {
    grid-template-columns: minmax(150px, 174px) auto;
    min-height: 70px;
    gap: 18px;
  }

  .nav-chips {
    top: 70px;
  }

  .site-header .button {
    min-height: 44px;
    padding: 0 14px;
  }

  .site-header .button > span {
    display: none;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(7, 8, 10, 0.92) 10%, rgba(7, 8, 10, 0.95) 60%, var(--bg) 100%);
  }

  .feature-row {
    grid-template-columns: 40px 1fr;
    gap: 12px 16px;
  }

  .feature-row strong {
    padding-top: 8px;
    align-self: center;
  }

  .feature-row-desc {
    grid-column: 1 / -1;
    padding-top: 4px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-link {
    max-width: 174px;
  }

  .hero {
    padding: 44px 20px 60px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button-row .button {
    width: 100%;
  }

  .media-frame--hero {
    aspect-ratio: 1.2 / 1;
  }

  .media-frame--hero video,
  .media-frame--hero .media-poster {
    object-position: 58% center;
  }

  .media-label {
    display: grid;
    gap: 3px;
  }

  .showcase,
  .build {
    padding-left: 20px;
    padding-right: 20px;
  }

  .showcase {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .build {
    padding-top: 64px;
  }

  .showcase-copy .button,
  .prompt-connector + .media-frame {
    width: 100%;
  }

  .iterate-note {
    display: grid;
    gap: 10px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 18px;
  }

  .closing-section {
    min-height: 560px;
    padding: 80px 20px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 780px) {
  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .run-cursor {
    animation: none;
    opacity: 1;
  }

  .button:hover,
  .feature-row:hover {
    transform: none;
  }
}
