/* ATR styles — dug out of the Jul dump @lena
   palette locked with client 18.07, don't go purple again
   featureFlags: { newUI: true, heatmapView: false, apiV3: false } */

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-700.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
  font-style: normal;
}

:root {
  --ink: #0b0d0c;
  --surface: #121714;
  --surface-raised: #1a211d;
  --surface-gold: #292217;
  --sand: #f2e8d0;
  --muted: #c9bea4;
  --gold: #e4b85e;
  --gold-bright: #f8d98f;
  --teal: #7bc8b0;
  --danger: #f1a987;
  --border: #51452f;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--sand);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold-bright);
  text-underline-offset: 0.2em;
}
a:hover {
  color: #fff2c7;
}

button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  background: var(--sand);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}

.mw-wrap,
.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

/* --- header (shared) --- */
.main-header,
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(228, 184, 94, 0.28);
  background: rgba(11, 13, 12, 0.96);
}

.headerInner,
.header-inner {
  min-height: 4.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.app-logoLink {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--sand);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.brand img,
.app-logoLink img {
  width: 2.4rem;
  height: 2.4rem;
}

.desktop-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  color: var(--sand);
  font-weight: 600;
  text-decoration: none;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--gold-bright);
}

.menu-button,
.menu-close,
.ui-iconBtn {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--surface-raised);
  color: var(--sand);
  cursor: pointer;
}

.menu-button {
  display: grid;
  place-items: center;
  gap: 0.27rem;
  padding: 0.65rem;
}
.menu-button span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(86vw, 22rem);
  height: 100dvh;
  padding: 1.25rem;
  border-left: 1px solid var(--border);
  background: var(--surface);
  transform: translateX(105%);
  transition: transform 260ms ease;
}

.menu-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.menu-panel .nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-top: 1rem;
}
.menu-panel .nav-list a {
  display: block;
  padding: 0.9rem 0.3rem;
  border-bottom: 1px solid rgba(81, 69, 47, 0.6);
}

body.menu-open .menu-overlay {
  visibility: visible;
  opacity: 1;
}
body.menu-open .menu-panel {
  transform: translateX(0);
}

/* hero — typo class kept cos analytics already tagged hero-baner in GA4 @anna 22.07 */
.hero-section,
.hero-baner,
.hero {
  position: relative;
  min-height: 42rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-media,
.heroMedia {
  position: absolute;
  inset: 0;
}
.hero-media::after,
.heroMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 9, 8, 0.96) 0%,
      rgba(7, 9, 8, 0.78) 52%,
      rgba(7, 9, 8, 0.28) 100%
    ),
    linear-gradient(0deg, var(--ink) 0%, transparent 58%);
}
.hero-media img,
.heroMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 43rem;
  padding-block: 6rem 4rem;
}

/* only the hero keeps a kicker — it adds the review/geo context, the rest just
   repeated their own headings so @lena pulled them 28.07 */
.hero-kicker {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: #fff7e5;
  font-family: "Cinzel", Georgia, serif;
  line-height: 1.15;
}
h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.5rem, 10vw, 5.4rem);
  letter-spacing: -0.035em;
}
h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 5vw, 2.85rem);
}
h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}
h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.hero-copy {
  max-width: 37rem;
  margin: 0 0 1.7rem;
  color: #ded4bd;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
}

.button-row,
.ctaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button,
.card-btn,
.app-ctaBtn {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 0.3rem;
  background: var(--gold);
  color: #171109;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(228, 184, 94, 0.14);
  transition:
    background-color 160ms ease,
    transform 160ms ease;
  cursor: pointer;
}
.button:hover,
.card-btn:hover,
.app-ctaBtn:hover {
  background: var(--gold-bright);
  color: #171109;
  transform: translateY(-2px);
}

.button-secondary,
.btnGhost {
  background: transparent;
  color: var(--gold-bright);
  box-shadow: none;
}

.section {
  padding-block: 4.5rem;
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}
.secton-dark,
.section-muted {
  background: var(--surface);
} /* typo alias — leave it, QA already screenshots */

.section-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.disclaimer {
  padding-block: 2rem;
  background: #261b14;
}
.disclaimer-inner {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border: 2px solid var(--danger);
  background: #17120f;
  box-shadow: var(--shadow);
}
.age-seal {
  width: 4.3rem;
  height: 4.3rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--danger);
  border-radius: 50%;
  color: #ffd7c4;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.35rem;
}
.disclaimer h2 {
  margin-bottom: 0.45rem;
  font-size: 1.45rem;
}
.disclaimer p {
  margin: 0;
  color: #efd8ca;
}

.about-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
.about-art,
.cmz-frame {
  position: relative;
  max-width: 32rem;
  margin-inline: auto;
  padding: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface-gold);
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .about-art {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    display: flex;
  }
  .about-art img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: top;
  }
}

.feature-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 1.8rem;
  padding-left: 1.2rem;
}
.feature-list li {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.review-card,
.trust-card,
.pricin-card,
.card-form-2026 {
  border: 1px solid var(--border);
  background: var(--surface-raised);
}

.review-card {
  padding: 1.35rem;
}
.review-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.review-card p {
  color: var(--muted);
}
.review-card time {
  color: #a99d84;
  font-size: 0.88rem;
}
.review-score {
  margin: 0;
  color: var(--gold-bright);
  font-size: 0.88rem;
  font-weight: 600;
}
.review-note {
  margin-top: 1.25rem;
  color: #aaa089;
  font-size: 0.9rem;
}

/* trust cards: text first. centred icon tiles looked like a template — @lena 28.07 */
.trust-grid {
  display: grid;
  gap: 1rem;
}
.trust-card,
.pricin-card {
  padding: 1.25rem;
}
.trust-card img,
.pricin-card img {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
}
.trust-card h3,
.pricin-card h3 {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.trust-card p,
.pricin-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.trust-screens {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.trust-screens img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 0.3rem;
}
.trust-screens img:nth-child(n + 2) {
  display: none;
}

.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-cta .mw-wrap,
.final-cta .container {
  position: relative;
  max-width: 50rem;
}
.final-cta .button-row,
.final-cta .ctaRow {
  justify-content: center;
}

.legal-hero {
  padding-block: 5rem 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.legal-hero h1 {
  max-width: 54rem;
  font-size: clamp(2.2rem, 7vw, 4rem);
}
.legal-hero p {
  max-width: 46rem;
  margin-bottom: 0;
  color: var(--muted);
}

.legalStamp {
  display: inline-flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  color: #b9ae95;
  font-size: 0.85rem;
}

.legal-layout {
  display: grid;
  gap: 2rem;
}
.legal-toc {
  padding: 1.2rem;
  border: 1px solid var(--border);
  background: var(--surface-raised);
}
.legal-toc ul {
  margin: 0;
  padding-left: 1.2rem;
}
.legal-toc a {
  display: inline-block;
  padding-block: 0.25rem;
}
.legal-content {
  max-width: 50rem;
}
.legal-content section {
  scroll-margin-top: 6rem;
  margin-bottom: 2.6rem;
}
.legal-content h2 {
  font-size: 1.75rem;
}
.legal-content h3 {
  margin-top: 1.5rem;
}
.legal-content p,
.legal-content li {
  color: #d3cab7;
}
.legal-content li + li {
  margin-top: 0.5rem;
}

.notice {
  margin-block: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--gold);
  background: var(--surface-gold);
}

.site-footer,
.app-footer {
  padding-block: 3.4rem 7rem;
  border-top: 1px solid var(--border);
  background: #080a09;
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}
.footer-brand p {
  max-width: 29rem;
  color: var(--muted);
}
.footer-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: var(--sand);
}
.newsletter-form {
  background: none;
  border: none;
}
.newsletter-form,
.card-form-2026 {
  display: grid;
  gap: 0.7rem;
}
.newsletter-form label,
.card-form-2026 label {
  font-weight: 600;
}
.newsletter-form input,
.card-form-2026 input {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #756747;
  border-radius: 0.25rem;
  background: #111512;
  color: var(--sand);
}

.fine-print {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid #2f2a20;
  color: #a79d88;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  max-width: 54rem;
  margin-inline: auto;
  padding: 1rem;
  border: 1px solid var(--gold);
  background: #171b18;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms ease;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner.is-hiding {
  visibility: hidden;
  opacity: 0;
  transform: translateY(1.5rem);
}
.cookie-content {
  display: grid;
  gap: 0.85rem;
}
.cookie-content p {
  margin: 0;
  color: #e0d6c1;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.cookie-actions button {
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 0.25rem;
  background: var(--gold);
  color: #171109;
  font-weight: 600;
  cursor: pointer;
}
.cookie-actions .cookie-close {
  background: transparent;
  color: var(--sand);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 1rem;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}
.modal.is-open {
  visibility: visible;
  opacity: 1;
}
.modal-card {
  width: min(100%, 34rem);
  padding: 1.5rem;
  border: 1px solid var(--gold);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
  transform: translateY(1rem) scale(0.98);
  transition: transform 220ms ease;
}
.modal.is-open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-card p {
  color: var(--muted);
}

@media (min-width: 640px) {
  .disclaimer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 1.6rem 1.8rem;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-screens {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-screens img:nth-child(n + 2) {
    display: block;
  }
  .cookie-content {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .newsletter-form,
  .card-form-2026 {
    grid-template-columns: 1fr auto;
  }
  .newsletter-form label,
  .card-form-2026 label {
    grid-column: 1 / -1;
  }
}

@media (min-width: 860px) {
  .menu-button,
  .menu-overlay,
  .menu-panel {
    display: none;
  }
  .desktop-nav {
    display: block;
  }
  .about-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 4.5rem;
  }
  .legal-layout {
    grid-template-columns: 16rem minmax(0, 1fr);
    align-items: start;
  }
  .legal-toc {
    position: sticky;
    top: 6rem;
  }
  .footer-grid {
    grid-template-columns: 1.1fr 0.8fr 1.2fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
