/* InvestingIR — styles. Dark fintech-editorial theme. No external requests. */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070b14;
  --bg-2: #0a0f1a;
  --surface: #0f1626;
  --surface-2: #141d31;
  --line: #1f2b3d;
  --line-soft: #172131;
  --text: #e8ecf2;
  --muted: #9aa6b8;
  --faint: #6f7c90;
  --green: #34d399;
  --green-deep: #10b981;
  --gold: #c9a95c;
  --red: #f0867f;
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1160px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green); color: #04130d; padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; padding-block: clamp(64px, 8vw, 104px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green); font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 18ch; }
.section-title em { font-style: italic; color: var(--gold); font-weight: 400; }
.section-lead { color: var(--muted); max-width: 62ch; margin-top: 20px; font-size: 1.1rem; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--green); color: #04130d; box-shadow: 0 0 0 0 rgba(52,211,153,.0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -8px rgba(52,211,153,.55); background: #4ade9f; }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.015); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(7,11,20,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-soft); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 30px; }
.brand span b { color: var(--green); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-links a:not(.btn) { position: relative; font-size: .92rem; color: var(--muted); padding: 6px 0; transition: color .2s; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-links a:not(.btn):hover, .nav-links a.is-active { color: var(--text); }
.nav-links a:not(.btn):hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(15,22,38,.7); align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.6px; background: var(--text); border-radius: 2px; position: relative; transition: transform .3s, opacity .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px var(--gutter) 28px; background: rgba(7,11,20,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .js .nav-links.is-open { opacity: 1; transform: none; visibility: visible; }
  .js .nav-links a:not(.btn) { padding: 16px 2px; border-bottom: 1px solid var(--line-soft); font-size: 1.02rem; }
  .js .nav-links a:not(.btn)::after { display: none; }
  .js .nav-links .btn { margin-top: 18px; padding-block: 16px; }
  html:not(.js) .nav-links { flex-wrap: wrap; justify-content: flex-end; }
  html:not(.js) .site-header { position: absolute; height: auto; padding-block: 12px; }
}

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 38%, rgba(52,211,153,.10), transparent 62%),
    radial-gradient(700px 420px at 12% 90%, rgba(201,169,92,.07), transparent 60%),
    linear-gradient(180deg, #060a12, var(--bg) 70%);
}
.hero-visual {
  position: absolute; right: -5%; top: 8%; width: min(880px, 66vw); height: 84%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 52%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 52%, #000 90%, transparent 100%);
  will-change: transform;
}
.hero-chart { width: 100%; height: 100%; }
.chart-grid line { stroke: rgba(154,166,184,.10); stroke-width: 1; }
.chart-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chart-line-1 { stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.6s cubic-bezier(.45,.05,.25,1) .5s forwards; filter: drop-shadow(0 0 8px rgba(52,211,153,.45)); }
.chart-line-2 { stroke: rgba(201,169,92,.5); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4.4s cubic-bezier(.45,.05,.25,1) .9s forwards; }
.chart-area { opacity: 0; animation: fadein 1.6s ease 2.6s forwards; }
.candle line { stroke-width: 1.4; }
.candle { opacity: 0; animation: fadein 1s ease forwards; }
.c-up line { stroke: rgba(52,211,153,.55); } .c-up rect { fill: rgba(52,211,153,.22); stroke: rgba(52,211,153,.6); }
.c-dn line { stroke: rgba(240,134,127,.5); } .c-dn rect { fill: rgba(240,134,127,.16); stroke: rgba(240,134,127,.5); }
.candle:nth-child(1){animation-delay:.6s}.candle:nth-child(2){animation-delay:.7s}.candle:nth-child(3){animation-delay:.8s}.candle:nth-child(4){animation-delay:.9s}
.candle:nth-child(5){animation-delay:1s}.candle:nth-child(6){animation-delay:1.1s}.candle:nth-child(7){animation-delay:1.2s}.candle:nth-child(8){animation-delay:1.3s}
.candle:nth-child(9){animation-delay:1.4s}.candle:nth-child(10){animation-delay:1.5s}.candle:nth-child(11){animation-delay:1.6s}.candle:nth-child(12){animation-delay:1.7s}
.candle:nth-child(13){animation-delay:1.8s}.candle:nth-child(14){animation-delay:1.9s}.candle:nth-child(15){animation-delay:2s}.candle:nth-child(16){animation-delay:2.1s}
.candle:nth-child(17){animation-delay:2.2s}.candle:nth-child(18){animation-delay:2.3s}.candle:nth-child(19){animation-delay:2.4s}.candle:nth-child(20){animation-delay:2.5s}
.candle:nth-child(21){animation-delay:2.6s}.candle:nth-child(22){animation-delay:2.7s}
.dot { fill: var(--bg); stroke: var(--green); stroke-width: 2; opacity: 0; animation: fadein .6s ease forwards; }
.dot-0 { animation-delay: 1.4s } .dot-1 { animation-delay: 2s } .dot-2 { animation-delay: 2.6s } .dot-3 { animation-delay: 3.2s }
.dot-4 { animation-delay: 3.9s; fill: var(--gold); stroke: var(--gold); animation: fadein .6s ease 3.9s forwards, pulse 3.4s ease-in-out 4.5s infinite; transform-box: fill-box; transform-origin: center; }
.chart-symbols text { fill: rgba(154,166,184,.22); font-family: var(--font-head); font-size: 44px; animation: float 9s ease-in-out infinite; }
.chart-symbols text:nth-child(2) { animation-delay: -3s; } .chart-symbols text:nth-child(3) { animation-delay: -5s; } .chart-symbols text:nth-child(4) { animation-delay: -7s; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-inner { position: relative; max-width: 880px; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); font-weight: 400; line-height: 1.02; letter-spacing: -.028em; }
.hero h1 .line { display: block; }
.hero h1 em { font-style: italic; color: var(--green); font-weight: 400; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 54ch; margin: 28px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-price {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 38px; padding: 12px 18px 12px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(15,22,38,.62); backdrop-filter: blur(6px);
}
.hero-price strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 500; color: var(--text); line-height: 1; }
.hero-price strong small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); font-weight: 400; margin-left: 4px; }
.hero-price span { font-size: .86rem; color: var(--muted); line-height: 1.35; border-left: 1px solid var(--line); padding-left: 14px; }
.hero-note { position: absolute; left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); bottom: 22px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.hero .hero-inner > * { opacity: 0; animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .hero-inner > *:nth-child(1) { animation-delay: .05s } .hero .hero-inner > *:nth-child(2) { animation-delay: .18s }
.hero .hero-inner > *:nth-child(3) { animation-delay: .3s } .hero .hero-inner > *:nth-child(4) { animation-delay: .42s }
.hero .hero-inner > *:nth-child(5) { animation-delay: .54s }

@media (max-width: 820px) {
  .hero-visual { right: -30%; width: 150vw; top: 14%; opacity: .55; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.pillar { padding: 20px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(160deg, var(--surface), var(--bg-2)); transition: border-color .3s, transform .3s; }
.pillar:hover { border-color: rgba(52,211,153,.4); transform: translateY(-3px); }
.pillar h3 { font-size: 1.12rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.pillar p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.pillar .num { font-family: var(--font-head); color: var(--gold); font-size: .95rem; display: block; margin-bottom: 10px; }
.duality { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 36px); background: radial-gradient(500px 280px at 50% 0%, rgba(52,211,153,.07), transparent 70%), var(--surface); overflow: hidden; }
.duality::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(154,166,184,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(154,166,184,.05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); }
.duality-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.animal { text-align: center; padding: 14px 8px; }
.animal img { width: clamp(84px, 11vw, 120px); margin: 0 auto 14px; opacity: .92; transition: transform .5s ease, opacity .3s; }
.animal:hover img { transform: translateY(-4px) scale(1.03); opacity: 1; }
.animal h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.animal.bull h3 { color: var(--green); } .animal.bear h3 { color: var(--red); }
.animal p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.duality-foot { position: relative; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .92rem; font-family: var(--font-head); font-style: italic; }
.not-list { margin-top: 28px; padding: 18px 20px; border-left: 2px solid var(--gold); background: rgba(201,169,92,.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); font-size: .97rem; }
.not-list strong { color: var(--text); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Learn ---------- */
.learn { background: linear-gradient(180deg, var(--bg), var(--bg-2) 18%, var(--bg-2) 82%, var(--bg)); }
.learn-block { margin-top: clamp(40px, 6vw, 72px); }
.learn-block:first-of-type { margin-top: 0; }
.block-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.block-head h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.block-head .tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,169,92,.35); padding: 4px 10px; border-radius: 999px; }
.block-head p { flex-basis: 100%; margin: 0; color: var(--muted); max-width: 70ch; font-size: 1rem; }
.cards { display: grid; gap: 14px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-soft);
  background: linear-gradient(165deg, var(--surface) 0%, rgba(15,22,38,.55) 100%);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(52,211,153,.7), transparent); opacity: 0; transition: opacity .35s; }
.card:hover { transform: translateY(-4px); border-color: rgba(52,211,153,.32); box-shadow: 0 18px 44px -24px rgba(52,211,153,.35); }
.card:hover::before { opacity: 1; }
.card h4 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.card h4 .ico { width: 20px; height: 20px; color: var(--green); flex: none; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.card .meta { display: block; margin-top: 12px; font-size: .78rem; color: var(--faint); letter-spacing: .02em; }
.strategy-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 5vw, 64px); border-top: 1px solid var(--line); }
.strategy-list li { display: grid; grid-template-columns: 34px 1fr; gap: 6px 10px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.strategy-list .n { font-family: var(--font-head); color: var(--gold); font-size: .95rem; padding-top: 2px; }
.strategy-list h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.strategy-list p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.callout { margin-top: 22px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: var(--radius-sm); color: var(--muted); font-size: .94rem; }
.platform { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(520px 260px at 100% 0%, rgba(201,169,92,.07), transparent 70%), var(--surface); }
.platform ul li { position: relative; padding: 9px 0 9px 26px; color: var(--muted); border-bottom: 1px solid var(--line-soft); font-size: .96rem; }
.platform ul li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 1.5px; background: var(--green); }
.safety-note { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(52,211,153,.06); border: 1px solid rgba(52,211,153,.22); color: var(--text); font-size: .92rem; }
@media (max-width: 1020px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .strategy-list { grid-template-columns: 1fr; } .platform { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cards-4, .cards-3 { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 27px; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, var(--line), var(--green), var(--line)); opacity: .6; }
.step { position: relative; padding: 0 clamp(8px, 1.6vw, 22px); text-align: left; }
.step .dotnum { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--green); color: var(--green); font-family: var(--font-head); font-size: 1.25rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg), 0 0 24px -4px rgba(52,211,153,.4); }
.step h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 600; letter-spacing: 0; margin: 22px 0 8px; }
.step p { color: var(--muted); font-size: .95rem; line-height: 1.55; margin: 0; }
.step .time { display: inline-block; margin-top: 12px; font-size: .78rem; color: var(--gold); letter-spacing: .06em; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 0; bottom: 0; left: 26px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--green), var(--line)); }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 0 20px; padding: 0; }
  .step h3 { margin-top: 4px; }
  .step .body { grid-column: 2; }
}

/* ---------- Pricing ---------- */
.pricing { background: radial-gradient(800px 420px at 50% 40%, rgba(52,211,153,.06), transparent 70%); }
.price-card {
  position: relative; max-width: 880px; margin-inline: auto; padding: clamp(28px, 5vw, 56px);
  border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface) 55%, var(--bg-2));
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); overflow: hidden;
}
.price-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(52,211,153,.7), transparent 30%, transparent 70%, rgba(201,169,92,.6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-card .corner { position: absolute; right: 10px; top: 8px; width: 96px; opacity: .1; pointer-events: none; }
.price-name { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.price-amount { font-family: var(--font-head); font-size: clamp(4rem, 9vw, 6rem); font-weight: 400; line-height: 1; margin: 16px 0 4px; letter-spacing: -.03em; }
.price-amount sup { font-size: .42em; vertical-align: top; position: relative; top: .35em; margin-right: 4px; color: var(--green); }
.price-amount small { font-family: var(--font-body); font-size: 1rem; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.price-sub { color: var(--muted); font-size: .96rem; max-width: 34ch; }
.price-card .btn { margin-top: 26px; }
.price-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--text); font-size: .98rem; }
.price-list li:first-child { padding-top: 0; }
.price-list li:last-child { border-bottom: 0; }
.price-list svg { width: 20px; height: 20px; color: var(--green); margin-top: 3px; }
.price-list em { color: var(--muted); font-style: normal; display: block; font-size: .88rem; }
.session-bars { margin-top: 26px; display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: center; font-size: .78rem; color: var(--muted); }
.bar { display: flex; height: 26px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.bar span { display: grid; place-items: center; font-size: .72rem; letter-spacing: .04em; white-space: nowrap; }
.bar .intro { flex: 30; background: rgba(201,169,92,.14); color: var(--gold); border-right: 1px solid var(--line); }
.bar .edu { flex: 60; background: rgba(52,211,153,.14); color: var(--green); }
.price-fine { text-align: center; color: var(--faint); font-size: .85rem; margin-top: 22px; }
@media (max-width: 820px) { .price-card { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 4px; font-family: var(--font-head); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--green); }
.faq-list summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  background:
    linear-gradient(var(--green), var(--green)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--green), var(--green)) center / 1.5px 10px no-repeat;
  transition: transform .35s ease, border-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(135deg); border-color: var(--green); }
.faq-list details[open] summary { color: var(--green); }
.faq-body { padding: 0 4px 26px; color: var(--muted); max-width: 70ch; animation: rise .45s ease; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { color: var(--green); border-bottom: 1px solid rgba(52,211,153,.4); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
a.contact-card:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 20px 50px -28px rgba(52,211,153,.5); }
.contact-card .ico { width: 30px; height: 30px; color: var(--green); margin-bottom: 14px; }
.contact-card .label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.contact-card .handle { font-family: var(--font-head); font-size: 1.6rem; }
.contact-card .go { margin-top: 10px; color: var(--green); font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; }
.contact-card.is-pending { border-style: dashed; background: transparent; }
.contact-card.is-pending .handle { color: var(--muted); font-size: 1.2rem; }
.contact-card p { color: var(--muted); font-size: .92rem; margin: 6px 0 0; line-height: 1.5; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 40px; background: var(--bg); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand p { color: var(--muted); font-size: .93rem; max-width: 36ch; margin: 14px 0 0; }
.footer-links { display: flex; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; }
.footer-links h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; font-weight: 600; }
.footer-links a { display: block; padding: 4px 0; color: var(--muted); font-size: .94rem; transition: color .2s; }
.footer-links a:hover { color: var(--green); }
.footer-disclaimer { font-size: .8rem; line-height: 1.6; color: var(--faint); border-top: 1px solid var(--line-soft); padding-top: 26px; max-width: 110ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; font-size: .8rem; color: var(--faint); gap: 16px; flex-wrap: wrap; }
.footer-bottom .pair { display: inline-flex; gap: 10px; align-items: center; color: var(--faint); }
.footer-bottom .pair img { width: 22px; height: 22px; opacity: .55; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.rd1 { --d: .08s } .rd2 { --d: .16s } .rd3 { --d: .24s } .rd4 { --d: .32s }

/* ---------- Legal pages ---------- */
.legal-hero { padding-top: calc(var(--header-h) + 64px); padding-bottom: 32px; }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; }
.legal-hero p { color: var(--muted); max-width: 62ch; margin-top: 16px; }
.legal { padding-top: 24px; max-width: 800px; }
.legal h2 { font-size: 1.6rem; margin: 48px 0 14px; }
.legal h3 { font-family: var(--font-body); font-size: 1.05rem; letter-spacing: 0; margin: 28px 0 8px; font-weight: 600; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; } .legal li { margin: .4em 0; }
.legal a { color: var(--green); border-bottom: 1px solid rgba(52,211,153,.4); }
.legal .box { padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin: 24px 0; color: var(--text); font-size: .96rem; }
.legal .updated { font-size: .85rem; color: var(--faint); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.notfound h1 { font-size: clamp(5rem, 16vw, 9rem); font-weight: 300; color: var(--green); line-height: 1; }
.notfound p { color: var(--muted); margin: 18px auto 30px; max-width: 40ch; }

/* ---------- Chatbot ---------- */
.chat-launcher {
  position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 150;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid rgba(52,211,153,.45); color: var(--text); font-weight: 600; font-size: .94rem;
  box-shadow: 0 14px 40px -12px rgba(0,0,0,.7), 0 0 28px -8px rgba(52,211,153,.4);
  transition: transform .25s, box-shadow .25s, opacity .2s;
}
.chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -10px rgba(0,0,0,.8), 0 0 36px -4px rgba(52,211,153,.55); }
.chat-launcher svg { width: 20px; height: 20px; color: var(--green); }
.chat-launcher[hidden] { display: none; }
.chat-panel {
  position: fixed; right: clamp(10px, 3vw, 28px); bottom: clamp(10px, 3vw, 28px); z-index: 160;
  width: min(410px, calc(100vw - 20px)); height: min(640px, calc(100svh - 24px));
  display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--line);
  background: var(--bg-2); box-shadow: 0 30px 80px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(52,211,153,.06);
  overflow: hidden; transform-origin: bottom right; padding: 0;
  animation: chat-in .28s cubic-bezier(.2,.8,.2,1);
}
.chat-panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--surface-2), var(--bg-2)); }
.chat-head .brand-mark { width: 30px; height: 30px; }
.chat-head h2 { font-family: var(--font-body); font-size: .98rem; font-weight: 600; letter-spacing: 0; }
.chat-head p { margin: 0; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.chat-close { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; border: 1px solid transparent; background: transparent; display: grid; place-items: center; }
.chat-close:hover { border-color: var(--line); background: var(--surface); }
.chat-close svg { width: 16px; height: 16px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.55; word-wrap: break-word; overflow-wrap: anywhere; animation: rise .3s ease; }
.msg p { margin: 0 0 .6em; } .msg p:last-child { margin-bottom: 0; }
.msg ul, .msg ol { margin: .4em 0 .6em; padding-left: 1.2em; } .msg ul { list-style: disc; } .msg ol { list-style: decimal; }
.msg li { margin: .2em 0; }
.msg a { color: var(--green); border-bottom: 1px solid rgba(52,211,153,.4); }
.msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line-soft); border-bottom-left-radius: 5px; }
.msg.user { align-self: flex-end; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.3); border-bottom-right-radius: 5px; }
.msg.error { align-self: flex-start; background: rgba(240,134,127,.08); border: 1px solid rgba(240,134,127,.35); color: #f6c2be; }
.typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-suggest button { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: .8rem; color: var(--muted); transition: border-color .2s, color .2s; }
.chat-suggest button:hover { border-color: var(--green); color: var(--green); }
.chat-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px 14px; border-top: 1px solid var(--line-soft); background: var(--bg); }
.chat-form textarea {
  flex: 1; resize: none; max-height: 120px; min-height: 44px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-size: .95rem; line-height: 1.4;
}
.chat-form textarea::placeholder { color: var(--faint); }
.chat-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(52,211,153,.15); }
.chat-send { width: 44px; height: 44px; flex: none; border-radius: 14px; border: 0; background: var(--green); color: #04130d; display: grid; place-items: center; transition: transform .2s, opacity .2s; }
.chat-send:hover:not(:disabled) { transform: translateY(-2px); }
.chat-send:disabled { opacity: .45; cursor: not-allowed; }
.chat-send svg { width: 18px; height: 18px; }
.chat-foot { padding: 0 16px 12px; background: var(--bg); font-size: .7rem; line-height: 1.45; color: var(--faint); display: flex; justify-content: space-between; gap: 10px; }
@media (max-width: 520px) {
  .chat-panel { right: 0; bottom: 0; width: 100vw; height: 100svh; border-radius: 0; border: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .chart-line-1, .chart-line-2 { stroke-dashoffset: 0; }
  .chart-area, .candle, .dot, .hero .hero-inner > * { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-visual { transform: none !important; }
}

/* ---------- Small additions ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.bar .gap { flex: 30; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(154,166,184,.06) 6px 7px); border-right: 1px solid var(--line); }
.contact-card.wide { grid-column: 1 / -1; }
.contact-card a.inline { color: var(--green); border-bottom: 1px solid rgba(52,211,153,.4); }
.contact-card .slot-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.hero-price strong small { white-space: nowrap; }
@media (max-width: 520px) { .hero { padding-bottom: 150px; } .hero-note { bottom: 96px; } .hero-price { align-items: flex-start; } }
.chat-suggest[hidden] { display: none; }
