/* SHUHARI.TRADE — marketing site. Dark, red-accent (the landing brand),
   Space Grotesk + JetBrains Mono, matching the product's design language. */
:root {
  --bg: #0A0A0B;
  --surface: #101012;
  --surface-2: #151518;
  --line: rgba(224, 224, 220, 0.14);
  --line-soft: rgba(224, 224, 220, 0.08);
  --text: #E0E0DC;
  --text-mid: #b9b9b4;
  --muted: #8a8a85;
  --faint: #5d5d59;
  --red: #C0342F;
  --red-soft: rgba(192, 52, 47, 0.12);
  --green: #1F9D6B;
  --f-d: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --f-m: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--f-d); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: 18px 4vw; background: rgba(10, 10, 11, 0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft); }
.nav .seal { width: 34px; height: 34px; border: 1.5px solid var(--red); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1;
  letter-spacing: -1px; flex: none; }
.nav .brand { font-weight: 700; letter-spacing: 0.22em; font-size: 14px; }
.nav .links { margin-left: auto; display: flex; gap: 26px; }
.nav .links a { font-family: var(--f-m); font-size: 11px; letter-spacing: 0.22em; color: var(--text-mid); }
.nav .links a:hover, .nav .links a.active { color: var(--text); }
.nav .login { font-family: var(--f-m); font-size: 11px; letter-spacing: 0.22em;
  border: 1px solid var(--line); padding: 10px 22px; }
.nav .login:hover { border-color: var(--text); }
@media (max-width: 800px) { .nav .links { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background: url('img/hero.jpg') right center / cover no-repeat; }
.hero .scrim { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,11,0.97) 0%, rgba(10,10,11,0.78) 40%, rgba(10,10,11,0.25) 75%, rgba(10,10,11,0.45) 100%); }
.hero .inner { position: relative; z-index: 2; padding: 60px 6vw; max-width: 760px; }
.kanji-row { font-size: 30px; letter-spacing: 1.2em; color: #fff; opacity: 0.92; margin-bottom: 18px; }
.hero h1 { font-size: clamp(52px, 8vw, 96px); font-weight: 700; letter-spacing: 0.14em; line-height: 1.05; }
.hero h1 .ha { color: var(--red); }
.hero .tag { font-family: var(--f-m); font-size: 13px; letter-spacing: 0.5em; color: var(--muted); margin: 18px 0 44px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 52px; max-width: 620px; }
.pillar { padding: 0 22px; border-left: 1px solid var(--line-soft); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar .k { font-size: 20px; }
.pillar .k small { font-family: var(--f-m); font-size: 10px; letter-spacing: 0.22em; color: var(--muted); margin-left: 8px; }
.pillar .name { font-family: var(--f-m); font-size: 11px; letter-spacing: 0.3em; margin: 4px 0 12px; color: var(--text-mid); }
.pillar.p-ha .k, .pillar.p-ha .name { color: var(--red); }
.pillar p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { font-family: var(--f-m); font-size: 12px; letter-spacing: 0.24em; padding: 17px 30px; display: inline-block; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { filter: brightness(1.12); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.hero .vertical { position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-size: 13px; letter-spacing: 0.35em; color: var(--muted); z-index: 2; opacity: 0.85; }
.hero .seal-corner { position: absolute; right: 26px; bottom: 26px; z-index: 2;
  width: 44px; height: 44px; border: 1.5px solid var(--red); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 16px; letter-spacing: -1px; }
.hero .foot-tags { position: absolute; left: 6vw; bottom: 30px; z-index: 2; display: flex; gap: 26px; flex-wrap: wrap;
  font-family: var(--f-m); font-size: 11px; letter-spacing: 0.24em; color: var(--muted); }
.hero .foot-tags .dot { color: var(--red); }
@media (max-width: 800px) { .hero .vertical, .hero .seal-corner { display: none; } .pillars { grid-template-columns: 1fr; } .pillar { border-left: 0; padding: 10px 0; } }

/* ---------- shared sections ---------- */
.section { padding: 90px 6vw; max-width: 1200px; margin: 0 auto; }
.section.tight { padding-top: 40px; }
.eyebrow { font-family: var(--f-m); font-size: 11px; letter-spacing: 0.4em; color: var(--red); margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: 0.06em; line-height: 1.15; margin-bottom: 18px; }
.lede { font-size: 17px; color: var(--text-mid); max-width: 640px; line-height: 1.7; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; margin-top: 46px; }
.card { border: 1px solid var(--line); background: var(--surface); padding: 28px; }
.card .ck { font-size: 26px; color: var(--red); margin-bottom: 12px; }
.card h3 { font-size: 17px; letter-spacing: 0.06em; margin-bottom: 10px; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.card .n { font-family: var(--f-m); font-size: 11px; color: var(--faint); margin-top: 12px; }
.imgband { position: relative; height: 320px; overflow: hidden; }
.imgband img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75); }
.imgband .cap { position: absolute; left: 6vw; bottom: 24px; font-family: var(--f-m);
  font-size: 12px; letter-spacing: 0.3em; color: var(--text); }
blockquote { border-left: 2px solid var(--red); padding: 6px 0 6px 24px; margin: 34px 0;
  font-size: 19px; line-height: 1.65; color: var(--text-mid); font-style: italic; max-width: 680px; }
blockquote cite { display: block; font-family: var(--f-m); font-style: normal; font-size: 11px;
  letter-spacing: 0.2em; color: var(--faint); margin-top: 10px; }
.rule-list { margin-top: 30px; max-width: 680px; }
.rule { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.rule .no { font-family: var(--f-m); color: var(--red); font-size: 13px; padding-top: 3px; }
.rule h4 { font-size: 15px; letter-spacing: 0.04em; margin-bottom: 4px; }
.rule p { font-size: 13.5px; color: var(--muted); }

/* mock UI chips (illustrative demo data only) */
.mock { border: 1px solid var(--line); background: var(--surface-2); font-family: var(--f-m); padding: 18px 20px; }
.mock .mk { font-size: 9px; letter-spacing: 0.22em; color: var(--faint); margin-bottom: 10px; }
.mock .row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.mock .row:last-child { border-bottom: 0; }
.pos { color: var(--green); } .neg { color: #E06B67; } .mut { color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-band { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--surface); }
.cta-band .inner { max-width: 1200px; margin: 0 auto; padding: 70px 6vw; display: flex;
  align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); font-size: 14px; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 50px; }
.tier { border: 1px solid var(--line); background: var(--surface); padding: 34px 30px; position: relative; }
.tier.hot { border-color: var(--red); }
.tier .flag { position: absolute; top: -12px; left: 30px; background: var(--red); color: #fff;
  font-family: var(--f-m); font-size: 9px; letter-spacing: 0.24em; padding: 5px 12px; }
.tier .tk { font-size: 30px; color: var(--red); }
.tier h3 { font-size: 20px; letter-spacing: 0.14em; margin: 8px 0 2px; }
.tier .sub { font-family: var(--f-m); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 22px; }
.tier .price { font-size: 44px; font-weight: 700; }
.tier .price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.tier .per { font-family: var(--f-m); font-size: 11px; color: var(--faint); margin-bottom: 26px; }
.tier ul { list-style: none; margin-bottom: 30px; }
.tier li { font-size: 13.5px; color: var(--text-mid); padding: 8px 0 8px 24px; position: relative; border-bottom: 1px solid var(--line-soft); }
.tier li::before { content: "＋"; position: absolute; left: 0; color: var(--red); font-size: 12px; }
.tier li.inherit { color: var(--muted); font-style: italic; }
.tier li.inherit::before { content: "⟵"; }
.tier .btn { width: 100%; text-align: center; }
.cmp { margin-top: 70px; overflow-x: auto; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); text-align: center; }
.cmp th { font-family: var(--f-m); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.cmp td:first-child, .cmp th:first-child { text-align: left; }
.cmp td:first-child { color: var(--text-mid); }
.cmp .y { color: var(--green); } .cmp .n2 { color: var(--faint); }
.cmp .hotcol { background: var(--red-soft); }
.fineprint { font-family: var(--f-m); font-size: 11px; color: var(--faint); margin-top: 26px; line-height: 1.8; }

/* ---------- journal ---------- */
.posts { margin-top: 46px; display: grid; gap: 18px; }
.post { border: 1px solid var(--line); background: var(--surface); padding: 30px; }
.post .pdate { font-family: var(--f-m); font-size: 11px; letter-spacing: 0.2em; color: var(--faint); margin-bottom: 10px; }
.post h3 { font-size: 21px; letter-spacing: 0.04em; margin-bottom: 12px; }
.post p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.post p + p { margin-top: 12px; }
.post .sig { font-family: var(--f-m); font-size: 11px; color: var(--faint); margin-top: 16px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line-soft); padding: 50px 6vw; }
footer .inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
footer .brand { font-weight: 700; letter-spacing: 0.22em; font-size: 13px; }
footer .flinks { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
footer a { font-family: var(--f-m); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }
footer a:hover { color: var(--text); }
footer .legal { width: 100%; font-family: var(--f-m); font-size: 10.5px; color: var(--faint); line-height: 1.8; margin-top: 22px; }
