/* WinRec marketing + policy site — winrec.online
   Editorial/orange brand, consistent with the critique report. Light theme. */

:root {
  --ink: #16161a;
  --ink-soft: #3a3a42;
  --muted: #6b6b75;
  --faint: #9a9aa2;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f3f8fb;
  /* WinRec brand blue→teal (from the logo). */
  --accent: #1d7fc0;
  --accent-ink: #155f92;
  --teal: #2bb6b0;
  --accent-grad: linear-gradient(90deg, #1d7fc0, #2bb6b0);
  --good: #1f9d57;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-ink); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 16px 24px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand .dot { color: var(--accent); }
.brand img { height: 38px; width: auto; display: block; }
.footer .brand img { height: 34px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

.btn-primary, .btn-ghost {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .04s ease;
}
.btn-primary { background: var(--accent-grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:active, .btn-ghost:active { transform: translateY(1px); }
.nav-links .btn-primary, .nav-links .btn-ghost { padding: 9px 16px; font-size: 14px; }

main { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 84px 0 64px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 16px; }
.hero h1 { font-size: clamp(40px, 6.5vw, 72px); line-height: 1.03; letter-spacing: -.03em; margin: 0 0 22px; }
.hero .accent { color: var(--accent); }
.lede { max-width: 700px; margin: 0 auto 32px; color: var(--ink-soft); font-size: clamp(17px, 2vw, 20px); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .cta-row, .cta-row.center { justify-content: center; }
.micro { margin-top: 18px; color: var(--faint); font-size: 13px; }

/* ---- Sections ---- */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; margin: 0 0 14px; text-align: center; }
.section-lede { max-width: 720px; margin: 0 auto 40px; text-align: center; color: var(--muted); font-size: 17px; }
.section.soft { background: var(--bg-soft); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tile, .feature {
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.tile-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(29,127,192,.1); color: var(--accent); font-weight: 800; margin-bottom: 14px;
}
.tile h3, .feature h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }
.tile p, .feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* sample critique card */
.sample {
  max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; padding: 28px; box-shadow: 0 14px 50px rgba(0,0,0,.07);
}
.sample-head { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 16px; }
.sample-grade { width: 56px; height: 56px; border-radius: 12px; background: var(--accent-grad); color: #fff; display: grid; place-items: center; font-size: 30px; font-weight: 800; }
.sample-bars { display: grid; gap: 9px; }
.sample-bar { display: grid; grid-template-columns: 130px 1fr 48px; align-items: center; gap: 12px; font-size: 13px; }
.bar-track { height: 8px; background: #eee; border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent-grad); }

/* CTA band */
.cta-band { text-align: center; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 12px 0 0; }

/* ---- Pricing ---- */
.pricing-head { text-align: center; padding: 70px 0 28px; }
.pricing-head h1 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 14px; letter-spacing: -.02em; }
.billing-toggle { display: inline-flex; gap: 4px; margin: 18px auto 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.billing-toggle button { padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 650; cursor: pointer; }
.billing-toggle button.active { background: var(--accent); color: #fff; }
.save-badge { margin-left: 6px; font-size: 11px; background: rgba(31,157,87,.14); color: var(--good); padding: 2px 8px; border-radius: 999px; font-weight: 800; }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 800px; margin: 36px auto 0; }
.plan { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 60px rgba(29,127,192,.16); position: relative; }
.plan-tag { position: absolute; top: -12px; left: 32px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; }
.plan h2 { font-size: 22px; margin: 0 0 4px; text-align: left; }
.plan .price { font-size: 46px; font-weight: 800; letter-spacing: -.02em; margin: 12px 0 2px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .price-sub { color: var(--muted); font-size: 13px; min-height: 18px; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.plan li { color: var(--ink-soft); font-size: 15px; padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan li.off { color: var(--faint); } .plan li.off::before { content: "—"; color: var(--faint); }
.plan .btn-primary, .plan .btn-ghost { width: 100%; text-align: center; margin-top: auto; box-sizing: border-box; }
.email-row { margin: 0 0 14px; }
.email-row input { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.pay-status { min-height: 22px; margin-top: 12px; color: var(--accent-ink); font-size: 14px; text-align: center; }
.checkout-note { max-width: 800px; margin: 22px auto 0; color: var(--faint); font-size: 13px; text-align: center; }

/* ---- Legal/doc pages ---- */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 40px; }
.doc h1 { font-size: clamp(30px, 4.5vw, 46px); letter-spacing: -.02em; margin: 0 0 6px; }
.doc .updated { color: var(--faint); font-size: 13px; margin: 0 0 30px; }
.doc h2 { font-size: 21px; margin: 32px 0 10px; letter-spacing: -.01em; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .callout { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 18px 0; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; background: var(--bg-soft); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 40px 24px; display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.footer .col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin: 0 0 12px; }
.footer .col a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; margin: 7px 0; }
.footer .col a:hover { color: var(--accent-ink); }
.footer .brand-col { max-width: 280px; }
.footer .brand-col p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.footer-legal { max-width: 1100px; margin: 0 auto; padding: 18px 24px 36px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 760px) {
  .grid-3, .grid-2, .plans { grid-template-columns: 1fr; }
  .nav-links a:not(.btn-primary):not(.btn-ghost) { display: none; }
}
