:root {
  color-scheme: dark;
  --ink: #f7efd9;
  --muted: #c9c1ad;
  --night: #08111f;
  --navy: #101d33;
  --panel: rgba(20, 34, 55, 0.92);
  --panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(247, 239, 217, 0.18);
  --gold: #efc760;
  --gold-dark: #2b2108;
  --green: #8fd3a7;
  --red: #ffaaa2;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(203, 151, 47, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 20%, rgba(79, 125, 150, 0.17), transparent 32rem),
    var(--night);
  color: var(--ink);
  font: 17px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--gold);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffe39a;
}

button,
input {
  font: inherit;
}

button,
.button {
  min-height: 48px;
  border: 1px solid rgba(239, 199, 96, 0.62);
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  background: transparent;
  color: var(--gold);
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button:hover {
  border-color: var(--gold);
  background: rgba(239, 199, 96, 0.1);
  color: #ffe39a;
}

button:focus-visible,
.button:focus-visible,
input:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid #fff0a9;
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button.primary,
button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--gold-dark);
  box-shadow: 0 10px 32px rgba(222, 176, 59, 0.18);
}

.button.primary:hover,
button.primary:hover {
  background: #ffdb78;
  color: #1e1706;
}

.button.small,
button.small {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.2rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 3vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
}

main {
  overflow: hidden;
}

.section,
.hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.2rem, 7vw, 6.4rem) 0;
}

.hero {
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(2.4rem, 5vw, 4.4rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  max-width: 16ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  font-weight: 650;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.55rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.lede {
  max-width: 62ch;
  margin: 0 0 1.55rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.price-line {
  display: flex;
  margin: 1.35rem 0 1.5rem;
  align-items: baseline;
  gap: 0.65rem;
}

.price {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 700;
  line-height: 1;
}

.price-detail {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.microcopy,
.frame-label,
.field-note,
.status,
.footer-copy {
  color: var(--muted);
  font-size: 0.86rem;
}

.microcopy {
  max-width: 62ch;
  margin-top: 1rem;
}

.proof-frame {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #050912;
  box-shadow: var(--shadow);
}

.proof-frame img,
.gallery-card img,
.brief-image img {
  display: block;
  width: 100%;
  height: auto;
}

.proof-frame figcaption,
.gallery-card figcaption,
.brief-image figcaption {
  padding: 0.8rem 0.95rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.96);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.fact-grid,
.step-grid,
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fact-card,
.step-card,
.use-card,
.purchase-panel,
.invoice-panel,
.principal-brief {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}

.fact-card,
.step-card,
.use-card {
  padding: 1.4rem;
}

.fact-card p,
.step-card p,
.use-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.step-number {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(239, 199, 96, 0.48);
  border-radius: 50%;
  place-items: center;
  color: var(--gold);
  font-weight: 850;
}

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

.gallery-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #050912;
}

.gallery-card figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
}

.gallery-card figcaption span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.purchase-panel,
.invoice-panel,
.principal-brief {
  padding: clamp(1.4rem, 4vw, 2.3rem);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.purchase-panel h2,
.invoice-panel h2,
.principal-brief h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.purchase-panel .price-line {
  margin-top: 0.6rem;
}

.auth-area {
  margin: 1.2rem 0;
}

.google-button {
  min-height: 48px;
}

.account-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.account-row p {
  margin: 0;
}

.status {
  min-height: 1.5em;
  margin: 0.85rem 0 0;
}

.status.success {
  color: var(--green);
}

.status.error {
  color: var(--red);
}

.code-result {
  margin-top: 1.35rem;
  padding: 1rem;
  border: 1px solid rgba(143, 211, 167, 0.36);
  border-radius: 12px;
  background: rgba(50, 122, 76, 0.13);
}

.code-result h3 {
  margin-bottom: 0.65rem;
}

.code-list {
  display: grid;
  max-height: 360px;
  margin: 0.75rem 0;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 0.45rem;
  overflow: auto;
  list-style: none;
}

.code-list code {
  display: block;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--ink);
  font-size: 0.9rem;
  text-align: center;
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 750;
}

input[type="email"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(247, 239, 217, 0.35);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  background: rgba(4, 10, 20, 0.58);
  color: var(--ink);
}

input::placeholder {
  color: #969080;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.objections {
  max-width: 900px;
}

.objections details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.objections details:last-child {
  border-bottom: 1px solid var(--line);
}

.objections summary {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  cursor: pointer;
}

.objections details p {
  max-width: 72ch;
  margin-bottom: 0;
  color: var(--muted);
}

.principal-brief {
  position: relative;
}

.brief-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.brief-list {
  padding-left: 1.2rem;
}

.brief-list li {
  margin: 0.45rem 0;
}

.brief-image {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-self: start;
}

.gift-banner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(239, 199, 96, 0.06), rgba(88, 132, 145, 0.1));
}

.gift-banner .section {
  padding-top: 2.3rem;
  padding-bottom: 2.3rem;
}

.gift-banner p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--line);
}

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

.hidden {
  display: none !important;
}

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

  .hero {
    min-height: 0;
  }

  .hero-copy {
    max-width: 680px;
  }

  .fact-grid,
  .step-grid,
  .use-grid {
    grid-template-columns: 1fr;
  }

  .proof-frame {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header {
    align-items: flex-start;
  }

  .site-nav a:not(.button) {
    display: none;
  }

  .section,
  .hero,
  .site-footer {
    width: min(100% - 1.25rem, 1180px);
  }

  .hero {
    gap: 2rem;
    padding-bottom: 3.6rem;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .price-line {
    align-items: flex-end;
  }

  .actions,
  .actions .button,
  .actions button {
    width: 100%;
  }

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

  .purchase-panel,
  .invoice-panel,
  .principal-brief {
    border-radius: 14px;
  }
}

@media print {
  @page {
    size: letter;
    margin: 0.38in;
  }

  body.print-principal {
    background: #fff;
    color: #111;
    font: 10.5pt/1.32 Georgia, "Times New Roman", serif;
  }

  body.print-principal > * {
    display: none !important;
  }

  body.print-principal main,
  body.print-principal .print-shell,
  body.print-principal .principal-brief {
    display: block !important;
  }

  body.print-principal main {
    overflow: visible;
  }

  body.print-principal .print-shell {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  body.print-principal .principal-brief {
    border: 0;
    padding: 0;
    background: #fff;
    box-shadow: none;
  }

  body.print-principal .principal-brief h2 {
    margin-bottom: 0.12in;
    color: #111;
    font-size: 24pt;
  }

  body.print-principal .principal-brief h3 {
    color: #111;
    font-size: 14pt;
  }

  body.print-principal .principal-brief p,
  body.print-principal .principal-brief li,
  body.print-principal .frame-label {
    color: #222;
  }

  body.print-principal .brief-grid {
    display: grid !important;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 0.2in;
  }

  body.print-principal .brief-image {
    border-color: #aaa;
    break-inside: avoid;
  }

  body.print-principal .brief-image figcaption {
    border-color: #aaa;
    padding: 0.07in;
    background: #fff;
  }

  body.print-principal .brief-list {
    margin: 0.06in 0 0.13in;
  }

  body.print-principal .brief-list li {
    margin: 0.02in 0;
  }

  body.print-principal .print-hide {
    display: none !important;
  }

  body.print-principal a {
    color: #111;
    text-decoration: none;
  }
}
