:root {
  color-scheme: light;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --surface-2: #edf2ee;
  --text: #152019;
  --muted: #66716a;
  --line: #dce4de;
  --accent: #0d5f4b;
  --accent-2: #d9efe6;
  --blue: #174f7a;
  --blue-soft: #e2eef6;
  --yellow: #a76500;
  --yellow-soft: #fff0ca;
  --shadow: 0 18px 60px rgba(22, 49, 35, .09);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --shell: 1180px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1411;
  --surface: #151d19;
  --surface-2: #1a2520;
  --text: #eff6f1;
  --muted: #a6b2aa;
  --line: #29372f;
  --accent: #72d5b4;
  --accent-2: #183c31;
  --blue: #8ac8f0;
  --blue-soft: #183044;
  --yellow: #ffc666;
  --yellow-soft: #3b2d13;
  --shadow: 0 22px 60px rgba(0,0,0,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(var(--shell), calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 999; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--bg); font-weight: 900; letter-spacing: -.05em; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.12; }
.brand-copy strong { font-size: 15px; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); margin-top: 3px; font-size: 11px; }
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-nav a { color: var(--muted); font-size: 14px; text-decoration: none; font-weight: 650; }
.top-nav a:hover { color: var(--text); }
.icon-button { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; width: 38px; height: 38px; cursor: pointer; }

.hero { padding: 86px 0 70px; display: grid; grid-template-columns: 1.22fr .78fr; gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 850; color: var(--accent); }
.hero h1, .news-page-head h1 { font-size: clamp(58px, 8vw, 110px); line-height: .89; letter-spacing: -.072em; margin: 0; max-width: 860px; }
.hero h1 span, .news-page-head h1 span { color: var(--accent); }
.hero-lead { max-width: 700px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); margin: 29px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 19px; border-radius: 14px; text-decoration: none; font-weight: 800; font-size: 14px; }
.button.primary { background: var(--text); color: var(--bg); }
.button.secondary { border: 1px solid var(--line); background: var(--surface); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 27px; color: var(--muted); font-size: 13px; }

.hero-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }
.hero-panel-top { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; margin-bottom: 15px; }
.status-dot { width: 9px; height: 9px; border-radius: 999px; background: #42b883; box-shadow: 0 0 0 5px color-mix(in srgb, #42b883 15%, transparent); }
.mini-grid { display: grid; gap: 10px; }
.mini-card { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.mini-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.mini-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--surface-2); font-size: 20px; }
.mini-card strong { display: block; font-size: 14px; }
.mini-card small { display: block; color: var(--muted); margin-top: 2px; }
.mini-arrow { color: var(--muted); }
.hero-panel-note { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; color: var(--muted); font-size: 12px; }

.section { padding: 88px 0; }
.soft-section { background: var(--surface-2); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 450px); gap: 40px; align-items: end; margin-bottom: 34px; }
.section-heading h2, .about-copy h2, .future-card h2 { margin: 0; max-width: 760px; font-size: clamp(34px, 4.8vw, 62px); line-height: 1; letter-spacing: -.055em; }
.section-heading > p { color: var(--muted); margin: 0; }

.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 8px 12px; cursor: pointer; font-size: 12px; font-weight: 750; }
.filter-button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tool-card { position: relative; overflow: hidden; min-height: 315px; padding: 26px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; transition: .2s ease; }
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.tool-card[data-tone="blue"] .tool-icon { background: var(--blue-soft); color: var(--blue); }
.tool-card[data-tone="yellow"] .tool-icon { background: var(--yellow-soft); color: var(--yellow); }
.tool-card[data-tone="green"] .tool-icon { background: var(--accent-2); color: var(--accent); }
.tool-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tool-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: var(--surface-2); }
.tool-meta { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.badge { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.tool-card h3 { margin: auto 0 8px; font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -.045em; }
.tool-card p { color: var(--muted); margin: 0 0 20px; max-width: 620px; }
.tool-cta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 850; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.news-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; text-decoration: none; }
.news-card:hover { border-color: var(--accent); }
.news-card time { display: block; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.news-card h3 { font-size: 20px; letter-spacing: -.025em; line-height: 1.15; margin: 15px 0 8px; }
.news-card p { color: var(--muted); margin: 0; font-size: 14px; }
.news-label { color: var(--accent); font-weight: 800; font-size: 11px; margin-top: 18px; }
.news-footer { margin-top: 22px; }
.text-link { color: var(--accent); text-decoration: none; font-weight: 800; }

.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 28px; align-items: start; }
.about-copy p:not(.eyebrow) { color: var(--muted); max-width: 710px; font-size: 17px; }
.principles-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.principles-card h3 { margin-top: 0; font-size: 24px; letter-spacing: -.035em; }
.principles-card ul { list-style: none; margin: 0; padding: 0; }
.principles-card li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.principles-card li:first-child { border-top: 0; padding-top: 0; }
.principles-card strong { color: var(--text); }
.future-section { padding-top: 20px; }
.future-card { background: var(--text); color: var(--bg); border-radius: var(--radius-lg); padding: clamp(26px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: end; }
.future-card .eyebrow { color: color-mix(in srgb, var(--bg) 66%, transparent); }
.future-card p { color: color-mix(in srgb, var(--bg) 68%, transparent); max-width: 680px; }
.future-tags { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.future-tags span { border: 1px solid color-mix(in srgb, var(--bg) 22%, transparent); border-radius: 999px; padding: 9px 12px; color: color-mix(in srgb, var(--bg) 88%, transparent); font-size: 12px; }

.site-footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.footer-inner p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }

.news-page { min-height: 76vh; padding: 80px 0 90px; }
.news-page-head { max-width: 900px; }
.news-page-head h1 { font-size: clamp(50px, 7vw, 92px); }
.news-page-head > p:last-child { color: var(--muted); max-width: 650px; font-size: 18px; }
.news-list { margin-top: 55px; display: grid; gap: 12px; }
.news-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; grid-template-columns: 150px 1fr; gap: 24px; }
.news-item time { color: var(--muted); font-size: 12px; }
.news-item h2 { margin: 0 0 7px; font-size: 24px; letter-spacing: -.035em; }
.news-item p { margin: 0; color: var(--muted); }
.news-item .source-row { margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; }
.news-item .source-row a { color: var(--accent); text-decoration: none; font-size: 12px; font-weight: 800; }

.empty-state { padding: 26px; border: 1px dashed var(--line); color: var(--muted); border-radius: 18px; }

@media (max-width: 860px) {
  .top-nav a { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 62px; }
  .section-heading, .about-grid, .future-card { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .future-tags { justify-content: flex-start; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  .shell { width: min(var(--shell), calc(100% - 24px)); }
  .brand-copy small { display: none; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(54px, 19vw, 86px); }
  .section { padding: 64px 0; }
  .tool-card { min-height: 286px; padding: 21px; }
  .trust-row { gap: 10px 14px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
