/* ============================================================
   Mily Lumi — Marketing site design system
   A quieter, more editorial direction than stock utility-class
   templates: typography does the work, gold is used sparingly,
   and the glowing-circle motif ties every page back to the logo.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #2c2a2a;
  --bg-deep: #201e1e;
  --surface: #343030;
  --surface-2: #3c3735;
  --line: rgba(198, 166, 116, 0.16);
  --line-strong: rgba(198, 166, 116, 0.32);
  --gold: #c6a674;
  --gold-soft: #e9cfa0;
  --cream: #f3e9d8;
  --muted: #b3a68e;
  --serif: 'Playfair Display', 'Georgia', serif;
  --sans: 'Manrope', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--cream);
}

p { color: var(--muted); margin: 0; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 760px; }

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(44, 42, 42, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { width: 32px; height: 32px; border-radius: 50%; }

.brand span {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cream);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--gold-soft);
}

.nav-links a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
}

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---------- Language switcher ---------- */

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}

.lang-switch button {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch button.is-active {
  background: var(--gold);
  color: #241a10;
}

/* ---------- Mobile nav ---------- */

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--cream);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }

.site-nav.is-open .nav-toggle span { background: transparent; }
.site-nav.is-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
.site-nav.is-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s var(--ease), opacity 0.25s var(--ease);
  }

  .site-nav.is-open .nav-links {
    max-height: 400px;
    opacity: 1;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a.btn-primary {
    width: auto;
    margin-top: 10px;
    border-bottom: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #241a10;
  border: none;
  box-shadow: 0 10px 30px -12px rgba(198, 166, 116, 0.55);
}

.btn-primary:hover {
  color: #241a10;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -12px rgba(198, 166, 116, 0.7);
}

.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Glow motif ---------- */

.glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 166, 116, 0.22) 0%, rgba(198, 166, 116, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Section scaffolding ---------- */

.section { padding: 88px 0; position: relative; }
.section--tight { padding: 56px 0; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
  max-width: 640px;
}

.section-lead {
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 0;
}

.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header--center .section-title,
.section-header--center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */

.hero { padding: 72px 0 96px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero p {
  font-size: 18px;
  max-width: 460px;
  margin-bottom: 36px;
}

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

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-art img {
  width: 260px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  position: relative;
  z-index: 1;
}

.trust-line {
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-line::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--line-strong);
}

/* ---------- Value strip ---------- */

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-strip-item {
  padding: 36px 32px;
  border-left: 1px solid var(--line);
}

.value-strip-item:first-child { border-left: none; }

.value-strip-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.value-strip-item p { font-size: 14px; }

@media (max-width: 760px) {
  .value-strip { grid-template-columns: 1fr; }
  .value-strip-item { border-left: none; border-top: 1px solid var(--line); }
  .value-strip-item:first-child { border-top: none; }
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  max-width: 640px;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.step::after {
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  font-family: var(--serif);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  grid-row: 1;
  grid-column: 1;
  background: var(--bg);
  z-index: 1;
}

.step-body h3 { font-size: 17px; margin-bottom: 6px; }
.step-body p { font-size: 14px; }

/* ---------- Feature clusters ---------- */

.feature-clusters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .feature-clusters { grid-template-columns: 1fr; }
}

.feature-cluster {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
}

.feature-cluster h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-item { margin-bottom: 20px; }
.feature-item:last-child { margin-bottom: 0; }

.feature-item h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 4px;
}

.feature-item p { font-size: 13px; }

/* ---------- Plan tiles ---------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.plan-tile {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 18px;
  text-align: center;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.plan-tile:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.plan-tile .plan-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold-soft);
  margin-bottom: 8px;
}

.plan-tile .plan-range { font-size: 13px; color: var(--muted); }

/* ---------- Pricing table ---------- */

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line-strong);
}

table { width: 100%; border-collapse: collapse; font-size: 13px; }

th, td {
  padding: 14px 12px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
}

td { color: var(--cream); }
tbody tr:hover { background: rgba(198, 166, 116, 0.04); }

.table-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

/* ---------- Accordion (FAQ) ---------- */

.accordion-item {
  border-top: 1px solid var(--line);
}

.accordion-item:last-child { border-bottom: 1px solid var(--line); }

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--cream);
}

.accordion-item summary::-webkit-details-marker { display: none; }

.accordion-item summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.accordion-item[open] summary::after { transform: rotate(45deg); }

.accordion-item .accordion-body {
  padding-bottom: 22px;
  font-size: 14px;
  max-width: 640px;
}

/* ---------- Policy / support list blocks ---------- */

.info-block {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
  margin-bottom: 40px;
}

.info-block h2 { font-size: 20px; margin-bottom: 14px; }

.info-block ul,
.info-block ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.info-block li { margin-bottom: 8px; }

.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-nav a {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  color: var(--muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.pill-nav a:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-band h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 14px; }
.cta-band p { max-width: 460px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}

.site-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer-brand img { width: 22px; height: 22px; border-radius: 50%; }

.site-footer-links { display: flex; gap: 24px; }

.site-footer-links a { text-decoration: none; color: var(--muted); transition: color 0.2s var(--ease); }
.site-footer-links a:hover { color: var(--gold-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; }
}
