/* CallKnack — Sora + Inter, charcoal base, copper accent */
:root {
  --ink: #14181d;
  --ink-soft: #3c4550;
  --cream: #f7f5f0;
  --cream-dark: #efece4;
  --accent: #c05a2e;
  --accent-dark: #9a4520;
  --gold: #d9a441;
  --line: #e2ddd2;
  --white: #fff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-word, .stat-num { font-family: 'Sora', sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.tar { text-align: right; }
.muted { color: var(--ink-soft); }
.mono { font-variant-numeric: tabular-nums; }
.inline { display: inline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font: 600 .95rem 'Inter', sans-serif;
  padding: 12px 22px; border-radius: 10px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #d96f3d 0%, var(--accent) 55%, var(--accent-dark) 100%);
  color: #fff; box-shadow: 0 8px 22px rgba(192, 90, 46, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(192, 90, 46, .45); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--accent); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- top nav ---------- */
.topnav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; background: var(--ink);
}
.topnav-links { display: flex; align-items: center; gap: 22px; }
.topnav-links a { color: #cfd4da; text-decoration: none; font-weight: 500; font-size: .95rem; }
.topnav-links a:hover, .topnav-links a.active { color: var(--gold); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold); }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -.02em; }
.brand-word em { font-style: normal; color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 75% -10%, rgba(217, 164, 65, .18), transparent 60%),
    linear-gradient(160deg, #1a212a 0%, var(--ink) 70%);
  color: #fff; padding: 110px 24px 100px; text-align: center;
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem;
  font-weight: 600; color: var(--gold); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .sub { margin: 24px auto 34px; max-width: 58ch; color: #c4cbd3; font-size: 1.1rem; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.cta-note { color: #9aa3ad; font-style: italic; font-size: .95rem; }
.trust-row {
  list-style: none; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
  margin-top: 42px; color: #c4cbd3; font-size: .93rem;
}
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 17px; height: 17px; color: var(--gold); flex: none; }

/* ---------- sections ---------- */
.section { padding: 84px 24px; }
.section:nth-of-type(odd) { background: var(--white); }
.section h2 { text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; margin-bottom: 12px; }
.section h2 em { font-style: normal; color: var(--accent); }
.section-sub { text-align: center; color: var(--ink-soft); margin-bottom: 48px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 1080px; margin: 48px auto 0; }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 28px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20, 24, 29, .09); }
.card-icon {
  display: inline-flex; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(192, 90, 46, .1); color: var(--accent);
  align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.price-card {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  border-radius: 18px; padding: 36px 30px; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20, 24, 29, .09); }
.price-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 18px 44px rgba(20, 24, 29, .3); }
.price-card .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.price { font-family: 'Sora', sans-serif; font-size: 3rem; font-weight: 800; }
.price sup { font-size: 1.3rem; vertical-align: super; margin-right: 2px; }
.price span { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-card.featured .price span { color: #9aa3ad; }
.price-desc { margin: 16px 0 26px; color: var(--ink-soft); font-size: .93rem; min-height: 3em; }
.price-card.featured .price-desc { color: #c4cbd3; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #9aa3ad; padding: 28px 24px; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer a { color: #c4cbd3; text-decoration: none; }
.footer a:hover { color: var(--gold); }

/* ---------- auth ---------- */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #1a212a 0%, var(--ink) 70%); padding: 24px;
}
.auth-box {
  width: 100%; max-width: 420px; background: var(--cream); border-radius: 18px;
  padding: 40px 36px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.auth-box h1 { font-size: 1.5rem; margin: 18px 0 6px; }
.auth-sub { color: var(--ink-soft); font-size: .92rem; margin-bottom: 20px; }
.brand-centered { justify-content: center; color: var(--accent); }
.brand-centered .brand-word { color: var(--ink); font-size: 1.5rem; }
.brand-centered .brand-word em { color: var(--accent); }
.auth-box label { display: block; font-weight: 600; font-size: .9rem; margin: 16px 0 6px; }
.auth-box input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; margin-top: 6px;
}
.auth-box input:focus { outline: 2px solid rgba(192, 90, 46, .35); border-color: var(--accent); }
.auth-box .btn { margin-top: 24px; }
.auth-alt { margin-top: 20px; font-size: .88rem; color: var(--ink-soft); text-align: center; }
.alert {
  background: #fbeaea; border: 1px solid #e8b8b8; color: #8f2d2d;
  padding: 12px 16px; border-radius: 10px; font-size: .92rem; margin: 16px 0;
  word-break: break-all;
}
.alert.ok { background: #eaf5ec; border-color: #b8dcbF; color: #256b35; word-break: normal; }

/* ---------- console ---------- */
.console { max-width: 1080px; margin: 0 auto; padding: 44px 24px 80px; }
.console-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.console-head h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.01em; }
.plan-badge {
  background: rgba(217, 164, 65, .14); color: #8a6420; border: 1px solid rgba(217, 164, 65, .4);
  font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 999px;
}
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 36px; }
.stat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px;
}
.stat-num { display: block; font-size: 2.3rem; font-weight: 800; color: var(--accent); }
.stat-label { color: var(--ink-soft); font-size: .9rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px; margin-bottom: 28px; }
.panel h2 { font-size: 1.25rem; margin-bottom: 8px; }
.panel-sub { color: var(--ink-soft); font-size: .92rem; margin-bottom: 20px; max-width: 64ch; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-head h2 { margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: end; }
.form-row label { font-weight: 600; font-size: .88rem; }
.form-row input {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px;
  border: 1.5px solid var(--line); border-radius: 10px; font: inherit;
}
.form-row input:focus { outline: 2px solid rgba(192, 90, 46, .35); border-color: var(--accent); }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th {
  text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-soft); padding: 10px 12px; border-bottom: 2px solid var(--line);
}
.table td { padding: 13px 12px; border-bottom: 1px solid var(--cream-dark); }
.table tr:last-child td { border-bottom: 0; }
.status { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: #eaf5ec; color: #256b35; }
.status.missed { background: #fbeaea; color: #8f2d2d; }
.empty-state { text-align: center; padding: 56px 24px; }
.empty-state h2 { font-size: 1.4rem; margin-bottom: 10px; }
.empty-state p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 24px; }

@media (max-width: 700px) {
  .topnav { padding: 14px 18px; flex-wrap: wrap; gap: 10px; }
  .topnav-links { gap: 14px; }
  .hero { padding: 70px 18px 70px; }
  .trust-row { gap: 14px; flex-direction: column; align-items: center; }
  .console { padding: 30px 16px 60px; }
  .panel { padding: 20px 16px; }
  .table { font-size: .85rem; }
}
