:root {
  --ink: rgba(0, 0, 0, 0.95);
  --ink-2: rgba(0, 0, 0, 0.72);
  --muted: rgba(0, 0, 0, 0.5);
  --line: rgba(0, 0, 0, 0.09);
  --soft: #F6F5F4;
  --soft-2: #EFEEED;
  --white: #fff;
  --accent: #0F172A;
  --green: #10B981;
  --green-soft: #DCFCE7;
  --green-ink: #065F46;
  --red: #DC2626;
  --red-soft: #FEE2E2;
  --blue-soft: #DBEAFE;
  --yellow-soft: #FEF3C7;
  --purple-soft: #EDE9FE;
  --max: 1200px;
  --r: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, system-ui, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--white); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: 8px; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; transition: background .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1E293B; }
.btn-secondary { background: var(--green-soft); color: var(--green-ink); }
.btn-secondary:hover { background: #BBF7D0; }
.btn-sm { font-size: 14px; padding: 8px 14px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.9); backdrop-filter: saturate(180%) blur(10px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 10px 24px; border-bottom: 1px solid transparent;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.3px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { font-size: 14px; font-weight: 500; padding: 7px 10px; border-radius: 6px; color: var(--ink-2); }
.nav-links a:hover { background: var(--soft); color: var(--ink); }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.nav-login { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 7px 10px; border-radius: 6px; }
.nav-login:hover { background: var(--soft); }

/* Hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 84px 24px 40px; text-align: center; }
h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.02; font-weight: 600; letter-spacing: -0.048em; }
.pill { display: inline-flex; align-items: center; gap: 0.18em; background: var(--green-soft); color: var(--green-ink); padding: 0 0.28em 0 0.22em; border-radius: 0.6em; line-height: 1.12; vertical-align: baseline; }
.pill i { width: 0.26em; height: 0.26em; border-radius: 50%; background: var(--green); display: inline-block; }
.hero-sub { margin: 22px auto 0; max-width: 680px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); font-weight: 500; }

.search {
  margin: 28px auto 0; max-width: 640px; display: flex; gap: 8px;
  background: var(--white); padding: 6px; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; padding: 10px 14px; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.hero-actions { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.hero-note { font-size: 13px; color: var(--muted); }

/* Product frame */
.frame {
  margin: 56px auto 0; max-width: 1040px; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.04); overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #FAFAF9; }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #E5E7EB; }
.frame-bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); }
.frame-body { display: grid; grid-template-columns: 200px 1fr; min-height: 420px; }
.frame-side { border-right: 1px solid var(--line); padding: 14px 10px; background: #FBFBFA; display: flex; flex-direction: column; gap: 2px; }
.side-title { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 8px 8px 4px; }
.frame-side a { font-size: 13px; padding: 6px 8px; border-radius: 6px; color: var(--ink-2); }
.frame-side a.on { background: var(--soft-2); color: var(--ink); font-weight: 500; }
.frame-side a.flag { color: var(--red); }
.frame-side a.flag::before { content: "● "; font-size: 9px; vertical-align: 2px; }
.frame-main { padding: 20px 22px 22px; }
.rep-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rep-head h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.3px; margin-right: 6px; }
.tag { font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 6px; background: var(--soft-2); color: var(--ink-2); }
.tag-green { background: var(--green-soft); color: var(--green-ink); }
.rep-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rep-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.rep-card.rep-red { background: #FFF5F5; border-color: #FECACA; }
.rep-label { font-size: 11px; color: var(--muted); font-weight: 500; }
.rep-big { font-size: 16px; font-weight: 600; margin-top: 4px; letter-spacing: -0.2px; }
.rep-red .rep-big { color: var(--red); }
.rep-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.rep-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 13px; }
.rep-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.rep-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.badge { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }
.b-yellow { background: var(--yellow-soft); color: #92400E; }
.b-blue { background: var(--blue-soft); color: #1E40AF; }
.b-green { background: var(--green-soft); color: var(--green-ink); }
.sources { margin: 22px auto 0; font-size: 13px; color: var(--muted); max-width: 720px; }

/* Strip */
.strip { max-width: var(--max); margin: 28px auto 0; padding: 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.strip span { font-size: 15px; font-weight: 600; color: rgba(0,0,0,0.42); letter-spacing: -0.2px; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 110px 24px 0; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.kicker { font-size: 14px; color: var(--muted); font-weight: 500; }

.bento { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: var(--soft); border-radius: var(--r); padding: 26px 26px 0; overflow: hidden; display: flex; flex-direction: column; min-height: 380px; }
.card-wide { grid-column: 1 / -1; min-height: 300px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.card-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.card h3 { margin-top: 6px; font-size: 22px; font-weight: 600; letter-spacing: -0.3px; max-width: 520px; }
.arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 18px; }
.mini { margin: 26px 0 -1px; background: var(--white); border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 10px 16px 0; box-shadow: 0 -2px 20px rgba(0,0,0,0.04); flex: 1; }
.mini-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-row span { color: var(--muted); }
.mini-row strong { font-weight: 600; text-align: right; }
.mini-row strong.ok { color: var(--green-ink); }
.timeline { list-style: none; margin: 24px 0 -1px; background: var(--white); border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 6px 18px 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 64px auto 1fr; gap: 0 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.timeline time { font-weight: 600; color: var(--ink); }
.timeline b { font-weight: 600; color: var(--ink); }

.cando { margin-top: 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cando a { border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; font-size: 15px; font-weight: 600; line-height: 1.3; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .15s; }
.cando a:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.cando a b { font-weight: 600; }
.ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; }
.i-red { background: var(--red-soft); } .i-blue { background: var(--blue-soft); } .i-green { background: var(--green-soft); } .i-yellow { background: var(--yellow-soft); } .i-purple { background: var(--purple-soft); }

.who { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who-card { border-radius: var(--r); padding: 26px; min-height: 360px; display: flex; flex-direction: column; color: #fff; }
.who-a { background: linear-gradient(160deg, #DC2626, #7F1D1D); }
.who-b { background: linear-gradient(160deg, #2563EB, #1E3A8A); }
.who-c { background: linear-gradient(160deg, #D97706, #78350F); }
.who-tag { font-size: 13px; font-weight: 600; opacity: .85; }
.who-card p { margin-top: auto; font-size: 19px; line-height: 1.4; font-weight: 500; letter-spacing: -0.2px; }
.who-foot { margin-top: 18px; font-size: 13px; opacity: .8; }

.ticker { margin-top: 90px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; }
.ticker span { font-size: 13px; color: var(--muted); font-weight: 500; }
.ticker span::before { content: "●"; color: var(--green); font-size: 8px; vertical-align: 2px; margin-right: 8px; }

.final { background: var(--soft); padding: 110px 24px 120px; text-align: center; }
.final h2 { font-size: clamp(34px, 4.4vw, 56px); }
.steps { list-style: none; margin: 22px auto 0; max-width: 560px; display: grid; gap: 8px; text-align: left; counter-reset: s; }
.steps li { font-size: 15px; color: var(--ink-2); padding-left: 30px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.steps b { color: var(--ink); font-weight: 600; }
.search-final { margin-top: 28px; }

/* Footer */
.footer { max-width: var(--max); margin: 0 auto; padding: 56px 24px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 24px; }
.foot-grid h4 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.foot-grid a { display: block; font-size: 14px; color: var(--ink-2); padding: 4px 0; }
.foot-grid a:hover { color: var(--ink); }
.foot-brand .logo { font-size: 18px; }
.foot-quote { margin-top: 28px; font-size: 15px; color: var(--ink-2); font-style: italic; }
.disclaimer { margin-top: 40px; font-size: 12px; color: var(--muted); max-width: 820px; }
.copy { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* Responsive */
@media (max-width: 1000px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .rep-grid { grid-template-columns: repeat(2, 1fr); }
  .cando { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .hero { padding-top: 56px; }
  .nav-login { display: none; }
  .search { flex-direction: column; padding: 8px; }
  .search .btn { width: 100%; }
  .frame-body { grid-template-columns: 1fr; }
  .frame-side { display: none; }
  .rep-table th:nth-child(4), .rep-table td:nth-child(4) { display: none; }
  .section { padding-top: 72px; }
  .bento { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .cando { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
  .who-card { min-height: 240px; }
  .ticker { margin-top: 56px; gap: 8px 20px; }
  .final { padding: 72px 20px 80px; }
}
