:root {
  --paper: #f6f4ee;
  --paper-deep: #ebe7dc;
  --ink: #161616;
  --muted: #65645f;
  --blue: #3294e2;
  --blue-dark: #126bad;
  --blue-pale: #dff1ff;
  --orange: #ff7a45;
  --orange-pale: #ffe7d8;
  --white: #fffefa;
  --line: rgba(22, 22, 22, 0.16);
  --shadow: 0 28px 70px rgba(22, 22, 22, 0.11);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.paper-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hero,
main,
footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 92vh;
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 34px 80px;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.ebrain-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  direction: ltr;
  font-weight: 800;
}

.ebrain-e {
  width: 35px;
  height: 35px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  box-shadow: 3px 3px 0 var(--ink);
}

.ebrain-word {
  font-size: 17px;
  letter-spacing: -0.03em;
}

.ebrain-orbit {
  position: absolute;
  width: 46px;
  height: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-18deg);
  opacity: 0.38;
}

.for-avyatar {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding-top: 72px;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(54px, 7.3vw, 104px);
  line-height: 0.93;
  letter-spacing: -0.075em;
  font-weight: 900;
}

.hero h1 span {
  color: var(--blue);
}

.hero-lead {
  max-width: 660px;
  margin: 34px 0 30px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  color: #393936;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  padding: 15px 20px 15px 17px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--blue);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--blue);
}

.primary-cta span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: white;
  color: var(--ink);
  border-radius: 50%;
}

.hero-doodle {
  position: relative;
  direction: ltr;
  transform: rotate(2.5deg);
}

.folder-tab {
  position: relative;
  width: fit-content;
  margin-left: 26px;
  margin-bottom: -2px;
  padding: 12px 22px 9px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  background: var(--blue);
  color: white;
  font: 800 12px/1 monospace;
  letter-spacing: 0.04em;
}

.folder-card {
  position: relative;
  min-height: 360px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 66px 38px;
  background: var(--white);
  box-shadow: 14px 16px 0 var(--ink);
}

.gift-row {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 25px 0;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.gift-row:last-of-type {
  border-bottom: 0;
}

.gift-number {
  color: var(--muted);
  font: 700 12px/1 monospace;
}

.gift-dot {
  width: 19px;
  height: 19px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
}

.gift-dot-blue {
  background: var(--blue);
}

.gift-dot-orange {
  background: var(--orange);
}

.folder-arrow {
  position: absolute;
  width: 140px;
  left: -75px;
  bottom: -28px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-8deg);
}

.scribble-note {
  position: absolute;
  left: -45px;
  bottom: -48px;
  transform: rotate(-9deg);
  font: 700 16px/1.1 "Comic Sans MS", cursive;
}

main {
  padding-bottom: 80px;
}

.video-section,
.gifts,
.closer {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 34px;
  padding-right: 34px;
}

.video-section {
  padding-top: 55px;
  padding-bottom: 125px;
}

.video-shell {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--ink);
  box-shadow: 12px 14px 0 var(--blue);
}

.video-placeholder {
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 20%, rgba(50, 148, 226, 0.96) 0 8%, transparent 8.2%),
    radial-gradient(circle at 80% 75%, rgba(255, 122, 69, 0.85) 0 13%, transparent 13.2%),
    linear-gradient(135deg, #1c1b1a, #33322f);
}

.video-placeholder::before,
.video-placeholder::after {
  content: "";
  position: absolute;
  width: 72%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(-18deg);
}

.video-placeholder::after {
  transform: rotate(18deg);
}

.fake-play {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 112px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 7px 7px 0 var(--blue);
  transition: transform 150ms ease;
}

.fake-play:hover {
  transform: scale(1.05) rotate(-3deg);
}

.play-triangle {
  display: block;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 0;
  border-left: 24px solid var(--ink);
  transform: translateX(3px);
}

.video-time {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 99px;
  color: white;
  font: 700 12px/1 monospace;
  direction: ltr;
}

.video-caption {
  position: absolute;
  right: 25px;
  left: 25px;
  bottom: 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.video-label {
  color: white;
  font-size: 18px;
  font-weight: 800;
}

.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-head h2,
.closer h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.section-head > p:last-child {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.gift-card {
  position: relative;
  padding: clamp(25px, 4vw, 48px);
  margin-bottom: 42px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 10px 12px 0 var(--ink);
}

.gift-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  direction: ltr;
}

.card-index {
  color: var(--muted);
  font: 800 14px/1 monospace;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.status-pill-orange span {
  background: var(--orange);
}

.site-preview {
  direction: ltr;
  overflow: hidden;
  height: clamp(280px, 42vw, 440px);
  margin-bottom: 36px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: white;
}

.browser-chrome {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-deep);
}

.browser-chrome i {
  width: 9px;
  height: 9px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: white;
}

.preview-stage {
  position: relative;
  height: calc(100% - 36px);
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0 62%, var(--blue-pale) 62%);
}

.preview-logo {
  position: absolute;
  top: 26px;
  left: 31px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.preview-ring {
  position: absolute;
  width: min(25vw, 270px);
  height: min(25vw, 270px);
  top: 23px;
  right: 12%;
  border: clamp(22px, 3.4vw, 46px) solid var(--blue);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(-14deg);
  box-shadow: 0 25px 55px rgba(50, 148, 226, 0.3);
}

.preview-line {
  position: absolute;
  left: 9%;
  height: 17px;
  border-radius: 99px;
  background: var(--ink);
}

.preview-line-a {
  width: 31%;
  top: 42%;
}

.preview-line-b {
  width: 22%;
  top: 49%;
  background: var(--blue);
}

.preview-people {
  position: absolute;
  right: 17%;
  bottom: -25px;
  color: var(--ink);
  font-size: clamp(100px, 15vw, 175px);
  letter-spacing: -0.34em;
  transform: rotate(-4deg);
}

.gift-card-copy {
  max-width: 760px;
}

.gift-card-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.gift-card-copy > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #494844;
  font-size: 18px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 5px 0 var(--blue);
}

.btn-dark {
  background: var(--ink);
  color: white;
}

.btn-light {
  background: var(--white);
}

.kit-card {
  background: var(--blue-pale);
}

.kit-lockup {
  position: relative;
  min-height: 290px;
  margin-bottom: 37px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--blue);
}

.webkit-stamp {
  position: relative;
  z-index: 2;
  padding: 19px 23px 16px;
  border: 4px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 1000;
  line-height: 0.8;
  letter-spacing: -0.075em;
  text-align: center;
  transform: rotate(-4deg);
  box-shadow: 9px 10px 0 var(--ink);
}

.kit-rays {
  position: absolute;
  width: min(90%, 650px);
  height: 90%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.77);
  stroke-width: 3;
  stroke-linecap: round;
}

.gift-note {
  position: absolute;
  top: 395px;
  left: 38px;
  width: min(360px, 35%);
  padding: 28px 26px 21px;
  background: #fff2a8;
  border: 1px solid rgba(22, 22, 22, 0.25);
  box-shadow: 6px 8px 15px rgba(22, 22, 22, 0.16);
  transform: rotate(-2.2deg);
}

.gift-note .tape {
  position: absolute;
  width: 72px;
  height: 22px;
  top: -12px;
  left: calc(50% - 36px);
  background: rgba(255, 255, 255, 0.62);
  transform: rotate(3deg);
}

.gift-note p {
  margin: 0 0 9px;
  font: 700 15px/1.55 "Comic Sans MS", cursive;
}

.gift-note > span:last-child {
  font-weight: 900;
}

.prompt-box {
  overflow: hidden;
  margin-top: 34px;
  border: 2px solid var(--ink);
  border-radius: 17px;
  background: #181817;
  color: white;
  direction: ltr;
}

.prompt-head {
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 10px 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  color: #d2d1cc;
  font-size: 12px;
  direction: rtl;
}

.prompt-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.copy-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: white;
  padding: 6px 10px;
  cursor: pointer;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.copy-button.copied {
  border-color: var(--blue);
  color: #9bd4ff;
}

.prompt-box code {
  display: block;
  padding: 22px;
  color: #f8f5e9;
  font: 500 14px/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: normal;
  overflow-wrap: anywhere;
}

.philosophy {
  margin-top: 130px;
  padding: 105px max(34px, calc((100vw - 1092px) / 2)) 120px;
  background: var(--ink);
  color: white;
}

.section-head-light .section-kicker {
  color: #78c5ff;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.principle {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 2px solid white;
  border-radius: 22px;
  color: var(--ink);
  box-shadow: 7px 8px 0 rgba(255, 255, 255, 0.9);
}

.principle-blue {
  background: var(--blue);
}

.principle-orange {
  background: var(--orange);
  transform: rotate(1.4deg);
}

.principle-paper {
  background: var(--paper);
}

.principle-number {
  align-self: flex-start;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font: 900 14px/1 monospace;
  background: var(--white);
}

.principle h3 {
  margin: auto 0 17px;
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.principle p {
  margin: 0;
  line-height: 1.62;
  font-size: 15px;
}

.closer {
  position: relative;
  padding-top: 140px;
  padding-bottom: 130px;
}

.closer h2 {
  max-width: 930px;
}

.closer > p:not(.section-kicker) {
  max-width: 720px;
  margin: 26px 0;
  color: var(--muted);
  font-size: 20px;
}

.closer-arrow {
  position: absolute;
  left: 8%;
  top: 115px;
  color: var(--orange);
  font: 900 120px/1 "Comic Sans MS", cursive;
  transform: rotate(18deg);
}

.signature {
  display: inline-flex;
  flex-direction: column;
  margin-top: 12px;
  transform: rotate(-2deg);
}

.signature span {
  font: 800 34px/1 "Comic Sans MS", cursive;
}

.signature small {
  margin-top: 7px;
  color: var(--muted);
}

footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 34px 35px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  direction: ltr;
}

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 28px;
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 4px 5px 0 var(--blue);
  font-weight: 800;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .hero-doodle {
    width: min(92%, 570px);
    margin: 20px auto 40px;
  }

  .gift-note {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 480px);
    margin: 32px 0 12px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 300px;
  }

  .principle-orange {
    transform: none;
  }

  .closer-arrow {
    display: none;
  }
}

@media (max-width: 620px) {
  .hero,
  .video-section,
  .gifts,
  .closer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 17px;
  }

  .for-avyatar {
    max-width: 155px;
    text-align: left;
  }

  .hero-grid {
    padding-top: 48px;
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(50px, 17vw, 72px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .folder-card {
    min-height: 265px;
    padding: 40px 25px;
    box-shadow: 9px 10px 0 var(--ink);
  }

  .folder-arrow,
  .scribble-note {
    display: none;
  }

  .gift-row {
    grid-template-columns: 30px 1fr auto;
    padding: 20px 0;
    font-size: 17px;
  }

  .video-section {
    padding-top: 40px;
    padding-bottom: 95px;
  }

  .video-placeholder {
    min-height: 390px;
  }

  .video-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .gift-card {
    border-radius: 22px;
    box-shadow: 7px 8px 0 var(--ink);
  }

  .site-preview {
    height: 280px;
  }

  .preview-ring {
    width: 160px;
    height: 160px;
    border-width: 25px;
    right: 3%;
  }

  .card-actions,
  .btn {
    width: 100%;
  }

  .prompt-head {
    align-items: flex-start;
  }

  .philosophy {
    margin-top: 90px;
    padding: 85px 20px 95px;
  }

  .closer {
    padding-top: 105px;
    padding-bottom: 100px;
  }

  footer {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
