:root {
  --ink: #211b18;
  --muted: #6f655f;
  --cream: #f7f3ed;
  --paper: #fffdfa;
  --line: #ddd3c8;
  --rose: #a75e4a;
  --rose-dark: #834635;
  --sage: #667261;
  --gold: #c39755;
  --shadow: 0 24px 70px rgba(59, 39, 28, 0.11);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 "DM Sans",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  transition: 0.2s ease;
}
a {
  color: inherit;
}
.notice {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  max-width: min(90vw, 520px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -12px);
  transition: 0.25s;
}
.notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.notice.error {
  background: #9b392f;
}
.site-header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 24px);
  border-bottom: 1px solid rgba(33, 27, 24, 0.08);
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 3;
}
.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand span {
  font:
    600 25px/1.1 "Playfair Display",
    serif;
}
.brand small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 8px;
  margin-top: 7px;
  color: var(--muted);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-header nav a {
  text-decoration: none;
  font-weight: 600;
}
.site-header button {
  border: 0;
  background: none;
  cursor: pointer;
}
.language {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line) !important;
  border-radius: 50% !important;
}
.logout {
  color: var(--rose);
  font-weight: 700;
}
.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  overflow: hidden;
  background: linear-gradient(115deg, #f3ebe3, #faf7f1 58%, #eee1d5);
}
.hero-copy {
  padding: 100px max(7vw, 38px);
  position: relative;
  z-index: 1;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rose);
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 18px;
}
.hero h1 {
  font:
    600 clamp(47px, 6vw, 82px)/1.02 "Playfair Display",
    serif;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 760px;
}
.hero h1 em {
  color: var(--rose);
  font-weight: 600;
}
.lead {
  font-size: 18px;
  max-width: 590px;
  color: var(--muted);
  margin: 28px 0 42px;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 170px));
  gap: 1px;
}
.benefits div {
  width: 170px;
  padding: 18px 22px;
  border-left: 1px solid #cbbbab;
}
.benefits strong {
  font:
    600 31px "Playfair Display",
    serif;
  display: block;
  color: var(--rose-dark);
}
.benefits span {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.hero-art {
  position: relative;
  min-height: 570px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.orb-one {
  width: 430px;
  height: 430px;
  right: 8%;
  top: 13%;
  background: linear-gradient(140deg, #c3836c, #7f3f34);
  box-shadow: 0 40px 90px rgba(105, 53, 40, 0.25);
}
.orb-two {
  width: 190px;
  height: 190px;
  left: 4%;
  bottom: 7%;
  background: #d5b27d;
  opacity: 0.7;
}
.gift-card {
  position: absolute;
  width: 290px;
  height: 380px;
  top: 19%;
  right: 18%;
  padding: 42px 32px;
  background: rgba(255, 253, 250, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 34px 70px rgba(66, 30, 20, 0.2);
  transform: rotate(5deg);
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: space-between;
}
.gift-card:after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid #d8cabc;
}
.gift-card span,
.gift-card small {
  font-size: 10px;
  letter-spacing: 0.25em;
  z-index: 1;
}
.gift-card strong {
  font:
    600 74px "Playfair Display",
    serif;
  color: var(--rose);
  z-index: 1;
  white-space: nowrap;
}
.access-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 28px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 110px;
}
.access-intro h2,
.rules h2,
.dash-heading h2 {
  font:
    600 clamp(34px, 4vw, 52px)/1.1 "Playfair Display",
    serif;
  margin: 0 0 22px;
}
.access-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}
.access-intro ol {
  padding: 15px 0 0;
  margin: 0;
  list-style: none;
}
.access-intro li {
  display: flex;
  gap: 18px;
  margin: 26px 0;
}
.access-intro li > span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rose);
  color: var(--rose);
  border-radius: 50%;
  font-weight: 700;
}
.access-intro li strong {
  font-size: 16px;
}
.access-intro li p {
  margin: 2px 0;
  color: var(--muted);
}
.auth-card,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.auth-card {
  padding: 34px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: -34px -34px 30px;
  border-bottom: 1px solid var(--line);
}
.auth-tabs button {
  padding: 20px;
  border: 0;
  background: #f7f3ee;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}
.auth-tabs button.active {
  background: #fff;
  color: var(--rose);
  box-shadow: inset 0 -2px var(--rose);
}
label {
  display: block;
  margin: 0 0 17px;
}
label > span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
}
input,
select {
  width: 100%;
  height: 48px;
  border: 1px solid #cfc4b9;
  background: #fff;
  padding: 0 13px;
  color: var(--ink);
  border-radius: 2px;
}
input:focus,
select:focus {
  outline: 2px solid rgba(167, 94, 74, 0.2);
  border-color: var(--rose);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
}
.check span {
  font-weight: 400;
  line-height: 1.45;
}
.primary,
.secondary,
.share-actions button,
.share-actions a {
  border: 1px solid var(--ink);
  padding: 13px 18px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.primary {
  width: 100%;
  background: var(--ink);
  color: #fff;
}
.primary:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
}
.secondary {
  background: #fff;
  color: var(--ink);
}
.secondary:hover {
  border-color: var(--rose);
  color: var(--rose);
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.text-button {
  border: 0;
  background: none;
  color: var(--rose);
  font-weight: 700;
  width: 100%;
  margin-top: 15px;
  cursor: pointer;
}
.form-hint {
  color: var(--muted);
  margin: -4px 0 20px;
}
.dashboard {
  padding: 90px max(4vw, 28px);
  background: var(--cream);
}
.dash-heading {
  max-width: 1280px;
  margin: 0 auto 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.dash-heading h2 {
  margin: 0;
}
.code-panel {
  max-width: 1280px;
  margin: 0 auto 18px;
  background: var(--ink);
  color: #fff;
  padding: 29px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.code-panel span,
.code-panel small {
  display: block;
  color: #cabdb2;
}
.code-panel strong {
  font:
    600 37px "Playfair Display",
    serif;
  letter-spacing: 0.08em;
  display: block;
  margin: 2px 0;
}
.share-actions {
  display: flex;
  gap: 8px;
}
.share-actions button,
.share-actions a {
  background: transparent;
  color: #fff;
  border-color: #62564f;
}
.share-actions button:hover,
.share-actions a:hover {
  border-color: #fff;
}
.stats {
  max-width: 1280px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stats article {
  padding: 28px;
  background: #fff;
}
.stats article.highlight {
  background: #f1e6dc;
}
.stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.stats strong {
  font:
    600 30px "Playfair Display",
    serif;
}
.dashboard-grid {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}
.panel {
  padding: 28px;
  box-shadow: none;
}
.panel-heading h3 {
  font:
    600 25px "Playfair Display",
    serif;
  margin: 0;
}
.panel-heading p {
  color: var(--muted);
  margin: 3px 0 20px;
  font-size: 12px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th,
td {
  text-align: left;
  padding: 13px 9px;
  border-bottom: 1px solid #e9e2da;
}
th {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
td:last-child,
th:last-child {
  text-align: right;
}
.status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eee8e2;
  font-size: 10px;
  font-weight: 700;
}
.status-pill.available,
.status-pill.paid {
  background: #e2ebe0;
  color: #3e6042;
}
.status-pill.reversed,
.status-pill.paid_reversed {
  background: #f2dfdc;
  color: #8c3732;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 35px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.security-note,
.fine-print {
  color: var(--muted);
  font-size: 11px;
}
.profile-alert {
  margin: 0 0 17px;
  padding: 12px 14px;
  border: 1px solid #d9b173;
  background: #fff7e9;
  color: #6d4d20;
  font-size: 12px;
}
.payout-panel .check {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--cream);
}
.payout-panel .check input {
  flex: 0 0 17px;
}
.payout-button {
  margin-top: 16px;
}
.profile-card {
  padding: 14px;
  background: var(--cream);
  margin-bottom: 17px;
  font-size: 13px;
}
.profile-card strong {
  display: block;
}
.profile-card button {
  border: 0;
  background: none;
  color: var(--rose);
  padding: 7px 0 0;
  cursor: pointer;
  font-weight: 700;
}
.payout-entry {
  border-top: 1px solid var(--line);
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.statement-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--rose-dark);
  font-weight: 700;
}
.rules {
  max-width: 1180px;
  margin: auto;
  padding: 110px 28px;
}
.rule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 45px;
}
.rule-grid article {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.rule-grid article > span {
  color: var(--rose);
  font-weight: 700;
}
.rule-grid h3 {
  font:
    600 20px "Playfair Display",
    serif;
  margin: 20px 0 8px;
}
.rule-grid p {
  color: var(--muted);
  font-size: 13px;
}
.terms-copy {
  margin-top: 75px;
  background: var(--cream);
  padding: 35px 40px;
}
.terms-copy h3 {
  font:
    600 25px "Playfair Display",
    serif;
  margin: 0;
}
.terms-copy li {
  margin: 8px 0;
  color: var(--muted);
}
.terms-copy > p {
  font-size: 11px;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  padding: 45px max(5vw, 24px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center;
}
footer > div {
  display: flex;
  gap: 20px;
}
footer > div a,
footer > div button {
  font-size: 12px;
  text-decoration: none;
}
footer > div button {
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
footer > p {
  grid-column: 1/-1;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.analytics-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--rose);
  box-shadow: 0 22px 70px rgba(45, 27, 20, 0.2);
  color: var(--ink);
}
.analytics-consent__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 22px 24px;
}
.analytics-consent__copy {
  min-width: 0;
}
.analytics-consent__copy strong {
  display: block;
  margin-bottom: 6px;
  font: 600 21px/1.25 "Playfair Display", serif;
}
.analytics-consent__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.analytics-consent__copy a {
  color: var(--rose-dark);
  font-weight: 700;
}
.analytics-consent__actions {
  display: flex;
  gap: 10px;
}
.analytics-consent__actions button {
  min-width: 120px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.analytics-consent__actions button[data-consent="granted"] {
  background: var(--ink);
  color: #fff;
}
.analytics-consent__actions button:hover {
  border-color: var(--rose-dark);
  background: var(--rose-dark);
  color: #fff;
}
.analytics-consent__actions button:focus-visible,
.analytics-consent__copy a:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 75px 28px 30px;
  }
  .hero-art {
    min-height: 420px;
  }
  .orb-one {
    width: 350px;
    height: 350px;
  }
  .gift-card {
    width: 240px;
    height: 310px;
    right: 22%;
  }
  .gift-card strong {
    font-size: 70px;
  }
  .access-wrap {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 75px 24px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .rule-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .analytics-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .analytics-consent__content {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 18px;
  }
  .analytics-consent__copy strong {
    font-size: 19px;
  }
  .analytics-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .analytics-consent__actions button {
    min-width: 0;
    width: 100%;
  }
  .site-header {
    height: 72px;
  }
  .brand span {
    font-size: 21px;
  }
  .site-header nav a {
    display: none;
  }
  .hero {
    min-height: auto;
  }
  .hero h1 {
    font-size: 45px;
  }
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits div {
    width: auto;
    padding: 12px 8px;
  }
  .benefits strong {
    font-size: 25px;
  }
  .hero-art {
    min-height: 340px;
  }
  .orb-one {
    width: 290px;
    height: 290px;
  }
  .gift-card {
    width: 200px;
    height: 260px;
    right: 16%;
    padding: 35px 25px;
  }
  .gift-card strong {
    font-size: 58px;
  }
  .auth-card {
    padding: 25px;
  }
  .auth-tabs {
    margin: -25px -25px 25px;
  }
  .dashboard {
    padding: 65px 14px;
  }
  .dash-heading {
    align-items: center;
  }
  .code-panel {
    display: block;
    padding: 25px;
  }
  .share-actions {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .share-actions a {
    grid-column: 1/-1;
  }
  .stats article {
    padding: 18px 15px;
  }
  .stats strong {
    font-size: 24px;
  }
  .panel {
    padding: 20px 15px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  .rule-grid {
    grid-template-columns: 1fr;
  }
  .rules {
    padding: 75px 22px;
  }
  .terms-copy {
    padding: 25px 20px;
    margin-top: 45px;
  }
  footer {
    grid-template-columns: 1fr;
  }
  footer > div {
    flex-wrap: wrap;
  }
  footer > p {
    grid-column: auto;
  }
}
