/* Candy AI Live: warm daylight, magenta and orange */

:root {
  color-scheme: only light;
  --paper: #FFF8F3;
  --surface: #FFFFFF;
  --ink: #24161B;
  --muted: #6F5A60;
  --line: #F0E1DA;
  --magenta: #E11D74;
  --magenta-deep: #B4135A;
  --orange: #FB923C;
  --blush: #FFEAF2;
  --peach: #FFEFE1;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
table {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

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

a {
  color: var(--magenta-deep);
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* Masthead */

.masthead {
  padding: 12px 0 10px;
}

.masthead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand svg {
  flex: none;
  width: 38px;
  height: 38px;
}

.brand b {
  color: var(--magenta-deep);
  font-weight: inherit;
}

.brand span {
  white-space: nowrap;
}

.masthead__tag {
  display: none;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
}

/* Sticky section navigation */

.jumpbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-block: 1px solid var(--line);
  background: rgba(255, 248, 243, .94);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
}

.jumpbar__list {
  display: flex;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 16px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 16px;
  scrollbar-width: none;
}

.jumpbar__list::-webkit-scrollbar {
  display: none;
}

.jumpbar__list li {
  flex: none;
  scroll-snap-align: start;
}

.jumpbar__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.jumpbar__list a:hover {
  border-color: var(--magenta);
  color: var(--magenta-deep);
}

.jumpbar__list a[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

@supports (scroll-target-group: auto) {
  .jumpbar__list {
    scroll-target-group: auto;
  }

  .jumpbar__list a:target-current {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  padding: 30px 22px 34px;
  border-radius: 28px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(251, 146, 60, .34) 0%, rgba(251, 146, 60, 0) 62%),
    radial-gradient(90% 90% at 0% 100%, rgba(225, 29, 116, .2) 0%, rgba(225, 29, 116, 0) 64%),
    linear-gradient(135deg, #FFE0EC 0%, #FFE9D9 100%);
}

.hero > * {
  position: relative;
}

.hero__wave {
  position: absolute;
  right: -18px;
  bottom: -30px;
  width: 230px;
  height: auto;
  opacity: .5;
  pointer-events: none;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 0;
  list-style: none;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero__meta li {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
}

.hero h1 {
  max-width: 20ch;
  font-size: clamp(2rem, 10.6vw, 2.45rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.hero__lede {
  max-width: 62ch;
  margin-top: 22px;
  font-size: clamp(1.0625rem, 2.1vw, 1.28rem);
  line-height: 1.55;
}

.hero__lede a {
  color: var(--ink);
  font-weight: 700;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 10px 22px -14px rgba(180, 19, 90, .7);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.chip-link svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--magenta);
}

.chip-link:hover {
  color: var(--magenta-deep);
}

/* Section cards */

.spread {
  position: relative;
  margin-top: 20px;
  padding: 28px 20px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.spread__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD6E6 0%, #FFE2C8 100%);
  color: var(--magenta);
}

.spread--blush .spread__badge,
.spread--peach .spread__badge {
  background: var(--surface);
}

.spread__badge svg {
  width: 26px;
  height: 26px;
}

.spread--blush {
  border-color: #FBD9E6;
  background: var(--blush);
}

.spread--peach {
  border-color: #F9DEC6;
  background: var(--peach);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--magenta-deep);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--orange));
}

.spread--blush .kicker,
.spread--peach .kicker {
  background: rgba(255, 255, 255, .85);
}

.spread h2 {
  max-width: 21ch;
  font-size: clamp(1.75rem, 5.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.03em;
}

.spread h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.lead {
  max-width: 66ch;
  margin-top: 18px;
  font-size: 1.14rem;
  line-height: 1.58;
}

.dropcap::first-letter {
  float: left;
  margin: .1em .05em 0 -.03em;
  color: var(--magenta);
  font-size: 3.3em;
  font-weight: 900;
  line-height: .78;
}

.flow > * + * {
  margin-top: 1em;
}

.nowrap {
  white-space: nowrap;
}

.cols {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.cols > * {
  min-width: 0;
}

.cols > .lead,
.cols .flow > .lead:first-child {
  margin-top: 0;
}

.note {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.spread--blush .note,
.spread--peach .note {
  border-color: transparent;
  background: var(--surface);
}

.fineprint {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.callout {
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(120deg, #FFDDEA 0%, #FFE6D2 100%);
  font-size: clamp(1.35rem, 3.6vw, 1.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.025em;
}

/* Definition-style fact lists */

.specs {
  display: grid;
  gap: 10px;
}

.specs > div {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.spread--blush .specs > div,
.spread--peach .specs > div {
  border-color: transparent;
  background: var(--surface);
}

.specs--grid {
  margin-top: 24px;
}

.specs dt {
  color: var(--magenta-deep);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.specs dd {
  margin-top: 2px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Numbered checks and plain lists */

.checks {
  padding: 0;
  list-style: none;
  counter-reset: check;
}

.checks li {
  position: relative;
  padding: 11px 0 11px 44px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
  counter-increment: check;
}

.checks li::before {
  content: counter(check);
  position: absolute;
  top: 10px;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
}

.ticks {
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding: 7px 0 7px 30px;
  line-height: 1.5;
}

.ticks li::before {
  content: "";
  position: absolute;
  top: .95em;
  left: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--orange));
}

/* Figures */

.figure-card {
  margin-inline: -12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.figure-card img {
  display: block;
  width: 100%;
  border-radius: 14px;
}

.figure-card--wide {
  margin-top: 24px;
}

/* Call-to-action bands */

.cta-band {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 22px 20px;
  border: 2px solid transparent;
  border-radius: 28px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(100deg, var(--magenta), var(--orange)) border-box;
}

.cta-band__text {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 26px;
  border-radius: 999px;
  background: var(--magenta);
  box-shadow: 0 14px 26px -14px rgba(180, 19, 90, .9);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.cta-pill:hover {
  background: var(--magenta-deep);
  color: #fff;
}

.cta-pill svg {
  flex: none;
  width: 20px;
  height: 20px;
}

/* Example companion styles */

.style-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.style-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.style-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(160deg, #FFD6E6 0%, #FFE2C8 100%);
  color: var(--ink);
  font-size: .8rem;
}

.style-card__body {
  padding: 12px 14px 16px;
}

.spread .style-card h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.style-card__tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--magenta-deep);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.style-card__line {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.style-note {
  margin-top: 16px;
}

/* Price table and token tiles */

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  line-height: 1.45;
}

.price-table caption {
  caption-side: bottom;
  padding-top: 12px;
  color: var(--muted);
  font-size: .875rem;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th:first-child {
  padding-left: 0;
}

.price-table td:last-child {
  padding-right: 0;
}

.price-table thead th {
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.price-table tbody th {
  font-weight: 800;
}

.price-table td strong {
  font-size: 1.08rem;
  font-weight: 800;
  white-space: nowrap;
}

.deal {
  display: block;
  margin-top: 3px;
  color: var(--magenta-deep);
  font-size: .78rem;
  font-weight: 700;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.tile {
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  line-height: 1.35;
}

.tile__label {
  display: block;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
}

.tile__value {
  display: block;
  font-size: clamp(2.3rem, 8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.tile__unit {
  display: block;
  font-size: .9rem;
}

/* Numbered start steps */

.steps {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.steps__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px 20px;
  border-radius: 20px;
  background: var(--surface);
}

.steps__num {
  min-width: .72em;
  color: var(--magenta);
  font-size: clamp(3.6rem, 13vw, 5.2rem);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.06em;
  text-align: center;
}

.steps__item p {
  line-height: 1.55;
}

/* FAQ */

.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin-top: 24px;
}

.faq__item {
  border-radius: 18px;
  background: var(--surface);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 16px 14px 20px;
  border-radius: 18px;
  cursor: pointer;
  list-style: none;
}

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

.faq__item summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 12px no-repeat,
    var(--magenta);
  transition: transform .2s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.spread .faq__item h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.faq__a {
  padding: 0 20px 20px;
  max-width: 70ch;
}

/* Sources */

.sources {
  margin-top: 20px;
  padding: 0 6px;
  color: var(--muted);
  font-size: .95rem;
}

/* Footer */

.colophon {
  margin-top: 44px;
  padding: 36px 0 44px;
  border-top: 1px solid #F9DEC6;
  border-radius: 28px 28px 0 0;
  background: var(--peach);
}

.colophon__grid {
  display: grid;
  gap: 26px;
}

.colophon__about {
  max-width: 34ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: .95rem;
}

.colophon__title {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.colophon ul {
  padding: 0;
  list-style: none;
}

.colophon__sections ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}

.colophon li a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.colophon li a:hover {
  color: var(--magenta-deep);
  text-decoration: underline;
}

.colophon__legal {
  margin-top: 16px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
}

/* Inner pages */

.crumbs {
  margin-top: 10px;
  font-size: .9rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--muted);
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}

.page-head {
  margin-top: 6px;
  padding: 28px 22px 30px;
  border-radius: 28px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(251, 146, 60, .3) 0%, rgba(251, 146, 60, 0) 62%),
    linear-gradient(135deg, #FFE0EC 0%, #FFE9D9 100%);
}

.page-head h1 {
  max-width: 18ch;
  font-size: clamp(2.1rem, 7vw, 3.7rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.page-head .hero__lede {
  margin-top: 16px;
}

.updated {
  margin-top: 16px;
  font-size: .875rem;
  font-weight: 700;
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  max-width: none;
  margin-top: 1.5em;
  font-size: clamp(1.4rem, 3.8vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  margin-top: .8em;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: .4em;
}

.prose .cta-pill {
  margin-top: 6px;
}

.prose .link-list {
  padding-left: 0;
  list-style: none;
}

.prose .link-list li {
  margin-top: 0;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.mail {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.go {
  padding-top: 24px;
}

/* Larger screens */

@media (hover: hover) and (pointer: fine) {
  .jumpbar__list {
    scrollbar-width: thin;
  }
}

@media (min-width: 420px) {
  .hero h1 {
    font-size: clamp(2.45rem, 9.4vw, 5.4rem);
  }
}

@media (min-width: 520px) {
  .masthead__tag {
    display: block;
  }
}

@media (min-width: 640px) {
  .figure-card {
    max-width: 526px;
    margin-inline: auto;
    padding: 12px;
  }

  .style-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .specs--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__wave {
    width: 300px;
  }

  .cta-pill {
    white-space: nowrap;
  }
}

@media (min-width: 760px) {
  .hero {
    padding: 52px 52px 56px;
    border-radius: 36px;
  }

  .hero__wave {
    right: 16px;
    bottom: -46px;
    width: 420px;
    opacity: .58;
  }

  .hero__lede {
    margin-top: 28px;
  }

  .spread {
    margin-top: 28px;
    padding: 48px 48px 52px;
  }

  .spread__badge {
    top: 44px;
    right: 48px;
    width: 92px;
    height: 92px;
  }

  .spread__badge svg {
    width: 44px;
    height: 44px;
  }

  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
    padding: 20px 22px 20px 40px;
    border-radius: 999px;
  }

  .cta-band__action {
    text-align: center;
  }

  .note {
    padding: 26px 28px;
  }

  .page-head {
    padding: 44px 48px 46px;
    border-radius: 36px;
  }

  .colophon__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, .8fr);
    gap: 40px;
  }
}

@media (min-width: 940px) {
  .cols {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 44px;
    align-items: start;
    margin-top: 30px;
  }

  .cols--even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq {
    margin-top: 30px;
  }
}

@media (min-width: 940px) and (min-height: 820px) {
  .cols > .figure-card {
    position: sticky;
    top: 84px;
  }
}

@media (min-width: 1000px) {
  .figure-card--wide {
    max-width: none;
  }
}

@media (min-width: 1040px) {
  .hero {
    padding: 68px 68px 72px;
  }

  .spread {
    padding: 60px 64px 64px;
  }

  .spread__badge {
    top: 56px;
    right: 64px;
  }

  .style-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
  }

  .style-card__body {
    padding: 12px 12px 16px;
  }
}

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

  .faq__item summary::after {
    transition: none;
  }
}
