:root {
  --canvas: #f7fafc;
  --ink: #0b0c19;
  --muted: #5f647d;
  --line: #e5e7ec;
  --soft: #eeecff;
  --violet: #6558f5;
  --violet-deep: #5949ff;
  --violet-hot: #8976ff;
  --cyan: #13ebda;
  --shadow: 0 30px 70px rgba(80, 70, 160, 0.16);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Inter", "Segoe UI", sans-serif;
  --shell: 1120px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 920px;
  background: url("assets/art/wash.jpg") center top / cover no-repeat;
  z-index: -2;
  pointer-events: none;
}
.hero { position: relative; overflow: clip; }
.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: 0;
  top: -160px;
  background: url("assets/art/orb.jpg") center / cover no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  display: flex;
  align-items: center;
}
.site-header.is-stuck {
  background: rgba(247, 250, 252, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 236, 0.9);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand img { border-radius: 10px; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  color: white !important;
  background: linear-gradient(115deg, var(--violet-hot), var(--violet-deep));
  padding: 8px 14px;
  border-radius: 999px;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
}

.hero { padding: 28px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: end;
}
.kicker {
  margin-bottom: 18px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(3.1rem, 6vw, 5.35rem);
  max-width: 11ch;
}
.lede {
  margin-top: 22px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.button-primary {
  color: white;
  background: linear-gradient(115deg, var(--violet-hot) 7%, var(--violet-deep) 79%);
  box-shadow: 0 12px 30px rgba(89, 73, 255, 0.28);
}
.button-primary:hover { transform: translateY(-1px); }
.button-ghost {
  background: white;
  border: 1px solid var(--line);
}
.button-ghost:hover { border-color: #c9c6ee; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 20px 8px 14px;
  background: white;
  color: var(--ink);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(20, 16, 60, 0.1);
}
.store-badge svg {
  width: 22px;
  height: 22px;
  display: block;
  flex: none;
}
.store-badge span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}
.store-badge small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #4a4e63;
}
.store-badge strong {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.store-badge:hover { transform: translateY(-1px); }
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--violet-deep);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.fine {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 36rem;
}

.stage {
  position: relative;
  min-height: 640px;
  border-radius: 36px;
  background-color: rgba(255, 255, 255, 0.45);
  background-image: radial-gradient(#ddd9ff 1.15px, transparent 1.15px);
  background-size: 18px 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.phone {
  margin: 0;
  background: linear-gradient(#fff, #f3f5fb);
  border: 1px solid rgba(11, 12, 25, 0.08);
  border-radius: 36px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.phone img {
  display: block;
  width: 100%;
  border-radius: 28px;
}
.phone-main {
  position: relative;
  width: min(330px, 72%);
  margin-left: auto;
  margin-right: 18px;
  margin-top: 28px;
  z-index: 1;
}
.phone-main::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  filter: blur(0.2px);
  animation: scan 7.5s ease-in-out infinite;
  pointer-events: none;
}
.phone-side {
  position: absolute;
  width: 188px;
  left: 18px;
  bottom: 28px;
  z-index: 2;
}
.float-art {
  position: absolute;
  width: 168px;
  right: 8px;
  top: 18px;
  z-index: 3;
  background: transparent;
  transform: rotate(6deg);
  filter: drop-shadow(0 16px 22px rgba(80, 70, 160, 0.16));
}
.phone figcaption,
.phone-solo figcaption {
  padding: 10px 8px 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.band { padding: 8px 0 20px; }
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip-row span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.essay { padding: 96px 0; }
.essay-alt {
  background:
    linear-gradient(180deg, rgba(238, 236, 255, 0.65), rgba(247, 250, 252, 0) 28%),
    transparent;
}
.essay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 64px;
  align-items: center;
}
.essay-flip { grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); }
.index {
  margin-bottom: 14px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(2.15rem, 3.4vw, 3.15rem);
  max-width: 14em;
  line-height: 1.08;
}
.essay-copy p,
.trio p,
.step-list p,
.faq-list p,
.limit-list,
.closer-inner p {
  color: var(--muted);
}
.essay-copy > p { margin-top: 18px; max-width: 38rem; }
.lede-tight {
  margin-top: 16px;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}
.points li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.points strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.phone-solo { width: min(100%, 380px); justify-self: center; }

.compare {
  --pos: 46%;
  position: relative;
  margin: 36px auto 0;
  width: min(560px, 100%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #f4f3ff;
  user-select: none;
  touch-action: pan-y;
}
.compare img { display: block; width: 100%; }
.compare-fore {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: white;
  box-shadow: 0 0 0 1px rgba(11, 12, 25, 0.15);
  transform: translateX(-1px);
  pointer-events: none;
}
.compare::before {
  content: "";
  position: absolute;
  left: var(--pos);
  top: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0C19' stroke-width='1.8'%3E%3Cpath d='M8 7l-4 5 4 5M16 7l4 5-4 5'/%3E%3C/svg%3E") center / 18px no-repeat;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 20px rgba(11, 12, 25, 0.16);
  z-index: 2;
  pointer-events: none;
}
.compare-tag {
  position: absolute;
  top: 16px;
  z-index: 2;
  background: rgba(11, 12, 25, 0.72);
  color: white;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.compare-tag-left { left: 16px; }
.compare-tag-right { right: 16px; }

.trio {
  list-style: none;
  padding: 48px 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.trio h3, .step-list h3 {
  font-size: 1.45rem;
  margin: 8px 0 10px;
  max-width: 18ch;
}

.styles { padding: 24px 0 88px; }
.gallery-head { max-width: 40rem; margin-bottom: 28px; }
.gallery-head h2 { max-width: 16em; }
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.gallery-tabs button {
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.gallery-tabs button.is-on {
  color: white;
  border-color: transparent;
  background: linear-gradient(115deg, var(--violet-hot), var(--violet-deep));
}
.gallery-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-panel[hidden] { display: none; }
.gallery-panel figure {
  margin: 0;
  background: white;
  border: 1px solid rgba(11, 12, 25, 0.06);
  border-radius: 20px;
  padding: 10px 10px 12px;
  box-shadow: 0 10px 28px rgba(80, 70, 160, 0.06);
}
.gallery-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #f3f5fb;
}
.gallery-panel figcaption {
  margin-top: 10px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.steps { padding: 20px 0 96px; }
.steps-head { max-width: none; margin-bottom: 32px; }
.steps-head h2 {
  max-width: 18em;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.14;
}
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step-list li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  min-height: 100%;
}
.step-list span {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--violet);
}

.limits { padding: 20px 0 96px; }
.limits-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px;
}
.limit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.limit-list li {
  padding-left: 16px;
  border-left: 2px solid var(--soft);
}

.faq { padding: 10px 0 96px; }
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
}
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--violet);
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin-top: 10px; max-width: 46rem; }

.closer { padding: 10px 0 80px; }
.closer-inner {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 64px 40px;
  color: white;
  background: linear-gradient(118deg, #8976ff 7%, #5949ff 78%);
  text-align: center;
}
.closer-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 30%, rgba(19, 235, 218, 0.38) 100%);
  pointer-events: none;
}
.closer-inner > * { position: relative; z-index: 1; }
.closer-inner img { border-radius: 16px; margin-bottom: 18px; }
.kicker-light { color: #e3deff; }
.closer-inner h2 {
  max-width: 16em;
  margin: 0 auto;
  color: white;
}
.closer-inner p { margin: 16px auto 0; max-width: 36rem; color: #e7e4ff; }
.closer-inner .cta-row { justify-content: center; }
.fine-light { color: #d9d4ff !important; font-size: 13px; }

.site-footer {
  padding: 10px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}
.footer-grid a { text-decoration: none; }
.footer-grid nav a:hover { color: var(--ink); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-in {
  animation: rise 0.85s ease forwards;
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes scan {
  0%, 100% { top: 18%; opacity: 0; }
  12% { opacity: 0.95; }
  50% { top: 78%; opacity: 0.95; }
  70% { opacity: 0; }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-24px, 18px, 0); }
}

@media (max-width: 980px) {
  .hero-grid,
  .essay-grid,
  .essay-flip,
  .limits-grid,
  .faq-grid,
  .trio {
    grid-template-columns: 1fr;
  }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-panel { grid-template-columns: repeat(2, 1fr); }
  .essay-flip .phone-solo { order: -1; }
  .stage { min-height: 0; padding-bottom: 24px; }
  .phone-side { position: relative; left: 18px; bottom: auto; margin-top: -80px; }
  .float-art { width: 120px; }
  .steps-head { max-width: none; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--header) - 8px);
    right: 20px;
    left: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  h1 { font-size: 2.7rem; }
  .step-list { grid-template-columns: 1fr; }
  .store-badge { min-height: 52px; padding-right: 14px; }
  .phone-main { width: min(280px, 78%); }
  .closer-inner { padding: 40px 20px; }
  .limits-grid { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .phone-main::after { animation: none; top: 42%; opacity: 0.7; }
  .hero::before { animation: none; }
}
