:root {
  --page-paper: #faf6ef;
  --page-ink: #30243d;
  --page-muted: #746676;
  --page-line: #3f304619;
  --page-plum: #5d3f6e;
  --page-coral: #a94731;
  --page-code: #2d2339;
}

body.content-page {
  color-scheme: light;
  background: var(--page-paper);
  color: var(--page-ink);
}

.content-page .site-header {
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--page-paper) 92%, transparent);
  backdrop-filter: blur(16px);
  border-color: var(--page-line);
}

.content-page .header-inner { justify-content: space-between; }
.page-nav { display: flex; align-items: center; gap: 25px; }
.page-nav a { color: #6c5a70; font-size: 12px; font-weight: 650; }
.page-nav a:hover, .page-nav a[aria-current=page] { color: var(--page-coral); }
.page-nav .button { color: #fff8f0; background: #413051; }

.page-main { padding: 74px 0 120px; }
.page-hero { max-width: 850px; padding-bottom: 57px; }
.page-kicker { margin-bottom: 17px; color: var(--page-coral); font-size: 10px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.page-hero h1 { max-width: 780px; margin: 0 0 22px; font-size: clamp(48px, 6vw, 78px); line-height: 1.04; }
.page-hero h1 em { color: var(--page-coral); font-family: var(--serif); font-size: 1.18em; font-weight: 400; }
.page-lede { max-width: 710px; color: var(--page-muted); font-size: 17px; line-height: 1.85; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 25px; color: #88798a; font: 11px var(--mono); }
.page-meta span:first-child { color: var(--page-plum); }

.article-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: 72px; align-items: start; }
.page-toc { position: sticky; top: 118px; display: flex; flex-direction: column; gap: 5px; padding-top: 4px; }
.page-toc strong { margin-bottom: 10px; color: #3b2b42; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.page-toc a { padding: 5px 0; color: #806f81; font-size: 11px; line-height: 1.5; }
.page-toc a:hover { color: var(--page-coral); }

.prose { min-width: 0; }
.prose section { padding: 0 0 41px; scroll-margin-top: 116px; }
.prose section + section { padding-top: 41px; border-top: 1px solid var(--page-line); }
.prose h2 { margin-bottom: 17px; color: #34253d; font-size: 28px; letter-spacing: -.025em; }
.prose h3 { margin: 27px 0 10px; color: #46334d; font-size: 16px; }
.prose p, .prose li { color: #6f6172; font-size: 14px; line-height: 1.9; }
.prose p + p, .prose p + ul, .prose p + ol, .prose ul + p, .prose ol + p { margin-top: 15px; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--page-coral); text-decoration: underline; }
.prose strong { color: #45334a; }
.prose .prose-button { width: auto; min-width: 240px; min-height: 56px; margin-top: 22px; gap: 24px; color: #fff9f2; font-size: 15px; text-decoration: none; }
.legal-field { padding: 1px 5px; border-radius: 3px; background: #ffe0ce; color: #873f2b; font-family: var(--mono); font-size: .9em; }

.docs-layout { grid-template-columns: 220px minmax(0, 820px); gap: 66px; }
.docs-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 7px 10px; border: 1px solid #5e9a7a38; border-radius: 5px; background: #e8f2e8; color: #376b52; font: 700 10px var(--mono); }
.docs-status::before { width: 6px; height: 6px; border-radius: 50%; background: #5b9674; content: ''; }
.docs-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 14px; color: #8a7d8c; font: 9px var(--mono); }
.docs-meta span { display: inline-flex; align-items: center; gap: 7px; }
.docs-meta span + span::before { width: 3px; height: 3px; border-radius: 50%; background: #ad9eae; content: ''; }
.docs-note { margin: 22px 0 0; padding: 15px 17px; border-left: 3px solid #5d3f6e; background: #f1eaf2; color: #624f68; font-size: 12px; line-height: 1.75; }
.docs-note-compact { margin-top: 17px; }
.endpoint { display: flex; align-items: center; gap: 10px; margin: 18px 0; padding: 13px 16px; border: 1px solid var(--page-line); border-radius: 7px; background: #fffaf5; font: 12px var(--mono); overflow: auto; }
.method { padding: 4px 7px; border-radius: 4px; background: #5d3f6e; color: #fff; font-size: 9px; font-weight: 700; }
.method-get { background: #4f8068; }
.code-block { position: relative; margin: 18px 0 20px; overflow: hidden; border-radius: 10px; background: var(--page-code); box-shadow: 0 18px 40px -30px #2d2339; }
.code-label { display: flex; justify-content: space-between; padding: 10px 15px; border-bottom: 1px solid #ffffff12; color: #c4b7cd; background: #352940; font: 9px var(--mono); }
.code-label span:last-child { color: #e4af8e; }
.code-block pre { padding: 18px; overflow: auto; color: #e8dfec; font-size: 11px; line-height: 1.85; }
.code-block .key { color: #d6b0eb; }
.code-block .value { color: #bdd5af; }
.code-block .comment { color: #a99bab; }
.docs-table { width: 100%; margin: 18px 0 8px; border-collapse: collapse; font-size: 12px; }
.docs-table th, .docs-table td { padding: 13px 12px; border-bottom: 1px solid var(--page-line); text-align: left; vertical-align: top; }
.docs-table th { color: #47344d; background: #f3ebe5; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.docs-table td { color: #706273; line-height: 1.65; }
.docs-table code, .inline-code { padding: 2px 5px; border-radius: 3px; background: #eee5ef; color: #563d63; font: 11px var(--mono); }
.check-list { list-style: none; padding-left: 0!important; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { position: absolute; left: 0; top: 7px; color: #4f8668; content: '✓'; font-weight: 800; }
.model-list { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 0!important; list-style: none; }
.model-list li + li { margin-top: 0; }
.model-list .inline-code { display: inline-block; padding: 6px 9px; }
.convention-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.convention-grid article { padding: 18px; border: 1px solid var(--page-line); border-radius: 8px; background: #fffaf5; }
.convention-grid strong { display: block; margin-bottom: 6px; font-size: 12px; }
.convention-grid p { font-size: 11px; line-height: 1.7; }
.production-list { display: grid; gap: 0; padding-left: 0!important; list-style: none; }
.production-list li { display: grid; grid-template-columns: 24px 150px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--page-line); }
.production-index { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #eee5ef; color: #5d3f6e!important; font: 700 8px var(--mono)!important; line-height: 1!important; }
.production-list strong { font-size: 12px; }
.production-list span { color: #756777; font-size: 12px; line-height: 1.7; }

.content-page .site-footer { color-scheme: dark; }
.page-footer-links { display: flex; gap: 20px; }
.footer-operator { width: 100%; order: 1; color: #f7f2fb; font-size: 14px; line-height: 1.6; }
.footer-operator a { color: #ffffff; text-decoration: underline; }
.page-footer-links a:hover { color: var(--accent); }

/* Cancel and refund page */
.billing-page { accent-color: #5d3f6e; }
.billing-hero { padding-bottom: 46px; }
.billing-assurances { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.billing-assurances li { display: inline-flex; align-items: center; gap: 9px; color: #4a3751; font-size: 14px; font-weight: 650; }
.billing-assurances .icon { width: 18px; height: 18px; color: var(--page-coral); }

.billing-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.billing-card { position: relative; min-width: 0; scroll-margin-top: 100px; border: 1px solid #3f304617; border-radius: 24px; background: #fffaf5; box-shadow: 0 30px 80px -52px #432b4f91; }
.billing-contact { display: grid; gap: 28px; padding: clamp(28px, 4vw, 48px); }
.billing-contact-text { max-width: 520px; color: #34253d; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; letter-spacing: -.01em; }
.billing-contact-text a { color: var(--page-coral); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.billing-contact-button { min-height: 56px; font-size: 15px; }
.billing-contact-operator { padding-top: 22px; border-top: 1px solid var(--page-line); color: #625466; font-size: 12.5px; line-height: 1.6; }

.billing-facts { min-width: 0; padding-top: 6px; }
.billing-facts section { padding-bottom: 30px; scroll-margin-top: 110px; }
.billing-facts section + section { padding-top: 30px; border-top: 1px solid var(--page-line); }
.billing-facts h2 { margin: 0 0 14px; color: #34253d; font-size: 21px; letter-spacing: -.025em; }
.fact-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fact-list li { position: relative; padding-left: 20px; color: #5a4c5e; font-size: 14px; line-height: 1.65; }
.fact-list li::before { position: absolute; top: .64em; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--page-coral); content: ''; }
.fact-tip { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 13px 15px; border-radius: 12px; background: #eaf3e8; color: #24543f; font-size: 14px; font-weight: 650; line-height: 1.55; }
.fact-tip .icon { flex: none; width: 18px; height: 18px; color: #2e6954; }
.fact-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--page-coral); font-size: 14px; font-weight: 750; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.fact-link .icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.fact-link:hover .icon { transform: translateX(3px); }

@media (max-width: 920px) {
  .billing-layout { grid-template-columns: 1fr; gap: 44px; }
  .billing-card, .billing-facts { max-width: 720px; }
}

@media (max-width: 560px) {
  .billing-hero { padding-bottom: 32px; }
  .billing-assurances { flex-direction: column; gap: 10px; margin-top: 22px; }
  .billing-assurances li { font-size: 13px; }
  .billing-card { border-radius: 18px; }
  .billing-contact { gap: 22px; padding: 26px 18px 24px; }
  .billing-facts h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .fact-link:hover .icon { transform: none; }
}

/* Get started */
.get-started-page { min-height: 100vh; }
.get-started-page .site-header { z-index: 30; }
.get-started-nav .button { color: #fff9f2; }
.get-started-main { position: relative; isolation: isolate; overflow: hidden; padding: 70px 0 110px; }
.get-started-glow { position: absolute; z-index: -1; inset: -260px -20% auto 30%; height: 740px; background: radial-gradient(ellipse, #efb39142 0%, #d9bee526 38%, transparent 70%); pointer-events: none; }
.get-started-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr); gap: clamp(55px, 7vw, 104px); align-items: start; }
.get-started-intro { position: sticky; top: 158px; padding-top: 23px; }
.get-started-back { display: inline-block; margin-bottom: 47px; color: #806c82; font-size: 11px; font-weight: 650; }
.get-started-back:hover { color: var(--page-coral); }
.get-started-intro .page-kicker { margin-bottom: 20px; }
.get-started-intro h1 { max-width: 580px; margin: 0; color: #30243d; font-size: clamp(47px, 4.55vw, 67px); line-height: 1.08; letter-spacing: -.048em; }
.get-started-intro h1 em { display: inline-block; color: var(--page-coral); font-family: var(--serif); font-size: 1.03em; font-weight: 400; letter-spacing: -.025em; }
.get-started-lede { max-width: 570px; margin-top: 30px; color: #6f6172; font-size: 14px; line-height: 1.9; }
.access-highlights { display: grid; gap: 22px; margin: 38px 0 0; padding: 31px 0 0; border-top: 1px solid var(--page-line); list-style: none; }
.access-highlights li { display: grid; grid-template-columns: 36px 1fr; gap: 15px; align-items: start; }
.access-highlights li > span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #5d3f6e21; border-radius: 10px; color: #5d3f6e; background: #fffaf6; }
.access-highlights .icon { width: 15px; height: 15px; stroke-width: 2; }
.access-highlights strong { display: block; margin-bottom: 2px; color: #423149; font-size: 12px; }
.access-highlights p { color: #7e7080; font-size: 11px; line-height: 1.65; }
.intro-footnote { display: flex; align-items: center; gap: 9px; margin-top: 35px; color: #958798; font: 9px var(--mono); line-height: 1.7; }
.intro-footnote > span { width: 6px; height: 6px; border-radius: 50%; background: #66a080; box-shadow: 0 0 0 4px #66a08015; }

.application-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #3f304617; border-radius: 24px; background: #fffaf5; box-shadow: 0 30px 80px -52px #432b4f91; }
#form-panel { padding: clamp(32px, 4vw, 54px); }
.application-heading { margin-bottom: 34px; padding-bottom: 31px; border-bottom: 1px solid var(--page-line); }
.application-heading .page-kicker { margin-bottom: 13px; }
.application-heading h2, .application-success h2 { margin: 0; color: #34253d; font-size: clamp(28px, 2.65vw, 39px); letter-spacing: -.04em; }
.application-heading > p:last-child { max-width: 470px; margin-top: 12px; color: #766779; font-size: 12px; line-height: 1.75; }
#application-form { display: grid; gap: 21px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { min-width: 0; }
.form-field label { display: block; margin-bottom: 7px; color: #4d3a53; font-size: 11px; font-weight: 720; }
.form-field label span { color: var(--page-coral); }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.label-row > span { color: #9a8c9d; font: 9px var(--mono); }
.get-started-page input, .get-started-page textarea { display: block; width: 100%; border: 1px solid #44314c24; border-radius: 9px; outline: none; background: #fdf9f4; color: #34263b; font: 12px var(--sans); transition: border-color .18s, box-shadow .18s, background .18s; }
.get-started-page input { height: 48px; padding: 0 14px; }
.get-started-page textarea { min-height: 142px; padding: 13px 14px; line-height: 1.7; resize: vertical; }
.get-started-page input::placeholder, .get-started-page textarea::placeholder { color: #a397a5; opacity: 1; }
.get-started-page input:hover, .get-started-page textarea:hover { border-color: #5d3f6e42; }
.get-started-page input:focus, .get-started-page textarea:focus { border-color: #745486; background: #fffdfa; box-shadow: 0 0 0 4px #74548612; }
.field-hint, .field-error { margin-top: 7px; font-size: 9px; line-height: 1.55; }
.field-hint { color: #958798; }
.field-error { color: #a13c2c; }
.field-error:empty { display: none; }
#application-form.was-validated input:invalid, #application-form.was-validated textarea:invalid { border-color: #b44e3c; box-shadow: 0 0 0 3px #b44e3c0c; }
.review-note { display: grid; grid-template-columns: 39px 1fr; gap: 14px; align-items: start; margin-top: 2px; padding: 16px 17px; border: 1px solid #b6684a24; border-radius: 11px; background: #f8e9df; }
.review-note > span { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 10px; background: #fff8f1; color: #a64f38; }
.review-note .icon { width: 17px; height: 17px; }
.review-note strong { display: block; color: #673f39; font-size: 11px; }
.review-note p { margin-top: 2px; color: #825d54; font-size: 10px; line-height: 1.65; }
.application-submit { width: 100%; min-height: 53px; justify-content: space-between; margin-top: 2px; padding-inline: 19px; border: 0; color: #fff9f2; background: #3e2d4c; }
.application-submit:hover { background: #4b375b; }
.application-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.form-privacy { color: #5c4e60; font-size: 13px; line-height: 1.65; text-align: center; }
.form-submit-error { padding: 0 3px; color: #8a2e22; font-size: 14px; line-height: 1.6; outline: none; font-weight: 650; }
.form-fallback { margin: 0; text-align: center; }
.form-fallback a { color: #3f2754; font-size: 14px; font-weight: 750; }
.form-submit-error.is-info { padding: 13px 15px; border-radius: 11px; background: #efe6f2; color: #3a2944; font-weight: 600; }
.selected-offer { margin: 0 0 8px; padding: 16px 18px; border: 1px solid #5d3f6e2b; border-radius: 12px; background: #f4ebe4; }
.selected-offer .page-kicker { margin-bottom: 6px; }
#selected-offer-name { margin: 0; color: #2c1d38; font-size: 16px; font-weight: 750; }
#selected-offer-price { margin: 8px 0 0; color: #24182f; font-size: 15px; font-weight: 650; line-height: 1.55; }
.get-started-footer .footer-operator { grid-column: 1 / -1; font-size: 13px; line-height: 1.55; color: #f7f2fb; text-align: left; }
.get-started-footer .footer-operator a { color: #fff; }
.get-started-footer nav { flex-wrap: wrap; justify-content: center; }
.form-privacy a { color: #654a72; text-decoration: underline; }
.form-submit-error:empty { display: none; }

.application-success { display: flex; min-height: 720px; padding: clamp(42px, 5vw, 68px); flex-direction: column; justify-content: center; outline: none; }
.application-success[hidden] { display: none; }
.success-mark { display: grid; width: 62px; height: 62px; margin-bottom: 31px; place-items: center; border-radius: 50%; color: #fffaf3; background: #4d8068; box-shadow: 0 0 0 11px #4d806811; }
.success-mark .icon { width: 28px; height: 28px; stroke-width: 2; }
.application-success .page-kicker { margin-bottom: 13px; color: #4d8068; }
.application-success h2 span { color: var(--page-coral); font-family: var(--serif); font-size: 1.17em; font-weight: 400; }
.application-success > p:not(.page-kicker) { margin: 19px 0 31px; color: #746677; font-size: 13px; line-height: 1.85; }
.application-success > p strong { color: #46344d; font-weight: 700; }
.success-next { display: grid; grid-template-columns: 33px 1fr; gap: 15px; padding: 17px 0; border-top: 1px solid var(--page-line); }
.success-next > span { padding-top: 2px; color: var(--page-coral); font: 9px var(--mono); }
.success-next p { color: #88798a; font-size: 10px; line-height: 1.65; }
.success-next strong { display: block; margin-bottom: 2px; color: #4c3952; font-size: 11px; }
.application-success .button { width: 100%; justify-content: space-between; margin-top: 29px; color: #fff9f2; background: #3e2d4c; }
.submit-another { align-self: center; margin-top: 18px; color: #7d6d80; font-size: 10px; text-decoration: underline; text-underline-offset: 4px; }
.submit-another:hover { color: var(--page-coral); }

.get-started-footer { color: #b7a5c3; background: #2f233d; }
.get-started-footer .container { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; min-height: 83px; font-size: 8px; }
.get-started-footer nav { display: flex; gap: 24px; }
.get-started-footer a:hover { color: #f1d5bf; }
.get-started-footer p:last-child { text-align: right; }

@media (max-width: 920px) {
  .get-started-main { padding-top: 48px; }
  .get-started-layout { grid-template-columns: 1fr; gap: 48px; }
  .get-started-intro { position: static; max-width: 660px; padding-top: 0; }
  .get-started-back { margin-bottom: 36px; }
  .get-started-lede { max-width: 620px; }
  .access-highlights { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .access-highlights li { grid-template-columns: 1fr; }
  .application-card { max-width: 660px; width: 100%; }
}

@media (max-width: 800px) {
  .page-main { padding-top: 55px; }
  .article-layout, .docs-layout { grid-template-columns: 1fr; gap: 28px; }
  .page-toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; padding: 18px; border: 1px solid var(--page-line); border-radius: 8px; background: #fff9f3; }
  .page-toc strong { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .content-page .site-header { background: color-mix(in srgb, var(--page-paper) 94%, transparent); }
  .content-page .header-inner { min-height: 68px; }
  .page-nav { gap: 13px; }
  .page-nav a { font-size: 10px; }
  .page-nav .button { display: none; }
  .page-main { padding: 42px 0 80px; }
  .page-hero { padding-bottom: 40px; }
  .page-hero h1 { font-size: clamp(42px, 13vw, 61px); }
  .page-lede { font-size: 14px; }
  .page-toc { grid-template-columns: 1fr; }
  .prose h2 { font-size: 24px; }
  .prose p, .prose li { font-size: 13px; }
  .docs-table { display: block; overflow-x: auto; white-space: nowrap; }
  .docs-meta { display: grid; gap: 6px; }
  .docs-meta span + span::before { display: none; }
  .convention-grid { grid-template-columns: 1fr; }
  .production-list li { grid-template-columns: 24px 1fr; }
  .production-list li span { grid-column: 2; }
  .page-footer-links { margin-top: 12px; flex-wrap: wrap; }
  .get-started-page .header-inner { min-height: 68px; }
  .get-started-nav > a:not(.button) { display: none; }
  .get-started-nav .button { display: inline-flex; min-height: 38px; padding: 9px 12px; font-size: 10px; }
  .get-started-main { padding: 38px 0 72px; }
  .get-started-layout { gap: 37px; }
  .get-started-back { margin-bottom: 31px; }
  .get-started-intro h1 { font-size: clamp(41px, 12vw, 55px); }
  .get-started-lede { margin-top: 24px; font-size: 12px; }
  .access-highlights { grid-template-columns: 1fr; gap: 18px; margin-top: 29px; padding-top: 26px; }
  .access-highlights li { grid-template-columns: 34px 1fr; gap: 13px; }
  .access-highlights li > span { width: 34px; height: 34px; }
  .intro-footnote { margin-top: 28px; }
  .application-card { border-radius: 17px; }
  #form-panel { padding: 29px 20px 25px; }
  .application-heading { margin-bottom: 28px; padding-bottom: 25px; }
  .application-heading h2, .application-success h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 21px; }
  #application-form { gap: 20px; }
  .get-started-page input { height: 48px; }
  .review-note { grid-template-columns: 34px 1fr; padding: 14px; }
  .review-note > span { width: 34px; height: 34px; }
  .form-privacy { padding-inline: 6px; }
  .application-success { min-height: 650px; padding: 42px 25px; }
  .get-started-footer .container { grid-template-columns: 1fr; gap: 14px; min-height: 0; padding-block: 18px; }
  .get-started-footer .footer-operator { display: block; }
}
