/* ============================================================
   Words By WTM — Hub Styles
   Dark editorial aesthetic. Playfair Display + Inter.
   ============================================================ */

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

:root {
  /* Base palette */
  --bg:           #0e0e10;
  --bg-card:      #16161a;
  --bg-card-hover:#1c1c22;
  --surface:      #1e1e24;
  --border:       rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.12);

  /* Text */
  --text-primary:  #f0ead8;
  --text-secondary:#a09880;
  --text-muted:    #5c5647;

  /* Product accent colors */
  --retirement:       #c8a96e;  /* warm gold */
  --retirement-dim:   rgba(200, 169, 110, 0.12);
  --retirement-glow:  rgba(200, 169, 110, 0.25);

  --wedding:          #c97bb2;  /* dusty rose */
  --wedding-dim:      rgba(201, 123, 178, 0.12);
  --wedding-glow:     rgba(201, 123, 178, 0.25);

  --tribute:          #7da5c0;  /* slate blue */
  --tribute-dim:      rgba(125, 165, 192, 0.12);
  --tribute-glow:     rgba(125, 165, 192, 0.25);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --max-width: 1120px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
}

/* ============================================================
   Base
   ============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================================
   Header
   ============================================================ */

.header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 14, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wtm {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.header-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: 100px 0 88px;
  overflow: hidden;
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 169, 110, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(201, 123, 178, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(125, 165, 192, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--retirement);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero-claude-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 8px 16px;
}

/* ============================================================
   Products
   ============================================================ */

.products {
  padding: 0 0 96px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card--retirement { border-top: 2px solid var(--retirement); }
.product-card--retirement:hover {
  border-color: var(--retirement);
  box-shadow: 0 20px 60px rgba(200, 169, 110, 0.12), 0 4px 16px rgba(0,0,0,0.4);
}

.product-card--wedding { border-top: 2px solid var(--wedding); }
.product-card--wedding:hover {
  border-color: var(--wedding);
  box-shadow: 0 20px 60px rgba(201, 123, 178, 0.12), 0 4px 16px rgba(0,0,0,0.4);
}

.product-card--tribute { border-top: 2px solid var(--tribute); }
.product-card--tribute:hover {
  border-color: var(--tribute);
  box-shadow: 0 20px 60px rgba(125, 165, 192, 0.12), 0 4px 16px rgba(0,0,0,0.4);
}

.product-card-inner {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-occasion {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card--retirement .product-occasion { color: var(--retirement); }
.product-card--wedding    .product-occasion { color: var(--wedding); }
.product-card--tribute    .product-occasion { color: var(--tribute); }

.product-price-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.product-card--retirement .product-price-badge {
  background: var(--retirement-dim);
  color: var(--retirement);
}
.product-card--wedding .product-price-badge {
  background: var(--wedding-dim);
  color: var(--wedding);
}
.product-card--tribute .product-price-badge {
  background: var(--tribute-dim);
  color: var(--tribute);
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.product-card--retirement .product-tagline { color: rgba(200, 169, 110, 0.7); }
.product-card--wedding    .product-tagline { color: rgba(201, 123, 178, 0.7); }
.product-card--tribute    .product-tagline { color: rgba(125, 165, 192, 0.7); }

.product-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 300;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
  flex: 1;
}

.product-features li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.product-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: inherit;
  font-size: 0.75rem;
}

.product-card--retirement .product-features li::before { color: var(--retirement); }
.product-card--wedding    .product-features li::before { color: var(--wedding); }
.product-card--tribute    .product-features li::before { color: var(--tribute); }

.product-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.01em;
  transition: opacity 0.15s ease, transform 0.15s ease;
  margin-top: auto;
}

.product-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.product-cta--retirement { background: var(--retirement); color: #1a1206; }
.product-cta--wedding    { background: var(--wedding);    color: #1a0614; }
.product-cta--tribute    { background: var(--tribute);    color: #041320; }

.cta-arrow {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.product-cta:hover .cta-arrow {
  transform: translateX(3px);
}

/* ============================================================
   How it works
   ============================================================ */

.how-it-works {
  padding: 80px 0 96px;
  border-top: 1px solid var(--border);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 60px;
}

.section-title em {
  font-style: italic;
  color: var(--text-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  text-align: center;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--border-light);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================================
   Trust bar
   ============================================================ */

.trust {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 28px;
}

.trust-icon {
  font-size: 0.5rem;
  color: var(--retirement);
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--border-light);
  flex-shrink: 0;
}

/* ============================================================
   Brand statement
   ============================================================ */

.statement {
  padding: 96px 0;
}

.statement-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.statement-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6875rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
}

.statement-quote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--border-light);
  position: absolute;
  top: -24px;
  left: -12px;
  font-family: var(--font-serif);
  line-height: 1;
  pointer-events: none;
}

/* ============================================================
   Footer
   ============================================================ */

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

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.footer-products {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-products a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-products a:hover {
  color: var(--text-secondary);
}

.footer-dot {
  color: var(--border-light);
  font-size: 0.875rem;
}

.footer-right {
  text-align: right;
}

.footer-email {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.15s ease;
}

.footer-email:hover {
  color: var(--text-primary);
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 440px;
    margin: 0 auto;
  }

  .hero { padding: 72px 0 64px; }
  .how-it-works { padding: 64px 0 80px; }
  .statement { padding: 72px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .header-tagline { display: none; }

  .hero { padding: 56px 0 48px; }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1rem; }

  .products { padding: 0 0 64px; }

  .trust-items { flex-direction: column; gap: 12px; }
  .trust-divider { display: none; }
  .trust-item { padding: 4px 0; }

  .section-title { font-size: 1.625rem; }

  .statement-quote { font-size: 1.1875rem; }
  .statement-quote::before { font-size: 3.5rem; top: -16px; left: -4px; }

  .footer-inner { flex-direction: column; }
  .footer-right { text-align: left; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 2.125rem; }
  .product-cta { width: 100%; }
}
