/* Kini Invest — shared styles */
:root {
  --ink: #0e0f11;
  --ink-2: #15171b;
  --ink-3: #1d2026;
  --line: rgba(237, 232, 222, 0.09);
  --line-gold: rgba(212, 175, 97, 0.28);
  --text: #ede8de;
  --muted: #a39e93;
  --gold: #d4af61;
  --gold-light: #f1d99a;
  --gold-deep: #a8822f;
  --up: #7fc79a;
  --down: #e08a7a;
  --grad-gold: linear-gradient(135deg, #f3dfa2 0%, #d4af61 45%, #a8822f 100%);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 14px;
  --logo-cut: var(--ink);
  --logo-sub: var(--gold);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.display, h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
.display { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; }
.display em, h2 em { font-style: italic; color: var(--gold-light); }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; margin: 14px 0 18px; }
h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; letter-spacing: 0.005em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: 0.02em; cursor: pointer;
  background: var(--grad-gold); color: #17130a;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { color: #17130a; transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(212, 175, 97, .6); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-gold); }
.btn-ghost:hover { color: var(--gold-light); border-color: var(--gold); box-shadow: none; }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 3vw, 40px);
  background: linear-gradient(to bottom, rgba(14, 15, 17, .92), rgba(14, 15, 17, .7));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: block; color: var(--text); flex: none; }
.brand [data-logo] svg { height: 54px; width: auto; margin: -6px 0; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s ease;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--gold);
}
.tools { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 600 12px/1 var(--sans); letter-spacing: .08em; padding: 7px 10px; border-radius: 999px;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-gold);
  font-size: 13px; font-variant-numeric: tabular-nums;
}
.chip b { color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.trend { font-size: 10px; }
.trend.up { color: var(--up); }
.trend.down { color: var(--down); }
.menu-btn { display: none; }

/* ---------- Blocks ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--line-gold); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: rgba(212, 175, 97, .1); border: 1px solid var(--line-gold); color: var(--gold);
}
.icon svg { width: 24px; height: 24px; }
.card .link { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 20px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat .v { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); color: var(--gold-light); white-space: nowrap; }
.stat .l { font-size: 13px; color: var(--muted); }

.values { display: grid; gap: 0; margin-top: 8px; }
.values div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.values b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--gold-light); }
.values span { color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 34px 16px 0 0; counter-increment: s; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font: 600 12px/1 var(--sans); letter-spacing: .12em; color: var(--gold);
}
.steps li::after { content: ""; position: absolute; top: 18px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .5; }
.steps b { display: block; font-size: 15px; margin-bottom: 4px; }
.steps span { font-size: 13px; color: var(--muted); display: block; }

.cred { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-gold); background: rgba(212, 175, 97, .04); }
.cred .l { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cred .n { font-family: var(--serif); font-size: 28px; color: var(--gold-light); margin: 8px 0 4px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.cred .d { font-size: 14px; color: var(--muted); }

.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.price { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); }
.price .l { font-size: 13px; color: var(--muted); }
.price .v { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); font-variant-numeric: tabular-nums; margin-top: 6px; }
.price.hl { border-color: var(--line-gold); background: linear-gradient(160deg, rgba(212, 175, 97, .14), rgba(212, 175, 97, .02)); }
.price.hl .v { color: var(--gold-light); }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(127, 199, 154, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(127, 199, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 199, 154, 0); } }

.mail {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-size: clamp(24px, 3.4vw, 46px); color: var(--text);
  border-bottom: 1px solid var(--line-gold); padding-bottom: 6px;
}
.mail:hover { color: var(--gold-light); border-color: var(--gold); }

.footer { padding: 28px clamp(16px, 3vw, 40px); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: 13px; color: var(--muted); }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--gold-light); }
.footer .sp { margin-left: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .live::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .g4, .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .nav a { padding: 8px 8px; font-size: 13px; }
}
@media (max-width: 900px) {
  .menu-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
    border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
  }
  .nav {
    position: fixed; inset: 69px 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    padding: 8px 16px 16px; background: rgba(14, 15, 17, .97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.active::after { display: none; }
  .tools { margin-left: auto; }
  .topbar .chip { display: none; }
}
@media (max-width: 720px) {
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values div { grid-template-columns: 1fr; gap: 2px; }
  .brand [data-logo] svg { height: 34px; }
  .card { padding: 22px; }
  .footer .sp { margin-left: 0; }
}
@media (max-width: 420px) {
  .prices { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) { .stat .v { white-space: normal; font-size: 19px; } }

/* ---------- Email check dialog ---------- */
.guard { width: min(440px, calc(100vw - 32px)); padding: 30px 28px 26px; border: 1px solid var(--line-gold); border-radius: 18px;
  background: #15171b; color: var(--text); box-shadow: 0 40px 120px -30px rgba(0,0,0,.9); }
.guard::backdrop { background: rgba(5,6,8,.72); backdrop-filter: blur(3px); }
.guard h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 30px 10px 0; }
.guard p { margin: 0 0 16px; }
.guard label { display: block; font-weight: 600; margin-bottom: 8px; }
.guard input { width: 100%; font: 500 20px/1 var(--sans); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-gold);
  background: #0e0f11; color: var(--text); margin-bottom: 8px; }
.guard input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.guard .guard-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.guard .guard-err { min-height: 1.4em; color: #e7a08f; font-size: 14px; margin-bottom: 10px; }
.guard .guard-widget { min-height: 65px; margin: 6px 0 8px; }
.guard .guard-status { min-height: 1.4em; font-size: 14px; color: var(--muted); margin: 0; }
.guard .guard-status .guard-err { display: block; margin: 0 0 12px; }
.guard .guard-addr { font-family: var(--serif); font-size: clamp(20px, 5vw, 26px); color: var(--gold-light); word-break: break-all; user-select: all; }
.guard .actions { margin-top: 6px; }
.guard-x { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.guard-x:hover { color: var(--text); border-color: var(--line-gold); }
