:root {
  --ink: #141719;
  --ink-soft: #24292d;
  --slate: #1f2937;
  --slate-raised: #22272a;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --paper-deep: #ece4d7;
  --gold: #AB701F;
  --gold-bright: #C6872F;
  --gold-dark: #8A5618;
  --teal: #668f88;
  --text: #202528;
  --muted: #626a6d;
  --line: rgba(27, 31, 33, .14);
  --shadow: 0 24px 60px rgba(4, 6, 7, .28);
  --radius: 1.4rem;
  --panel-radius: 1.65rem;
  --wrap: 1180px;
  --shell: 1280px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(155, 93, 21, .12), transparent 24rem),
    var(--slate);
  color: rgba(255, 255, 255, .86);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
.squircle {
  border-radius: 1rem;
  -webkit-clip-path: var(--squircle-path);
  clip-path: var(--squircle-path);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  border-radius: .6rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

.narrow { max-width: 840px; }

.site-header {
  position: sticky;
  z-index: 5000;
  top: 0;
  border: 0;
  background: rgba(255, 255, 255, .005);
  box-shadow: none;
  color: var(--header-fg, #111);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: color 180ms ease;
}

.site-header.theme-dark { --header-fg: #f5f5f5; }

.site-header :is(a, span) { color: inherit; }

.create-site-nav {
  display: flex;
  min-height: 4.65rem;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: .75rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.create-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  flex: 0 0 auto;
}

.create-brand img {
  display: block;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.create-brand a {
  display: block;
  margin-left: .5rem;
  color: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

.create-site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-left: auto;
}

.create-site-menu a {
  position: relative;
  padding-bottom: .35rem;
  color: inherit;
  font-size: .89rem;
  font-weight: 700;
  line-height: 1.5;
  opacity: .78;
  text-decoration: none;
  white-space: nowrap;
}

.create-site-menu a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .18s ease, transform .18s ease;
}

.create-site-menu a:hover,
.create-site-menu a:focus-visible { color: inherit; opacity: 1; }

.create-site-menu a.is-active,
.create-site-menu a[aria-current="page"] { opacity: 1; }

.create-site-menu a.is-active::after,
.create-site-menu a[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }

.create-nav-toggle {
  display: none;
  min-height: 2.35rem;
  padding: .45rem .65rem;
  border: 1px solid currentColor;
  border-radius: .6rem;
  background: transparent;
  color: inherit;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.5;
}

.create-account-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: .75rem;
}

.account-btn {
  display: inline-flex;
  min-height: 2.65rem;
  padding: .5rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 1rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--gold) !important;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.account-btn:hover,
.account-btn:focus-visible {
  border-color: var(--gold);
  background: var(--gold-bright);
  color: #fff !important;
}

.profile-btn {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--gold) !important;
}

.profile-btn svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  color: inherit;
  stroke: currentColor;
}

.profile-btn:hover,
.profile-btn:focus-visible {
  border-color: var(--gold);
  background: var(--gold-bright);
  color: #fff !important;
}

.site-header .hidden,
.profile-btn[hidden] { display: none; }

body.site-modal-open { overflow: hidden; }

[data-shared-account-modals] .hidden { display: none !important; }

#modal-backdrop {
  position: fixed;
  z-index: 5490;
  inset: 0;
  background: transparent;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#modal-backdrop.is-active { opacity: 1; visibility: visible; }

#account-modal,
#signin-modal,
#profile-modal,
#create-account-modal,
#pro-upgrade-modal,
.shared-recording-modal {
  position: fixed;
  z-index: 5500;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease;
  color: #1f2937;
  font-size: 16px;
  line-height: 24px;
}

#account-modal.is-open,
#signin-modal.is-open,
#profile-modal.is-open,
#create-account-modal.is-open,
#pro-upgrade-modal.is-open,
.shared-recording-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

#account-modal > div,
#signin-modal > div,
#profile-modal > div,
#create-account-modal > div,
#pro-upgrade-modal > div,
.shared-recording-modal > div {
  position: relative;
  width: 100%;
  margin: 1rem;
  padding: 4.5rem 2rem 2rem;
  overflow-y: auto;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  color: #1f2937;
  color-scheme: light;
  max-height: calc(100dvh - var(--hdr-h, 0px) - 2rem);
}

#signin-modal > div,
#create-account-modal > div,
#pro-upgrade-modal > div { max-width: 28rem; }
#account-modal > div,
#profile-modal > div { padding: 4.5rem 1.5rem 1.5rem; }
#account-modal > div { max-width: 36rem; }
#profile-modal > div { max-width: 56rem; }
.shared-recording-modal > div { max-width: 56rem; }

[data-shared-account-modals] .back-button {
  position: absolute;
  z-index: 10;
  top: 1.5rem;
  left: 1.5rem;
  display: flex;
  padding: 0;
  border: 0;
  align-items: center;
  gap: .5rem;
  background: none;
  color: var(--gold);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

[data-shared-account-modals] .back-button svg { width: 1.25rem; height: 1.25rem; }
[data-shared-account-modals] h2 { margin: 0 0 1.5rem; color: #1f2937; font-size: 1.5rem; font-weight: 700; line-height: 2rem; text-align: center; }
#account-modal h2 { margin-bottom: 1rem; }
#profile-modal h2, #create-account-modal h2 { margin-bottom: .5rem; }
#pro-upgrade-modal h2 { margin-bottom: .75rem; }

#signin-form, #create-account-form { display: block; }
#signin-form > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
#create-account-form > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
#signin-form > div:first-child { margin-bottom: 1rem; }
#signin-form > div:nth-child(2) { margin-bottom: 1.5rem; }
#signin-form label, #create-account-form label { display: block; margin-bottom: .5rem; color: #374151; font-size: .875rem; font-weight: 700; line-height: 1.25rem; }
#signin-form input, #create-account-form input {
  width: 100%;
  padding: .5rem .75rem;
  border: 1px solid #e5e7eb;
  border-radius: .25rem;
  background: #fff;
  color: #374151;
  font-size: 16px;
  line-height: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
}

#signin-form input:focus, #create-account-form input:focus { border-color: #e5e7eb; outline: none; }
#signin-error, #create-account-error, #pro-upgrade-error { margin: 0; color: #dc2626; font-size: .875rem; font-weight: 600; }
#signin-form > .space-y-3 { display: block; }
#signin-form > .space-y-3 > * + * { margin-top: .75rem; }
#signin-form button[type="submit"],
#create-account-submit,
#account-logout,
#profile-logout {
  width: 100%;
  padding: .5rem 1rem;
  border: 0;
  border-radius: .5rem;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

#create-account-button { width: 100%; padding: .5rem 1rem; border: 1px solid var(--gold); border-radius: .5rem; background: #fff; color: var(--gold); cursor: pointer; font-size: 16px; font-weight: 700; line-height: 24px; }
#signin-form button:hover, #create-account-form button:hover, #account-logout:hover, #profile-logout:hover { background: #82500f; color: #fff; }
#create-account-button:hover, #profile-admin:hover { background: #f8efe3; color: var(--gold); }

#account-modal .grid, #create-account-form > .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#account-modal .grid { gap: 1rem; }
#create-account-form > .grid { gap: .75rem; }
.tier-card { padding: 1rem; border: 0; border-radius: .75rem; background: #fff; color: #1f2937; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .16); text-align: left; }
.tier-card span { display: block; }
.tier-card span:first-child { font-size: 1.125rem; font-weight: 700; }
.tier-card span + span { margin-top: .5rem; font-size: .875rem; line-height: 1.625; }
.tier-card:hover { transform: translateY(-1px); }
.tier-card.is-active { box-shadow: inset 0 0 0 2px var(--gold); }

.account-profile-summary { margin: 0 0 1rem; padding: .75rem 1rem; border: 1px solid rgba(171, 112, 31, .22); border-radius: .5rem; background: #fff8ed; color: #51310d; font-size: .92rem; line-height: 1.4; text-align: center; }
.account-profile-summary.is-hidden { display: none; }
.account-credit-balance { color: var(--gold); font-weight: 800; }
#account-logout { margin-top: 1rem; }

#create-account-tier-copy { margin: 0 0 1.5rem; }
#profile-account-summary { margin: 0 0 1.25rem; }
#create-account-tier-copy, #profile-account-summary { color: #4b5563; font-size: .875rem; text-align: center; }
#create-account-form .text-xs { margin: .25rem 0 0; color: #6b7280; font-size: .75rem; }
.pro-upgrade-benefits { display: grid; margin: 1rem 0 1.25rem; gap: .45rem; color: #374151; font-size: .93rem; }
.pro-upgrade-benefits span { display: flex; align-items: center; gap: .5rem; }
.pro-upgrade-benefits span::before { width: .46rem; height: .46rem; border-radius: 999px; background: var(--gold); content: ""; flex: 0 0 auto; }
#pro-upgrade-modal > div > p:not(#pro-upgrade-error), #create-account-pro-options > p { margin: 0 0 .75rem; color: #374151; font-size: .875rem; font-weight: 700; }
.account-run-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.account-run-button { display: inline-flex; min-height: 4.75rem; border: 1px solid rgba(171, 112, 31, .55); border-radius: .5rem; align-items: center; justify-content: center; flex-direction: column; gap: .2rem; background: #fff; color: var(--gold); cursor: pointer; font-weight: 700; }
.account-run-button:hover, .account-run-button:focus-visible { background: #f8efe3; }
.account-run-button[disabled] { cursor: wait; opacity: .65; }

.profile-tabs { display: flex; margin: 0 0 1rem; padding-bottom: .25rem; overflow-x: auto; border-bottom: 1px solid rgba(17, 24, 39, .12); gap: .5rem; }
.profile-tab { min-height: 2.5rem; padding: .7rem .95rem; border: 1px solid transparent; border-radius: .5rem .5rem 0 0; background: transparent; color: #4b5563; cursor: pointer; font-size: .9rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.profile-tab:hover, .profile-tab:focus-visible, .profile-tab.is-active { border-color: rgba(171, 112, 31, .28); background: #fff8ed; color: var(--gold); }
.profile-panel[hidden] { display: none; }
#profile-download-state, #payment-history-state { padding: 2rem 0; color: #4b5563; font-size: .875rem; text-align: center; }
.profile-download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .75rem; }
.profile-download-card { padding: .9rem; border: 1px solid rgba(17, 24, 39, .12); background: #fff; color: #1f2937; }
.profile-download-thumb { display: flex; width: 100%; margin-bottom: .75rem; overflow: hidden; border: 1px solid rgba(17, 24, 39, .08); border-radius: .55rem; aspect-ratio: 16 / 9; align-items: center; justify-content: center; background: #111827; color: #d1d5db; font-size: .78rem; font-weight: 700; }
.profile-download-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-download-title { font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.profile-download-date { margin-top: .25rem; color: #6b7280; font-size: .78rem; line-height: 1.35; }
.profile-download-meta { margin-top: .45rem; color: #6b7280; font-size: .78rem; line-height: 1.35; }
.profile-download-meta p, .payment-history-meta p { margin: 0; }
.profile-download-actions { display: flex; margin-top: .8rem; align-items: stretch; flex-wrap: wrap; gap: .45rem; }
.profile-download-action { display: inline-flex; padding: .5rem 1rem; border: 1px solid var(--gold); border-radius: .5rem; align-items: center; justify-content: center; gap: .35rem; background: transparent; color: var(--gold); cursor: pointer; font-size: .875rem; font-weight: 800; line-height: 1; text-decoration: none; }
.profile-download-action:hover, .profile-download-action:focus-visible { border-color: var(--gold); background: #82500f; color: #fff; outline: none; }
.profile-download-action:disabled { cursor: not-allowed; opacity: .55; }
.profile-download-card.has-reload-action .profile-download-action-primary:not(.profile-download-action-icon) { min-width: 0; padding-inline: .5rem; flex: 1 1 0; }
.profile-download-action svg { width: 1rem; height: 1rem; flex: 0 0 auto; }
.profile-download-action-icon { width: 2.35rem; min-width: 2.35rem; padding-inline: .5rem; }
.payment-history-list { display: grid; gap: .75rem; }
.payment-history-row { display: flex; padding: .9rem 1rem; border: 1px solid rgba(17, 24, 39, .12); align-items: flex-start; justify-content: space-between; gap: 1rem; background: #fff; color: #1f2937; }
.payment-history-title { font-weight: 800; line-height: 1.25; }
.payment-history-meta { margin-top: .28rem; color: #6b7280; font-size: .82rem; line-height: 1.35; }
.payment-history-side { display: grid; gap: .4rem; justify-items: end; text-align: right; }
.payment-history-amount { color: var(--gold); font-weight: 800; white-space: nowrap; }
.payment-history-invoice { display: inline-flex; min-height: 2rem; padding: .35rem .65rem; border: 1px solid var(--gold); border-radius: .45rem; align-items: center; justify-content: center; background: #fff; color: var(--gold); font-size: .82rem; font-weight: 800; line-height: 1; text-decoration: none; }
.payment-history-invoice:hover, .payment-history-invoice:focus-visible { background: #f8efe3; color: var(--gold); }
.profile-modal-footer { display: flex; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(17, 24, 39, .12); justify-content: flex-end; }
#profile-admin, #profile-logout { width: auto; }
#profile-admin { position: absolute; z-index: 10; top: 1.5rem; right: 1.5rem; min-width: 6.5rem; padding: .5rem 1rem; border: 1px solid var(--gold); border-radius: .5rem; background: #fff; color: var(--gold); cursor: pointer; font-size: 16px; font-weight: 700; line-height: 24px; }
#profile-logout { min-width: 8rem; }
#profile-logout { padding-inline: 1.5rem; }

.shared-recording-modal video { display: block; width: 100%; max-height: min(62dvh, 44rem); border: 1px solid #e5e7eb; border-radius: .5rem; background: #000; }
.shared-recording-actions { display: flex; margin-top: 1rem; justify-content: flex-end; }

#toast { position: fixed; z-index: 8000; bottom: 20px; left: 50%; padding: 10px 20px; border-radius: 7px; background: var(--gold); color: #fff; opacity: 0; pointer-events: none; transform: translateX(-50%); transition: opacity .5s ease-in-out; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: inherit;
  font-weight: 850;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 2.35rem; height: 2.35rem; object-fit: contain; }

.button {
  display: inline-flex;
  min-height: 3rem;
  padding: .75rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: .8rem;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  box-shadow: 0 8px 22px rgba(136, 86, 23, .2);
  color: #fff;
  cursor: pointer;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  color: var(--ink);
  transform: translateY(-2px);
}

.button-small { min-height: 2.5rem; padding: .62rem .82rem; font-size: .86rem; }
.button-light { border-color: var(--cream); background: var(--cream); color: var(--ink); }

.breadcrumbs {
  padding-block: 1rem;
  color: rgba(255, 255, 255, .62);
  font-size: .82rem;
}

.breadcrumbs ol {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
}

.breadcrumbs li + li::before { content: "/"; margin-right: .45rem; color: rgba(255, 255, 255, .35); }
.breadcrumbs a { color: var(--gold-bright); font-weight: 750; }

.hero {
  position: relative;
  width: min(calc(100% - 2.5rem), var(--shell));
  margin: clamp(.25rem, 1vw, .75rem) auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--panel-radius);
  background:
    radial-gradient(circle at 80% 14%, rgba(183, 121, 41, .22), transparent 35%),
    linear-gradient(130deg, #121517, #262b2e);
  box-shadow: var(--shadow);
  color: #fff;
}

.hero::after {
  position: absolute;
  right: -9rem;
  bottom: -12rem;
  width: 32rem;
  height: 24rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 44% 56% 38% 62%;
  content: "";
  transform: rotate(-12deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 34rem;
  padding-block: clamp(4rem, 8vw, 7.5rem);
  align-items: center;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(2rem, 6vw, 5.5rem);
}

.hero-home .hero-grid { min-height: 44rem; }

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--gold-bright);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.85rem, 6vw, 5.65rem);
  font-weight: 850;
  letter-spacing: -.048em;
  line-height: 1;
}

.hero:not(.hero-home) h1 { font-size: clamp(2.65rem, 5vw, 4.8rem); }

.hero-intro {
  max-width: 62ch;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  margin-top: 2rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.text-link {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover { color: var(--gold-bright); }

.trust-line,
.article-date {
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, .57);
  font-size: .8rem;
}

.hero-media { min-width: 0; }

.media-frame,
.image-hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--radius);
  background: #080a0b;
  box-shadow: var(--shadow);
}

.media-frame video { width: 100%; height: auto; aspect-ratio: var(--video-ratio, auto); background: #080a0b; }
.image-hero-visual img { width: 100%; height: 100%; min-height: 22rem; object-fit: cover; }

.media-frame figcaption {
  padding: .75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .68);
  font-size: .78rem;
}

.guide-hero-visual {
  display: grid;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--radius);
  background: #080a0b;
  box-shadow: var(--shadow);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.guide-hero-visual a { min-height: 0; overflow: hidden; }
.guide-hero-visual img { width: 100%; height: 100%; min-height: 11rem; object-fit: cover; transition: transform .35s ease; }
.guide-hero-visual a:hover img { transform: scale(1.025); }

.content-section {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--text);
  color-scheme: light;
}

.section-tint { background: var(--cream); }

.section-inner {
  display: grid;
  grid-template-columns: minmax(210px, .65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.section-heading {
  position: relative;
  align-self: start;
}

.section-number {
  margin: 0 0 .55rem;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .17em;
}

.section-heading h2,
.faq-section h2,
.related-section h2,
.final-cta h2,
.article-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.06;
}

.section-content > p:first-child { margin-top: 0; }
.section-content p { max-width: 72ch; color: #3f474a; font-size: 1.05rem; }

.check-list {
  display: grid;
  margin: 1.75rem 0 0;
  padding: 0;
  gap: .8rem;
  list-style: none;
}

.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { position: absolute; left: 0; color: var(--gold); content: "◆"; font-size: .65rem; top: .45rem; }

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

.content-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 25, 27, .09);
}

.section-tint .content-card { background: var(--paper); }
.card-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.content-card:hover .card-image img { transform: scale(1.025); }
.card-copy { padding: 1.25rem; }
.card-copy h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.card-copy h3 a { text-decoration: none; }
.card-copy p { margin: .65rem 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

.card-link {
  color: var(--gold-dark);
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
}

.faq-section,
.related-section {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--panel-radius);
  box-shadow: var(--shadow);
}

.faq-section {
  background:
    radial-gradient(circle at 92% 0, rgba(155, 93, 21, .2), transparent 22rem),
    var(--ink-soft);
  color: #fff;
}
.faq-section h2 { color: #fff; }

.faq-list { margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.faq-list details { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.faq-list summary { padding: 1.3rem .25rem; cursor: pointer; font-weight: 800; }
.faq-list p { max-width: 68ch; margin: 0; padding: 0 .25rem 1.4rem; color: rgba(255, 255, 255, .72); }

.related-section { background: var(--cream); color: var(--text); color-scheme: light; }
.related-section .eyebrow { color: var(--gold-dark); }
.related-grid { display: grid; margin-top: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.related-grid a { display: grid; min-height: 10rem; padding: 1.35rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: 0 10px 24px rgba(22, 25, 27, .07); text-decoration: none; }
.related-grid span { font-size: 1.08rem; font-weight: 850; line-height: 1.3; }
.related-grid small { margin-top: .55rem; color: var(--muted); line-height: 1.55; }
.related-grid b { margin-top: auto; color: var(--gold); }

.final-cta {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin: clamp(1rem, 2vw, 1.5rem) auto clamp(1rem, 2vw, 1.5rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--panel-radius);
  background:
    radial-gradient(circle at 90% 18%, rgba(255, 255, 255, .12), transparent 21rem),
    var(--gold-dark);
  box-shadow: var(--shadow);
  color: #fff;
}
.final-cta .eyebrow { color: var(--cream); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.final-cta h2 { color: #fff; }
.final-cta p:not(.eyebrow) { max-width: 62ch; margin-bottom: 0; color: rgba(255, 255, 255, .75); }

.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.listing-heading { max-width: 760px; margin-bottom: 2rem; }
.listing-heading .eyebrow { color: var(--gold-dark); }
.listing-heading h2 { margin: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 850; letter-spacing: -.035em; line-height: 1.06; }
.listing-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1.15rem; background: #fff; box-shadow: 0 15px 35px rgba(22, 25, 27, .09); }
.article-image { display: block; aspect-ratio: 12 / 7; overflow: hidden; background: var(--ink); }
.article-image img { width: 100%; height: 100%; object-fit: cover; }
.article-card-copy { padding: 1.5rem; }
.article-card .eyebrow { color: var(--gold-dark); }
.article-card h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.article-card h2 a { text-decoration: none; }
.article-card-copy > p:not(.eyebrow) { color: var(--muted); }

.article-wrap {
  width: min(calc(100% - 2.5rem), 920px);
  max-width: none;
  margin: clamp(1rem, 2vw, 1.5rem) auto;
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--text);
  color-scheme: light;
}
.article-body section + section { margin-top: 3.5rem; }
.article-body h2, .legal-card h2 { color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(1.8rem, 3vw, 2.55rem); font-weight: 850; letter-spacing: -.025em; line-height: 1.12; }
.article-body p, .article-body li, .legal-card p, .legal-card li { color: #3f474a; font-size: 1.05rem; }
.article-body ul, .legal-card ul { padding-left: 1.35rem; }

.legal-wrap { width: min(calc(100% - 2.5rem), 880px); margin: clamp(2rem, 6vw, 5rem) auto clamp(4rem, 8vw, 7rem); }
.legal-card { padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); color: var(--text); color-scheme: light; }
.legal-card h1 { margin: 0 0 1rem; color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 850; letter-spacing: -.045em; line-height: 1; }
.legal-card a, .article-body a { color: var(--gold-dark); font-weight: 700; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 6rem); }
.contact-layout h2 { margin-top: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 2.4rem; font-weight: 850; letter-spacing: -.03em; line-height: 1.08; }
.contact-form { position: relative; display: grid; padding: clamp(1.3rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--cream); }
.contact-form label { margin: .8rem 0 .3rem; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; padding: .8rem .9rem; border: 1px solid #a69e91; border-radius: .65rem; background: #fff; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form .button { width: max-content; margin-top: 1.2rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.error-wrap { display: grid; min-height: calc(100vh - 4.65rem); place-items: center; }
.error-card { width: 100%; text-align: center; }
.error-card .eyebrow,
.error-card p { margin-inline: auto; text-align: center; }
.error-card > p:not(.eyebrow) { max-width: 42rem; }
.error-actions { justify-content: center; }
.error-actions .button-light { border-color: var(--gold); background: transparent; color: var(--gold-dark); }

:is(.content-section, .related-section, .article-wrap, .legal-card) :focus-visible {
  outline-color: var(--gold-dark);
}

.content-card,
.related-grid a,
.article-card {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.content-card:hover,
.related-grid a:hover,
.article-card:hover {
  border-color: rgba(155, 93, 21, .45);
  box-shadow: 0 16px 34px rgba(22, 25, 27, .13);
  transform: translateY(-2px);
}

.site-footer { padding: clamp(3.5rem, 7vw, 6rem) 0 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); background: var(--ink); color: #fff; }
.footer-grid { display: grid; width: min(calc(100% - 2.5rem), var(--wrap)); margin-inline: auto; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 2rem; }
.footer-brand p { max-width: 35ch; color: rgba(255, 255, 255, .68); font-size: .9rem; }
.footer-grid h2 { margin: 0 0 .9rem; color: rgba(255, 255, 255, .62); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a { display: block; width: max-content; margin: .55rem 0; color: rgba(255, 255, 255, .75); font-size: .88rem; text-decoration: none; }
.footer-grid a:hover { color: var(--gold-bright) !important; }
.footer-bottom { display: flex; width: min(calc(100% - 2.5rem), var(--wrap)); margin: 3.5rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1); justify-content: space-between; gap: 1rem; color: rgba(255, 255, 255, .64); font-size: .75rem; }
.footer-bottom a,
.footer-bottom a:hover { color: inherit; text-decoration: none; }

@media (max-width: 1080px) {
  .create-nav-toggle {
    display: inline-flex;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    gap: .35rem;
  }
  .create-site-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: .75rem;
    left: .75rem;
    display: none;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 0 0 1rem 1rem;
    align-items: stretch;
    flex-direction: column;
    background: #171b1d;
    box-shadow: var(--shadow);
    color: #fff;
  }
  .create-site-menu[data-open] { display: flex; }
  .create-site-menu a { padding: .35rem .2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-media { max-width: 840px; }
}

@media (max-width: 760px) {
  .wrap, .footer-grid, .footer-bottom, .legal-wrap { width: min(calc(100% - 2rem), var(--wrap)); }
  .hero, .content-section, .faq-section, .related-section, .final-cta, .article-wrap { width: min(calc(100% - 2rem), var(--shell)); }
  .brand span { font-size: .95rem; }
  .hero-grid { min-height: 0; padding-block: 3.6rem; gap: 2.4rem; }
  .hero-home .hero-grid { min-height: 0; }
  .hero h1, .hero:not(.hero-home) h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-intro { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section-inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .card-grid, .related-grid, .article-grid, .contact-layout { grid-template-columns: 1fr; }
  .content-section, .faq-section, .related-section { padding-block: 3.8rem; }
  .section-heading h2, .faq-section h2, .related-section h2, .final-cta h2 { font-size: 2.35rem; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .final-cta .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .brand img { width: 2rem; height: 2rem; }
  .breadcrumbs { padding-block: .7rem; }
  .hero-grid { padding-block: 3rem; }
  .hero h1, .hero:not(.hero-home) h1 { font-size: 2.75rem; }
  .hero-intro { line-height: 1.55; }
  .trust-line { line-height: 1.5; }
  .section-heading h2, .faq-section h2, .related-section h2, .final-cta h2 { font-size: 2.05rem; }
  .section-content p, .article-body p, .article-body li, .legal-card p, .legal-card li { font-size: 1rem; }
  .card-grid { gap: .8rem; }
  .hero, .content-section, .faq-section, .related-section, .final-cta, .article-wrap { border-radius: 1.15rem; }
  .legal-card { padding: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 640px) {
  .create-site-nav { padding: .6rem .75rem; gap: .55rem; }
  .create-account-actions { gap: .5rem; }
  .create-brand img { width: 2rem; height: 2rem; }
  .create-brand a { margin-left: .45rem; font-size: .95rem; }
  .create-nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .account-btn { min-height: 2.35rem; padding: .45rem .65rem; font-size: .9rem; line-height: 1.15; }
  .profile-btn { width: 2.35rem; height: 2.35rem; }
  #account-modal > div, #signin-modal > div, #profile-modal > div, #create-account-modal > div, #pro-upgrade-modal > div, .shared-recording-modal > div { margin: .5rem; }
  #account-modal .grid, #create-account-form > .grid, .account-run-options { grid-template-columns: 1fr; }
  .payment-history-row { display: grid; gap: .75rem; }
  .payment-history-side { justify-items: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
