:root {
  --bg: #f5f7fb;
  --card: #fff;
  --accent: #0366d6;
  --muted: #6b7280;
  --gap: 16px;
  --max-width: 1100px;
  --auth-bg: #f4f4f4;
  --auth-card: #fff;
  --auth-accent: #0366d6;
  --auth-muted: #6b7280;
  --auth-shadow: rgba(11, 22, 39, 0.08);
  --auth-radius: 8px;
}

/* Global Reset */
* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  margin: 0;
  background: var(--bg);
  color: #111;
}



/* Navigation */

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}  

/* Page */

.page {
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:32px 16px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  width: 100%;
  box-sizing: border-box;
}

.card {
  background: var(--card);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sidebar .card{padding:18px}


    .lead{color:var(--muted);font-size:15px;line-height:1.6;margin:0 0 14px}
    .hero-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
    .hero-stats{display:flex;gap:12px;margin-top:18px;align-items:center;flex-wrap:wrap}
    .stat-mini{background:rgba(15,98,254,0.04);padding:8px 12px;border-radius:10px;font-weight:700;color:#0f1724;font-size:14px}
    .stat-mini .note{font-weight:600;font-size:12px;color:var(--muted);font-weight:600}
    .hero-compact{display:grid;grid-template-columns:1fr 320px;gap:18px;align-items:start}
    @media (max-width:880px){.hero-compact{grid-template-columns:1fr}}

/* Logo / Brand */

.logo {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.brand-text .title{font-weight:700;font-size:18px;line-height:1}
.brand-text .tag{font-size:13px;color:var(--muted);margin-top:2px}

/* Buttons */
.btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.btn.secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid rgba(3, 102, 214, 0.12);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid transparent;
}

/* Form */

    form { display:block; margin-top:14px; font-family:inherit; }
    label { display:block; margin:10px 0 6px; font-weight:600; color:#111827; font-size:14px; }
    input[type="text"], textarea { width:100%; padding:10px 12px; box-sizing:border-box; border:1px solid #e6e9ef; border-radius:8px; font-size:14px; color: #111827; background: #fff; }
    textarea{min-height:120px; resize:vertical}
    .form-row{display:flex;gap:10px}
    .form-row .col{flex:1}

/* Page wrapper stacked layout */
.auth-page {
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;          /* stack header, main, footer vertically */
  align-items: stretch;            /* children take full available width */
  justify-content: flex-start;
  background: var(--auth-bg);
  box-sizing: border-box;
  padding: 0;                      /* keep site-level padding off wrapper */
  font-family: Arial, sans-serif;
}

/* Ensure header, main, footer are full width but content is constrained */
.auth-page > header,
.auth-page > main,
.auth-page > footer {
  width: 100%;
  box-sizing: border-box;
}

/* Constrain inner content to a centered column */
.auth-page .container,
.auth-page .login-box,
.auth-page .card {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
  padding: 20px;
  box-sizing: border-box;
}

/* Optional visual for header area */
.auth-page header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

/* Brand and actions inside header */
.auth-page .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.auth-page .brand-text div:first-child { font-weight: 700; }
.auth-page .brand-text div:last-child { font-size: 13px; color: var(--auth-muted); margin-top: 2px; }

/* Header actions */
.auth-page .actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.auth-page .actions .btn-primary,
.auth-page .actions .btn-primary[href],
.auth-page .actions .btn-primary[role="button"] {
  background: var(--auth-accent);
  color: #fff;
  border: 0;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.auth-page .actions .btn-secondary,
.auth-page .actions .btn-secondary[href],
.auth-page .actions .btn-secondary[role="button"] {
  background: transparent;
  color: var(--auth-accent);
  border: 1px solid rgba(3, 102, 214, 0.12);
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* Login card centered in main */
.auth-page main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 20px;
  flex: 1 0 auto;                 /* let main grow to fill available space */
}

/* Login box visual */
.auth-page .login-box {
  background: var(--auth-card);
  padding: 20px;
  border-radius: var(--auth-radius);
  box-shadow: 0 6px 18px var(--auth-shadow);
  width: 360px;
  max-width: 92vw;
  box-sizing: border-box;
}

/* Heading and hint */
.auth-page .login-box h2 {
  text-align: center;
  margin: 0 0 16px;
  font-size: 1.25rem;
  color: #111;
}
.auth-page .hint {
  font-size: 0.9rem;
  color: var(--auth-muted);
  text-align: center;
  margin-bottom: 12px;
}

/* Form rows */
.auth-page .form-row { margin-top: 8px; }

/* Labels and inputs */
.auth-page .login-box label {
  display: block;
  font-size: 0.9rem;
  color: #222;
  margin-bottom: 6px;
}
.auth-page .login-box input[type="email"],
.auth-page .login-box input[type="password"],
.auth-page .login-box input[type="text"],
.auth-page .login-box input,
.auth-page .login-box textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 0.95rem;
  background: #fff;
  color: #111;
}

/* Buttons inside card */
.auth-page .login-box .btn-primary,
.auth-page .login-box button.btn-primary {
  display: inline-block;
  margin-top: 14px;
  width: 100%;
  padding: 10px;
  background: var(--auth-accent);
  color: #fff;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  box-sizing: border-box;
}
.auth-page .login-box .btn-secondary,
.auth-page .login-box button.btn-secondary {
  display: inline-block;
  margin-top: 8px;
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--auth-accent);
  border: 1px solid rgba(3, 102, 214, 0.12);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  box-sizing: border-box;
}

/* Meta row and links */
.auth-page .meta {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--auth-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-page .meta a { color: var(--auth-accent); text-decoration: none; }

/* Error messages */
.auth-page .errors {
  background: #fff4f4;
  border: 1px solid #ffd2d2;
  color: #8a1f1f;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* Visually hidden utility */
.auth-page .sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Focus states */
.auth-page .login-box input:focus,
.auth-page .login-box textarea:focus,
.auth-page .login-box .btn-primary:focus,
.auth-page .login-box .btn-secondary:focus {
  outline: 3px solid rgba(3, 102, 214, 0.15);
  outline-offset: 2px;
}

/* Footer */
.auth-page footer {
  padding: 12px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--auth-muted);
  background: transparent;
}

/* Small screens adjustments */
@media (max-width: 420px) {
  .auth-page .login-box { padding: 16px; }
  .auth-page .login-box h2 { font-size: 1.1rem; }
  .auth-page .login-box input[type="email"],
  .auth-page .login-box input[type="password"] {
    padding: 9px;
    font-size: 0.92rem;
  }
}

/* Layout Containers */
.container {
  max-width: var(--max-width);
  margin: 24px auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  box-sizing: border-box;
}

/* Make challenge list and today box share the same center column width */
.center-column {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.center-inner {
  width: 60%;
  max-width: 640px;
  min-width: 320px;
  box-sizing: border-box;
}

/* challenge list */
.chlist {
  width: 100%;
  box-sizing: border-box;

  max-height: 150px;
  overflow-y: auto;
  margin-top: 12px;
  border: 1px solid #eef2f7;
  border-radius: 6px;
}

.ch-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 8px;
  padding: 10px;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.ch-row:last-child {
  border-bottom: none;
}

.ch-row button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.ch-desc {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #0f172a;
}

.ch-status {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.ch-score {
  text-align: center;
  font-weight: 600;
  color: var(--accent);
}




/* Today box styling */
.today-wrapper{ width:100%; display:flex; justify-content:center; }
.today-box{ width:100%; border:1px solid #e6e6e6; border-radius:8px; padding:14px; box-sizing:border-box; transition:background .18s ease,border-color .18s ease,color .18s ease; margin-top:8px }
.today-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px }
.today-date{ font-weight:600 }
.cheat-badge{ font-size:0.82rem; padding:4px 8px; border-radius:999px; background:#e6f2ff; color:#063a6b; border:1px solid #bcd9ff }

/* radio layout */
.score-radios{ display:flex; gap:12px; align-items:center; flex-wrap:wrap }
.score-radios label{ cursor:pointer; user-select:none }
.score-radios input{ margin-right:6px }

/* exact colours provided */
.score-yes { background: #dff3e6; border-color: #b7e0b4; color: #0b5a21; }    /* green */
.score-close { background: #fff9db; border-color: #ffe39a; color: #6a4b00; }  /* yellow */
.score-no { background: #ffecec; border-color: #ffbdbd; color: #6a0000; }     /* red */
.score-cheat { background: #e6f2ff; border-color: #bcd9ff; color: #063a6b; }  /* blue */

.today-box.score-yes,.today-box.score-close,.today-box.score-no,.today-box.score-cheat{ border-style:solid }
.today-box .btn-primary{ width:auto; padding:8px 12px }
  .challenge-table { width: 100%; max-width:900px; border-collapse: collapse; margin: 0 0 0 0; box-shadow:0 1px 3px rgba(0,0,0,0.06); }
  .challenge-table th, .challenge-table td { padding: 10px 12px; border: 1px solid #e9e9e9; background: #fff; vertical-align: middle; }
  .challenge-table2 { width: 100%; max-width:900px; border-collapse: collapse; margin: 0 0 20px 0; box-shadow:0 1px 3px rgba(0,0,0,0.06); }
  .challenge-table2 th, .challenge-table2 td { padding: 10px 12px; border: 1px solid #e9e9e9; background: #fff; vertical-align: middle; }

  .challenge-header { background: linear-gradient(180deg,#f7f7f9,#fff); font-size:16px; font-weight:600; }
  .target-row { display:flex; align-items:center; gap:12px; }
  .target-label { color:#555; margin-right:8px; }
  .score-input { width:120px; padding:8px; font-size:14px; border:1px solid #ccc; border-radius:4px; }
  .chart-cell { text-align:center; padding:14px; }
  canvas { background: #fafafa; border:1px solid #eee; border-radius:4px; max-width:100%; height:200px; }
  .small-note { color:#666; font-size:13px; margin-top:6px; }
  .save-btn { padding:8px 12px; border-radius:4px; border:1px solid #2b7; background:#28a745; color:#fff; cursor:pointer; }
  form.inline { display:flex; align-items:center; gap:10px; margin:0; }
  .form-inline{display:flex;align-items:center;gap:10px;margin:0;}






.testimonial{font-style:italic;color:#0f1724;background:linear-gradient(90deg,rgba(15,98,254,0.02),transparent);padding:12px;border-radius:10px;margin-top:12px;font-size:14px}
.error{color:var(--danger);background:rgba(185,28,28,0.05);border:1px solid rgba(185,28,28,0.12);padding:10px;border-radius:8px;margin:8px 0}
.success{color:var(--success);background:rgba(6,127,59,0.05);border:1px solid rgba(6,127,59,0.12);padding:10px;border-radius:8px;margin:8px 0}
.hidden{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.note{font-size:13px;color:var(--muted);margin-top:8px}
.flash { padding:8px 12px; margin-bottom:12px; border-radius:4px; }
.flash-success { background:#e6ffed; color:#166534; border:1px solid #b7f5cf; }
.flash-error { background:#fff0f0; color:#9b1c1c; border:1px solid #f5c2c2; }

/* Details Grid (form main grid) */
.details-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 12px;
}

/* Section Headings: always full-width and on their own row */
.form-section-title {
  grid-column: 1 / -1;
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: #0f172a;
}

/* Detail field */
.detail-field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.detail-field input,
.detail-field textarea,
.detail-field select {
  width: 100%;
  padding: 8px;
  border: 1px solid #e6e9ee;
  border-radius: 6px;
}

.detail-field textarea {
  min-height: 72px;
  resize: vertical;
}

/* Full-width fields (Name, GoalName) should span both columns and be single-line inputs */
.detail-field.full-width {
  grid-column: 1 / -1;
}
.detail-field.full-width input[type="text"],
.detail-field.full-width input[type="number"],
.detail-field.full-width input[type="date"] {
  height: 40px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1;
}

/* Day Grid (unchanged from original) */
.day-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(3, 64px);
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .day-grid {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, 64px);
  }
}

.day-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eef2f7;
  border-radius: 6px;
  background: #fff;
}

.day-cell.blank {
  background: #f8fafc;
}

.day-cell button {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.day-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
  text-align: center;
}

/* Settings grid: sits under Settings heading and spans both columns */
.settings-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: start;
}

/* CloseEnoughDefn should occupy columns 2-4 (three columns) in the settings grid */
.settings-grid .closeenough-defn {
  grid-column: 2 / 5;
}

/* Make the CloseEnoughDefn span full width on narrow screens */
@media (max-width: 880px) {
  .settings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .settings-grid .closeenough-defn {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .detail-field.full-width input[type="text"] {
    height: 42px;
  }
}

/* Compact controls */
.detail-field select,
.detail-field input[type="date"],
.detail-field input[type="number"] {
  height: 40px;
  padding: 6px 8px;
  border-radius: 6px;
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.radio-group input {
  margin-right: 6px;
}

/* Tooltip icon and tooltip box */
.info-icon {
  display: inline-block;
  margin-left: 6px;
  cursor: pointer;
  user-select: none;
  font-size: 0.88rem;
  color: var(--accent);
}

/* Tooltip default hidden; placed by JS with absolute positioning */
.tooltip {
  position: absolute;
  background: var(--card);
  border: 1px solid #e6e9ee;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(15,23,42,0.08);
  font-size: 0.88rem;
  max-width: 260px;
  z-index: 60;
  display: none;
}

/* Focus Styles */
:focus {
  outline: 3px solid rgba(3, 102, 214, 0.18);
  outline-offset: 2px;
}

.daily-grid {
  display: grid;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  margin-top: 8px;
}

/* box */
.daily-box {
  border-radius: 6px;
  padding: 10px;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #0b0b0b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}

/* date text */
.daily-date {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
}

/* small label for score */
.daily-score-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
}

/* score fill colours with accessible contrast */
.score-yes { background: #dff3e6; border-color: #b7e0b4; color: #0b5a21; }    /* green */
.score-close { background: #fff9db; border-color: #ffe39a; color: #6a4b00; }  /* yellow */
.score-no { background: #ffecec; border-color: #ffbdbd; color: #6a0000; }     /* red */
.score-cheat { background: #e6f2ff; border-color: #bcd9ff; color: #063a6b; }  /* blue */

/* empty/unset boxes */
.daily-box:not(.score-yes):not(.score-close):not(.score-no):not(.score-cheat) {
  background: #fafafa;
  border-color: #eee;
  color: #333;
  opacity: 0.9;
}

/* responsive: on very small screens stack fewer columns */
@media (max-width: 540px) {
  .daily-grid { grid-template-columns: repeat(2, 1fr) !important; }
}


/* Daily grid base (ensure this is loaded last in the cascade) */
.daily-grid { display: grid; gap: 10px; width: 100%; }

/* Box layout and centering */
.daily-box {
  display: flex;
  align-items: center;        /* vertical center */
  justify-content: center;    /* horizontal center */
  text-align: center;
  flex-direction: column;
  padding: 12px;
  min-height: 80px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform .12s ease, box-shadow .12s ease;
}

/* Hover/active affordance */
.daily-box:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.16); }

/* Date styling (prominent and centered) */
.daily-date { font-weight: 700; font-size: 14px; color: #ffffff; line-height:1.15; }

/* Hide the raw score label text */
.daily-score-label { display: none !important; }

/* Vibrant score fills with good contrast */
.daily-box.score-yes  { background: linear-gradient(180deg,#28c76f,#0bb34f); border-color:#10a34a; color: #fff; }
.daily-box.score-close{ background: linear-gradient(180deg,#ffd24a,#ffb200); border-color:#ff9e00; color: #1a1200; }
.daily-box.score-no   { background: linear-gradient(180deg,#ff6b6b,#ff2b2b); border-color:#e60000; color: #fff; }
.daily-box.score-cheat{ background: linear-gradient(180deg,#4da6ff,#0077ff); border-color:#0066d6; color: #fff; }

/* Empty/unset boxes (subtle neutral) */
.daily-box.score-empty { background: #f6f7f9; border-color: #e6e8eb; color: #333; }

/* Ensure the box text remains readable if any other color rules try to override it */
.daily-box.score-yes .daily-date,
.daily-box.score-no .daily-date,
.daily-box.score-cheat .daily-date { color: #fff !important; }
.daily-box.score-close .daily-date { color: #2b1a00 !important; }

/* Responsive fallback: cap columns on narrow screens */
@media (max-width: 540px) {
  .daily-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

.grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px;
}

@media (max-width: 920px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

/* Pricing page */
    /* Small, focused rules so we keep most styling in your existing stylesheet */
    .pricing-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width:100%; max-width:1100px; margin:0 auto; }
    @media (max-width:920px){ .pricing-row { grid-template-columns: 1fr; } }

    .plan { padding:20px; border-radius:8px; box-shadow:0 6px 18px rgba(11,22,39,0.04); background:var(--card); display:flex; flex-direction:column; gap:12px; }
    .plan.popular { border: 2px solid rgba(3,102,214,0.10); transform: translateY(-6px); }
    .plan-title { display:flex; justify-content:space-between; align-items:center; gap:12px; }
    .plan-name { font-weight:700; font-size:18px; }
    .plan-desc { color:var(--muted); font-size:14px; margin-top:6px; }

    .plan-price { font-weight:800; font-size:22px; color:var(--accent); text-align:right; }
    .plan-price small { display:block; font-weight:600; font-size:12px; color:var(--muted); margin-top:4px; }

    /* Features comparison */
    .features { width:100%; max-width:1100px; margin:18px auto 0; border-radius:8px; overflow:hidden; }
    .features-head { display:grid; grid-template-columns: 1fr 140px 140px; gap:0; align-items:center; padding:14px 18px; background:linear-gradient(180deg,#fafafa,#fff); border-bottom:1px solid #eef2f7; font-weight:700; color:var(--muted); }
    .feature-row { display:grid; grid-template-columns: 1fr 140px 140px; gap:0; align-items:center; padding:14px 18px; border-bottom:1px solid #f3f5f8; }
    @media (max-width:880px){ .features-head, .feature-row { grid-template-columns: 1fr 120px 120px; } }
    @media (max-width:520px){ .features-head, .feature-row { grid-template-columns: 1fr 100px 100px; } }

    .feature-name { font-weight:700; font-size:15px; }
    .feature-desc { color:var(--muted); font-size:13px; margin-top:6px; }

    .plan-cell { text-align:center; font-weight:700; }

    .tick { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:8px; background:rgba(16,185,129,0.12); color:#10b981; font-weight:700; }
    .cross { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:8px; background:rgba(239,68,68,0.08); color:#ef4444; font-weight:700; }

    /* CTA utilities */
    .cta-row { display:flex; gap:12px; align-items:center; margin-top:8px; }
    .btn.ghost.small { padding:8px 12px; border-radius:8px; background:transparent; border:1px solid rgba(3,102,214,0.06); color:var(--accent); font-weight:700; }
    .btn.primary.small { padding:8px 12px; border-radius:8px; background:var(--accent); color:#fff; font-weight:700; text-decoration:none; display:inline-block; text-align:center; }

