:root {
  color-scheme: light;
  --night: #1a1b4b;
  --deep: #10113a;
  --cream: #fff6e0;
  --gold: #f8b75e;
  --violet: #3a2a78;
  --plum: #7b3a8c;
  --rose: #c9507e;
  --petal: #ff9bc7;

  --bg: var(--cream);
  --band: var(--night);
  --fg: var(--night);
  --muted: #5a4a8a;
  --hair: rgba(26, 27, 75, 0.18);
  --accent: var(--plum);
  --on-accent: var(--night);
  --ink-muted: #5a4a8a;
  --lift: 6px 6px 0 rgba(26, 27, 75, 0.28);
  --px: 6px;

  --f-display:
    "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  --f-pixel: "Pixelify Sans", ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px / 1.5 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  display: block;
  height: calc(var(--px) * 3);
  background:
    linear-gradient(var(--band), var(--band)) 0 0 / 100% var(--px) no-repeat,
    repeating-conic-gradient(var(--band) 0 25%, transparent 0 50%) 0 var(--px) /
    calc(var(--px) * 2) calc(var(--px) * 2);
}
h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
  font-family: var(--f-display);
  font-weight: 900;
}
h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: 600;
}
p,
dd,
li {
  text-wrap: pretty;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile {
  background: none;
}
.eyebrow {
  display: inline-block;
  font-family: var(--f-pixel);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--cream);
  background: var(--night);
  padding: 2px 12px;
}

.px {
  font-family: var(--f-pixel);
  font-weight: 600;
  font-style: normal;
  font-size: 1.08em;
  letter-spacing: 0;
}
h1 .px,
h2 .px,
h3 .px {
  font-size: 0.9em;
}
.button .px {
  margin-left: -4px;
}
.heart {
  position: absolute;
  top: -24px;
  right: -16px;
  width: 54px;
  height: auto;
  image-rendering: pixelated;
  transform-origin: 50% 60%;
  animation: beat 1.4s steps(1) infinite;
}
@keyframes beat {
  0%,
  20%,
  40%,
  100% {
    transform: none;
  }
  10%,
  30% {
    transform: scale(1.1667);
  }
}
@media (prefers-reduced-motion: reduce) {
  .heart {
    animation: none;
  }
}
.hero {
  padding-block: clamp(24px, 4vw, 40px) 0;
}
.logo {
  display: inline-block;
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: clamp(40px, 7vw, 80px);
  color: var(--fg);
  text-decoration: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy {
  display: grid;
  justify-items: start;
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 14ch;
  animation: rise 0.9s var(--ease-out) 0.06s both;
}
.lede {
  margin-top: 24px;
  max-width: 42ch;
  font-size: clamp(18px, 1.8vw, 20px);
  color: var(--muted);
  animation: rise 0.9s var(--ease-out) 0.12s both;
}
.actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-weight: 600;
  animation: rise 0.9s var(--ease-out) 0.18s both;
}
.actions a:not(.button) {
  text-decoration: none;
}
.actions a:not(.button):hover {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  font: 400 21px / 1 var(--f-pixel);
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--cream);
  background: var(--night);
  border: 0;
  padding: 0 22px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(26, 27, 75, 0.28);
  transition:
    background-color 0.15s var(--ease-out),
    transform 0.1s var(--ease-out),
    box-shadow 0.1s var(--ease-out);
}
.button:hover {
  background: var(--violet);
}
.button:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 rgba(26, 27, 75, 0.28);
}
.button .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.example {
  margin: 0;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 48px);
  display: grid;
  justify-items: center;
  gap: 22px;
}
.chat {
  width: min(420px, 100%);
  display: grid;
  gap: 14px;
}
.bubble {
  justify-self: end;
  padding: 10px 18px;
  background: var(--night);
  color: var(--cream);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  animation: rise 0.9s var(--ease-out) 0.24s both;
  font-family: var(--f-display);
  font-style: italic;
}
.later {
  justify-self: center;
  font-size: 14px;
  color: var(--muted);
  animation: rise 0.9s var(--ease-out) 0.3s both;
}
.message {
  width: 100%;
  background: var(--cream);
  color: var(--night);
  border: 2px solid var(--night);
  box-shadow: var(--lift);
  padding: 22px 24px 24px;
  display: grid;
  gap: 10px;
  font-size: 18px;
  line-height: 1.45;
  animation: rise 0.9s var(--ease-out) 0.36s both;
  position: relative;
  font-family: var(--f-sans);
}
.message .from {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(16, 17, 58, 0.18);
  font-size: 14px;
  color: var(--ink-muted);
}
.message .from img {
  width: 22px;
  height: 22px;
}
.message .name {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.message .yes {
  background: var(--night);
  color: var(--cream);
  font-weight: 600;
  padding: 1px 6px;
}
.message .sign {
  color: var(--ink-muted);
}

.block {
  padding-block: clamp(64px, 9vw, 112px) 0;
  display: grid;
  gap: 36px;
}
.head {
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}
h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 20ch;
}
.head p {
  color: var(--muted);
  font-size: 19px;
  max-width: 46ch;
}

.prose {
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 64px);
}
.prose > div {
  max-width: 65ch;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  font-size: 18px;
}
.prose h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 10px;
}
.prose h3:first-child {
  margin-top: 0;
}
.prose code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.article-head h1 {
  max-width: 18ch;
}
.crumbs {
  font-size: 13px;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.byline {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
}
.prose h2 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: none;
  margin-top: 22px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  display: grid;
  gap: 10px;
}
.prose li::marker {
  color: var(--accent);
}
.prose strong {
  font-weight: 650;
}

.flow {
  padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 64px);
}
.steps {
  list-style: none;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  font-size: 18px;
  border-bottom: 1px solid var(--hair);
}
.steps li:first-child {
  padding-top: 0;
}
.steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.steps li::before {
  content: counter(step);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.reason {
  padding: 28px 0 0;
  border-top: 2px solid var(--night);
  display: grid;
  gap: 12px;
  align-content: start;
}
.reason .icon {
  color: var(--accent);
  width: 28px;
  height: 28px;
}
.reason h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.reason p {
  color: var(--muted);
}

.compare {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 64px);
}
.compare table {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 17px;
}
.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 14px 12px;
  border-bottom: 1px solid var(--hair);
}
.compare thead th {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.compare tbody th {
  font-weight: 600;
  width: 26%;
}
.compare td {
  color: var(--muted);
}
.compare td.pond {
  color: var(--fg);
}
.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

.try {
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 64px);
  display: grid;
  gap: 32px;
  justify-items: center;
}
.prompt {
  margin: 0;
  width: min(640px, 100%);
  background: var(--cream);
  color: var(--night);
  border: 2px solid var(--night);
  box-shadow: var(--lift);
  padding: 24px;
  display: grid;
  gap: 14px;
  justify-items: start;
}
.prompt .eyebrow {
  background: var(--deep);
  color: var(--cream);
}
.prompt button:focus-visible {
  outline-color: var(--deep);
}
.prompt p {
  font-size: 19px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.fine {
  width: min(640px, 100%);
  font-size: 15px;
  color: var(--muted);
}

.faq {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}
.faq > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 6px 32px;
  padding: 22px 0;
  border-top: 1px solid var(--hair);
}
.faq > div:last-child {
  border-bottom: 1px solid var(--hair);
}
.faq dt {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.faq dd {
  color: var(--muted);
}

.more {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.more a {
  display: block;
  padding: 18px 22px;
  border: 2px solid var(--night);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
}
.more a:hover {
  color: var(--plum);
  border-color: var(--plum);
}
.more + .fine {
  justify-self: center;
  text-align: center;
}

.posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.post {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px 0 0;
  border-top: 2px solid var(--night);
  color: var(--fg);
  text-decoration: none;
}
.post h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.post p {
  color: var(--muted);
}
.post:hover h2 {
  color: var(--accent);
}
@media (max-width: 860px) {
  .posts {
    grid-template-columns: minmax(0, 1fr);
  }
  .post {
    padding: 24px 0 0;
  }
}

footer {
  margin-top: clamp(72px, 10vw, 120px);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 28px 40px;
  border-top: 1px solid var(--hair);
}
.foot-logo {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
  text-decoration: none;
}
.foot-line {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0;
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 15px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    justify-items: center;
    text-align: center;
  }
  .hero h1 {
    max-width: 16ch;
  }
  .actions {
    justify-content: center;
  }
  .hero > .logo {
    display: block;
    text-align: center;
    margin-bottom: 40px;
  }
}
@media (max-width: 860px) {
  :root {
    --lift: 5px 5px 0 rgba(26, 27, 75, 0.28);
  }
  .reasons {
    grid-template-columns: minmax(0, 1fr);
  }
  .reason {
    padding: 24px 0 0;
  }
  .faq > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .prompt {
    padding: 20px;
  }
}
@media (max-width: 600px) {
  .compare table,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: auto;
  }
  .compare thead {
    display: none;
  }
  .compare tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--hair);
  }
  .compare tr:last-child {
    border-bottom: 0;
  }
  .compare th,
  .compare td {
    padding: 2px 0;
    border: 0;
  }
  .compare td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--muted);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .lede,
  .actions,
  .bubble,
  .later,
  .message {
    animation: none;
  }
  .button {
    transition: none;
  }
  .button:active {
    transform: none;
  }
}
