@font-face {
  font-family: Onest;
  src: url("/assets/Onest.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf8fd;
  --ink: #241933;
  --muted: #5b5069;
  --accent: #5c34a0;
  --deep: #211634;
  --line: #e1d9e9;
  font-family: Onest, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #8657db;
  outline-offset: 4px;
}
.wrap { width: min(75rem, calc(100% - 5rem)); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 10;
  inset: .6rem auto auto .6rem;
  padding: .7rem 1rem;
  background: #fff;
  transform: translateY(-200%);
}
.skip:focus { transform: translateY(0); }

.masthead {
  min-height: 5.4rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  font-size: 1.33rem;
  font-weight: 760;
  letter-spacing: -.06em;
  text-decoration: none;
}
.brand img { border-radius: .66rem; }
.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a, .text-link { text-decoration-thickness: 1px; text-underline-offset: .24em; }
.main-nav a { color: var(--muted); font-weight: 550; text-decoration-color: transparent; }
.main-nav a:hover { color: var(--ink); text-decoration-color: currentColor; }

.button {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .77rem 1.36rem;
  border-radius: .78rem;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
.button:hover { background: #492782; }
.button-small { min-height: 2.72rem; padding: .52rem .95rem; font-size: .9rem; }
.button-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.button-outline:hover { border-color: #baabce; background: #f2eafa; }
.masthead > .button { justify-self: end; }

.hero {
  display: grid;
  grid-template-columns: 1fr .98fr;
  align-items: center;
  gap: clamp(2.5rem, 5.7vw, 5.8rem);
  padding-block: clamp(3.65rem, 6.8vw, 6.45rem);
}
.eyebrow {
  color: var(--accent);
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
h1 {
  font-size: clamp(3rem, 5.4vw, 5.42rem);
  line-height: .995;
  font-weight: 770;
  letter-spacing: -.085em;
  text-wrap: balance;
}
h1 em { color: var(--accent); font-style: normal; }
.hero-deck {
  max-width: 29rem;
  margin-top: 1.55rem;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.64;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.35rem; margin-top: 1.85rem; }
.text-link { font-weight: 650; }
.text-link:hover { color: var(--accent); }

.showcase { position: relative; min-width: 0; }
.chat-stage {
  display: grid;
  isolation: isolate;
  position: relative;
  min-height: 28.1rem;
  place-items: end start;
  overflow: hidden;
  padding: 2rem clamp(1.5rem, 3.1vw, 3.15rem) 2.4rem;
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse at 72% 30%, #754ba7 0%, #493365 38%, transparent 68%),
    linear-gradient(143deg, #37264e, #211634 70%);
}
.dana {
  position: absolute;
  z-index: -1;
  width: min(58%, 18rem);
  height: auto;
  top: .6rem;
  right: 7%;
  filter: drop-shadow(0 16px 22px #170b2866);
}
.orbit {
  position: absolute;
  z-index: -2;
  width: 115%;
  aspect-ratio: 1.26;
  border: 1px solid #fff3;
  border-radius: 50%;
  transform: rotate(-27deg);
}
.orbit-outer { top: -10%; left: -6%; }
.orbit-inner { top: -25%; left: 3%; }
.chat-preview { display: grid; gap: .78rem; width: min(100%, 24rem); }
.chat-you, .chat-reply {
  padding: .83rem 1rem;
  border-radius: .99rem;
  font-size: .94rem;
  line-height: 1.5;
  box-shadow: 0 9px 30px #150a2b44;
}
.chat-you { justify-self: end; margin-left: 2rem; background: #e5d3fc; border-bottom-right-radius: .25rem; }
.chat-reply {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  justify-self: start;
  background: #fff;
  border-bottom-left-radius: .25rem;
}
.chat-reply img { border-radius: .45rem; }
.chat-reply strong { color: var(--accent); }
.showcase figcaption {
  position: absolute;
  inset: auto .68rem -1.48rem auto;
  color: var(--muted);
  font-size: .83rem;
}

.examples {
  background: #f1ebf9;
  padding-block: clamp(3.6rem, 7vw, 6.1rem);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem 2.5rem;
  margin-bottom: 2.05rem;
}
h2 { font-size: clamp(2rem, 4.15vw, 3.65rem); line-height: 1.07; letter-spacing: -.071em; text-wrap: balance; }
.section-heading > p { max-width: 24rem; color: var(--muted); line-height: 1.6; }
.example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; }
.example {
  display: grid;
  align-content: start;
  gap: 1.25rem;
  padding: clamp(1.25rem, 2.3vw, 2rem);
  border: 1px solid #e5dced;
  border-radius: 1.18rem;
  background: #fcfaff;
}
.example-name { display: flex; gap: .63rem; align-items: center; }
.example h3 { font-size: .98rem; line-height: 1.3; font-weight: 720; }
.example-mark {
  position: relative;
  flex: 0 0 2rem;
  height: 2rem;
  border-radius: .58rem;
  background: #e9dbfb;
  color: #633e99;
}
.example-mark::before, .example-mark::after { content: ""; position: absolute; }
.mark-place::before {
  width: .85rem;
  height: .85rem;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  top: .48rem;
  left: .59rem;
  transform: rotate(-45deg);
}
.mark-place::after { inset: .77rem auto auto .88rem; width: .25rem; height: .25rem; border-radius: 50%; background: currentColor; }
.mark-project { background: #f7dfd4; color: #8a4933; }
.mark-project::before { inset: .67rem .43rem .47rem; border: 2px solid currentColor; border-radius: .18rem; }
.mark-project::after { inset: .47rem auto auto .49rem; width: .52rem; height: .26rem; border: 2px solid currentColor; border-bottom: 0; border-radius: .14rem .14rem 0 0; }
.mark-memory { background: #deeee2; color: #3c6c4c; }
.mark-memory::before { inset: .5rem; border: 2px solid currentColor; border-radius: 50%; }
.mark-memory::after { inset: .71rem auto auto .94rem; width: .33rem; height: .38rem; border: solid currentColor; border-width: 0 0 2px 2px; }
.example blockquote {
  font-size: clamp(1.12rem, 1.8vw, 1.43rem);
  font-weight: 680;
  line-height: 1.35;
  letter-spacing: -.035em;
}
.example p { color: var(--muted); line-height: 1.58; }

.about {
  display: grid;
  grid-template-columns: 1fr .93fr;
  align-items: start;
  gap: clamp(2.2rem, 9vw, 7rem);
  padding-block: clamp(3.8rem, 7vw, 6.7rem);
}
.about-copy > p:last-child { margin-top: 1.23rem; color: var(--muted); line-height: 1.7; }
.questions { padding-top: 1.1rem; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  min-height: 3.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  list-style: none;
  font-weight: 670;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  flex: 0 0 .5rem;
  height: .5rem;
  margin-right: .35rem;
  border: 2px solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
details[open] summary::after { transform: rotate(225deg); }
details p { padding: 0 1.4rem 1.1rem 0; color: var(--muted); line-height: 1.58; }

.closing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.3rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: 1.35rem;
  background: var(--deep);
  color: #f9f4ff;
}
.closing h2 { font-size: clamp(1.7rem, 3.1vw, 2.73rem); text-wrap: initial; }
.closing .button { flex-shrink: 0; color: var(--deep); background: #e8d7fb; }
.closing .button:hover { background: #f3e9ff; }
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  min-height: 6.3rem;
  color: var(--muted);
  font-size: .9rem;
}
.footer .brand { color: var(--ink); }

@media (max-width: 57rem) {
  .wrap { width: min(75rem, calc(100% - 3rem)); }
  .hero { gap: 1.7rem; }
  .chat-stage { min-height: 26rem; }
  .dana { top: 1.1rem; width: 65%; }
  .section-heading { display: grid; }
}
@media (max-width: 47rem) {
  .hero, .about { grid-template-columns: 1fr; }
  .hero { gap: 2rem; padding-bottom: 4.2rem; }
  h1 { max-width: 11ch; text-wrap: initial; }
  .chat-stage { min-height: 25rem; }
  .chat-preview { width: min(90%, 25rem); }
  .example-grid { grid-template-columns: 1fr; }
  .example { gap: .8rem; }
  .questions { padding-top: 0; }
}
@media (max-width: 32rem) {
  .wrap { width: calc(100% - 2.1rem); }
  .masthead { min-height: 4.5rem; grid-template-columns: 1fr auto; gap: .5rem; }
  .main-nav { display: none; }
  .hero { padding-top: 2.9rem; }
  h1 { font-size: clamp(2.75rem, 12.4vw, 3.65rem); }
  .hero-deck { margin-top: 1.15rem; font-size: 1.03rem; }
  .hero-actions { margin-top: 1.35rem; }
  .chat-stage { min-height: 26.5rem; padding: 1rem 1rem 1.45rem; border-radius: 1.22rem; }
  .chat-preview { width: 100%; }
  .chat-you, .chat-reply { font-size: .89rem; }
  .closing { align-items: start; flex-direction: column; }
  .footer { justify-content: start; }
}

.privacy { max-width: 55rem; padding-block: 4.5rem 5rem; }
.privacy h1 { max-width: 16ch; font-size: clamp(2.5rem, 5vw, 4.25rem); margin-bottom: 2rem; }
.privacy h2 { margin-top: 2.4rem; font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -.035em; }
.privacy p { margin-top: 1rem; color: var(--muted); line-height: 1.7; }
.privacy a { color: var(--accent); text-underline-offset: .18em; }
