@font-face {
  font-family: DM Sans;
  src: url("assets/dm-sans-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: Instrument Serif;
  src: url("assets/instrument-serif-regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #2e173e;
  --muted: #66546f;
  --purple: #643196;
  --purple-dark: #522678;
  --paper: #faf8f5;
  --card: #fdfbfc;
  --lavender: #f0e9f5;
  --line: #ddcfe6;
  --line-strong: #b99bcf;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 "DM Sans", sans-serif; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
section[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.container { width: min(75rem, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: .5rem; left: .5rem; padding: .5rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-mark { flex: none; width: 1.3rem; height: 1.3rem; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.75rem; min-height: 5.125rem; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .25rem; text-decoration: none; }
.brand span { color: var(--muted); font-size: .75rem; line-height: 1.25; }
.header-inner nav { display: flex; gap: 1.75rem; margin-left: auto; }
.header-inner nav a { color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; }
.header-inner nav a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: .2em; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .65rem 1.125rem; border: 1px solid transparent; border-radius: .3rem; font-size: .875rem; font-weight: 750; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; }
.primary { background: var(--purple); color: white; }
.primary:hover { background: var(--purple-dark); }
.outline { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.outline:hover { border-color: var(--purple); background: #f1e9f5; }
.header-help { min-height: 2.75rem; white-space: nowrap; }

.hero { background: linear-gradient(145deg, #f8f5f8 25%, #f0e7f7); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: 2.75rem; padding-block: 3.65rem 3.8rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--purple); font-size: .8125rem; font-weight: 750; letter-spacing: .09em; line-height: 1.45; text-transform: uppercase; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.02em; line-height: 1.02; }
h1 { margin-top: .85rem; font-size: clamp(3.6rem, 5.65vw, 5.25rem); }
h1 em { color: var(--purple); font-style: normal; }
h2 { font-size: clamp(2.4rem, 3.3vw, 3.4rem); }
.lead { max-width: 29rem; margin-top: 1.05rem; color: var(--muted); font-size: 1.125rem; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; max-width: 21rem; margin-block: 1.4rem 1.1rem; }
.hero-price, .plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; line-height: 1.1; }
.hero-price strong, .plan-price strong { font-size: 2.125rem; font-weight: 800; letter-spacing: -.045em; }
.hero-price span, .plan-price span { color: var(--muted); font-size: .9375rem; }
.fine-print { margin-top: .35rem; color: var(--muted); font-size: .8125rem; }
.hero-art { position: relative; width: 100%; aspect-ratio: 1.83; overflow: hidden; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; mix-blend-mode: multiply; mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent), linear-gradient(0deg, transparent, black 16%, black 84%, transparent); mask-composite: intersect; }
.spec-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: .75rem; border: 1px solid var(--line); border-radius: .45rem; background: #fcf9fdd9; text-align: center; }
.spec-strip div + div { border-left: 1px solid var(--line); }
.spec-strip dt { display: grid; justify-items: center; gap: .2rem; color: var(--muted); font-size: .8125rem; }
.spec-strip .icon { color: var(--purple); }
.spec-strip dd { font-size: 1.0625rem; font-weight: 750; }

.section { padding-block: 3.75rem; }
.section-heading { max-width: 43rem; margin: 0 auto 1.85rem; text-align: center; }
.section-heading p { margin-top: .75rem; color: var(--muted); }
.workload-ticker { --logo-gap: 2.2rem; border-block: 1px solid var(--line); background: var(--card); }
.workload-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .85rem var(--logo-gap); padding: 1.1rem .85rem; list-style: none; }
.workload-logos[aria-hidden="true"] { display: none; }
.workload-logos li { display: flex; flex: none; align-items: center; gap: .65rem; color: var(--ink); font-size: .9rem; font-weight: 650; white-space: nowrap; }
.workload-logos img { width: 2rem; height: 2rem; object-fit: contain; }
.workload-logos .workload-wordmark { width: auto; max-width: 6rem; }

@media (prefers-reduced-motion: no-preference) {
  .workload-ticker.is-looping { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .is-looping .workload-track { display: flex; width: max-content; animation: workload-loop 55s linear infinite; }
  .is-looping .workload-logos { flex: none; flex-wrap: nowrap; padding-inline: 0 var(--logo-gap); }
  .is-looping .workload-logos[aria-hidden="true"] { display: flex; }
}

@media (hover: hover) {
  .workload-ticker:hover .workload-track { animation-play-state: paused; }
}

@keyframes workload-loop { to { transform: translateX(-50%); } }

.plans { border-block: 1px solid var(--line); background: var(--lavender); }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 53rem; margin-inline: auto; }
.plan { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: .5rem; background: var(--card); }
.plan.featured { border-color: var(--purple); box-shadow: 0 0 0 1px var(--purple); }
.plan-header, .plan-body { padding: 1.35rem 1.55rem; }
.plan-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; align-items: center; gap: .55rem 1rem; flex: 1; border-bottom: 1px solid var(--line); background: #f7f2f9; }
.featured .plan-header { background: #eadef3; }
.plan h3 { margin-top: .25rem; font-size: clamp(1.65rem, 2.5vw, 2rem); line-height: 1.12; letter-spacing: -.035em; }
.stack-icon { width: 4.25rem; height: 3.6rem; color: var(--purple); stroke-width: 1.35; }
.stack-icon .stack-top { fill: #fdf9ff; }
.stack-icon .stack-side { fill: #dcc3eb; }
.plan-description { grid-column: 1 / -1; color: var(--muted); }
.plan-body { display: grid; gap: 1.15rem; }
.plan-action { justify-self: start; inline-size: 11.5rem; max-inline-size: 100%; padding-inline: .7rem; gap: .5rem; }
.plan-action-icon { width: 1.35rem; height: 1.2rem; stroke-width: 2.8; --stack-button-surface: var(--card); }
.primary .plan-action-icon { --stack-button-surface: var(--purple); }
.primary:hover .plan-action-icon { --stack-button-surface: var(--purple-dark); }
.stack-top, .stack-side { fill: var(--stack-button-surface, none); }
.plan-price strong { font-size: clamp(2.25rem, 4vw, 2.75rem); }
.plan-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: .75rem 0; border-block: 1px solid var(--line); list-style: none; }
.plan-specs li { display: grid; justify-items: center; gap: .4rem; padding-inline: .1rem; font-size: .875rem; font-weight: 750; line-height: 1.25; text-align: center; white-space: nowrap; }
.plan-specs li + li { border-left: 1px solid var(--line); }
.plan-specs .icon { color: var(--purple); }

.faq { max-width: 55rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem .6rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--purple); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 .6rem 1rem; color: var(--muted); }

.support-band { border-block: 1px solid var(--line); background: var(--lavender); }
.support-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.8rem; }
.support-inner > img { flex: none; width: 6rem; height: 6rem; object-fit: contain; }
.support-inner h2 { font-size: clamp(2rem, 3vw, 2.65rem); }
.support-inner p { margin-top: .3rem; color: var(--muted); }
.support-inner .button { margin-left: auto; flex: none; }


.checkout-header { justify-content: space-between; }
.checkout-header .button { min-height: 2.75rem; }
#checkout h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
.checkout-caption { margin-top: .7rem; color: var(--muted); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: 1.5rem; margin-top: 1.6rem; }
.checkout-panel { padding: 1.45rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--card); }
.checkout-panel h2 { font-size: 2.3rem; }
.checkout-summary h3 { margin-top: .85rem; font-size: 1.2rem; }
.checkout-summary > p:not(.plan-price) { color: var(--muted); }
.checkout-summary .plan-specs { margin-block: .85rem; }
.checkout-details fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0; padding: 0; border: 0; min-inline-size: 0; }
.checkout-details label { display: grid; gap: .35rem; font-size: .875rem; font-weight: 650; }
.checkout-details input { width: 100%; min-height: 2.75rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: .3rem; background: var(--paper); font: inherit; }
.checkout-billing { display: grid; gap: .65rem; margin-bottom: 1rem; }
.checkout-billing div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; padding-top: .55rem; border-top: 1px solid var(--line); }
.checkout-billing dt { color: var(--muted); }
.checkout-billing dd { font-weight: 650; }
.checkout-details .button:disabled { opacity: .65; cursor: default; }

@media (max-width: 55rem) {
  .container { width: calc(100% - 2.5rem); }
  .header-inner { gap: 1rem; }
  .header-inner nav { gap: 1rem; }
  .hero-grid { gap: 1.5rem; }
}

@media (max-width: 44rem) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-block: .85rem .6rem; }
  .header-inner nav { order: 1; justify-content: space-between; gap: .5rem; width: 100%; margin: 0; padding-top: .55rem; border-top: 1px solid var(--line); }
  .header-inner nav a { font-size: .8125rem; white-space: nowrap; }
  .brand img { max-width: 8.25rem; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { grid-row: 1; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.35rem; padding-block: 2.35rem 1.65rem; }
  h1 { font-size: clamp(3.25rem, 10vw, 4.65rem); }
  .hero-art { aspect-ratio: 1.92; }
  .section { padding-block: 2.65rem; }
  .section-heading { margin-bottom: 1.35rem; }
  .workload-ticker { --logo-gap: 1.5rem; }
  .plan-grid { grid-template-columns: 1fr; }
  .support-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; }
  .support-inner > img { width: 4rem; height: 4rem; }
  .support-inner .button { grid-column: 2; justify-self: start; margin-left: 0; }
}

@media (max-width: 23rem) {
  .container { width: calc(100% - 2rem); }
  .header-inner nav { gap: .45rem; }
  .header-inner nav a { font-size: .75rem; white-space: normal; }
  .hero .button, .header-help { padding-inline: .65rem; }
  .spec-strip dd { font-size: .9375rem; }
  .plan-header, .plan-body { padding-inline: 1.1rem; }
  .checkout-header .button { padding-inline: .65rem; }
  .checkout-details fieldset { grid-template-columns: 1fr; }
}
