:root {
  --ink: #24140f;
  --paper: #fff7e6;
  --cream: #fff2ca;
  --gold: #f5b635;
  --amber: #ff8b2b;
  --red: #d93f45;
  --blue: #18aef5;
  --cyan: #8eeaff;
  --violet: #9d64e8;
  --green: #35bf72;
  --line: rgba(72, 34, 24, .16);
  --shadow: 0 24px 60px rgba(92, 48, 24, .2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(135deg, #ffe391 0%, #f99245 28%, #74d9ff 58%, #b992ff 100%);
  background-size: 46px 46px, 46px 46px, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, .7), transparent 12rem),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .46), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .7) 52%, rgba(255, 246, 218, .9));
}

a,
button {
  color: inherit;
  font: inherit;
}

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

.sky-grid,
.spark-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.sky-grid {
  z-index: -2;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .85) 0 2px, transparent 2px),
    radial-gradient(circle, rgba(24, 174, 245, .58) 0 2px, transparent 2px);
  background-size: 86px 86px, 142px 142px;
  background-position: 0 0, 38px 18px;
  animation: floatGrid 34s linear infinite;
}

.spark-field {
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(255, 255, 255, .14) 74px 75px),
    repeating-linear-gradient(0deg, transparent 0 74px, rgba(255, 255, 255, .1) 74px 75px);
  mask-image: linear-gradient(to bottom, transparent, black 14%, transparent 82%);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 24px));
  margin: 12px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 24px;
  background: rgba(255, 255, 255, .56);
  box-shadow: 0 18px 48px rgba(102, 50, 25, .18);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: #26120b;
  font-size: 1.1rem;
  font-weight: 950;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(24, 174, 245, .34);
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .54);
  color: #32170d;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(82, 40, 22, .12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: white;
  box-shadow: 0 14px 28px rgba(82, 40, 22, .18);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 7px;
  color: #32170d;
  font-size: .92rem;
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(255, 255, 255, .82), 0 5px 18px rgba(82, 40, 22, .22);
  transition: color .18s ease, text-shadow .18s ease, transform .18s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .18s ease, transform .18s ease;
}

.nav-links a:hover {
  color: #075a70;
  transform: translateY(-1px);
  text-shadow: 0 2px 10px rgba(255, 255, 255, .94), 0 8px 24px rgba(24, 174, 245, .34);
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.button.primary {
  border-color: #ffd777;
  background: linear-gradient(180deg, #fff3a8, #ffb02d);
}

.button.secondary {
  border-color: #b9ecff;
  background: linear-gradient(180deg, #e8fbff, #7edcff);
}

main {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: end;
  margin-top: 18px;
  padding: clamp(24px, 5vw, 58px);
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(43, 18, 10, .8) 0%, rgba(43, 18, 10, .38) 42%, rgba(255, 255, 255, .06) 100%),
    linear-gradient(180deg, transparent 45%, rgba(255, 245, 210, .5));
}

.hero-copy {
  max-width: 660px;
  color: white;
  text-shadow: 0 3px 18px rgba(73, 28, 14, .48);
}

.kicker {
  margin: 0 0 12px;
  color: #075a70;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .kicker {
  color: #bff6ff;
}

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

h1 {
  margin-bottom: 10px;
  font-size: clamp(4.6rem, 14vw, 11rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: .78;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 6vw, 5.6rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: .86;
}

p {
  color: rgba(36, 20, 15, .78);
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero-line {
  max-width: 560px;
  color: #fff6d9;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions.left {
  justify-content: flex-start;
}

.receipt-grid article,
.browser-shell,
.gallery figure,
.social-section {
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 16px 40px rgba(92, 48, 24, .14);
  backdrop-filter: blur(14px);
}

.split-section,
.proof-section,
.gallery-section {
  margin-bottom: 92px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.split-section {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.section-copy {
  max-width: 560px;
}

.section-copy.compact {
  max-width: 840px;
  margin-bottom: 24px;
}

.showcase {
  margin: 0;
}

.showcase img,
.gallery img {
  width: 100%;
  object-fit: cover;
}

.showcase img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

figcaption {
  padding-top: 10px;
  color: rgba(36, 20, 15, .68);
  font-size: .84rem;
  font-weight: 800;
}

.browser-shell {
  overflow: hidden;
  border-radius: 24px;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(255, 186, 66, .78), rgba(126, 220, 255, .74));
}

.browser-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}

.browser-bar span:nth-child(2) {
  background: var(--gold);
}

.browser-bar span:nth-child(3) {
  background: var(--green);
}

.browser-bar strong {
  margin-left: 8px;
  overflow: hidden;
  color: rgba(36, 20, 15, .78);
  font-size: .88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-preview {
  display: block;
  width: 100%;
  max-height: 660px;
  object-fit: contain;
  background: white;
}

.frame-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px 16px;
  color: rgba(36, 20, 15, .72);
  font-size: .92rem;
}

.frame-note a {
  color: #076f9d;
  font-weight: 950;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 92px;
}

.receipt-grid article {
  min-height: 230px;
  padding: 24px;
  border-radius: 24px;
}

.receipt-grid span {
  color: var(--red);
  font-size: 1rem;
  font-weight: 1000;
}

.receipt-grid strong {
  display: block;
  margin: 34px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
}

.gallery figure.wide {
  grid-column: 1 / -1;
}

.gallery img {
  aspect-ratio: 1.35 / 1;
}

.gallery .wide img {
  aspect-ratio: 3 / 1;
}

.gallery figcaption {
  padding: 14px 16px 16px;
  color: rgba(36, 20, 15, .82);
}

.social-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 28px;
}

.social-section img {
  width: 180px;
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(24, 174, 245, .28);
}

@keyframes floatGrid {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-86px, -86px, 0);
  }
}

@media (max-width: 900px) {
  .site-header,
  .split-section,
  .social-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    border-radius: 20px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
  }

  .receipt-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header,
  main {
    width: min(100% - 16px, 1180px);
  }

  .hero {
    min-height: 640px;
    padding: 22px;
    border-radius: 22px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(43, 18, 10, .2), rgba(43, 18, 10, .82) 58%, rgba(255, 245, 210, .5));
  }

  h1 {
    font-size: clamp(4rem, 20vw, 6.4rem);
  }

  h2 {
    font-size: clamp(2.4rem, 12vw, 4.1rem);
  }

  .receipt-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .social-section img {
    width: 140px;
  }
}
