/* ============================================================
   Hard Lickr — marketing site
   Design tokens from the Hard Lickr Figma style guide
   ============================================================ */

:root {
  --bg: #0a0a0c;
  --gold: #e8c96a;
  --gold-deep: #c9a84c;
  --card: #171717;
  --border: rgba(212, 168, 32, 0.3);
  --border-soft: rgba(212, 168, 32, 0.16);
  --muted-surface: #262626;
  --muted-text: #a8a29e;
  --ink: #f5f0e6;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --container: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- store badge buttons ---------- */
.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 18px 9px 14px;
  color: var(--gold);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.badge-btn:hover {
  border-color: var(--gold-deep);
  background: #1d1b14;
  transform: translateY(-1px);
}
.badge-btn svg { width: 26px; height: 26px; flex: none; }
.badge-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}
.badge-btn span small {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-text);
}
.badge-btn--small { padding: 5px 12px 5px 10px; }
.badge-btn--small svg { width: 18px; height: 18px; }
.badge-btn--small span { font-size: 0.85rem; }
.badge-btn--small span small { font-size: 0.5rem; }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.store-badges--center { justify-content: center; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border-soft); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.nav__logo img { width: 132px; height: auto; }
.nav__links {
  display: none;
  gap: 32px;
  font-size: 0.92rem;
  color: var(--muted-text);
}
.nav__links a { transition: color 0.2s ease; }
.nav__links a:hover { color: var(--gold); }
.nav__cta { display: none; gap: 10px; }

@media (min-width: 720px) {
  .nav__links { display: flex; }
}
@media (min-width: 980px) {
  .nav__cta { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background: url("../assets/pattern-arch.jpg") center / cover no-repeat;
  opacity: 0.07;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent);
  mask-image: linear-gradient(to bottom, black 55%, transparent);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 26px;
}
.deco-diamond { font-size: 0.6rem; }
.hero h1 {
  font-size: clamp(2.7rem, 7vw, 4.4rem);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero__sub {
  color: var(--muted-text);
  font-size: 1.08rem;
  max-width: 44ch;
  margin-bottom: 34px;
}
.hero__note {
  margin-top: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted-text);
  opacity: 0.75;
}

.hero__phones {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0 36px;
}
.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, 90vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 168, 32, 0.22), transparent 65%);
  pointer-events: none;
}
.hero__phone {
  width: min(53%, 300px);
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
}
.hero__phone--back {
  transform: rotate(-7deg) translateX(6%);
  z-index: 1;
}
.hero__phone--front {
  transform: rotate(6deg) translateX(-6%) translateY(7%);
  z-index: 2;
}

@media (min-width: 880px) {
  .hero { padding: 96px 0 72px; }
  .hero__inner { grid-template-columns: 1fr 1fr; }
  .hero__phone { width: min(54%, 310px); }
}

/* ---------- deco divider ---------- */
.deco-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--container);
  margin: 40px auto;
  padding: 0 24px;
  color: var(--gold-deep);
  font-size: 0.7rem;
}
.deco-divider::before,
.deco-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 30%, var(--border) 70%, transparent);
}

/* ---------- sections ---------- */
.section { padding: 56px 0; }

.section__head {
  text-align: center;
  margin-bottom: 56px;
}
.pill {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 22px;
  background: rgba(23, 23, 23, 0.6);
}
.section__head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.section__sub {
  margin-top: 14px;
  color: var(--muted-text);
}

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.step-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 28px 34px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.step-card:hover { border-color: var(--border); transform: translateY(-4px); }
.step-card__num {
  position: absolute;
  top: 22px;
  left: 26px;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--bg);
  background: var(--gold);
  border-radius: 6px;
  padding: 3px 9px;
}
.step-card__media {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
  padding-top: 10px;
}
.step-card__media img {
  width: min(82%, 260px);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
}
.step-card h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}
.step-card p {
  color: var(--muted-text);
  font-size: 0.95rem;
}
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  transition: border-color 0.3s ease;
}
.feature:hover { border-color: var(--border); }
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--gold);
  margin-bottom: 20px;
  background: rgba(212, 168, 32, 0.06);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.3rem; margin-bottom: 8px; }
.feature p { color: var(--muted-text); font-size: 0.95rem; }

@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .features { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--card);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq details:hover, .faq details[open] { border-color: var(--border); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 500;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__chev {
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-deep);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq details[open] .faq__chev { transform: rotate(-135deg); }
.faq details p {
  padding: 0 24px 22px;
  color: var(--muted-text);
  font-size: 0.95rem;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  margin-top: 72px;
  padding: 96px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.cta__pattern {
  position: absolute;
  inset: 0;
  background: url("../assets/pattern-fan.jpg") center / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  text-align: center;
}
.cta h2 {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  margin-bottom: 14px;
}
.cta h2 + p {
  color: var(--muted-text);
  margin-bottom: 34px;
}

/* ---------- footer ---------- */
.footer { padding: 64px 0 40px; }
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-soft);
}
.footer__brand img { width: 120px; }
.footer__cols {
  display: flex;
  gap: 72px;
  flex-wrap: wrap;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.footer__col a {
  color: var(--muted-text);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 28px;
  font-size: 0.8rem;
  color: var(--muted-text);
  opacity: 0.8;
}
.footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.footer__bottom a:hover { color: var(--gold); }
@media (min-width: 720px) {
  .footer__top { flex-direction: row; justify-content: space-between; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- contact form ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-top: 8px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form button {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 34px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.contact-form button:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-1px);
}
.contact-success {
  display: none;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
}
.contact-success h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.contact-success p { color: var(--muted-text); }
.contact-page.is-sent .contact-form { display: none; }
.contact-page.is-sent .contact-success { display: block; }
.contact-alt {
  margin-top: 28px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted-text);
}
.contact-alt a { color: var(--gold); }
.contact-alt a:hover { text-decoration: underline; }

/* ---------- legal pages ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin-bottom: 8px;
}
.legal .legal__updated {
  color: var(--muted-text);
  font-size: 0.85rem;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 1.5rem;
  margin: 40px 0 12px;
}
.legal p, .legal li {
  color: var(--muted-text);
  font-size: 0.97rem;
  margin-bottom: 12px;
}
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal a { color: var(--gold); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--ink); font-weight: 500; }
