:root {
  --bg: #101011;
  --bg-raise: #171716;
  --text: #f7f5f2;
  --muted: #b7b3ae;
  --soft: #ded8d0;
  --brass: #d4b483;
  --olive: #9aaf8c;
  --rust: #c46a3a;
  --line: rgba(255, 255, 255, 0.24);
  --line-soft: rgba(255, 255, 255, 0.14);
  --focus: #e7c98a;
  --paper: #f3f0ea;
  --ink: #161513;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Outfit", Arial, sans-serif;
  --gradient: linear-gradient(100deg, #3c4a38 0%, #8a6840 100%);
  --header: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 28px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; }

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-decoration: none; }

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

h1, h2, h3, p { margin: 0; }

h1, h2, h3,
.button,
.tabs,
nav,
.price,
.coin-amount,
.coin-name,
.brand-sub {
  font-family: var(--display);
  font-weight: 800;
}

.skip {
  position: fixed;
  z-index: 40;
  left: 12px;
  top: -120px;
  background: #fff;
  color: #111;
  padding: 12px 16px;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header);
  padding: 28px 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.brand-sub {
  border-left: 1px solid rgba(255, 255, 255, 0.38);
  padding-left: 14px;
  font-size: 15px;
  letter-spacing: 0.18em;
  line-height: 1.05;
}

.brand-sub small {
  display: block;
  margin-top: 5px;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0.78;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 24px;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.06em;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.mobile-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: 820px;
  height: 100svh;
  max-height: 1180px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(16, 16, 17, 0.78) 0%, rgba(16, 16, 17, 0.18) 24%, rgba(16, 16, 17, 0.12) 46%, rgba(16, 16, 17, 0.72) 72%, #101011 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1400px, 92%);
  text-align: center;
  padding-bottom: 12vh;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.accent { color: var(--brass); }

h1 {
  font-size: clamp(64px, 8.4vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 18px 0 22px;
  text-transform: uppercase;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px #fff;
}

.hero-content p {
  color: var(--soft);
  font-size: 17px;
  line-height: 1.7;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.button:hover { transform: translateY(-3px); }

.button:active { transform: translateY(0); }

.white { background: #f7f5f2; color: #141311; }

.white:hover { background: #fff; }

.outline { border: 1px solid rgba(255, 255, 255, 0.4); }

.outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

.gradient {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(90, 70, 36, 0.28);
}

.hero-bottom {
  position: absolute;
  z-index: 1;
  bottom: 36px;
  left: 0;
  right: 0;
  text-align: center;
}

.hero-bottom a {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d5d0c6;
}

.hero-bottom a:hover { color: #fff; }

.section {
  padding: 72px 5% 88px;
  max-width: 1680px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
}

h2 {
  font-size: clamp(56px, 6.2vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin: 12px 0 16px;
  text-transform: uppercase;
}

.spark {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.32em;
  font-weight: 500;
  color: var(--brass);
  vertical-align: super;
  margin-left: 8px;
}

.section-head p,
.lifestyle p,
.support p,
.hint,
.coin-unit {
  color: var(--muted);
  line-height: 1.7;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tabs button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 10px 22px;
  min-height: 44px;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #c8c3bb;
}

.tabs .active {
  background: #f7f5f2;
  color: #141311;
  border-color: #f7f5f2;
}

.noscript {
  margin-top: 18px;
  color: var(--brass);
  font-size: 14px;
}

.vip-grid {
  display: flex;
  gap: 16px;
  height: 560px;
  margin-top: 28px;
}

.vip-card {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #141816;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.vip-card.active { flex: 2.65 1 0; }

.vip-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  width: 120px;
  height: 3px;
  background: var(--accent);
  top: 0;
  right: 18px;
  transform: rotate(-42deg);
  transform-origin: center;
  box-shadow: 0 0 28px 8px var(--tint);
}

.vip-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 10, 8, 0.05) 8%, rgba(8, 10, 8, 0.18) 42%, rgba(16, 16, 17, 0.9) 92%);
  pointer-events: none;
}

.vip-card:hover .vip-scene { transform: scale(1.045); }

.vip-badges {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge.popular {
  background: #f7f5f2;
  color: #141311;
  border-color: #f7f5f2;
}

.vip-name {
  position: absolute;
  z-index: 2;
  bottom: 132px;
  left: 22px;
  font-size: 92px;
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: 0.35s ease;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.vip-card.active .vip-name {
  writing-mode: horizontal-tb;
  transform: none;
  font-size: clamp(72px, 7vw, 120px);
  bottom: 148px;
  left: 24px;
  right: 24px;
}

.vip-bottom {
  position: absolute;
  z-index: 2;
  bottom: 0;
  width: 100%;
  padding: 18px 18px 20px;
  background: linear-gradient(transparent, rgba(12, 12, 12, 0.2) 20%, rgba(12, 12, 12, 0.55));
}

.vip-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 14px;
}

.vip-buy .button,
.vip-buy .circle { flex-shrink: 0; }

.vip-card.active .button.outline.card-details { margin-left: auto; }

.price {
  font-size: 32px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.circle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.card-details { display: none; }

.vip-card.active .card-details { display: inline-flex; }

.vip-card.active .circle { display: none; }

.vip-buy .button {
  font-size: 15px;
  min-height: 44px;
  padding: 10px 16px;
}

.hint {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.lifestyle {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 88px 7%;
  background:
    linear-gradient(90deg, rgba(16, 16, 17, 0.94) 0%, rgba(16, 16, 17, 0.72) 34%, rgba(16, 16, 17, 0.18) 68%),
    linear-gradient(to bottom, #101011, transparent 18%, transparent 78%, #101011),
    url("../assets/lifestyle.jpg") center 55% / cover no-repeat;
}

.lifestyle-copy { max-width: 680px; position: relative; z-index: 1; }

.lifestyle h2 {
  font-size: clamp(58px, 6vw, 104px);
  margin: 18px 0;
}

.lifestyle h2 span {
  background: #f7f5f2;
  color: #141311;
  padding: 0 8px;
  box-decoration-break: clone;
}

.lifestyle p {
  max-width: 440px;
  margin: 8px 0 28px;
  color: var(--soft);
}

.coordinate {
  position: absolute;
  right: 6%;
  bottom: 64px;
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.9;
  text-transform: uppercase;
  color: #e6e1d8;
  text-align: right;
}

.coins-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin-top: 54px;
  padding-top: 8px;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 139px,
    rgba(255, 255, 255, 0.08) 140px,
    rgba(255, 255, 255, 0.08) 141px
  );
}

.coin-column { position: relative; min-width: 0; }

.coin-card {
  height: var(--height);
  border: 1px solid var(--line-soft);
  border-radius: 20px 20px 0 0;
  background: linear-gradient(160deg, #2a2926, #171716);
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.coin-column:hover .coin-card {
  transform: translateY(-6px);
  border-color: rgba(212, 180, 131, 0.45);
}

.coin-card .badge {
  align-self: flex-start;
  font-size: 12px;
  color: #ebe4d8;
  white-space: nowrap;
}

.coin-amount {
  margin-top: 16px;
  font-size: clamp(34px, 3vw, 54px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.coin-unit,
.coin-name {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coin-unit { margin-top: 8px; font-size: 13px; }

.coin-name { margin-top: auto; font-size: 15px; color: #ddd6cc; }

.coin-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  margin-top: 2px;
}

.coin-column .button {
  width: 100%;
  margin-top: 12px;
  font-size: 15px;
  padding-inline: 8px;
}

.coin-column:last-child .coin-card {
  background: linear-gradient(160deg, #6a4e2e, #2c2418);
  border-color: rgba(212, 180, 131, 0.7);
}

.how {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  background: var(--paper);
  color: var(--ink);
  padding: 36px;
  border-radius: 28px;
  overflow: hidden;
}

.how-title { position: relative; isolation: isolate; min-height: 280px; }

.how-title::before {
  content: "";
  position: absolute;
  inset: -36px -8px -36px -36px;
  background:
    linear-gradient(90deg, rgba(243, 240, 234, 0.97) 0%, rgba(243, 240, 234, 0.9) 42%, rgba(243, 240, 234, 0.15) 100%),
    url("../assets/briefing.jpg") center 70% / cover no-repeat;
  z-index: -1;
}

.how .eyebrow { color: #6d675f; }

.how h2 { font-size: clamp(52px, 5vw, 78px); margin: 12px 0; }

.step { border-top: 2px solid #d9d3ca; padding-top: 8px; }

.step:nth-child(2) { border-color: #8a6840; }

.step b {
  display: block;
  font-family: var(--display);
  font-size: 88px;
  font-weight: 800;
  line-height: 0.8;
  color: #d5cfc6;
}

.step:nth-child(2) b { color: #8a6840; }

.step h3 {
  font-size: 28px;
  letter-spacing: 0.02em;
  margin: 16px 0 8px;
}

.step p { color: #5f5953; font-size: 15px; }

.support {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 56px 40px;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  overflow: hidden;
  background: #141312;
}

.support::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 0 32%;
  background: url("../assets/support.jpg") 68% center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 48%);
}

.support::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(20, 19, 18, 0.45), transparent 35%);
}

.support > div { position: relative; z-index: 1; }

.support h2 { font-size: clamp(48px, 4.6vw, 72px); }

.support p { margin: 18px 0 26px; max-width: 460px; color: var(--soft); }

footer {
  margin: 0 5%;
  padding: 36px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 32px;
}

.footer-logo img { height: 42px; width: auto; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.footer-links a {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfc8be;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover { color: #fff; }

footer p {
  flex-basis: 100%;
  color: #a39d95;
  font-size: 13px;
}

.footer-tag {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

dialog {
  background: #1b1916;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 36px 32px 32px;
  max-width: 680px;
  width: min(680px, calc(100% - 28px));
  max-height: min(88svh, 860px);
  overflow: auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

dialog::backdrop {
  background: rgba(8, 7, 6, 0.76);
  backdrop-filter: blur(8px);
}

dialog h2 {
  font-size: clamp(42px, 6vw, 64px);
  margin: 8px 0 12px;
}

dialog p { margin: 12px 0; color: var(--soft); font-size: 15px; }

dialog ul {
  margin: 8px 0 18px;
  padding-left: 18px;
  color: #ddd6cc;
  line-height: 1.8;
}

dialog .subscription-price {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  color: var(--brass);
  margin-top: 0;
}

.close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
}

#toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 120px);
  background: #f7f5f2;
  color: #161513;
  padding: 14px 22px;
  border-radius: 999px;
  max-width: min(520px, 92%);
  text-align: center;
  font-size: 14px;
  transition: transform 0.25s ease;
}

#toast.show { transform: translate(-50%, 0); }

[hidden] { display: none !important; }

.legal-page header {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #101011;
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 28px 96px;
}

.legal-content h1 {
  font-size: clamp(56px, 8vw, 104px);
  margin: 12px 0 18px;
}

.legal-date { color: var(--muted); margin-bottom: 28px; }

.legal-content section {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-content h2 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: 0;
  margin: 0 0 14px;
}

.legal-content p,
.legal-content li { color: #c9c3bb; font-size: 16px; line-height: 1.75; }

.legal-content p { margin: 10px 0; }

.legal-content ul { padding-left: 20px; }

.legal-content li { margin: 8px 0; }

.legal-content strong { color: #f7f5f2; }

.legal-note {
  margin-top: 36px;
  padding: 18px 20px;
  border-left: 3px solid var(--brass);
  background: rgba(212, 180, 131, 0.08);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .brand-sub { display: none; }
  .vip-grid { height: 490px; }
  .vip-name { font-size: 72px; }
  .vip-card.active .vip-name { font-size: 84px; }
  .coins-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .coin-card { height: 250px !important; }
  .how { grid-template-columns: 1fr 1fr; }
  .how-title { grid-column: 1 / -1; min-height: 180px; }
  .support { grid-template-columns: 1fr; }
  .support::before { opacity: 0.28; inset: 0; }
}

@media (max-width: 760px) {
  header { padding: 18px 5%; }
  .brand img { height: 38px; }
  .mobile-menu { display: grid; place-items: center; }
  nav {
    display: none;
    position: absolute;
    top: calc(100% - 8px);
    left: 5%;
    right: 5%;
    padding: 16px;
    flex-direction: column;
    background: rgba(18, 17, 16, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
  }
  nav.open { display: flex; }
  nav a { width: 100%; text-align: center; }
  .hero { height: auto; min-height: 100svh; max-height: none; }
  .hero-content { padding: 132px 0 96px; }
  h1 { font-size: clamp(52px, 14vw, 78px); letter-spacing: -0.02em; }
  h1 span { -webkit-text-stroke-width: 1px; }
  .hero-content p { font-size: 15px; }
  .hero-bottom { bottom: 28px; }
  .section { padding: 48px 5% 60px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .tabs { justify-content: flex-start; }
  h2 { font-size: clamp(48px, 14vw, 68px); }
  .vip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .vip-card { height: 390px; flex: none; }
  .vip-card.active { grid-column: 1 / -1; height: 460px; }
  .vip-name { font-size: 54px; bottom: 118px; }
  .vip-card.active .vip-name { font-size: 72px; bottom: 132px; }
  .hint span { display: none; }
  .lifestyle { min-height: 620px; padding: 72px 6%; }
  .coordinate { display: none; }
  .coins-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .coin-card { height: 230px !important; }
  .how { grid-template-columns: 1fr; padding: 22px; gap: 22px; }
  .how-title { min-height: 150px; }
  .how-title::before { inset: -22px; opacity: 0.55; }
  .step {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 12px;
    align-items: start;
  }
  .step b { grid-row: span 2; font-size: 64px; }
  .step h3 { margin-top: 4px; }
  .support { padding: 28px 22px; }
  .support::before { opacity: 0.22; }
  .footer-tag { margin-left: 0; }
  dialog { padding: 48px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
