/* ============================================================
   ECENTIME B2B · v0 landing
   Minimal, data-driven, zero dependencies, system fonts only.
   ============================================================ */

:root {
  --ink: #0a2540;             /* primary accent — ink blue */
  --ink-deep: #061a30;
  --ink-soft: #1f3a5f;

  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-dark: #0a2540;

  --text: #0f172a;
  --text-soft: #475569;
  --text-mute: #94a3b8;
  --text-on-dark: #f8fafc;
  --text-on-dark-soft: #cbd5e1;

  --border: #e5e7eb;
  --border-strong: #cbd5e1;

  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 6px 24px -8px rgba(10, 37, 64, 0.12);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, system-ui, sans-serif;
  --font-serif: "Iowan Old Style", "Charter", Georgia, "Source Han Serif SC", "Songti SC", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* --------- Base --------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}
a:hover, a:focus-visible { color: var(--ink-deep); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* --------- Buttons --------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 18px 30px; font-size: 16px; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

/* --------- Header --------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700;
  border-radius: var(--radius);
}
.brand-mark-light { background: #fff; color: var(--ink); }
.brand-name {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-suffix {
  color: var(--text-soft);
  font-weight: 500;
  margin-left: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a {
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 16px !important;
  border-radius: var(--radius);
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--ink-deep); }

/* --------- Hero --------- */

.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 112px);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 24px;
}
.accent { color: var(--ink); border-bottom: 4px solid var(--ink); padding-bottom: 2px; }

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-soft);
  max-width: 56ch;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.trust-line {
  font-size: 14px;
  color: var(--text-soft);
}
.trust-line strong { color: var(--text); font-weight: 600; }

.hero-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.stat-block { padding: 8px 0; }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 8px;
  line-height: 1.4;
}
.stat-delta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}
.stat-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* --------- Section heads --------- */

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.kicker-light { color: var(--text-on-dark-soft); }

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 18px;
}
.section-lede {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0 auto;
}

/* --------- The Window --------- */

.window {
  padding: clamp(64px, 9vw, 112px) 0;
}
.data-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.data-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.data-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.data-num {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}
.data-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.data-card p {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.data-card p:last-child { margin-bottom: 0; }
.source {
  font-size: 12px !important;
  color: var(--text-mute) !important;
  letter-spacing: 0.02em;
}
.source a {
  color: var(--text-soft);
  border-bottom: 1px dotted var(--text-mute);
}
.source a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.punch {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ink);
  text-align: center;
  font-style: italic;
  padding: 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 760px;
  margin: 0 auto;
}

/* --------- How it works --------- */

.how {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.step-lead {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.step-detail li {
  font-size: 14.5px;
  color: var(--text-soft);
  padding-left: 18px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.5;
}
.step-detail li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1.5px;
  background: var(--ink);
}

/* --------- Why ECENTIME --------- */

.why { padding: clamp(64px, 9vw, 112px) 0; }
.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.asset-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.asset-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 5px 14px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  margin-bottom: 20px;
  align-self: flex-start;
  min-width: 92px;
  text-align: center;
}
.asset-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  line-height: 1.3;
}
.asset-card p {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 20px;
  flex-grow: 1;
}
.asset-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  align-self: flex-start;
}
.asset-link:hover { color: var(--ink-deep); border-color: var(--ink-deep); }

/* --------- In motion --------- */

.motion {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.motion-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.motion-featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.motion-featured h3 { color: #fff; }
.motion-featured p { color: var(--text-on-dark-soft); }

.motion-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.motion-featured .motion-status { color: #9bb3d6; }

.motion-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.motion-card p {
  font-size: 15px;
  color: var(--text-soft);
}
.motion-placeholder h3 { color: var(--text-soft); }

.motion-foot {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  font-style: italic;
}

/* --------- Pricing --------- */

.pricing { padding: clamp(64px, 9vw, 112px) 0; }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.tier-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-recommended {
  border-color: var(--ink);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.tier-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tier-badge {
  font-size: 10px;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 700;
}
.tier-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
.tier-desc {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.tier-list li {
  font-size: 14.5px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
}
.tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--ink);
  font-weight: 700;
}

.pricing-foot {
  text-align: center;
  font-size: 16px;
  color: var(--text-soft);
}
.pricing-foot strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 20px;
}

/* --------- About --------- */

.about {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.about h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}
.about-body { font-size: 16px; color: var(--text); line-height: 1.65; }
.about-body p { margin-bottom: 18px; }
.founder-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 8px !important;
  letter-spacing: 0.02em;
}
.about-link {
  font-weight: 600;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
}

/* --------- Contact --------- */

.contact {
  padding: clamp(80px, 11vw, 128px) 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.contact-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.contact h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 20px;
}
.contact-lede {
  font-size: 17px;
  color: var(--text-on-dark-soft);
  margin-bottom: 40px;
  max-width: 56ch;
  margin-left: auto; margin-right: auto;
}
.contact .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.contact .btn-primary:hover {
  background: var(--text-on-dark-soft);
  border-color: var(--text-on-dark-soft);
  color: var(--ink-deep);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.contact-meta {
  font-size: 14px;
  color: var(--text-on-dark-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-meta a {
  color: #fff;
  border-bottom: 1px dotted var(--text-on-dark-soft);
}
.contact-meta a:hover { color: #fff; border-bottom-color: #fff; }

/* --------- Footer --------- */

.site-footer {
  background: var(--ink-deep);
  color: var(--text-on-dark-soft);
  padding: 40px 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr auto;
  gap: 32px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-name {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 2px !important;
}
.footer-tag { color: var(--text-on-dark-soft); font-size: 13px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-links a {
  color: var(--text-on-dark-soft);
  border-bottom: 1px dotted transparent;
}
.footer-links a:hover {
  color: #fff;
  border-bottom-color: var(--text-on-dark-soft);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-mute);
  white-space: nowrap;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stat { order: 2; }
  .data-cards, .step-row, .asset-grid, .tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .motion-grid { grid-template-columns: 1fr 1fr; }
  .motion-featured { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  .site-nav { gap: 16px; font-size: 13px; }
  .site-nav a:not(.nav-cta) { display: none; }

  .hero { padding: 56px 0 64px; }
  .hero-stat { padding: 24px; }

  .cta-row .btn { flex: 1 1 100%; }

  .data-cards, .step-row, .asset-grid, .tier-grid, .motion-grid {
    grid-template-columns: 1fr;
  }
  .motion-featured { grid-column: auto; }

  .data-card, .step, .asset-card, .tier-card, .motion-card { padding: 26px; }

  .punch { font-size: 20px; padding: 24px 16px; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .header-row { height: 60px; }
  .brand-name { font-size: 13px; }
  .hero h1 { font-size: 32px; }
  .lede { font-size: 16px; }
  .stat-number { font-size: 36px; }
  .section-head h2 { font-size: 26px; }
}

/* ============================================================
   Motion / a11y
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print: keep it readable */
@media print {
  .site-header, .nav-cta, .site-nav, .contact .btn { display: none; }
  body { color: #000; }
  .hero, .how, .motion, .about, .contact { background: #fff; color: #000; padding: 24px 0; }
  a { color: #000; text-decoration: underline; }
}
