/* ============================================
   Dunesell design tokens
   ============================================ */
:root {
  --blue-900: #142A45;
  --blue-800: #1B3A5E;
  --blue-700: #234D7C;
  --blue-600: #2C5D94;
  --blue-500: #3B72AC;

  --gold-700: #8F5219;
  --gold-600: #B96B23;
  --gold-500: #D9832F;
  --gold-400: #E39C4C;
  --gold-300: #ECB877;
  --gold-100: #F8E4C6;

  --sand-50: #FBF8F3;
  --sand-100: #F5EFE4;
  --sand-200: #EEE4D2;

  --ink-900: #1A2230;
  --ink-700: #3A4453;
  --ink-500: #5C6675;
  --ink-300: #8B94A3;

  --white: #FFFFFF;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgba(20, 42, 69, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 42, 69, 0.10);
  --shadow-lg: 0 20px 48px rgba(20, 42, 69, 0.16);

  --container: 1180px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sand-50: #10161F;
    --sand-100: #161D28;
    --sand-200: #1E2732;
    --white: #16202C;
    --ink-900: #F2EFE9;
    --ink-700: #D6D2C8;
    --ink-500: #A7ADB8;
    --ink-300: #6E7684;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5);
  }
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--sand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

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

.section {
  padding: 96px 0;
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; }

.section-head p {
  margin-top: 14px;
  color: var(--ink-500);
  font-size: 17px;
}

.text-lead {
  font-size: 18px;
  color: var(--ink-500);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  border-color: var(--blue-700);
  color: var(--blue-700);
}
.btn-secondary:hover { background: var(--blue-700); color: var(--white); }

@media (prefers-color-scheme: dark) {
  .btn-secondary { border-color: var(--blue-500); color: var(--blue-500); }
  .btn-secondary:hover { background: var(--blue-500); color: var(--white); }
}

.btn-ghost {
  background: var(--sand-100);
  color: var(--ink-900);
}
.btn-ghost:hover { background: var(--sand-200); }

.btn-block { width: 100%; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--sand-200);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
@media (prefers-color-scheme: dark) {
  .site-header::before { background: rgba(16, 22, 31, 0.85); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  flex-shrink: 0;
}
.brand img {
  height: 38px;
  width: 38px;
  border-radius: 10px;
}
.brand .brand-sell { color: var(--gold-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-700);
}
.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover { color: var(--gold-600); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--sand-50);
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 24px;
    gap: 24px;
    font-size: 18px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-secondary { display: none; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 40px;
  background:
    radial-gradient(1100px 480px at 85% -10%, var(--gold-100) 0%, rgba(248, 228, 198, 0) 60%),
    var(--sand-50);
}
@media (prefers-color-scheme: dark) {
  .hero {
    background:
      radial-gradient(1100px 480px at 85% -10%, rgba(217, 131, 47, 0.14) 0%, rgba(217, 131, 47, 0) 60%),
      var(--sand-50);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--sand-200);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  color: var(--ink-900);
}
.hero h1 .accent { color: var(--gold-600); }

.hero-lead {
  margin-top: 20px;
  font-size: 19px;
  color: var(--ink-500);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--sand-200);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
}
.hero-trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold-600);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  background: linear-gradient(160deg, var(--blue-800), var(--blue-600));
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 240px at 20% 15%, rgba(255,255,255,0.14), transparent 60%);
}
.hero-art img {
  width: 62%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.28);
  position: relative;
  z-index: 1;
}

.hero-card-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
}
.hero-card-float.top {
  top: 6%;
  left: -6%;
}
.hero-card-float.bottom {
  bottom: 8%;
  right: -8%;
}
.hero-card-float .pill-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.hero-card-float.top .pill-icon { background: var(--gold-500); }
.hero-card-float.bottom .pill-icon { background: var(--blue-700); }
.hero-card-float .sub { display: block; font-weight: 500; color: var(--ink-500); font-size: 12px; }

@media (max-width: 560px) {
  .hero-card-float { display: none; }
}

/* ============================================
   Logo strip
   ============================================ */
.logo-strip {
  padding: 28px 0;
  border-top: 1px solid var(--sand-200);
  border-bottom: 1px solid var(--sand-200);
}
.logo-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 40px;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

/* ============================================
   Steps (How it works)
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

.step-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 20px;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--ink-500); font-size: 15px; }

/* ============================================
   Feature grid
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-300));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-700);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--ink-500); font-size: 15px; }

/* ============================================
   Audience split (Influencers / Brands)
   ============================================ */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 860px) {
  .audience-grid { grid-template-columns: 1fr; }
}

.audience-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.audience-card.for-influencers {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: var(--white);
}
.audience-card.for-brands {
  background: var(--white);
  border: 1px solid var(--sand-200);
}
.audience-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.audience-card.for-influencers .tag { background: rgba(255,255,255,0.14); color: var(--gold-300); }
.audience-card.for-brands .tag { background: var(--gold-100); color: var(--gold-700); }

.audience-card h3 { font-size: 24px; margin-bottom: 12px; }
.audience-card.for-influencers p.desc { color: rgba(255,255,255,0.78); }
.audience-card.for-brands p.desc { color: var(--ink-500); }
.audience-card p.desc { margin-bottom: 24px; font-size: 15.5px; }

.check-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}
.check-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.audience-card.for-influencers .check-list svg { color: var(--gold-400); }
.audience-card.for-brands .check-list svg { color: var(--blue-600); }

/* ============================================
   Fulfilment section
   ============================================ */
.fulfilment-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .fulfilment-wrap { grid-template-columns: 1fr; }
}

.fulfilment-list { display: flex; flex-direction: column; gap: 22px; }
.fulfilment-item { display: flex; gap: 18px; }
.fulfilment-item .num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold-100);
  color: var(--gold-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.fulfilment-item h3 { font-size: 17px; margin-bottom: 6px; }
.fulfilment-item p { color: var(--ink-500); font-size: 15px; }

.fulfilment-panel {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.fulfilment-panel .panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--sand-100);
}
.fulfilment-panel .panel-row:last-child { border-bottom: none; }
.fulfilment-panel .panel-label { font-size: 14px; color: var(--ink-500); font-weight: 600; }
.fulfilment-panel .panel-value { font-weight: 800; color: var(--ink-900); }
.fulfilment-panel .badge-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-700);
  font-weight: 700;
  font-size: 13px;
}
@media (prefers-color-scheme: dark) {
  .fulfilment-panel .badge-ok { color: var(--blue-500); }
}
.fulfilment-panel .badge-ok svg { width: 16px; height: 16px; }

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

.price-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--gold-500);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card .plan-badge {
  position: absolute;
  top: -14px;
  left: 30px;
  background: var(--gold-500);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.price-card h3 { font-size: 20px; }
.price-card .plan-for { color: var(--ink-500); font-size: 14px; margin-top: 6px; }
.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 24px 0 4px;
}
.price-card .price .amount { font-size: 38px; font-weight: 800; color: var(--ink-900); }
.price-card .price .period { color: var(--ink-500); font-size: 14px; }
.price-card .plan-note { color: var(--ink-500); font-size: 13px; margin-bottom: 24px; }
.price-card .check-list { margin-bottom: 28px; flex-grow: 1; }
.price-card .check-list svg { color: var(--gold-600); }

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  padding: 6px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--gold-600);
}
.faq-item[open] .chevron { transform: rotate(180deg); }
.faq-item .faq-answer {
  padding: 0 0 20px;
  color: var(--ink-500);
  font-size: 15px;
}

/* ============================================
   CTA band
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  color: var(--white);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.78); margin-top: 14px; font-size: 17px; }
.cta-band .hero-actions { justify-content: center; }
@media (max-width: 640px) {
  .cta-band { padding: 40px 24px; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.72);
  padding: 72px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; max-width: 280px; color: rgba(255,255,255,0.6); }

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer-col a:hover { color: var(--gold-400); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .legal-links { display: flex; gap: 20px; }

/* ============================================
   Inner pages (legal)
   ============================================ */
.page-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--sand-200);
}
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); }
.page-hero p { margin-top: 12px; color: var(--ink-500); }

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.prose h2 { font-size: 22px; margin-top: 40px; margin-bottom: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-700); font-size: 15.5px; margin-bottom: 14px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose ul li { margin-bottom: 8px; }

/* ============================================
   404
   ============================================ */
.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.not-found .code {
  font-size: 96px;
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
}
.not-found h1 { margin-top: 8px; }
.not-found p { margin-top: 12px; color: var(--ink-500); }
.not-found .btn { margin-top: 28px; }

/* ============================================
   Utilities
   ============================================ */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
