:root {
  color-scheme: dark;
  --bg: #070912;
  --text: #eaf0ff;
  --muted: #aab5cf;
  --line: #ffffff22;
  --cyan: #61e6ef;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 75% 13%, #30235340, transparent 45%), var(--bg);
  color: var(--text);
  font:
    16px/1.65 "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
button:hover,
.button:hover {
  background: var(--cyan);
  text-decoration: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.text-button {
  background: transparent;
  color: var(--muted);
  padding: 0.5rem 0;
  text-decoration: underline;
  font-weight: 400;
}
.skip {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 1rem;
  background: var(--bg);
  z-index: 5;
}
.skip:focus {
  top: 0;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.top,
main,
footer {
  max-width: 1160px;
  margin: auto;
}
.top {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 750;
  letter-spacing: 0.12em;
}
.hero {
  padding: 6rem 2rem 7rem;
  max-width: 900px;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  color: var(--cyan);
}
h1 {
  font-size: clamp(3.6rem, 9vw, 7.6rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  margin: 1.3rem 0 2rem;
  font-weight: 600;
}
h1 span {
  background: linear-gradient(100deg, #75f0ed, #6e9bff, #b28bfb, #f697d9);
  background-clip: text;
  color: transparent;
}
.intro {
  font-size: 1.2rem;
  max-width: 570px;
  color: var(--muted);
  margin-bottom: 2rem;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 550;
  margin: 0.6rem 0 1.5rem;
}
h3 {
  font-size: 1.4rem;
  margin-top: 0;
}
.quiet {
  color: var(--muted);
  font-size: 0.9rem;
}
.tools,
.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 4rem 2rem;
  border-top: 1px solid var(--line);
}
ul {
  padding-left: 1.2rem;
}
li {
  margin: 0.65rem 0;
}
.fold-art {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: radial-gradient(ellipse at center, #35315d55, transparent 70%);
}
.fold {
  position: absolute;
  top: 18%;
  width: 30%;
  height: 54%;
  transform: skewY(-22deg);
  box-shadow: 0 20px 50px #0007;
}
.fold.a {
  left: 12%;
  background: linear-gradient(120deg, #6fe6ee, #5c83db);
}
.fold.b {
  left: 41%;
  transform: skewY(22deg);
  background: linear-gradient(70deg, #463f8f, #9b8ce9);
}
.fold.c {
  left: 70%;
  width: 18%;
  background: linear-gradient(120deg, #bb8be3, #f6b4d5);
}
.fold-art span {
  position: absolute;
  bottom: 1.4rem;
  left: 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}
.access {
  padding-top: 5rem;
  scroll-margin-top: 2rem;
}
.price {
  font-size: 3.8rem;
  line-height: 1;
  margin: 2rem 0;
}
.price span {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: normal;
  white-space: nowrap;
  display: inline-block;
  margin-inline-start: 0.25em;
}
.panel {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #ffffff04;
  align-self: start;
}
.panel form,
.panel input {
  width: 100%;
}
.panel label {
  display: block;
  margin-bottom: 0.5rem;
}
.panel input {
  background: #070912;
  color: var(--text);
  border: 1px solid #65728c;
  border-radius: 0.7rem;
  padding: 0.8rem;
  margin-bottom: 1rem;
}
.panel button {
  margin: 0.3rem 0;
  max-width: 100%;
}
#error {
  color: #ffc1ce;
}
#payment-status {
  color: var(--cyan);
}
.feedback {
  text-align: center;
  padding: 5rem 2rem;
  border-top: 1px solid var(--line);
}
.feedback a {
  color: var(--cyan);
}
footer {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
@media (max-width: 740px) {
  .top {
    padding: 1.2rem;
  }
  .hero {
    padding: 4rem 1.2rem;
  }
  .tools,
  .access {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.2rem;
  }
  .fold-art {
    min-height: 280px;
  }
  .panel {
    padding: 1.5rem;
  }
  .hero .quiet {
    font-size: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 0 2rem 4rem;
}
.top.studio-header {
  width: calc(100% - 4rem);
  margin-top: 1.5rem;
  padding: 1rem 1.4rem;
}
.hero {
  position: relative;
  isolation: isolate;
  max-width: none;
}
.hero h1 {
  font-size: clamp(3.6rem, 8vw, 6.8rem);
}
.hero-objects {
  position: absolute;
  z-index: -1;
  width: 44%;
  height: auto;
  top: 4.4rem;
  right: 0;
  pointer-events: none;
}
.panel.studio-panel {
  background:
    linear-gradient(145deg, #ffffff08, #ffffff00 60%), var(--studio-glass);
  border-color: var(--studio-line);
}
.access .panel {
  border-top-color: #61e6ef52;
}
.fold-art {
  background:
    radial-gradient(ellipse at 70% 15%, #583d7355, transparent 70%), #0f1521;
  box-shadow: var(--studio-shadow);
}
.fold-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px #ffffff12;
  pointer-events: none;
}
.tools {
  position: relative;
}
.tool-grid .panel {
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.tool-grid .panel:hover {
  border-color: #b9c8ff52;
}
.panel input:focus {
  border-color: var(--studio-cyan);
}
#login button,
#buy {
  box-shadow: 0 0 24px #61e6ef0c;
}
.price {
  letter-spacing: -0.06em;
}
@media (max-width: 740px) {
  .top.studio-header {
    width: calc(100% - 2rem);
    margin-top: 1rem;
  }
  .hero-objects {
    position: relative;
    display: block;
    z-index: 0;
    width: min(100%, 410px);
    top: auto;
    right: auto;
    margin: 1.5rem auto -2rem;
  }
}
@media (min-width: 741px) and (max-width: 1050px) {
  .hero-objects {
    opacity: 0.75;
    width: 39%;
    top: 6.5rem;
  }
  .hero .intro {
    max-width: 55%;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 7.7vw, 6rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tool-grid .panel {
    transition: none;
  }
}
.tool-grid h2 {
  font-size: 2rem;
}
.tool-grid .panel {
  height: 100%;
}
@media (max-width: 740px) {
  .tool-grid {
    grid-template-columns: 1fr;
    padding: 0 1.2rem 3rem;
  }
}
