:root {
  --ink: #17201b;
  --muted: #66706a;
  --line: #dfe4df;
  --paper: #f6f7f3;
  --white: #ffffff;
  --coral: #ef6749;
  --green: #1f6a4b;
  --lime: #d9f17f;
  --shadow: 0 28px 80px rgba(25, 41, 32, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", "Noto Sans SC", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { height: 78px; padding: 0 clamp(24px, 5vw, 80px); display: flex; align-items: center; gap: 48px; border-bottom: 1px solid var(--line); background: rgba(246, 247, 243, 0.92); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 700; }
.brand-mark, .dash-logo { display: inline-flex; align-items: end; gap: 2px; height: 22px; }
.brand-mark i, .dash-logo i { display: block; width: 5px; background: var(--ink); border-radius: 1px; transform: skew(-13deg); }
.brand-mark i:nth-child(1), .dash-logo i:nth-child(1) { height: 13px; }
.brand-mark i:nth-child(2), .dash-logo i:nth-child(2) { height: 20px; }
.brand-mark i:nth-child(3), .dash-logo i:nth-child(3) { height: 16px; }
.main-nav { display: flex; gap: 34px; font-size: 14px; font-weight: 500; }
.mobile-login-link { display: none; }
.main-nav a, .text-link { transition: color .2s; }
.main-nav a:hover, .text-link:hover { color: var(--coral); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
[hidden] { display: none !important; }
.account-menu { display: flex; align-items: center; gap: 9px; }
.account-avatar { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; background: var(--line); }
.account-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logout-button { padding: 5px 0; color: var(--muted); background: none; border: 0; cursor: pointer; font-size: 12px; }
.logout-button:hover { color: var(--coral); }
.logout-button:disabled { opacity: .55; cursor: wait; }
.auth-notice { position: fixed; z-index: 50; right: 24px; bottom: 24px; max-width: min(380px, calc(100vw - 48px)); padding: 14px 18px; color: white; background: var(--ink); border-left: 4px solid var(--coral); box-shadow: var(--shadow); font-size: 14px; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); border-radius: 4px; font-size: 14px; font-weight: 600; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: var(--green); border-color: var(--green); box-shadow: 0 10px 26px rgba(31, 106, 75, .18); }
.button-small { min-height: 40px; padding: 0 18px; }
.menu-button { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 9px; }
.menu-button span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.hero { max-width: 1600px; margin: 0 auto; padding: 20px clamp(24px, 5vw, 80px) 64px; display: grid; grid-template-columns: minmax(360px, .7fr) minmax(560px, 1.3fr); gap: clamp(60px, 8vw, 128px); align-items: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 2px; background: currentColor; }
h1 { margin: 0; font-size: clamp(48px, 4.7vw, 72px); line-height: 1.1; letter-spacing: 0; font-weight: 600; white-space: nowrap; }
.hero-intro { max-width: 440px; margin: 38px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.secondary-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.play { width: 34px; height: 34px; display: grid; place-items: center; padding-left: 2px; border: 1px solid #bfc6c0; border-radius: 50%; font-size: 9px; transition: border-color .2s, color .2s; }
.secondary-link:hover .play { color: var(--coral); border-color: var(--coral); }

.product-stage { min-width: 0; position: relative; padding: 12px 0 30px; }
.stage-accent { position: absolute; z-index: 0; }
.accent-one { width: 58%; height: 78%; right: -13%; top: -1%; background: var(--lime); }
.accent-two { width: 42%; height: 58%; left: -7%; bottom: -1%; background: var(--coral); }
.dashboard { position: relative; z-index: 1; min-height: 520px; display: grid; grid-template-columns: 64px 1fr; overflow: hidden; background: #fbfcfa; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.65); }
.dash-sidebar { padding: 22px 12px; display: flex; flex-direction: column; align-items: center; gap: 14px; background: #17201b; color: white; }
.dash-logo { margin-bottom: 20px; }
.dash-logo i { background: white; width: 4px; }
.side-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 4px; color: #8f9993; font-size: 16px; }
.side-icon.active { color: white; background: #2d3832; }
.side-avatar { margin-top: auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); font-size: 9px; font-weight: 700; }
.dash-main { padding: 0 26px 26px; min-width: 0; }
.dash-topbar { min-height: 82px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e6e9e5; }
.dash-topbar > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.dash-label, .panel-heading span { color: #8e9691; font-size: 10px; }
.dash-topbar strong { font-size: 17px; }
.dash-top-actions { display: flex; align-items: center; gap: 16px; color: #818a84; }
.mini-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #d6e8dd; color: var(--green); font-size: 10px; font-weight: 700; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.metrics article { min-width: 0; padding: 16px; border: 1px solid #e5e9e5; background: white; }
.metrics span { display: block; color: #858e88; font-size: 9px; }
.metrics strong { display: inline-block; margin: 9px 8px 3px 0; font-size: 24px; }
.metrics small { font-size: 8px; color: #909791; }
.metrics .up { color: #26805b; }
.dash-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.chart-panel, .team-panel { min-width: 0; padding: 18px; background: white; border: 1px solid #e5e9e5; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; }
.panel-heading div { display: flex; flex-direction: column; gap: 3px; }
.panel-heading strong { font-size: 12px; }
.panel-heading button { padding: 5px 8px; border: 1px solid #e2e6e2; background: white; color: #7b857e; font-size: 8px; }
.chart { position: relative; height: 174px; margin-top: 12px; }
.chart svg { position: absolute; inset: 8px 0 18px; width: 100%; height: calc(100% - 26px); overflow: visible; }
.chart .area { fill: url(#area); }
.chart .line { fill: none; stroke: var(--coral); stroke-width: 3; }
.chart circle { fill: white; stroke: var(--coral); stroke-width: 3; }
.grid-lines { position: absolute; inset: 8px 0 28px; display: flex; flex-direction: column; justify-content: space-between; }
.grid-lines i { height: 1px; background: #edf0ed; }
.chart-labels { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; color: #9aa19d; font-size: 8px; }
.activity-list { list-style: none; padding: 4px 0 0; margin: 0; }
.activity-list li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; padding: 13px 0; border-bottom: 1px solid #edf0ed; }
.activity-list li:last-child { border: 0; }
.avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 9px; }
.avatar.coral { background: var(--coral); }.avatar.green { background: var(--green); }.avatar.blue { background: #547ba6; }
.activity-list div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.activity-list strong { font-size: 9px; }.activity-list span, .activity-list time { color: #929a95; font-size: 7px; }

.features-section { padding: 132px clamp(24px, 7vw, 110px) 142px; background: white; }
.section-heading { max-width: 1180px; margin: 0 auto 86px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading .eyebrow { align-self: start; margin-top: 12px; }
h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: 1.1; font-weight: 600; }
.feature-list { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature-list article { padding: 42px 44px 16px 0; }
.feature-list article + article { padding-left: 44px; border-left: 1px solid var(--line); }
.feature-number { color: var(--coral); font-size: 12px; font-weight: 700; }
.feature-list h3 { margin: 44px 0 18px; font-size: 24px; }
.feature-list p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 14px; }
.feature-list a { font-size: 13px; font-weight: 700; }.feature-list a span { margin-left: 10px; color: var(--coral); }

.cta-section { padding: 112px clamp(24px, 7vw, 110px); display: flex; justify-content: space-between; align-items: end; gap: 64px; color: white; background: var(--green); }
.eyebrow.light { color: var(--lime); }
.button-light { color: var(--ink); background: var(--lime); border-color: var(--lime); white-space: nowrap; }
.button-light:hover { color: white; background: var(--coral); border-color: var(--coral); }
footer { padding: 34px clamp(24px, 5vw, 80px); display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.12); background: #141c18; color: white; }
footer .brand-mark i { background: white; } footer p { margin: 0; color: #88918c; font-size: 12px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 670px; }
  .product-stage { width: 100%; max-width: 800px; justify-self: center; }
  .section-heading { display: block; }
  .section-heading .eyebrow { margin-bottom: 24px; }
}

@media (min-width: 721px) {
  .main-nav a, .header-actions a, .eyebrow, h2, .feature-list h3, .feature-list p { white-space: nowrap; }
}

@media (max-width: 720px) {
  .site-header { height: 68px; }
  .menu-button { display: block; margin-left: auto; }
  .header-actions { display: none; }
  .main-nav { position: absolute; left: 0; right: 0; top: 68px; display: none; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 30px rgba(23,32,27,.08); }
  .main-nav.open { display: flex; }
  .main-nav .mobile-login-link { display: block; }
  .main-nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .hero { padding-top: 16px; grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: clamp(42px, 12.5vw, 58px); }
  .hero-intro { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .product-stage { padding: 8px 0 24px; }
  .dashboard { min-height: 410px; grid-template-columns: 48px 1fr; }
  .dash-sidebar { padding: 16px 6px; }.side-icon { width: 32px; height: 32px; }
  .dash-main { padding: 0 14px 18px; }.dash-topbar { min-height: 66px; }
  .dash-top-actions span:not(.mini-avatar) { display: none; }
  .metrics { gap: 6px; margin: 14px 0; }.metrics article { padding: 10px; }.metrics strong { font-size: 18px; }.metrics small { display: block; }
  .dash-grid { grid-template-columns: 1fr; }.team-panel { display: none; }.chart-panel { padding: 12px; }.chart { height: 145px; }
  .logos { flex-wrap: wrap; justify-content: center; }
  .features-section { padding-top: 78px; padding-bottom: 84px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list article, .feature-list article + article { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .feature-list p { min-height: 0; }
  .cta-section { align-items: flex-start; flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; gap: 22px; }
}

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