/* Equiwise Capital — Modern Wealth Design System (Light Mode) */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Background tones (warm paper) */
  --ink:        #f7f4ed;   /* main background — warm paper */
  --ink-2:      #ffffff;   /* card surface — white lifts off paper */
  --ink-3:      #efeae0;   /* elevated surface */
  --line:       #e5dfd2;   /* warm hairline */
  --line-hi:    #d0c8b6;   /* stronger border */

  /* Text tones (deep green-black ink) */
  --ivory:      #17211c;   /* primary text — green-black */
  --ivory-dim:  #56625a;   /* secondary text */
  --muted:      #8c948b;   /* tertiary */

  /* Accents (forest green) */
  --gold:       #1c7a52;   /* primary accent — confident forest green */
  --gold-hi:    #2a9468;   /* lighter forest */
  --gold-dim:   #c2dccd;   /* soft green for borders */
  --emerald:    #1f8a5b;   /* brighter green for positive figures */
  --ruby:       #b8463a;   /* warm brick red for negatives */

  --radius:     14px;
  --radius-lg:  20px;
  --max:        1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ivory);
  background: var(--ink);
  font-feature-settings: "ss01", "cv11", "tnum";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.serif { font-family: 'Fraunces', 'Playfair Display', Georgia, serif; }
.tnum { font-variant-numeric: tabular-nums; }

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

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 244, 237, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 12px;
  color: var(--ivory); text-decoration: none;
}
.brand .word {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: 24px; letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--ivory);
}
.brand .mono {
  font-family: 'Inter', sans-serif; font-size: 12px;
  letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600;
  color: var(--gold);
  padding-left: 12px; border-left: 1px solid var(--line-hi);
}

.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--ivory-dim); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--gold); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #ffffff; }
.btn-gold:hover { background: #155f3f; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: var(--line-hi); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* ============ TYPE ============ */
section { padding: 100px 0; position: relative; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); display: inline-block; }
.h1 { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(42px, 7vw, 82px); line-height: 1.04; letter-spacing: -0.02em; color: var(--ivory); }
.h2 { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; letter-spacing: -0.015em; color: var(--ivory); }
.h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; line-height: 1.25; color: var(--ivory); }
.h1 em, .h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.lead { font-size: 18px; color: var(--ivory-dim); max-width: 640px; line-height: 1.65; }

/* ============ HERO ============ */
.hero {
  padding: 180px 0 120px;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(28, 122, 82, 0.12), transparent 50%),
    radial-gradient(ellipse at 85% 60%, rgba(61, 141, 97, 0.06), transparent 50%),
    var(--ink);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(28, 122, 82, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 122, 82, 0.07) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero h1 { max-width: 860px; }
.hero .lead { margin-top: 28px; font-size: 20px; }
.hero .ctas { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }

.kpi-ribbon {
  margin-top: 88px; padding-top: 40px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.kpi .v { font-family: 'Fraunces', serif; font-weight: 400; font-size: 44px; color: var(--ivory); letter-spacing: -0.01em; line-height: 1; }
.kpi .v em { color: var(--gold); font-style: normal; }
.kpi .l { font-size: 11px; color: var(--muted); letter-spacing: 1.8px; text-transform: uppercase; margin-top: 14px; }

/* ============ CARDS ============ */
.card {
  background: linear-gradient(180deg, #ffffff, var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: border-color .2s, transform .2s;
  box-shadow: 0 1px 2px rgba(26, 31, 46, 0.04), 0 8px 24px rgba(26, 31, 46, 0.04);
}
.card:hover { border-color: var(--gold-dim); }

/* ============ PRODUCT CARDS ============ */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.product-card { display: flex; flex-direction: column; gap: 22px; }
.product-tag { font-size: 11px; letter-spacing: 2.5px; font-weight: 600; text-transform: uppercase; color: var(--gold); }
.product-card.stock .product-tag { color: var(--emerald); }
.product-card h3 { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 500; letter-spacing: -0.01em; color: var(--ivory); line-height: 1.1; }
.product-card p { color: var(--ivory-dim); font-size: 15px; line-height: 1.7; }
.product-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-stat .v { font-family: 'Fraunces', serif; font-size: 26px; color: var(--ivory); font-weight: 500; }
.product-stat .v.gold { color: var(--gold); }
.product-stat .v.green { color: var(--emerald); }
.product-stat .v.red { color: var(--ruby); }
.product-stat .l { font-size: 10px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 11px; padding: 6px 12px; border-radius: 999px; background: rgba(28, 122, 82, 0.1); color: var(--gold); border: 1px solid rgba(28, 122, 82, 0.25); font-weight: 500; letter-spacing: 0.3px; }
.product-card.stock .chip { background: rgba(61, 141, 97, 0.08); color: var(--emerald); border-color: rgba(61, 141, 97, 0.25); }
.minmax { font-size: 12px; color: var(--muted); letter-spacing: 0.3px; }

/* ============ PILLARS ============ */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.pillar { padding: 32px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff; transition: all .2s; box-shadow: 0 1px 2px rgba(26, 31, 46, 0.03); }
.pillar:hover { border-color: var(--gold-dim); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26, 31, 46, 0.06); }
.pillar .roman { font-family: 'Fraunces', serif; font-size: 38px; font-style: italic; color: var(--gold); font-weight: 400; line-height: 1; }
.pillar h4 { font-family: 'Fraunces', serif; font-size: 20px; color: var(--ivory); margin-top: 18px; font-weight: 500; letter-spacing: -0.005em; }
.pillar p { font-size: 13px; color: var(--ivory-dim); margin-top: 10px; line-height: 1.6; }
.pillar.ruby .roman { color: var(--ruby); }
.pillar.emerald .roman { color: var(--emerald); }
.pillar.purple .roman { color: #7e6bb8; }

/* ============ TABLES ============ */
.table-wrap { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #ffffff; }
table.perf { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.perf th {
  background: var(--ink-3); color: var(--ivory-dim);
  padding: 16px 20px; text-align: left; font-size: 11px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
table.perf td {
  padding: 16px 20px; font-size: 14px; color: var(--ivory);
  border-bottom: 1px solid var(--line);
}
table.perf tr:last-child td { border-bottom: none; }
table.perf tr:hover td { background: rgba(28, 122, 82, 0.05); }
table.perf td.green, table.perf .green { color: var(--emerald); font-weight: 600; }
table.perf td.red, table.perf .red { color: var(--ruby); font-weight: 500; }
table.perf td.gold, table.perf .gold { color: var(--gold); font-weight: 600; }
table.perf td.label { color: var(--ivory-dim); font-weight: 500; }
table.perf .strong { font-weight: 700; color: var(--ivory); }

/* ============ WHY CARDS ============ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.why-card { padding: 32px; border: 1px solid var(--line); background: #ffffff; border-radius: var(--radius); transition: border-color .2s; box-shadow: 0 1px 2px rgba(26, 31, 46, 0.03); }
.why-card:hover { border-color: var(--gold-dim); box-shadow: 0 8px 24px rgba(26, 31, 46, 0.06); }
.why-card .num { font-family: 'Fraunces', serif; font-size: 14px; font-style: italic; color: var(--gold); letter-spacing: 2px; }
.why-card h4 { font-family: 'Fraunces', serif; font-size: 22px; color: var(--ivory); margin-top: 14px; font-weight: 500; line-height: 1.2; letter-spacing: -0.005em; }
.why-card p { font-size: 14px; color: var(--ivory-dim); margin-top: 12px; line-height: 1.65; }

/* ============ STORY ============ */
.story { max-width: 760px; margin: 0 auto; }
.story p { font-size: 17px; line-height: 1.9; color: var(--ivory-dim); margin-top: 22px; }
.story p strong { color: var(--ivory); font-weight: 600; }
.story .pullquote {
  font-family: 'Fraunces', serif; font-weight: 400; font-style: italic;
  font-size: 28px; line-height: 1.35; color: var(--gold);
  margin: 44px 0; padding-left: 28px; border-left: 2px solid var(--gold);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.two-col .ct { font-size: 11px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.two-col .ct.em { color: var(--emerald); }
.two-col h5 { font-family: 'Fraunces', serif; font-size: 18px; margin-top: 10px; color: var(--ivory); font-weight: 500; }
.two-col p { font-size: 14px; color: var(--ivory-dim); margin-top: 10px; line-height: 1.7; }

/* ============ SKIN IN GAME ============ */
.skin {
  margin-top: 56px;
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top right, rgba(28, 122, 82, 0.18), transparent 60%),
    #ffffff;
  border: 1px solid var(--gold-dim);
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(26, 31, 46, 0.04), 0 12px 36px rgba(26, 31, 46, 0.05);
}
.skin::before {
  content: '§'; position: absolute; top: -60px; right: -20px;
  font-family: 'Fraunces', serif; font-size: 320px; color: var(--gold);
  opacity: 0.10; font-style: italic; pointer-events: none;
}
.skin .eyebrow { color: var(--gold); margin-bottom: 16px; }
.skin h3 { font-family: 'Fraunces', serif; font-size: 30px; color: var(--ivory); font-weight: 500; line-height: 1.2; }
.skin p { color: var(--ivory-dim); max-width: 640px; margin: 18px auto 0; font-size: 16px; line-height: 1.7; }
.skin .sig { margin-top: 28px; color: var(--gold); font-weight: 500; font-size: 14px; font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; }
.skin .sig-sub { color: var(--muted); font-size: 12px; margin-top: 4px; letter-spacing: 0.3px; }

/* ============ CTA BLOCK ============ */
.cta-big {
  background:
    radial-gradient(ellipse at center, rgba(28, 122, 82, 0.18), transparent 60%),
    var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 110px 0; text-align: center;
}
.cta-big h2 { max-width: 760px; margin: 0 auto; }
.cta-big p { color: var(--ivory-dim); max-width: 560px; margin: 20px auto 0; font-size: 16px; line-height: 1.6; }
.cta-big .ctas { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-big .small { color: var(--muted); font-size: 12px; margin-top: 18px; }

/* ============ FOOTER ============ */
footer { padding: 72px 0 40px; background: #16231b; border-top: 1px solid var(--line); color: #c5beae; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.foot .brand .word { font-size: 19px; color: #f5f1e8; }
.foot .brand .mono { color: var(--gold-hi); border-left-color: #2c3a30; }
.foot p.tag { color: #97a39a; font-size: 13px; margin-top: 14px; line-height: 1.7; max-width: 300px; }
.foot h5 { color: var(--gold-hi); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.foot a { display: block; color: #c5beae; font-size: 14px; margin-bottom: 12px; transition: color .15s; }
.foot a:hover { color: var(--gold-hi); }
.compliance {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid #2c3a30;
  font-size: 11px; color: #97a39a; line-height: 1.85; letter-spacing: 0.15px;
  max-width: 920px;
}
.compliance strong { color: #c5beae; font-weight: 600; }
.reg-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.reg-strip span { padding: 6px 14px; border: 1px solid #2c3a30; border-radius: 4px; letter-spacing: 1.2px; font-size: 10px; color: #c5beae; text-transform: uppercase; font-weight: 500; }

/* ============ PRODUCT PAGE ============ */
.product-hero {
  padding: 160px 0 80px;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(28, 122, 82, 0.14), transparent 55%),
    var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.product-hero.green {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(61, 141, 97, 0.14), transparent 55%),
    var(--ink);
}
.product-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(28, 122, 82, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 122, 82, 0.07) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at left center, black 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at left center, black 10%, transparent 60%);
  pointer-events: none;
}
.product-hero .eyebrow { color: var(--gold); }
.product-hero.green .eyebrow { color: var(--emerald); }
.product-hero h1 { font-family: 'Fraunces', serif; font-size: clamp(40px, 6vw, 68px); font-weight: 400; color: var(--ivory); line-height: 1.05; letter-spacing: -0.015em; position: relative; }
.product-hero p { margin-top: 22px; color: var(--ivory-dim); font-size: 18px; max-width: 640px; line-height: 1.65; position: relative; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 28px; letter-spacing: 0.3px; position: relative; }
.back-link:hover { color: var(--gold); }

/* ============ METRIC GRID ============ */
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric-grid + .metric-grid { margin-top: 16px; }
.metric {
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 1px 2px rgba(26, 31, 46, 0.03);
}
.metric .v { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 400; line-height: 1; letter-spacing: -0.015em; color: var(--ivory); }
.metric .v.gold { color: var(--gold); }
.metric .v.green { color: var(--emerald); }
.metric .v.red { color: var(--ruby); }
.metric .l { font-size: 10px; color: var(--muted); letter-spacing: 1.8px; text-transform: uppercase; margin-top: 14px; font-weight: 500; }

/* ============ INSIGHT CALLOUTS ============ */
.callout {
  margin-top: 24px; padding: 24px 28px; border-radius: var(--radius);
  font-size: 14px; line-height: 1.75; color: var(--ivory-dim);
}
.callout strong { color: var(--ivory); font-weight: 600; }
.callout.good { background: rgba(61, 141, 97, 0.08); border: 1px solid rgba(61, 141, 97, 0.25); }
.callout.warn { background: rgba(194, 82, 78, 0.06); border: 1px solid rgba(194, 82, 78, 0.22); }
.callout.neutral { background: rgba(28, 122, 82, 0.06); border: 1px solid rgba(28, 122, 82, 0.22); }

/* ============ PRICING CARD ============ */
.pricing {
  background: #ffffff;
  border: 1px solid var(--gold-dim); border-radius: var(--radius-lg);
  padding: 40px; text-align: center; max-width: 440px; margin: 40px auto 0;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 6px rgba(26, 31, 46, 0.04), 0 16px 40px rgba(26, 31, 46, 0.06);
}
.pricing::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.pricing .tag-top { font-size: 11px; color: var(--gold); letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; }
.pricing .price { font-family: 'Fraunces', serif; font-size: 40px; color: var(--ivory); margin-top: 12px; font-weight: 500; line-height: 1; }
.pricing .sub { font-size: 13px; color: var(--muted); margin-top: 8px; }
.pricing .features { margin-top: 26px; text-align: left; display: grid; gap: 12px; }
.pricing .features li { list-style: none; color: var(--ivory-dim); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.pricing .features li::before { content: '◆'; color: var(--gold); font-size: 10px; margin-top: 5px; }
.pricing .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* ============ HOW STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.step { text-align: left; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff; box-shadow: 0 1px 2px rgba(26, 31, 46, 0.03); }
.step .num { font-family: 'Fraunces', serif; font-size: 14px; font-style: italic; color: var(--gold); letter-spacing: 2px; }
.step h4 { font-family: 'Fraunces', serif; font-size: 18px; color: var(--ivory); margin-top: 14px; font-weight: 500; }
.step p { font-size: 13px; color: var(--ivory-dim); margin-top: 8px; line-height: 1.6; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-inner { padding: 14px 20px; gap: 12px; }
  .brand .mono { display: inline-block; }
  .kpi-ribbon { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .kpi .v { font-size: 32px; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; gap: 32px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 140px 0 80px; }
  .skin { padding: 40px 24px; }
  .skin::before { font-size: 220px; top: -40px; right: -10px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-big { padding: 80px 0; }
  table.perf th, table.perf td { padding: 12px 12px; font-size: 13px; }
  table.perf th { font-size: 10px; letter-spacing: 1.2px; }
  .product-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .product-stat .v { font-size: 20px; }
  .pricing { padding: 32px 24px; }
}

@media (max-width: 500px) {
  .foot { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .product-stats { grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 16px 0; }
  .product-stat .v { font-size: 18px; }
  .product-stat .l { font-size: 9px; }
}
