@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/studio/geist-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #f6f5fc;
  --ink: #17162b;
  --muted: #56536b;
  --line: #dcd9ea;
  --brand: #5540c7;
  --brand-dark: #3e279f;
  --night: #161527;
  --shell: 78rem;
  font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }

body { margin: 0; }

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
p { line-height: 1.6; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: anywhere; }
h2, h3 { letter-spacing: -.045em; line-height: 1.06; }

:where(a, button):focus-visible, .demo input:focus-visible + label {
  outline: 3px solid #4b36ba;
  outline-offset: 4px;
}
.developer-section a:focus-visible, .demo input:focus-visible + label { outline-color: #d2f59e; }

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

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  color: white;
  background: var(--brand);
  border-radius: .5rem;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  gap: .62rem;
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -.04em;
  text-decoration: none;
}

.wordmark img { flex: 0 0 auto; }

.site-nav { display: flex; flex-wrap: wrap; gap: clamp(.8rem, 3.1vw, 2.6rem); }

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .96rem;
  color: #403d54;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 6.7vw, 6.25rem) clamp(2.5rem, 5vw, 4.75rem);
}

.hero-product {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  font-size: 1rem;
  font-weight: 700;
}

.mark-symbol {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: .55rem;
  background: #e7e2fc;
}

.mark-symbol::after {
  content: "";
  position: absolute;
  width: .95rem;
  height: .22rem;
  top: .77rem;
  left: .4rem;
  border-radius: .2rem;
  transform: rotate(-42deg);
  background: var(--brand);
}

.hero-platform { color: var(--muted); font-weight: 450; }

.hero h1 {
  margin-top: 1.15rem;
  font-size: clamp(3.1rem, 5vw, 5.35rem);
  line-height: .98;
  letter-spacing: -.047em;
  font-weight: 750;
  text-wrap: wrap;
}

.hero h1 span {
  display: block;
  color: var(--brand-dark);
  text-wrap: balance;
}

.hero-description {
  max-width: 31rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .68rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: .68rem 1rem;
  border: 1px solid transparent;
  border-radius: .66rem;
  font-size: .94rem;
  line-height: 1.3;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 4px 8px #33229022;
}
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { border-color: #c8c2df; background: #ffffff80; }
.button-secondary:hover { background: #eae5ff; }

.hero-meta {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .88rem;
}
.hero-meta span { margin-inline: .22rem; }

.hero-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: clamp(25rem, 40vw, 35rem);
  padding: clamp(1rem, 2.8vw, 2.25rem);
  overflow: hidden;
  border: 1px solid #1d1843;
  border-radius: 1.85rem;
  color: #f7f2ff;
  background:
    radial-gradient(ellipse at 61% 25%, #4c389c 0%, transparent 59%),
    radial-gradient(ellipse at 15% 100%, #302664 0%, transparent 47%),
    #1a1739;
  box-shadow: 0 22px 65px #22144517;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(90deg, #e6daff23 1px, transparent 1px),
    linear-gradient(#e6daff23 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, #000 0%, transparent 47%, transparent 62%, #000 100%);
  content: "";
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: .64rem;
  filter: drop-shadow(0 16px 28px #0d082d70);
}

.hero-visual figcaption {
  margin-top: .8rem;
  color: #e3d9f8;
  font-size: .875rem;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.6rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 1.65rem;
  background: #fff;
}

.workflow h2 { max-width: 19ch; font-size: clamp(2rem, 3.35vw, 3.3rem); }
.workflow-copy p { max-width: 32rem; margin-top: 1rem; color: var(--muted); }
.workflow code { color: var(--brand-dark); font-size: .9em; }

.demo {
  position: relative;
  min-inline-size: 0;
  margin: 0;
  padding: clamp(.85rem, 2.7vw, 1.65rem);
  border: 0;
  border-radius: 1.1rem;
  background: #211b42;
}

.demo-label {
  margin-bottom: .52rem;
  color: #eee7ff;
  font-weight: 600;
  font-size: .94rem;
}

.demo-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .34rem .84rem;
  border: 1px solid #b9a7e85e;
  border-radius: .55rem;
  color: #f4eeff;
  font-size: .94rem;
  font-weight: 600;
  cursor: pointer;
}

.demo-tab:hover { border-color: #d8c9fc; }

.demo input:checked + label {
  border-color: #f1eaff;
  color: #33216a;
  background: #f1eaff;
}

.demo-example { margin-top: .9rem; }

.demo-example img {
  width: 100%;
  height: auto;
  border: 1px solid #e5dbfb;
  border-radius: .72rem;
  box-shadow: 0 16px 32px #100b2e6b;
}

.demo-note {
  min-height: 1.75rem;
  margin-top: .72rem;
  color: #eee6fc;
  font-size: .94rem;
}

.demo-note strong { color: #d2f59e; font-weight: 700; }

.demo-image-revised, .demo-note-revised,
#example-revised:checked ~ .demo-example .demo-image-draft,
#example-revised:checked ~ .demo-example .demo-note-draft { display: none; }
#example-revised:checked ~ .demo-example .demo-image-revised,
#example-revised:checked ~ .demo-example .demo-note-revised { display: block; }

.window-lights { display: inline-flex; gap: .25rem; flex-shrink: 0; }
.window-lights i { width: .36rem; height: .36rem; border-radius: 50%; background: currentColor; opacity: .5; }

.products { padding-block: clamp(3.5rem, 7.4vw, 6.6rem); }
.section-heading { margin-bottom: 1.55rem; }
.section-heading h2 { font-size: clamp(2.55rem, 4.65vw, 4.4rem); }
.section-heading p { margin-top: .65rem; color: var(--muted); font-size: 1.02rem; }

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
  gap: 1rem;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid #dedaf2;
  background: #f1ebff;
}
.box-card {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  background: #e9f0fc;
  border-color: #d7e2f5;
}

.box-visual {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 13.5rem;
  padding: 1.4rem 1.6rem .1rem;
  background: radial-gradient(ellipse at 55% 45%, #d2dffa, transparent 71%);
}

.box-visual img {
  max-height: 23rem;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 11px 16px #2b477739);
}

.product-copy { position: relative; z-index: 1; padding: clamp(1.15rem, 3vw, 2rem); }
.product-copy .product-meta { margin-bottom: .5rem; font-weight: 650; font-size: .88rem; }
.product-copy h3 { font-size: clamp(2rem, 3.25vw, 3rem); }
.product-copy p:not(.product-meta) { margin-top: .68rem; color: #4c4863; }
.mark-card .product-copy, .card-card .product-copy { width: min(83%, 24rem); }
.card-card { background: #f4ecc9; border-color: #e9dda8; }
.card-card .product-copy p:not(.product-meta), .card-status { color: #584b2a; }

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  margin-top: .38rem;
  font-weight: 650;
  text-decoration-color: #8b7acc;
  text-underline-offset: .24em;
}

.text-link:hover { color: var(--brand-dark); text-decoration-color: currentColor; }
.product-decoration {
  position: absolute;
  display: grid;
  place-items: center;
  width: 9rem;
  height: 9rem;
  right: -1rem;
  top: -.75rem;
  transform: rotate(-13deg);
  pointer-events: none;
}
.product-decoration span {
  position: absolute;
  border: 1px solid #9181d67a;
  border-radius: .9rem;
  width: 4.2rem;
  height: 3.2rem;
  background: #ddd3fc;
}
.product-decoration span:first-child { transform: translate(-1rem, 1rem); }
.product-decoration span:nth-child(2) { transform: translate(0, .15rem); background: #e6ddff; }
.product-decoration span:last-child { transform: translate(1rem, -.7rem); background: #eee8fe; }
.mark-decoration span:first-child {
  width: 4.8rem;
  height: 3.2rem;
  border: 2px solid #856dcb;
  border-radius: .48rem;
  background: transparent;
}
.mark-decoration span:last-child {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  transform: translate(1.85rem, -1.5rem) rotate(13deg);
  border: 2px solid #f1ebff;
  border-radius: 50%;
  background: #5c43b6;
  color: #fff;
  font-size: .85rem;
  font-weight: 750;
}
.card-decoration span { border-color: #b0914265; background: #e9d48b; }
.card-decoration span:nth-child(2) { background: #f0dfa0; }
.card-decoration span:last-child { background: #f7e8af; }

.developer-section {
  background: var(--night);
  color: #f7f5ff;
  padding-block: clamp(3rem, 6.9vw, 6.1rem);
}
.developer-heading p { color: #c9c6df; }
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid #454060;
  border-radius: 1.35rem;
  background: #242138;
}
.tool-copy { flex: 1; }
.tool-copy h3 { font-size: clamp(1.85rem, 3vw, 2.65rem); }
.tool-copy p { margin-top: .63rem; color: #d8d4ea; }
.tool-link, .tool-link:hover { color: #d1f5a7; text-decoration-color: #a9ce83; }
.terminal {
  border: 1px solid #3c4354;
  border-radius: .78rem;
  overflow: hidden;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  background: #111722;
  color: #e3e9f0;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem .74rem;
  color: #c4cbd8;
  border-bottom: 1px solid #3c4354;
  font-size: .88rem;
  font-weight: 600;
}
.terminal-body { padding: .68rem .78rem .8rem; font-size: .9rem; line-height: 1.55; }
.terminal-line { margin-bottom: .35rem; }
.terminal-prompt, .terminal-accent { color: #c6efa7; }
.terminal-row {
  display: grid;
  grid-template-columns: minmax(6rem, .49fr) minmax(0, 1fr);
  gap: .45rem;
  padding-block: .26rem;
  border-top: 1px solid #2c3546;
  overflow-wrap: anywhere;
}
.terminal-tag { color: #d5bcff; }

.site-footer { padding-block: clamp(2.8rem, 5.5vw, 4.5rem); }
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer-main p { margin-top: .65rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem clamp(1.45rem, 5vw, 4rem); }
.footer-links h2 { font-size: 1rem; letter-spacing: -.015em; margin-bottom: .55rem; }
.footer-links a { display: flex; align-items: center; width: fit-content; min-height: 2.5rem; padding-block: .25rem; font-size: .95rem; }

@media (max-width: 960px) {
  .shell { width: min(calc(100% - 3rem), 46rem); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hero h1 { font-size: clamp(3.25rem, 7.7vw, 4.65rem); }
  .hero-visual { min-height: 0; }
  .workflow { grid-template-columns: minmax(0, 1fr); }
  .workflow h2 { max-width: 24ch; }
  .box-card { grid-row: span 1; grid-column: 1 / -1; }
  .mark-card .product-copy, .card-card .product-copy { width: 88%; }
  .product-decoration { opacity: .67; }
  .footer-main { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; gap: .1rem .8rem; padding-block: .65rem .22rem; }
  .site-nav { flex-basis: 100%; gap: 1.25rem; }
  .site-nav a { font-size: .875rem; }
  .hero { padding-block: 2.35rem 1.45rem; gap: 1.45rem; }
  .hero h1 { font-size: clamp(2.52rem, 10vw, 4rem); }
  .hero-description { margin-top: 1.05rem; }
  .hero-actions { margin-top: 1.2rem; }
  .hero-actions .button-primary { padding-inline: .75rem; }
  .hero-actions .button-secondary {
    padding-inline: .15rem;
    background: transparent;
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: .2em;
  }
  .hero-visual { border-radius: 1.17rem; padding: .88rem; }
  .workflow { border-radius: 1.17rem; padding: 1rem; }
  .product-grid, .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .product-decoration { right: -.75rem; top: -1.3rem; transform: rotate(-13deg) scale(.77); }
  .box-visual { min-height: 0; padding: 1.1rem 1rem 0; }
  .tool-card { border-radius: 1.1rem; }
}
