/* Embedded quote pages: the chooser (index.html) and one page per quote form.
   Same palette and type as the manual quote form draft (pc-quote-draft/quote.css). */
:root {
  --bg: #F4F1EB; --surface: #E6E2D8; --ink: #121536; --muted: #565770; --line: #E6E2D8;
  --ctl: #787887; --field: #FBFAF7; --gold: #B38B3E; --btn: #121536; --btn-ink: #F4F1EB;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --serif: "Source Serif 4", Georgia, serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121536; --surface: #1F2241; --ink: #F4F1EB; --muted: #B3B1B8; --line: #323450;
    --field: #1A1D40; --btn: #F4F1EB; --btn-ink: #121536; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121536; --surface: #1F2241; --ink: #F4F1EB; --muted: #B3B1B8; --line: #323450;
  --field: #1A1D40; --btn: #F4F1EB; --btn-ink: #121536; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ui); font-size: 15px; line-height: 1.4; padding-inline: clamp(1rem, 2vw, 1.5rem); padding-block: 0 2rem; overflow-x: hidden; }
.wrap { max-width: 68rem; margin-inline: auto; }
a { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-block: .6rem; border-bottom: 1px solid var(--line); }
.mark { display: flex; align-items: center; gap: .85rem; min-width: 0; text-decoration: none; color: inherit; }
.mark .wm { font-family: var(--display); font-weight: 500; font-size: 1.6rem; letter-spacing: .01em; line-height: 1; }
.mark .wm i { font-style: normal; color: var(--gold); }
.mark .rule { width: 1px; align-self: stretch; background: var(--gold); min-height: 1.6rem; }
.mark .sub { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; white-space: nowrap; }
.secure { font-size: .8rem; color: var(--muted); text-align: right; }
@media (max-width: 34rem) { .secure { display: none; } }

h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 4.5vw, 2rem); line-height: 1.1; margin: 1.2rem 0 .5rem; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; margin: 1.4rem 0 .4rem; padding-top: .9rem; border-top: 1px solid var(--line); }
h2.first { border-top: 0; padding-top: 0; margin-top: .8rem; }
.lede { font-family: var(--serif); font-size: 1rem; line-height: 1.45; margin: 0 0 .9rem; max-width: 40rem; }
.help { font-size: .85rem; color: var(--muted); margin: .4rem 0 0; }

/* Choice cards: each one is a link to its own quote page (or, for life, to the partner site). */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .8rem; margin-top: .6rem; }
.choice { display: flex; flex-direction: column; gap: .3rem; border: 1.5px solid var(--ctl); border-radius: 4px; background: var(--field); padding: .9rem 1rem; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.choice:hover { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.choice b { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.choice small { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.choice .go { margin-top: auto; padding-top: .5rem; font-weight: 600; font-size: .85rem; }
.choice.feat { border-color: var(--ink); }
.choice .tag { align-self: flex-start; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; background: var(--gold); color: #121536; padding: .15rem .5rem; border-radius: 999px; }

/* Quote form pages */
.back { display: inline-block; margin-top: .9rem; font-weight: 600; font-size: .9rem; }
.frame { margin-top: .8rem; border: 1px solid var(--line); background: #fff; }
.frame iframe { display: block; width: 100%; border: 0; }
.alt { font-size: .85rem; color: var(--muted); margin: .5rem 0 0; }

.fine { font-size: .8rem; color: var(--muted); margin-top: 1.6rem; padding-top: .8rem; border-top: 1px solid var(--line); }
