/* NOY PHONE — site styles.
   Black and white, like the logo. Gold is kept for one thing: the membership. */
:root {
  --bg: #000000;
  --surface: #141414;
  --border: #262626;
  --line: #707070;
  --text: #FFFFFF;
  --muted: #A3A3A3;
  --soft: #D4D4D4;
  --gold: #D4AF37;
  --gold-light: #E6C468;
  --max: 1180px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 900; }
p { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  z-index: 10;
  background: #FFFFFF;
  color: #000000;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.topbar { border-bottom: 1px solid var(--border); color: var(--muted); font-size: .875rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); text-decoration: none; }
.topbar a:hover, .topbar a[aria-current="page"] { color: var(--text); text-decoration: underline; }

.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0 36px; padding-block: 16px; }
.brand { display: block; padding-block: 8px; }
.brand img { height: 28px; width: auto; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0 30px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; }
.main-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 9px; }
.main-nav .nav-club { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-white { background: #FFFFFF; color: #000000; }
.btn-white:hover { background: var(--soft); }
.btn-gold { background: var(--gold); color: #000000; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: var(--line); font-weight: 500; }
.btn-outline:hover { border-color: #FFFFFF; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Sections ---------- */
main > section { padding-top: clamp(64px, 9vw, 120px); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.lead { font-size: clamp(1.125rem, 1.7vw, 1.3125rem); font-weight: 300; color: var(--soft); max-width: 34em; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 56px; margin-bottom: 36px; }
.section-head .lead { max-width: 30em; }

/* ---------- Hero ---------- */
main > .hero { padding-top: clamp(40px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 56px; }
.hero h1 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); line-height: 1.04; margin-bottom: 26px; text-wrap: balance; }

.member-card {
  justify-self: end;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100%, 430px);
  aspect-ratio: 1.586;
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 28px);
  border-radius: 20px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath fill='%23000' fill-opacity='.05' fill-rule='evenodd' d='M60 4a56 56 0 1 1 0 112a56 56 0 1 1 0-112zM60 52.5L32.9 36.9 26.4 48.1 53.5 63.75V95h13V63.75L93.6 48.1 87.1 36.9z'/%3E%3C/svg%3E") no-repeat left -18% bottom -70% / 62% auto,
    linear-gradient(125deg, #E6C468 0%, #D4AF37 42%, #C39A27 100%);
  overflow: hidden;
  color: #000000;
  text-decoration: none;
  transform: rotate(-4deg);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.member-card:hover, .member-card:focus-visible { transform: rotate(0deg); }
.mc-top { display: flex; align-items: center; justify-content: space-between; }
.mc-screw { width: clamp(40px, 4.6vw, 52px); height: auto; }
.mc-brand { font-size: 1rem; font-weight: 300; letter-spacing: .18em; }
.mc-brand b { font-weight: 900; }
.mc-title { font-size: clamp(2.75rem, 5vw, 4rem); font-weight: 900; line-height: 1; }
.mc-bottom { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.mc-perk { font-size: .875rem; font-weight: 500; line-height: 1.45; }
.mc-price { font-size: 1rem; white-space: nowrap; }
.mc-price b { font-size: 1.5rem; font-weight: 900; }
.mc-price small { display: block; font-size: .75rem; font-weight: 500; line-height: 1.3; }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: clamp(48px, 7vw, 88px);
  padding-block: 18px;
  border-top: 1px solid var(--border);
  color: var(--soft);
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.notice strong { color: var(--text); }

/* ---------- Facts ---------- */
main > .facts { padding-top: 0; }
.facts ul {
  list-style: none;
  margin: 0;
  padding: 26px 0;
  border-block: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 28px;
}
.facts li { display: flex; align-items: flex-start; gap: 14px; }
.facts svg { width: 26px; height: 26px; flex: none; stroke: #FFFFFF; margin-top: 2px; }
.facts b { display: block; font-weight: 700; }
.facts span { color: var(--muted); font-size: .9375rem; }

/* ---------- Membership ---------- */
.club-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  border: 1px solid var(--gold);
  border-radius: 28px;
  overflow: hidden;
}
.club-offer { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 56px); }
.club-sub { margin-top: 14px; font-size: 1.1875rem; font-weight: 300; color: var(--soft); max-width: 22em; }
.club-offer h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.nowrap { white-space: nowrap; }
.club-price { display: flex; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 36px; }
.club-price .amount { font-size: clamp(4.25rem, 7.4vw, 6.5rem); font-weight: 900; line-height: .86; color: var(--gold); }
.club-price .unit { display: flex; flex-direction: column; padding-bottom: .1em; font-size: 1.1875rem; font-weight: 300; line-height: 1.15; white-space: nowrap; }
.club-price .cur { font-size: 2rem; font-weight: 700; line-height: 1; }
.club-commit { margin: 14px 0 28px; color: var(--soft); }

.perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #5E4E18;
  border-inline-start: 1px solid #5E4E18;
}
.perks li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 190px;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--bg);
}
.perk-num { font-size: clamp(2.5rem, 4.4vw, 4rem); font-weight: 900; line-height: 1; color: var(--gold); }
.perk-text { font-size: 1.0625rem; line-height: 1.35; }

.smallprint { margin-top: 36px; }
.smallprint h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: 18px; }
.smallprint ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.smallprint li { border-top: 1px solid var(--border); padding-top: 16px; }
.smallprint b { display: block; margin-bottom: 4px; font-weight: 700; }
.smallprint span { color: var(--soft); font-size: .9375rem; }
.smallprint p { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.smallprint p a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Departments ---------- */
.index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.index li { border-bottom: 1px solid var(--border); }
.index a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 16px 4px;
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
}
.index svg { width: 26px; height: 26px; flex: none; stroke: var(--muted); }
.index a:hover { background: var(--surface); }
.index a:hover svg { stroke: #FFFFFF; }
.index-more { margin-top: 22px; color: var(--soft); }

.index small { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 400; color: var(--muted); }

/* ---------- Department and product pages ---------- */
.dept, .product { padding: 40px 0 clamp(72px, 9vw, 120px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--muted); font-size: .9375rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); }
.dept h1, .product h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 18px; }
.member-line { margin: 0 0 8px; color: var(--gold); }
.dept .lead { margin-top: 8px; }
.product-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--border); }
.product-list li { border-bottom: 1px solid var(--border); }
.product-list a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 4px; text-decoration: none; }
.product-list a:hover { background: var(--surface); }
.pl-text b { display: block; font-size: 1.3125rem; font-weight: 700; }
.pl-text span { color: var(--soft); }
.pl-price { flex: none; font-size: 1.5rem; font-weight: 900; }
.dept-ask { margin-top: 26px; color: var(--soft); }
.product-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.product-art { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--border); border-radius: 28px; background: var(--surface); }
.product-art svg { width: 38%; height: auto; stroke: #FFFFFF; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 6px; }
.price .amount { font-size: clamp(3rem, 6vw, 4.25rem); font-weight: 900; line-height: 1; }
.price .unit { font-size: 1.75rem; font-weight: 700; }
.price .vat { margin-inline-start: 6px; color: var(--muted); font-size: .9375rem; }
.product .actions { margin-top: 22px; }
.fineprint { margin-top: 14px; color: var(--muted); font-size: .9375rem; }
.product-points { margin: 30px 0; padding-inline-start: 22px; }
.product-points li { margin-bottom: 8px; }

/* ---------- Checkout pages: join, thanks, payment failed ---------- */
.checkout { padding: 40px 0 clamp(72px, 9vw, 120px); }
.checkout .wrap { max-width: 820px; }
.checkout h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 16px; }
.checkout .club-price { padding-top: 34px; }
.checkout .club-commit { margin-bottom: 0; }
.checkout .store-dl { margin-top: 34px; }
.checkout .store-dl dd { color: var(--soft); }
.checkout .store-dl a, .checkout .fineprint a { color: var(--text); }
.checkout .actions { margin-top: 34px; }

/* ---------- Lab ---------- */
.lab-grid { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px 56px; }
.lab h2 { margin-bottom: 18px; }
.lab-note { margin-top: 18px; color: var(--gold); }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.steps li { counter-increment: step; border-top: 1px solid var(--border); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; margin-bottom: 14px; font-size: 3.5rem; font-weight: 300; line-height: 1; color: var(--muted); }
.steps b { display: block; margin-bottom: 6px; font-size: 1.25rem; font-weight: 700; }
.steps span { color: var(--soft); }

/* ---------- Store ---------- */
main > .store { padding-bottom: clamp(72px, 9vw, 120px); }
.store-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px 56px; }
.store h2 { margin-bottom: 18px; }
.store-dl { margin: 0; border-top: 1px solid var(--border); }
.store-dl div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding-block: 15px; border-bottom: 1px solid var(--border); }
.store-dl dt { color: var(--muted); }
.store-dl dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 40px 72px; align-items: start; }
.footer-brand img { height: 84px; width: auto; }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: .9375rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a, .footer-contact a { display: flex; align-items: center; min-height: 40px; color: var(--soft); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover, .footer-nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }
.footer-contact { font-style: normal; color: var(--soft); }
.footer-contact a { gap: .35em; }
.footer-contact span { display: flex; align-items: center; min-height: 40px; }
.footer-meta { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: .875rem; }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: .9375rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.5rem; font-weight: 700; margin: 44px 0 12px; }
.legal h3 { font-size: 1.1875rem; font-weight: 700; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--soft); }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { margin: 10px 0; padding-inline-start: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }
.legal a { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.legal th, .legal td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 500; width: 36%; }
.legal td { color: var(--text); overflow-wrap: anywhere; }
.legal .actions { margin: 18px 0 8px; }
.legal .callout { margin: 18px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; }
.legal .callout p { color: var(--text); }

/* ---------- Motion: one small moment, when the page opens ---------- */
@media (prefers-reduced-motion: no-preference) {
  .member-card { animation: card-in .7s cubic-bezier(.2, .7, .2, 1) backwards; }
  .mc-screw { animation: screw-turn 1.1s cubic-bezier(.3, .7, .2, 1) .45s backwards; }
  @keyframes card-in {
    from { opacity: 0; transform: translateY(18px) rotate(0deg); }
    to { opacity: 1; transform: rotate(-4deg); }
  }
  @keyframes screw-turn {
    from { transform: rotate(-120deg); }
    to { transform: rotate(0deg); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .member-card { justify-self: center; }
  .club-panel { grid-template-columns: minmax(0, 1fr); }
  .perks { border-inline-start: 0; border-top: 1px solid #5E4E18; }
  .facts ul, .smallprint ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-grid { grid-template-columns: minmax(0, 1fr); }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .product-art { aspect-ratio: 16 / 9; }
  .product-art svg { width: 22%; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .topbar p { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .bar { gap: 0 16px; padding-block: 10px 0; }
  .brand img { height: 24px; }
  .header-wa { margin-inline-start: auto; }
  .main-nav { order: 3; flex-basis: 100%; margin: 10px 0 0; border-top: 1px solid var(--border); }
  .main-nav ul { justify-content: space-between; }
  .member-card { width: 92%; }
  .mc-perk { font-size: .78rem; white-space: nowrap; }
  .mc-price b { font-size: 1.3125rem; }
  .club-price .amount { font-size: clamp(3.25rem, 17vw, 4.25rem); }
  .btn { width: 100%; }
  .btn-small { width: auto; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks li { min-height: 150px; }
  .smallprint ul, .index, .steps { grid-template-columns: minmax(0, 1fr); }
  .index a { font-size: 1.125rem; min-height: 64px; }
  .store-dl div { grid-template-columns: 6.5em minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 420px) {
  .store-dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 2.25rem; }
  .facts ul { grid-template-columns: minmax(0, 1fr); }
  .mc-perk { display: none; }
  .brand img { height: 20px; }
  .btn-small { padding: 0 14px; }
}
