:root {
  --background: #08080a;
  --surface: #111116;
  --surface-raised: #17151c;
  --text: #f5f0ea;
  --muted: #aaa5ad;
  --line: rgba(239, 210, 224, 0.14);
  --line-strong: rgba(239, 210, 224, 0.28);
  --cream: #f2eae2;
  --ink: #171318;
  --accent: #9a7bd8;
  --pink: #efa7c5;
  --coral: #ff8f87;
  --violet: #9a7bd8;
  --content: 78rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 1.75rem;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% -10%, rgba(255, 143, 135, 0.08), transparent 32rem),
    radial-gradient(circle at 95% 9%, rgba(154, 123, 216, 0.09), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--cream);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.section-shell {
  width: min(100%, calc(var(--content) + (var(--gutter) * 2)));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 1rem;
  left: 50%;
  display: flex;
  width: min(calc(100% - 2rem), 78rem);
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem 0.65rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transform: translateX(-50%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    border-radius 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: var(--line);
  background: rgba(12, 11, 15, 0.84);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.wordmark-monogram {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  background:
    linear-gradient(#111015, #111015) padding-box,
    linear-gradient(135deg, var(--coral), var(--pink) 48%, var(--violet)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 rgba(239, 167, 197, 0);
  color: var(--cream);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.52rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.wordmark:hover .wordmark-monogram {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 1.25rem rgba(239, 167, 197, 0.2);
  transform: translateY(-1px) scale(1.03);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(239, 167, 197, 0.08);
  color: var(--text);
}

.menu-button {
  position: relative;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
}

.menu-button span:not(.sr-only) {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease;
}

.menu-button span:nth-child(2) {
  transform: translate(-50%, calc(-50% - 0.2rem));
}

.menu-button span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 0.2rem));
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero::before {
  position: absolute;
  top: 4%;
  right: 1%;
  width: clamp(18rem, 43vw, 42rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 42%, rgba(255, 143, 135, 0.15), transparent 35%),
    radial-gradient(circle at 64% 58%, rgba(154, 123, 216, 0.15), transparent 40%);
  content: "";
  filter: blur(38px);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0 var(--gutter);
  opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: min(23vw, 20rem) min(23vw, 20rem);
  mask-image: radial-gradient(circle at 46% 46%, #000, transparent 72%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 35% 65% 62% 38% / 46% 38% 62% 54%;
  pointer-events: none;
}

.hero-orbit-one {
  width: clamp(28rem, 65vw, 62rem);
  aspect-ratio: 1.45;
  top: 13%;
  left: 32%;
  transform: rotate(31deg);
}

.hero-orbit-two {
  width: clamp(22rem, 42vw, 42rem);
  aspect-ratio: 0.95;
  right: -10%;
  bottom: -10%;
  transform: rotate(-35deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 64rem);
}

.eyebrow {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 2rem;
  font-size: clamp(3.6rem, 8vw, 7.7rem);
  font-weight: 540;
}

.hero h1 span {
  background: linear-gradient(102deg, var(--cream) 3%, #f3c7d6 46%, #c6b0ec 92%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  max-width: 44rem;
  margin-bottom: 2.3rem;
  color: #b9b4ae;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 620;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: #f2ceda;
  background: linear-gradient(105deg, var(--cream), #f2d6df);
  color: var(--ink);
}

.button-light {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: transparent;
  color: var(--cream);
}

.hero-index {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  left: var(--gutter);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #74716d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.apps,
.about,
.support,
.legal {
  position: relative;
  isolation: isolate;
  padding-top: clamp(6rem, 12vw, 10rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
  border-top: 1px solid var(--line);
}

.apps::before,
.about::before,
.support::before,
.legal::before {
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  content: "";
  transform: translateX(-50%);
}

.apps::before {
  background:
    radial-gradient(circle at 92% 14%, rgba(154, 123, 216, 0.06), transparent 30rem),
    #0c0b0f;
}

.about::before {
  background:
    radial-gradient(circle at 8% 70%, rgba(255, 143, 135, 0.035), transparent 26rem),
    #09090c;
}

.support::before {
  background: #0d0c10;
}

.legal::before {
  background:
    linear-gradient(180deg, rgba(239, 167, 197, 0.018), transparent 18rem),
    #0a090d;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 30rem);
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}

.section-heading h2,
.about h2,
.support h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 540;
}

.section-heading > p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading.compact h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.app-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 240ms ease,
    border-color 240ms ease;
}

.app-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-0.35rem);
}

.app-visual {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
}

.aura-visual {
  background:
    radial-gradient(circle at 65% 20%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(145deg, #f4d4d0, #eeb9cd 50%, #c9b8e2);
}

.aura-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 38%);
  content: "";
}

.aura-visual img {
  position: relative;
  z-index: 2;
  width: min(54%, 16rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  clip-path: circle(48.5% at 50% 50%);
  object-fit: cover;
  box-shadow:
    0 2rem 5rem rgba(85, 43, 70, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.58);
  transition: transform 360ms ease;
}

.app-card:hover .aura-visual img {
  transform: rotate(-2deg) scale(1.025);
}

.aura-halo {
  position: absolute;
  width: 22rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  box-shadow:
    0 0 0 3rem rgba(255, 255, 255, 0.08),
    0 0 0 7rem rgba(255, 255, 255, 0.04);
}

.future-visual {
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 50%, rgba(195, 155, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #12101a, #20172e 48%, #0c0b10);
}

.future-visual::before {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 4rem 4rem;
  content: "";
  mask-image: radial-gradient(circle, #000, transparent 72%);
}

.future-ring {
  position: absolute;
  border: 1px solid rgba(203, 184, 255, 0.5);
  border-radius: 50%;
}

.future-ring-one {
  width: 18rem;
  aspect-ratio: 1;
  transform: rotateX(65deg) rotateZ(20deg);
  box-shadow: 0 0 4rem rgba(142, 102, 214, 0.16);
}

.future-ring-two {
  width: 14rem;
  aspect-ratio: 1;
  transform: rotateY(66deg) rotateZ(-28deg);
}

.future-core {
  width: 7rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 36% 64% 62% 38% / 50% 40% 60% 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(128, 100, 196, 0.18));
  box-shadow:
    inset 0 0 2rem rgba(255, 255, 255, 0.08),
    0 0 5rem rgba(166, 122, 255, 0.23);
  transform: rotate(28deg);
}

.future-visual > span {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.app-content {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.app-meta,
.app-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-meta {
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-content h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 520;
}

.app-content > p {
  max-width: 35rem;
  color: var(--muted);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 2.5rem;
  padding: 0;
  list-style: none;
}

.feature-list li,
.status-pill,
.principles span {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c7c2bc;
  font-size: 0.72rem;
}

.app-actions {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.app-actions a {
  color: var(--text);
  font-size: 0.78rem;
}

.app-actions a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.signal {
  display: flex;
  height: 2rem;
  align-items: end;
  gap: 0.25rem;
  margin-top: 2rem;
}

.signal span {
  width: 0.18rem;
  height: 30%;
  border-radius: 1rem;
  background: var(--accent);
}

.signal span:nth-child(2),
.signal span:nth-child(4) {
  height: 75%;
}

.signal span:nth-child(3) {
  height: 100%;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.about-copy {
  padding-top: 2rem;
}

.about-copy p {
  max-width: 42rem;
  color: var(--muted);
}

.about-copy .about-lead {
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.35;
}

.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2.5rem;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 3rem;
  align-items: end;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 18%, rgba(239, 167, 197, 0.5), transparent 19rem),
    linear-gradient(125deg, var(--cream), #eadde8);
  color: var(--ink);
}

.support-panel .eyebrow {
  color: #625f5a;
}

.support-panel h2 {
  margin-bottom: 1.8rem;
}

.support-panel p {
  max-width: 43rem;
  margin-bottom: 0;
  color: #5d5a56;
}

.support-actions {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.support-actions .button-light {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.support-actions .button-light:hover,
.support-actions .button-light:focus-visible {
  background: transparent;
  color: var(--ink);
}

.support-actions p {
  font-size: 0.78rem;
}

.support-note {
  max-width: 56rem;
  margin: 1.5rem 0 0;
  color: #77736e;
  font-size: 0.78rem;
}

.legal-list {
  border-top: 1px solid var(--line);
}

.legal-item {
  border-bottom: 1px solid var(--line);
}

.legal-item summary {
  display: flex;
  min-height: 7rem;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  list-style: none;
}

.legal-item summary::-webkit-details-marker {
  display: none;
}

.legal-item summary > span:first-child {
  display: grid;
  gap: 0.25rem;
}

.legal-item summary strong {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 520;
  letter-spacing: -0.025em;
}

.legal-item summary small {
  color: var(--muted);
  font-size: 0.72rem;
}

.summary-icon {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.summary-icon::before,
.summary-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 1px;
  background: var(--text);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.summary-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.legal-item[open] .summary-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.legal-copy {
  max-width: 48rem;
  padding: 0 0 5rem;
  color: #aaa59e;
}

.legal-copy > p:first-child {
  color: var(--text);
  font-size: 1.12rem;
}

.legal-copy h3 {
  margin: 2.7rem 0 0.8rem;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 590;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.legal-copy p {
  margin-bottom: 1rem;
}

.legal-copy a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(15rem, 0.8fr) minmax(18rem, 1fr);
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--line);
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: var(--muted);
  font-size: 0.76rem;
}

.site-footer .footer-wordmark {
  margin-bottom: 1.2rem;
  color: var(--text);
  font-size: 0.88rem;
}

.site-footer .wordmark-monogram {
  color: var(--cream);
  font-size: 0.52rem;
}

.site-footer nav,
.footer-meta {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.65rem;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-meta {
  justify-items: end;
  text-align: right;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 800px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header.is-open {
    overflow: hidden;
    border-color: rgba(239, 210, 224, 0.16);
    border-radius: 1.4rem;
    background: rgba(12, 11, 15, 0.94);
    box-shadow:
      0 1.25rem 3.5rem rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  .wordmark {
    min-height: 2.75rem;
  }

  .menu-button {
    display: grid;
  }

  .site-nav {
    display: none;
    width: 100%;
    align-items: stretch;
    margin-top: 0.55rem;
    padding: 0.65rem 0 0.15rem;
    border-top: 1px solid rgba(239, 210, 224, 0.1);
  }

  .site-header.is-open .site-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav a {
    padding: 0.78rem 0.8rem;
    border-radius: 0.8rem;
    color: rgba(245, 240, 234, 0.72);
  }

  .hero {
    min-height: 50rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 14vw, 5.6rem);
  }

  .hero-index span:last-child {
    display: none;
  }

  .section-heading,
  .about-layout,
  .support-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

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

  .about-copy {
    padding-top: 0;
  }

  .support-panel {
    align-items: start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 1.15rem;
    --radius: 1.3rem;
  }

  .site-header {
    top: 0.65rem;
    width: calc(100% - 1.3rem);
  }

  .hero {
    padding-top: 7rem;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 15.6vw, 4.6rem);
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .app-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-panel {
    padding: 2rem 1.35rem;
  }

  .legal-item summary {
    min-height: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
