/* ClearForge marketing site — brand palette matches lib/screens/marketing/marketing_theme.dart (MC) */
:root {
  --deep-navy: #173452;
  --navy: #1A3E64;
  --steel-blue: #21547E;
  --slate-blue: #44576B;
  --cyan: #45B7E4;
  --light-cyan: #8EDEFA;
  --ice-blue: #D3F5FD;
  --near-white: #F9FDFF;
  --gold: #FFCC5C;
  --text-on-dark: #FFFFFF;
  --text-on-dark-dim: #A8C8E8;
  --text-dark: var(--deep-navy);
  --text-muted: #4C5F78;
  --card-border: #DEE9F2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--near-white);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section--white { background: #fff; }
.section--ice { background: var(--ice-blue); }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.h1 { font-size: 32px; font-weight: 800; margin: 0 0 8px; line-height: 1.2; }
.h2 { font-size: 24px; font-weight: 800; margin: 0 0 12px; }
@media (min-width: 700px) {
  .h1 { font-size: 44px; }
}

/* Nav */
.nav {
  background: var(--deep-navy);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.nav .container { display: flex; align-items: center; gap: 20px; width: 100%; padding: 0; flex-wrap: wrap; }
.nav__logo { height: 26px; }
/* White plate behind the wordmark on any dark background — matches the
   app's own BrandWordmarkOnDark widget. The wordmark's navy tones otherwise
   disappear into the dark navy nav/footer. */
.wordmark-plate { display: inline-flex; align-items: center; background: #fff; border-radius: 6px; padding: 5px 8px; }
.nav__links { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.nav__link { color: #ffffffb3; font-weight: 500; font-size: 14px; padding: 8px 10px; border-radius: 6px; }
.nav__link:hover { color: #fff; }
.nav__link.active { color: var(--cyan); font-weight: 700; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-block;
  border-radius: 8px;
  font-weight: 700;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.btn--cyan { background: var(--cyan); color: var(--deep-navy); }
.btn--navy { background: var(--deep-navy); color: #fff; }
.btn--outline { background: transparent; color: #fff; border: 1px solid #ffffff61; }
.btn--login { color: #fff; font-weight: 600; padding: 10px 12px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--deep-navy), var(--navy), var(--steel-blue));
  color: #fff;
  padding: 64px 24px;
}
.hero .container { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.hero__copy { flex: 1 1 480px; }
.hero__kicker { color: var(--light-cyan); font-weight: 700; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hero__body { color: var(--text-on-dark-dim); font-size: 15px; margin: 20px 0 28px; max-width: 560px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero__notes { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--text-on-dark-dim); }
.hero__card {
  flex: 1 1 360px;
  background: #ffffff0f;
  border: 1px solid #ffffff3d;
  border-radius: 16px;
  padding: 20px;
}
.hero__card h2, .hero__card h3 { color: #fff; margin: 12px 0 8px; font-size: 16px; font-weight: 700; }
.hero__card p { color: var(--text-on-dark-dim); margin: 0; }

/* Cards / grids */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: 1fr 1fr 1fr; } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px;
}
.card h2, .card h3 { font-size: 15px; margin: 10px 0 6px; font-weight: 700; }
.card p { font-size: 12.5px; color: var(--text-muted); margin: 0; }
.card .icon { font-size: 24px; }

/* CTA banner */
.cta-banner {
  background: var(--deep-navy);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  color: #fff;
}
.cta-banner p { color: var(--text-on-dark-dim); margin: 6px 0 16px; }

/* Tables */
table.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--card-border); }
table.compare thead th { background: var(--ice-blue); font-weight: 700; }
table.compare td.tick { color: var(--steel-blue); text-align: center; font-weight: 700; }
table.compare td.cross { color: var(--text-muted); text-align: center; font-style: italic; }
.table-wrap { overflow-x: auto; }

/* Steps / rows */
.rowlist { background: #fff; border: 1px solid var(--card-border); border-radius: 12px; max-width: 720px; margin: 0 auto; }
.rowlist__row { display: flex; gap: 16px; padding: 20px; border-bottom: 1px solid var(--card-border); }
.rowlist__row:last-child { border-bottom: none; }
.rowlist__num { width: 32px; height: 32px; border-radius: 50%; background: var(--ice-blue); color: var(--deep-navy); font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rowlist__row h2, .rowlist__row h3 { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; }
.rowlist__row p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* Pricing */
.plan { background: #fff; border: 1px solid var(--card-border); border-radius: 14px; padding: 22px; }
.plan h2, .plan h3 { margin: 10px 0 4px; font-size: 16px; font-weight: 700; }
.plan .price { font-size: 26px; font-weight: 800; color: var(--deep-navy); }
.plan .per { font-size: 12px; color: var(--text-muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; }
.plan li { font-size: 13px; margin-bottom: 8px; padding-left: 22px; position: relative; }
.plan li::before { content: "✓"; color: var(--steel-blue); position: absolute; left: 0; font-weight: 700; }

/* FAQ */
details.faq { border-bottom: 1px solid var(--card-border); padding: 14px 16px; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 13.5px; }
details.faq p { font-size: 13px; color: var(--text-muted); margin: 10px 0 0; }
.faq-wrap { background: #fff; border: 1px solid var(--card-border); border-radius: 12px; max-width: 720px; margin: 0 auto; overflow: hidden; }

/* Footer */
.footer { background: var(--deep-navy); color: #fff; padding: 32px 24px; }
.footer .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.footer__brand p { color: #ffffffb3; font-size: 12px; margin: 8px 0 0; }
.play-badge-link { display: inline-block; margin-top: 14px; line-height: 0; }
.play-badge { height: 40px; width: auto; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: #ffffffb3; font-size: 13px; }
.footer__bottom { border-top: 1px solid #ffffff3d; margin-top: 20px; padding-top: 12px; }
.footer__bottom p { color: #ffffffb3; font-size: 11px; margin: 0; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.6px; }
.badge--cyan { background: #45b7e424; color: var(--steel-blue); }
.badge--slate { background: #44576b24; color: var(--slate-blue); }
