@font-face {
  font-family: "Loverine";
  src: url("/fonts/Loverine.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-600.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-900.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "Noto Serif";
  src: url("/fonts/noto-serif-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ink: #131313;
  --paper: #f7edbd;
  --cream: #fffbea;
  --nav-surface: rgba(255, 251, 234, 0.76);
  --border: rgba(19, 19, 19, 0.28);
  --muted: #565656;
  --coral: #ff5964;
  --violet: #a58bff;
  --blue: #00a8d6;
  --mint: #6ae1c6;
}

:root[data-theme="dark"] {
  --ink: #f7f2dc;
  --paper: #111216;
  --cream: #1b1d22;
  --nav-surface: rgba(27, 29, 34, 0.82);
  --border: rgba(247, 242, 220, 0.24);
  --muted: #b9b6aa;
  --coral: #ff6d76;
  --violet: #a991ff;
  --blue: #35bde4;
  --mint: #72e8cc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  transition:
    background-color 220ms ease,
    color 220ms ease;
}

body,
button,
a,
input,
textarea {
  font-family: "Montserrat", Arial, sans-serif;
}

a {
  color: inherit;
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 1rem 1.25rem 0;
  background: linear-gradient(
    to bottom,
    var(--paper) 0%,
    color-mix(in srgb, var(--paper) 94%, transparent) 72%,
    transparent 100%
  );
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  min-height: 66px;
  margin: 0 auto;
  padding: 0.65rem 0.8rem 0.65rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--nav-surface);
  backdrop-filter: blur(14px);
}

.wordmark {
  font-family: "Loverine", "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-links a {
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:not(.nav-cta):hover {
  opacity: 0.58;
}

.nav-cta {
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}

.menu-button,
.theme-toggle {
  display: none;
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.85rem;
  font-weight: 700;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
}

.theme-toggle [data-theme-icon] {
  color: var(--coral);
  font-size: 1rem;
}

.section {
  width: min(1280px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 7rem 0;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  min-height: 650px;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.kicker,
.card-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.hero h1 em {
  color: var(--coral);
  font-family: "Loverine", "Montserrat", sans-serif;
  font-size: 1.08em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero-copy > p {
  max-width: 650px;
  margin: 2rem 0 0;
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 0.55rem;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

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

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  cursor: crosshair;
}

.compass-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 500px);
  aspect-ratio: 1;
}

.hero-compass {
  display: block;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform: rotate3d(0, 0, 1, var(--compass-angle, -12deg));
  transform-origin: 50% 50%;
  will-change: transform;
}

.technology-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 2rem;
  align-items: stretch;
}

.technology-panel {
  padding: 2.5rem;
  border-radius: 1rem;
  background: #111216;
  color: white;
}

.technology-panel > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: lowercase;
}

.section .technology-panel h2 {
  margin: 0;
  color: var(--mint);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.technology-list {
  display: grid;
  gap: 1.4rem;
  margin: 3rem 0 0;
}

.technology-list div {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.technology-list dt {
  font-size: 1rem;
  font-weight: 600;
}

.technology-list dd {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  line-height: 1.55;
}

.technology-art {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  border-radius: 1rem;
  object-fit: contain;
  object-position: center;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading p,
.ownership > p {
  max-width: 700px;
  margin: 1.25rem auto 0;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-heading.left p {
  margin-left: 0;
}

.billing-toggle {
  display: flex;
  width: fit-content;
  margin: 0 auto 2.5rem;
  padding: 0.3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.billing-toggle button {
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.billing-toggle button.active {
  background: var(--ink);
  color: var(--paper);
}

.billing-toggle small {
  margin-left: 0.3rem;
  color: var(--coral);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.price-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 2rem;
  border: 1px solid #131313;
  border-radius: 1.2rem;
  color: #131313;
}

.plan-mark {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  opacity: 1;
  transition:
    transform 180ms ease;
}

.price-card:hover .plan-mark {
  transform: translateY(-4px);
}

.card-1 {
  background: var(--violet);
}

.card-2 {
  background: var(--coral);
}

.card-3 {
  background: var(--blue);
}

.price-card h3 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.price-card > p {
  min-height: 88px;
  line-height: 1.6;
}

.price {
  margin: 1rem 0;
}

.price strong {
  font-size: 3.2rem;
  letter-spacing: -0.06em;
}

.price span {
  font-size: 0.82rem;
  font-weight: 700;
}

.price-card ul {
  flex: 1;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(19, 19, 19, 0.25);
  font-size: 0.86rem;
  font-weight: 600;
}

.price-card .button-dark {
  border-color: #131313;
  background: #131313;
  color: white;
}

.plan-link {
  display: inline-flex;
  justify-content: space-between;
  margin-top: 0.9rem;
  padding: 0.4rem 0.1rem;
  border-bottom: 1px solid rgba(19, 19, 19, 0.45);
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}

.plan-link:hover {
  border-bottom-color: #131313;
}

.pricing-note,
.form-message {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.78rem;
}

.form-message.error {
  color: #8b1420;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto 1fr;
  gap: 0 2.5rem;
  align-items: start;
}

.platform-intro {
  display: contents;
}

.platform-intro > .kicker {
  grid-column: 2;
  grid-row: 1;
}

.platform-script {
  grid-column: 2;
  grid-row: 2;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-family: "Loverine", "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.platform-intro > h2 {
  grid-column: 2;
  grid-row: 3;
}

.platform-illustration {
  grid-column: 1;
  grid-row: 1 / 5;
  align-self: stretch;
  margin: 1.25rem 0;
  padding: 2rem;
}

.platform-illustration img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.platform-illustration p {
  max-width: 520px;
  margin: 1.5rem 0 0;
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

.feature-list {
  grid-column: 2;
  grid-row: 4;
}

.feature-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--border);
}

.feature-list article > strong {
  color: var(--coral);
  font-size: 0.75rem;
}

.feature-list h3 {
  margin: 0;
  font-size: 1.45rem;
}

.feature-list p {
  margin-bottom: 0;
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

.platform-account-link {
  margin-top: 1rem;
}

.free-plugins-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.45fr);
  gap: 3rem;
  align-items: center;
}

.open-source-section {
  padding-bottom: 2rem;
}

.open-source-section .section-heading .button {
  margin-top: 1.25rem;
}

.open-source-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.open-source-core-grid > a {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--ink);
  border-radius: 1.2rem;
  background: var(--cream);
  text-decoration: none;
  transition: transform 160ms ease;
}

.open-source-core-grid > a:hover {
  transform: translateY(-4px);
}

.open-source-core-grid span {
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.open-source-core-grid h3 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.045em;
}

.open-source-core-grid p {
  flex: 1;
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

.open-source-core-grid strong {
  margin-top: 1rem;
  font-size: 0.78rem;
}

.open-source-feature {
  display: flex;
  min-height: 330px;
  margin-top: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--ink);
  border-radius: 1.2rem;
  background: var(--violet);
  color: white;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 160ms ease;
}

.open-source-feature:hover {
  transform: translateY(-4px);
}

.open-source-feature span {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.open-source-feature h3 {
  max-width: 760px;
  margin: 1rem 0;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.open-source-feature p {
  max-width: 760px;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

.open-source-feature strong {
  margin-top: 2rem;
  font-size: 0.78rem;
}

.free-plugins-heading > img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  transform: rotate(3deg);
}

.clients-section {
  padding-top: 4rem;
}

.trusted-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.trusted-section .client-logo-grid a {
  min-height: 105px;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.client-logo-grid a {
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.client-logo-grid a:hover {
  background: var(--ink);
  color: var(--paper);
}

.client-logo-grid span {
  color: var(--coral);
}

.client-logo-grid em {
  font-family: "Loverine", "Montserrat", sans-serif;
  font-size: 1.3em;
  font-style: normal;
  font-weight: 400;
  text-transform: none;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial-grid figure {
  min-height: 220px;
  margin: 0;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--cream);
}

.testimonial-grid blockquote {
  margin: 0;
  color: var(--muted);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.6;
}

.testimonial-grid blockquote::before {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--violet);
  content: "“";
  font-family: "Loverine", serif;
  font-size: 4rem;
  line-height: 0.5;
}

.testimonial-grid figcaption {
  margin-top: 2rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.testimonial-grid figcaption strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
}

.approval-note {
  max-width: 700px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.plugin-card {
  min-height: 310px;
  padding: 1.5rem;
  border: 1px solid var(--ink);
  border-radius: 1rem;
  background: var(--cream);
  text-decoration: none;
  transition: transform 160ms ease;
}

.plugin-card:hover {
  transform: translateY(-4px);
}

.plugin-card > span,
.resource-grid span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plugin-card h3 {
  min-height: 68px;
  margin: 1rem 0;
  font-size: 1.4rem;
}

.plugin-card p {
  min-height: 95px;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.55;
}

.plugin-card strong {
  font-size: 0.78rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.resource-grid > a {
  min-height: 370px;
  padding: 2rem;
  border: 1px solid var(--ink);
  border-radius: 1.2rem;
  background: var(--mint);
  text-decoration: none;
}

.resource-grid > a:last-child {
  background: var(--ink);
  color: var(--paper);
}

.resource-grid h2 {
  max-width: 500px;
  margin-top: 5rem;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.resource-grid p {
  max-width: 520px;
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

.blog-preview {
  padding-top: 2rem;
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.article-card-grid > a {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--ink);
  border-radius: 1.2rem;
  background: var(--cream);
  text-decoration: none;
  transition: transform 160ms ease;
}

.article-card-grid > a:hover {
  transform: translateY(-4px);
}

.article-card-grid span {
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-card-grid h3 {
  max-width: 620px;
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.article-card-grid p {
  flex: 1;
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

.article-card-grid strong {
  margin-top: 1rem;
  font-size: 0.78rem;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.ownership {
  position: relative;
  overflow: hidden;
  width: min(1240px, calc(100% - 2.5rem));
  margin-bottom: 6rem;
  padding: 5rem;
  border-radius: 1.2rem;
  background: #111216;
  color: white;
  text-align: center;
}

.ownership-copy {
  position: relative;
  z-index: 1;
}

.ownership-pattern {
  position: absolute;
  inset: -30% -8% auto auto;
  width: 58%;
  max-height: 150%;
  object-fit: contain;
  opacity: 0.16;
  transform: rotate(8deg);
  pointer-events: none;
}

.ownership-copy > p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 700px;
  margin: 1.25rem auto 0;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
}

.ownership .button {
  margin-top: 2rem;
  border-color: white;
  color: white;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
  padding: 4rem max(1.25rem, calc((100% - 1240px) / 2));
  background: var(--cream);
}

.site-footer p {
  max-width: 420px;
  font-family: "Noto Serif", Georgia, serif;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 700;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.status-page {
  width: min(1040px, calc(100% - 2.5rem));
  min-height: 70vh;
  margin: 0 auto;
  padding: 7rem 0;
}

.status-card {
  padding: 2.5rem;
  border: 1px solid var(--ink);
  border-radius: 1.2rem;
  background: var(--cream);
}

.status-card h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.status-card > p {
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

.subscription-dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.dashboard-panel {
  display: grid;
  gap: 0.55rem;
  min-height: 150px;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--paper);
}

.dashboard-panel strong {
  font-size: 1.4rem;
}

.dashboard-label,
.status-pill {
  width: fit-content;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-pill {
  align-self: end;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--cream);
}

.status-pill[data-status="active"] {
  background: var(--mint);
  color: var(--ink);
}

.licence-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--ink);
  border-radius: 0.6rem;
  background: var(--paper);
}

.licence-card code {
  display: block;
  margin-top: 0.6rem;
  padding: 0.7rem;
  border-radius: 0.4rem;
  background: var(--cream);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  word-break: break-all;
}

.licence-card small {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
}

.deployment-card {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 0.8rem;
  background: var(--ink);
  color: var(--paper);
}

.deployment-card h2 {
  margin: 0.35rem 0 0;
}

.deployment-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0;
}

.deployment-card dl div {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
}

.deployment-card dt {
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deployment-card dd {
  overflow-wrap: anywhere;
  margin: 0;
}

.deployment-card .button {
  width: fit-content;
}

.subscription-dashboard.hidden,
.deployment-card.hidden {
  display: none;
}

.onboarding-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.onboarding-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.onboarding-form input,
.onboarding-form textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 0.4rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
}

.onboarding-form label small {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--muted);
}

.onboarding-form .optional {
  font-weight: 400;
  text-transform: none;
}

.hidden {
  display: none;
}

.onboarding-form .hidden {
  display: none;
}

.content-page {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-bottom: 7rem;
}

.page-hero {
  padding: 7rem 0 4rem;
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.page-hero > p {
  max-width: 760px;
  margin: 1.8rem 0 0;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.8;
}

.breadcrumbs {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.breadcrumbs a {
  text-decoration: none;
}

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

.detail-card {
  min-height: 250px;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--cream);
}

.detail-card .card-kicker {
  color: var(--coral);
}

.detail-card h2,
.detail-card h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.04em;
}

.detail-card p {
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

.detail-card ul {
  padding-left: 1.2rem;
  line-height: 1.8;
}

.workflow {
  display: grid;
  gap: 0;
  margin: 1rem 0 5rem;
  border-top: 1px solid var(--border);
}

.workflow article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.workflow article > strong {
  color: var(--coral);
}

.workflow h2 {
  margin: 0;
  font-size: 1.55rem;
}

.workflow p {
  max-width: 720px;
  margin-bottom: 0;
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

.preview-showcase {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-top: 4rem;
  padding: 2.2rem;
  border: 1px solid var(--ink);
  border-radius: 1rem;
  background: var(--mint);
}

.preview-showcase h2 {
  max-width: 720px;
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
}

.preview-showcase p {
  max-width: 720px;
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

.preview-showcase code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.content-cta {
  margin-top: 4rem;
  padding: 3rem;
  border-radius: 1.2rem;
  background: #111216;
  color: white;
}

.content-cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.05em;
}

.content-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

.content-cta .button {
  margin-top: 1rem;
  border-color: white;
  color: white;
}

.article-meta {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin: 4rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
}

.prose h3 {
  margin: 2.5rem 0 0.8rem;
  font-size: 1.4rem;
}

.prose p,
.prose li {
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.04rem;
  line-height: 1.85;
}

.prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.prose .lead {
  font-size: 1.25rem;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--cream);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
}

.code-frame {
  overflow: hidden;
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #111216;
  color: #f7f2dc;
}

.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
}

.copy-button {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.35rem;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
}

.code-frame pre {
  overflow-x: auto;
  max-height: 700px;
  margin: 0;
  padding: 1.3rem;
  font-size: 0.78rem;
  line-height: 1.65;
  tab-size: 2;
}

.source-note {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--violet);
  background: var(--cream);
  font-family: "Noto Serif", Georgia, serif;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .nav-shell {
    position: relative;
    border-radius: 1rem;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    z-index: 10;
    top: calc(100% + 0.6rem);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--cream);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 0.8rem;
  }

  .theme-toggle {
    justify-content: flex-start;
    border-radius: 0.55rem;
  }
}

@media (max-width: 900px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-copy {
    grid-row: 2;
    text-align: center;
  }

  .hero-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

  .button-row {
    justify-content: center;
  }

  .hero-art {
    grid-row: 1;
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .platform-illustration,
  .platform-intro > .kicker,
  .platform-script,
  .platform-intro > h2,
  .feature-list {
    grid-column: 1;
  }

  .platform-illustration {
    grid-row: 1;
  }

  .platform-intro > .kicker {
    grid-row: 2;
  }

  .platform-script {
    grid-row: 3;
  }

  .platform-intro > h2 {
    grid-row: 4;
  }

  .feature-list {
    grid-row: 5;
  }

  .free-plugins-heading {
    grid-template-columns: 1fr 240px;
  }

  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-grid,
  .plugin-grid,
  .article-card-grid,
  .open-source-core-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .preview-showcase {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .price-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
  }

  .hero-art {
    cursor: default;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .section {
    padding: 5rem 0;
  }

  .pricing-grid,
  .plugin-grid,
  .resource-grid,
  .article-card-grid,
  .open-source-core-grid {
    grid-template-columns: 1fr;
  }

  .technology-section,
  .client-logo-grid {
    grid-template-columns: 1fr;
  }

  .technology-art {
    min-height: 0;
    aspect-ratio: 1.15;
  }

  .free-plugins-heading {
    grid-template-columns: 1fr;
  }

  .free-plugins-heading > img {
    width: min(78%, 320px);
    margin: -1rem auto 1.5rem;
  }

  .price-card,
  .plugin-card {
    min-height: auto;
  }

  .plugin-card h3,
  .plugin-card p {
    min-height: 0;
  }

  .billing-toggle small {
    display: block;
    margin: 0.2rem 0 0;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .subscription-dashboard,
  .deployment-card dl {
    grid-template-columns: 1fr;
  }

  .content-cta {
    padding: 2rem 1.4rem;
  }

  .ownership {
    padding: 3rem 1.4rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

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

  .hero-compass {
    transform: rotate(12deg);
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
