/* Rubicon Prep — modern pass. Same palette (ivory/navy/crimson), same copy.
   New: oversized display type, blocky cards with real shadows, full-bleed
   color bands, chunky buttons, authored SVG art. Zero external requests. */

:root {
  --ivory: #f7f3ea;
  --paper: #fffdf7;
  --navy: #14213d;
  --navy-2: #1d2d52;
  --navy-soft: #3a4a6b;
  --crimson: #a4161a;
  --crimson-dark: #851215;
  --crimson-tint: rgba(164, 22, 26, 0.07);
  --navy-tint: rgba(20, 33, 61, 0.05);
  --line: #e7e0cf;
  --shadow-sm: 0 2px 10px rgba(20, 33, 61, 0.07);
  --shadow-md: 0 10px 30px rgba(20, 33, 61, 0.12);
  --shadow-lg: 0 22px 60px rgba(20, 33, 61, 0.16);
  --r: 18px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: var(--crimson); }
::selection { background: var(--crimson); color: #fff; }

/* ── Header ── */
.site-head {
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 16px; padding-bottom: 16px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--serif); font-weight: 700; font-size: 23px;
  color: var(--navy); text-decoration: none; line-height: 1;
}
.wordmark::before {
  content: "";
  width: 34px; height: 34px; border-radius: 10px;
  background:
    linear-gradient(135deg, transparent 46%, var(--ivory) 46%, var(--ivory) 54%, transparent 54%),
    var(--crimson);
  box-shadow: var(--shadow-sm);
}
.wordmark small {
  display: block; font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.3em; color: var(--crimson); text-transform: uppercase; font-weight: 800;
}
.site-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.site-nav a {
  color: var(--navy); text-decoration: none; font-size: 14.5px; font-weight: 700;
  padding: 9px 14px; border-radius: 999px; transition: background 0.15s;
}
.site-nav a:hover { background: var(--navy-tint); }
.btn {
  display: inline-block; background: var(--crimson); color: #fff !important;
  font-weight: 800; text-decoration: none; border-radius: 12px;
  padding: 13px 26px; font-size: 15.5px; border: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(164, 22, 26, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}
.btn:hover { background: var(--crimson-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(164, 22, 26, 0.4); }
.site-nav .btn { padding: 11px 20px; border-radius: 999px; }
.btn-ghost {
  display: inline-block; color: var(--navy) !important; border: 2px solid var(--navy);
  border-radius: 12px; padding: 11px 24px; font-weight: 800; text-decoration: none; font-size: 15.5px;
  transition: all 0.15s ease;
}
.btn-ghost:hover { background: var(--navy); color: var(--ivory) !important; transform: translateY(-2px); }

/* ── Hero ── */
.hero { padding: 84px 0 56px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  text-align: left; margin-bottom: 44px;
}
.hero h1 {
  font-family: var(--serif); font-size: 62px; line-height: 1.04;
  letter-spacing: -0.022em; margin: 0 0 20px;
}
.hero h1 em { font-style: normal; color: var(--crimson); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: var(--crimson-tint); z-index: -1; border-radius: 4px;
}
.hero .sub { font-size: 19.5px; color: var(--navy-soft); max-width: 54ch; margin: 0 0 30px; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 420px; height: auto; filter: drop-shadow(0 18px 40px rgba(20, 33, 61, 0.14)); }

/* Finder — the conversion centerpiece: a raised card */
.finder {
  max-width: 640px; margin: 0; position: relative;
  background: var(--paper); border-radius: var(--r);
  box-shadow: var(--shadow-md); padding: 10px;
  border: 1px solid var(--line);
}
.finder input {
  width: 100%; font-size: 18.5px; font-family: var(--sans);
  padding: 16px 18px; border: none; border-radius: 12px;
  background: transparent; color: var(--navy); outline: none;
}
.finder input::placeholder { color: #9aa3b5; }
.finder:focus-within { box-shadow: var(--shadow-md), 0 0 0 3px var(--crimson-tint), 0 0 0 2px var(--crimson); }
.finder-hint { font-size: 13.5px; color: var(--navy-soft); margin: 10px 2px 0; }

/* Market doors — chunky blocks */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 8px; }
.door {
  position: relative;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 24px 22px; text-align: left;
  text-decoration: none; color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}
.door::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--crimson); border-radius: var(--r) var(--r) 0 0;
}
.door:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.door .icon {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy); color: var(--ivory); font-size: 24px;
  margin-bottom: 14px;
}
.door h2, .door h3 { font-family: var(--serif); font-size: 22.5px; margin: 0 0 8px; letter-spacing: -0.01em; }
.door p { font-size: 14.5px; color: var(--navy-soft); }
.door .count {
  display: inline-block; margin-top: 14px;
  font-size: 12.5px; font-weight: 800; color: var(--crimson);
  letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--crimson-tint); padding: 6px 12px; border-radius: 999px;
}

/* ── Trust band — full-bleed navy ── */
.trust { background: var(--navy); color: #fff; }
.trust .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding-top: 30px; padding-bottom: 30px;
}
.trust span {
  font-size: 14.5px; font-weight: 700; color: #e7ebf4;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; line-height: 1.45;
}
.trust b { color: #fff; }

/* ── Sections ── */
section.block { padding: 76px 0 12px; }
.block h2.title { font-family: var(--serif); font-size: 42px; letter-spacing: -0.018em; margin-bottom: 10px; }
.block p.lead { color: var(--navy-soft); font-size: 18px; max-width: 62ch; margin-bottom: 32px; }
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--crimson); background: var(--crimson-tint);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* Exam grid — lifted blocks with accent rail */
.market-group { margin-bottom: 44px; }
.market-group h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 6px; letter-spacing: -0.01em; }
.market-group .mkt-blurb { font-size: 15px; color: var(--navy-soft); margin-bottom: 18px; }
.exam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.exam-card {
  position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 18px 16px 22px; text-decoration: none; color: var(--navy); display: block;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  overflow: hidden;
}
.exam-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--line); transition: background 0.16s;
}
.exam-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.exam-card:hover::before { background: var(--crimson); }
.exam-card b { font-family: var(--serif); font-size: 18.5px; display: block; margin-bottom: 3px; }
.exam-card span {
  font-size: 12px; color: var(--navy-soft); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.no-match { display: none; color: var(--navy-soft); font-size: 15px; padding: 14px 2px; }

/* How it works — blocky numbered cards */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.step {
  position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 20px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.step .n {
  position: absolute; right: -6px; top: -18px;
  font-family: var(--serif); font-size: 110px; font-weight: 700;
  color: var(--navy-tint); line-height: 1; user-select: none;
}
.step h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; position: relative; }
.step p { font-size: 14.5px; color: var(--navy-soft); position: relative; }

/* ── Guarantee + price — full-bleed bands ── */
.band-crimson { background: var(--crimson); color: #fff; }
.band-crimson .wrap { padding-top: 56px; padding-bottom: 56px; }
.guarantee { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.guarantee .shield {
  font-size: 40px; background: rgba(255, 255, 255, 0.14);
  width: 84px; height: 84px; border-radius: 22px;
  display: grid; place-items: center; flex-shrink: 0;
}
.guarantee h3 { font-family: var(--serif); font-size: 30px; margin-bottom: 8px; letter-spacing: -0.01em; }
.guarantee p { font-size: 16.5px; color: #f6dcdc; max-width: 66ch; }

.price-card {
  background: var(--navy); color: #fff; border-radius: 24px;
  padding: 40px 44px; margin: 26px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.price-card .amount { font-family: var(--serif); font-size: 58px; font-weight: 700; line-height: 1; }
.price-card .amount small { font-size: 18px; font-family: var(--sans); font-weight: 700; color: #aab6d0; }
.price-card .per { color: #c3cde2; font-size: 15.5px; max-width: 44ch; }
.price-card .strike { color: #8fa0c0; text-decoration: line-through; margin-right: 8px; }
.price-card .btn { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }

/* FAQ — chunky accordions */
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s;
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: var(--crimson); }
.faq summary { font-weight: 800; cursor: pointer; font-size: 16px; list-style: none; position: relative; padding-right: 34px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 8px; background: var(--crimson-tint);
  color: var(--crimson); font-weight: 800; font-size: 18px;
  display: grid; place-items: center; transition: transform 0.15s;
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; font-size: 15.5px; color: var(--navy-soft); }

/* ── Exam page ── */
.crumbs { font-size: 13.5px; color: var(--navy-soft); padding: 22px 0 0; }
.crumbs a { color: var(--navy-soft); }
.exam-hero { padding: 30px 0 14px; }
.exam-hero .tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--crimson); background: var(--crimson-tint);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 12px;
}
.exam-hero h1 { font-family: var(--serif); font-size: 50px; line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 8px; }
.exam-hero .full { color: var(--navy-soft); font-size: 16.5px; margin-bottom: 16px; }
.exam-hero .blurb { max-width: 66ch; margin-bottom: 20px; font-size: 17.5px; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; padding: 26px 0; }
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.panel h2 { font-family: var(--serif); font-size: 23px; margin-bottom: 12px; }
.panel ul { padding-left: 20px; }
.panel li { margin-bottom: 8px; font-size: 15.5px; }
.angle {
  border-left: 6px solid var(--crimson); background: var(--paper);
  padding: 18px 22px; border-radius: 0 14px 14px 0; margin: 8px 0 22px;
  font-size: 16.5px; box-shadow: var(--shadow-sm);
}
.includes li b { color: var(--navy); }
.related { padding: 8px 0 40px; }
.related h2 { font-family: var(--serif); font-size: 23px; margin-bottom: 14px; }

/* ── Footer ── */
.site-foot { background: var(--navy); color: #c9d2e4; margin-top: 72px; }
.site-foot .wrap { padding-top: 48px; padding-bottom: 44px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.site-foot h4 { color: #fff; font-family: var(--serif); font-size: 17px; margin-bottom: 12px; }
.site-foot a {
  color: #c9d2e4; text-decoration: none; font-size: 13.5px;
  display: block; margin-bottom: 7px; transition: color 0.12s;
}
.site-foot a:hover { color: #fff; }
.foot-legal { border-top: 1px solid #2c3a5c; padding-top: 20px; font-size: 12.5px; color: #8fa0c0; line-height: 1.7; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .site-head .wrap { flex-direction: column; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .site-nav { justify-content: center; gap: 2px; }
  .site-nav a { padding: 7px 11px; font-size: 13.5px; }
  .hero { padding: 48px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .hero h1 { font-size: 40px; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 240px; }
  .finder { margin: 0 auto; }
  .doors, .steps { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .block h2.title { font-size: 32px; }
  .exam-hero h1 { font-size: 36px; }
  .price-card { padding: 30px 26px; }
}
