/* Vehicle Lookup by Reg (vehiclelookupbyreg.co.uk): clean and bright, "everything in one report".
   White pages, deep teal with a soft mint tint, rounded corners, Plus Jakarta Sans; a white front plate with a teal band.
   Loaded after /assets/style.css: the first part re-colours the shared pages through the main sheet's variables and
   classes (car page, price page, payment, report, forms), the second part is this site's own pages (classes fr-…). */

:root {
  --ink: #0f2b29;
  --ink-2: #134e4a;
  --plate: #ccfbf1;
  --gb: #0f766e;
  --paper: #f3f9f8;
  --line: #dce9e6;
  --muted: #4d6460;
  --good: #0f766e;
  --bad: #c73a2f;
  --warn: #b45309;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --teal: #0f766e;
  --teal-d: #115e59;
  --teal-dd: #134e4a;
  --mint: #f0fdfa;
  --mint-2: #ccfbf1;
  --mint-3: #99f6e4;
  --mint-4: #5eead4;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 43, 41, .05), 0 8px 24px rgba(15, 118, 110, .07);
  --shadow-lg: 0 2px 4px rgba(15, 43, 41, .04), 0 24px 60px rgba(15, 118, 110, .16);
}

body { background: #fff; color: var(--ink); font-family: var(--sans); }
::selection { background: var(--mint-2); }
:focus-visible { outline: 3px solid var(--mint-4); outline-offset: 2px; }

/* ---------- Shared pages, restyled ---------- */

.h1 { font-size: 2rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.narrow { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.link { color: var(--teal); }
.link.u, .prose a { color: var(--teal); text-underline-offset: 3px; }
.prose { color: var(--muted); }
.prose h2 { font-weight: 800; letter-spacing: -.01em; }

/* Buttons and fields */
.btn { border-radius: 12px; font-weight: 700; transition: background-color .15s, box-shadow .15s; }
.btn:hover { filter: none; }
.btn-good, .btn-dark { background: var(--teal); color: #fff; }
.btn-good:hover, .btn-dark:hover { background: var(--teal-d); }
.btn-ink { background: var(--teal-dd); color: #fff; }
.btn-ink:hover { background: var(--ink); }
.btn-outline { background: #fff; color: var(--teal); border: 2px solid var(--teal); }
.btn-more { background: var(--mint-2); color: var(--teal-dd); }
.btn-more:hover { background: var(--mint-3); }
.input { border: 2px solid var(--line); border-radius: 12px; padding: .8rem .9rem; }
.input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(94, 234, 212, .35); }
.input.plate { background: #fff; border: 2px solid var(--teal); font-family: var(--mono); }

/* The registration box everywhere: a white front plate, a teal band with "UK" (no flag). */
.plate-box { background: #fff; border: 2px solid var(--teal); border-radius: 12px; }
.plate-box .gb { background: var(--teal); justify-content: center; padding-bottom: 0; font-weight: 800; letter-spacing: .04em; }
.plate-box .gb .flag, .plate-box .gb img { display: none; }
.plate-box input { font-family: var(--mono); font-weight: 800; color: var(--ink); }
.plate-box input::placeholder { color: rgba(15, 118, 110, .35); }
.plate-box:focus-within { box-shadow: 0 0 0 4px rgba(94, 234, 212, .35); }
.order-form .input { border: 2px solid var(--line); }
.order-form .sold { color: var(--ink); }
.order-form .xs { color: var(--muted); }
.tag-plate { background: #fff; border: 1.5px solid var(--teal); border-radius: 6px; font-family: var(--mono); }
.plate-font { font-family: var(--mono); font-weight: 800; }

/* Notices, badges, banners */
.notice { border-radius: 12px; }
.notice.good { background: var(--mint); color: var(--teal-dd); }
.banner { background: var(--mint-2); color: var(--teal-dd); font-weight: 700; }
.badge.good { background: var(--mint-2); color: var(--teal-dd); }
.badge.lock { background: #eef4f3; color: var(--ink); }
.list { border-radius: 16px; border-color: var(--line); }

/* Questions and answers */
.faq { border-radius: 18px; border-color: var(--line); box-shadow: var(--shadow); overflow: hidden; }
.faq details { padding: 1.1rem 1.25rem; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 700; color: var(--ink); }
.faq summary::after { content: "+"; float: none; flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--mint); color: var(--teal); font-weight: 800; }
.faq details[open] summary::after { content: "–"; background: var(--mint-2); }
.faq p { font-size: .95rem; line-height: 1.6; }

/* Cards and rows of the car page, the report and the sample */
.card { border-radius: 18px; border-color: var(--line); box-shadow: var(--shadow); }
.card-head { border-bottom: 2px solid var(--mint-2); align-items: center; }
.card-head h2 { background: none; color: var(--ink); padding: 0 0 .6rem; border-radius: 0; font-size: 1.08rem; font-weight: 800; display: flex; align-items: center; gap: .55rem; }
.card-head h2::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--mint-2); }
.field { border-bottom-color: #e7f0ee; }
.field:nth-child(odd) { background: var(--mint); }
.mot-test .field:nth-child(even), .regs li:nth-child(odd) { background: var(--mint); }
.mot-test .bar { background: var(--teal-dd); border-radius: 10px 10px 0 0; }
.note, .chart-box { background: var(--mint); }
.stat { background: var(--mint); border-radius: 12px; }
.bars i { background: rgba(15, 118, 110, .75); }
.rate { border-radius: 6px; }
.summary { background: radial-gradient(circle at 92% 0, rgba(94, 234, 212, .35) 0, rgba(94, 234, 212, 0) 42%), linear-gradient(135deg, var(--teal) 0%, var(--teal-dd) 100%); border-radius: 22px; box-shadow: var(--shadow-lg); }
.summary .reg { background: #fff; color: var(--ink); border: 0; border-left: .7rem solid var(--mint-4); border-radius: 10px; font-family: var(--mono); font-weight: 800; letter-spacing: .06em; }
.summary .premium-tag { background: var(--mint-2); color: var(--teal-dd); }
.summary .tool { background: rgba(255, 255, 255, .16); }
.status div { background: rgba(255, 255, 255, .12); border-radius: 12px; }
.status .l { color: rgba(255, 255, 255, .72); }
.status .v.alert { color: #fecaca; }
.offer { background: var(--mint); border: 1.5px solid var(--mint-3); border-radius: 18px; color: var(--ink); }
.cta { border: 2px solid var(--mint-3); border-radius: 18px; }
.cta-dark { background: var(--teal-dd); border-radius: 18px; }
.buyer-note { border-color: var(--teal); border-radius: 16px; }
.bigstatus > div { border-radius: 14px; }
.bigstatus .neutral { background: #5d716d; }
.checks li { border-radius: 10px; }
.checks li.ok { background: var(--mint); color: var(--teal-dd); }

/* Price page (/report?registration=…): light and bright instead of a dark band. */
.packs-page { background: linear-gradient(180deg, var(--mint) 0, #fff 22rem); color: var(--ink); }
.packs-page .back { background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; }
.packs-head .reg { background: #fff; color: var(--ink); border: 2px solid var(--teal); border-left-width: .7rem; border-radius: 10px; font-family: var(--mono); font-weight: 800; letter-spacing: .06em; }
.packs-head h1 { font-size: 2rem; letter-spacing: -.02em; }
.packs-head p, .send-to { color: var(--muted); }
.send-to b { color: var(--ink); }
.packs-offer { background: var(--mint-2); border-radius: 12px; }
.pack { border: 1.5px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.pack.popular { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); }
.pack .ribbon { background: var(--teal); color: #fff; letter-spacing: .02em; }
.pack .discount { background: #eef4f3; border-radius: 999px; }
.pack .discount.on { background: var(--mint-2); }
.pack .label { border-bottom-color: var(--mint-3); }
.pack .label span { background: var(--teal-dd); border-radius: 6px 6px 0 0; }
.feat li.yes::before { color: var(--teal); }
.assure { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; color: var(--muted); box-shadow: var(--shadow); }
.assure b { color: var(--teal-dd); }

/* The email question (popup or page) and the payment page */
.popup { border-radius: 22px; }
.popup::backdrop { background: rgba(15, 43, 41, .6); }
.email-form .chosen { background: var(--mint-2); color: var(--teal-dd); }
.email-form .input { border-color: var(--line); }
.email-form .input:focus { border-color: var(--teal); }
.method { border-radius: 14px; }
.method.by-card.on { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(94, 234, 212, .3); }
.card-field { border-radius: 12px; }
.card-field.StripeElement--focus { border-color: var(--teal); }
.pay-offer { background: var(--mint-2); border-radius: 12px; }
.promise li::before { background: var(--teal); }
.pay-safe svg { color: var(--teal); }

/* The "before you go" box */
.exit-offer { background: rgba(15, 43, 41, .55); }
.exit-card { border-radius: 22px; }
.exit-tag { background: var(--mint-2); color: var(--teal-dd) !important; }

/* "Did you mean …?" under an email field */
.email-fix, .tool-hero p.email-fix, .hero p.email-fix { background: #fef9c3; color: var(--ink); border-radius: 10px; }

/* The page's question answered first, and the date it was reviewed */
.check-answer { margin: 0; border-left: 4px solid var(--teal); border-radius: 0 16px 16px 0; background: var(--mint); padding: 1rem 1.25rem; color: var(--ink); font-size: 1.06rem; line-height: 1.65; }
.check-answer a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.fr-answer-band p.meta, .fr-article p.meta { margin: .75rem 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Vehicle Lookup by Reg's own frame and pages ---------- */

.wrap.fr-narrow { max-width: 46rem; }
.fr-skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--teal); color: #fff; padding: .6rem 1rem; border-radius: 0 0 10px 0; }
.fr-skip:focus { left: 0; }

/* Header */
.fr-head { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.fr-head-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; padding-top: .7rem; padding-bottom: .7rem; }
.fr-logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.fr-logo .mark { display: block; width: auto; height: 2.1rem; }
.fr-nav { display: flex; gap: .25rem; font-size: .9rem; font-weight: 600; overflow-x: auto; scrollbar-width: none; }
.fr-nav::-webkit-scrollbar { display: none; }
.fr-nav a { padding: .4rem .7rem; border-radius: 999px; color: var(--muted); white-space: nowrap; }
.fr-nav a:hover { color: var(--teal); background: var(--mint); }
.fr-nav a[aria-current="page"] { color: var(--teal-dd); background: var(--mint-2); }
.fr-head-end { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.fr-pill { background: var(--teal); color: #fff; padding: .5rem .95rem; border-radius: 999px; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.fr-pill:hover { background: var(--teal-d); }
.fr-head-reg { display: none; }
@media (min-width: 1180px) {
  .fr-head-reg { display: flex; align-items: center; border: 2px solid var(--teal); border-radius: 999px; overflow: hidden; background: #fff; }
  .fr-head-reg input { width: 7.5rem; border: 0; outline: 0; background: transparent; padding: .35rem .2rem .35rem .9rem; font-family: var(--mono); font-weight: 800; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
  .fr-head-reg input::placeholder { color: rgba(15, 118, 110, .4); }
  .fr-head-reg button { background: var(--mint-2); color: var(--teal-dd); font-size: .8rem; font-weight: 800; padding: .5rem .8rem; }
  .fr-head-reg button:hover { background: var(--mint-3); }
}
@media (max-width: 860px) {
  .fr-head { position: static; }
  .fr-head-row { gap: .5rem .75rem; }
  .fr-nav { order: 3; width: 100%; margin: 0 -.7rem; padding: 0 .7rem; width: calc(100% + 1.4rem); }
  .fr-nav a { padding: .35rem .65rem; font-size: .84rem; }
  .fr-logo { font-size: 1.08rem; }
  .fr-logo .mark { height: 1.9rem; }
}
/* The name is long ("Vehicle Lookup by Reg"): keep it and "My orders" on one line down to 360 px. */
@media (max-width: 400px) {
  .fr-head-row { gap: .5rem .5rem; }
  .fr-logo { font-size: .98rem; gap: .45rem; }
  .fr-logo .mark { height: 1.7rem; }
  .fr-head .fr-pill { padding: .45rem .75rem; font-size: .82rem; }
}

/* Footer */
.fr-foot { margin-top: 4rem; background: var(--mint); border-top: 1px solid var(--line); color: var(--muted); }
main:has(> .fr-last:last-of-type) + .fr-foot, main:has(.packs-page) + .fr-foot { margin-top: 0; }
.fr-foot-grid { display: grid; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
@media (min-width: 720px) { .fr-foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.fr-foot-brand p { margin-top: .9rem; max-width: 26rem; font-size: .9rem; line-height: 1.6; }
.fr-foot-title { margin: 0 0 .8rem; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dd); }
.fr-foot-links { display: grid; gap: .5rem; font-size: .9rem; }
.fr-foot-links a:hover { color: var(--teal); text-decoration: underline; }
.fr-legal { border-top: 1px solid var(--line); padding-top: 1.1rem; padding-bottom: 1.5rem; display: grid; gap: .3rem; font-size: .78rem; }

/* Breadcrumb */
.fr-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: 1.1rem; font-size: .84rem; color: var(--muted); }
.fr-crumbs a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* Hero: headline and form on the left, the example report on the right */
.fr-hero { position: relative; overflow: hidden; padding: 2.5rem 0 3rem; background: radial-gradient(60rem 30rem at 100% 0, var(--mint-2) 0, rgba(204, 251, 241, 0) 60%), radial-gradient(40rem 22rem at 0 100%, var(--mint) 0, rgba(240, 253, 250, 0) 70%), #fff; }
.fr-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) {
  .fr-hero { padding: 4rem 0 4.5rem; }
  .fr-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
}
.fr-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: .35rem .8rem; border-radius: 999px; background: var(--mint-2); color: var(--teal-dd); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fr-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--teal); }
.fr-hero h1 { font-size: 2.35rem; line-height: 1.08; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
@media (min-width: 640px) { .fr-hero h1 { font-size: 3.4rem; } }
.fr-lead { margin-top: 1rem; max-width: 36rem; font-size: 1.1rem; line-height: 1.6; color: var(--muted); }
.fr-form-card { margin-top: 1.75rem; max-width: 36rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem; box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .fr-form-card { padding: 1.4rem; } }
.fr-hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.fr-hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.fr-hero-points li::before, .fr-preview-rows li.ok b::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* The forms: plate, email, one button */
.fr-order { display: grid; gap: .7rem; }
.fr-plate { display: flex; min-width: 0; overflow: hidden; border: 2px solid var(--teal); border-radius: 14px; background: #fff; transition: box-shadow .15s; }
.fr-plate:focus-within { box-shadow: 0 0 0 4px rgba(94, 234, 212, .4); }
.fr-plate-band { flex: none; display: grid; place-items: center; width: 2.75rem; background: var(--teal); color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .05em; }
.fr-plate input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: .7rem .5rem; text-align: center; font-family: var(--mono); font-weight: 800; font-size: 1.85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.fr-plate input::placeholder { color: rgba(15, 118, 110, .32); }
@media (min-width: 640px) { .fr-plate input { font-size: 2.15rem; } }
.fr-input { width: 100%; border: 2px solid var(--line); border-radius: 14px; background: #fff; padding: .9rem 1rem; font-size: 1.02rem; color: var(--ink); }
.fr-input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(94, 234, 212, .35); }
.fr-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 14px; background: var(--teal); color: #fff; padding: .9rem 1.4rem; font-weight: 700; transition: background-color .15s, transform .15s; }
.fr-btn:hover { background: var(--teal-d); }
.fr-btn:active { transform: translateY(1px); }
.fr-btn-lg { font-size: 1.06rem; padding: 1rem 1.5rem; }
.fr-error { margin: 0; border-radius: 10px; background: #fdecea; color: #a1281f; padding: .6rem .8rem; font-size: .9rem; font-weight: 600; }
.fr-offer { margin: 0; font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.fr-fine { margin: 0; font-size: .76rem; line-height: 1.5; color: var(--muted); }
.fr-fine a { text-decoration: underline; }
@media (min-width: 640px) {
  .fr-order:not(.fr-lookup) { grid-template-columns: 1fr auto; }
  .fr-order:not(.fr-lookup) > :not(.fr-input):not(.fr-btn) { grid-column: 1 / -1; }
}

/* The example report beside the hero form */
.fr-preview { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 1.25rem; box-shadow: var(--shadow-lg); }
.fr-preview::before { content: ""; position: absolute; z-index: -1; inset: 1.5rem -1rem -1rem 1.5rem; border-radius: 30px; background: linear-gradient(135deg, var(--mint-3), var(--mint-2)); }
@media (min-width: 960px) { .fr-preview { padding: 1.6rem; } }
.fr-preview-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.fr-tag { border-radius: 999px; background: #fef3c7; color: #92400e; padding: .25rem .7rem; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.fr-preview-note { font-size: .78rem; font-weight: 600; color: var(--muted); }
.fr-preview-car { display: flex; align-items: center; gap: .9rem; margin-top: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.fr-preview-plate { display: inline-flex; align-items: stretch; flex: none; overflow: hidden; border: 2px solid var(--teal); border-radius: 9px; font-family: var(--mono); font-weight: 800; font-size: 1.05rem; letter-spacing: .1em; color: var(--ink); }
.fr-preview-plate i { display: grid; place-items: center; margin-right: .5rem; padding: 0 .35rem; background: var(--teal); color: #fff; font-family: var(--sans); font-size: .62rem; font-style: normal; letter-spacing: .04em; }
.fr-preview-plate { padding-right: .6rem; line-height: 2.1rem; }
.fr-preview-car b { display: block; font-size: 1.05rem; line-height: 1.3; }
.fr-preview-car small { color: var(--muted); font-size: .84rem; }
.fr-preview-rows { margin-top: .4rem; }
.fr-preview-rows li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .62rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.fr-preview-rows li span { color: var(--muted); }
.fr-preview-rows li b { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-align: right; }
.fr-preview-rows li.ok b { color: var(--teal-dd); }
.fr-preview-bar { margin-top: 1rem; height: .45rem; border-radius: 999px; background: var(--mint); overflow: hidden; }
.fr-preview-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint-4), var(--teal)); }
.fr-preview-link { display: inline-block; margin-top: 1rem; color: var(--teal); font-weight: 700; }
.fr-preview-link:hover { text-decoration: underline; }

/* The answer under the hero */
.fr-answer-band { padding: 2rem 0 0; }

/* Sections */
.fr-sec { padding: 3.25rem 0; }
@media (min-width: 768px) { .fr-sec { padding: 4.5rem 0; } }
.fr-sec-tight { padding: 2.75rem 0; }
.fr-tint { background: var(--mint); border-top: 1px solid #e3f3ef; border-bottom: 1px solid #e3f3ef; }
.fr-sec-head { max-width: 44rem; margin: 0 auto 2rem; text-align: center; }
.fr-sec-head h2 { font-size: 1.7rem; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
@media (min-width: 640px) { .fr-sec-head h2 { font-size: 2.25rem; } }
.fr-sec-head p { margin-top: .75rem; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
.fr-kicker { margin-bottom: .5rem !important; color: var(--teal) !important; font-size: .78rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fr-center-note { margin-top: 1.75rem; text-align: center; color: var(--muted); }
.fr-center-note a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* What a vehicle lookup by reg covers */
.fr-cover { display: grid; gap: 1rem; }
@media (min-width: 560px) { .fr-cover { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px) { .fr-cover { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fr-cover { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fr-cover-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; transition: border-color .15s, box-shadow .15s; }
.fr-cover-item:hover { border-color: var(--mint-3); box-shadow: var(--shadow); }
.fr-cover-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; margin-bottom: .9rem; }
.fr-ico { flex: none; width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 12px; background: var(--mint); color: var(--teal); }
.fr-cover-item h3 { font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.fr-cover-item p { margin-top: .3rem; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.fr-level { border-radius: 999px; padding: .2rem .6rem; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.fr-level.free { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.fr-level.basic { background: var(--mint-2); color: var(--teal-dd); }
.fr-level.premium { background: var(--teal); color: #fff; }

/* How it works */
.fr-steps { display: grid; gap: 1rem; counter-reset: none; }
@media (min-width: 760px) { .fr-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.fr-steps li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; }
.fr-step-num { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; border-radius: 12px; background: var(--teal); color: #fff; font-weight: 800; font-size: 1.1rem; }
.fr-steps h3 { font-size: 1.1rem; font-weight: 800; }
.fr-steps p { margin-top: .35rem; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* Basic against Premium */
.fr-compare { max-width: 46rem; margin: 0 auto; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.fr-compare table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fr-compare th, .fr-compare td { padding: .8rem 1rem; text-align: center; }
.fr-compare thead th { padding-top: 1.2rem; padding-bottom: 1.2rem; vertical-align: bottom; font-size: .8rem; color: var(--muted); }
.fr-compare thead th:first-child { text-align: left; font-weight: 700; }
.fr-compare tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.fr-compare tbody tr { border-top: 1px solid #e7f0ee; }
.fr-compare .best { background: var(--mint); }
.fr-compare thead .best { background: var(--teal); color: #fff; }
.fr-plan { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fr-price { display: block; margin-top: .15rem; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.fr-compare thead .best .fr-price { color: #fff; }
.fr-yes, .fr-no { display: inline-block; width: 1.5rem; height: 1.5rem; font-size: 0; vertical-align: middle; border-radius: 50%; }
.fr-yes { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.fr-no { background: #eef3f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' fill='none' stroke='%237d918d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
@media (max-width: 420px) {
  .fr-compare th, .fr-compare td { padding: .7rem .55rem; }
  .fr-compare table { font-size: .86rem; }
  .fr-price { font-size: 1.3rem; }
}

/* The other pages, as cards */
.fr-more { display: grid; gap: 1rem; }
@media (min-width: 640px) { .fr-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fr-more { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }
.fr-more a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.15rem 1.25rem; transition: border-color .15s, transform .15s, box-shadow .15s; }
.fr-more a:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.fr-more b { display: flex; justify-content: space-between; gap: .5rem; color: var(--ink); font-size: 1.02rem; font-weight: 800; }
.fr-more b::after { content: "→"; color: var(--teal); }
.fr-more span { display: block; margin-top: .3rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* The last call: teal band, form on a white card */
.fr-last { background: radial-gradient(40rem 20rem at 100% 0, rgba(94, 234, 212, .3) 0, rgba(94, 234, 212, 0) 60%), linear-gradient(135deg, var(--teal) 0%, var(--teal-dd) 100%); color: #fff; padding: 3.25rem 0; }
.fr-last-inner { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 900px) { .fr-last-inner { grid-template-columns: 1fr 1.1fr; gap: 3rem; } }
.fr-last h2 { font-size: 1.75rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 640px) { .fr-last h2 { font-size: 2.2rem; } }
.fr-last-inner > div > p { margin-top: .6rem; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.fr-last .fr-order { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 1.1rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }

/* Inner pages: breadcrumb, smaller hero, the list beside the form, the article */
.fr-hero-page { padding-top: 1.5rem; }
@media (min-width: 960px) { .fr-hero-page { padding: 2.25rem 0 3.5rem; } }
.fr-hero-page h1 { font-size: 2.2rem; }
@media (min-width: 640px) { .fr-hero-page h1 { font-size: 2.9rem; } }
.fr-hero-plain { padding-bottom: 2rem; }
.fr-side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem; box-shadow: var(--shadow); }
.fr-side-title { margin-bottom: .6rem; color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.fr-side-card ul { display: grid; }
.fr-side-card li { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.fr-side-card li:last-child { border-bottom: 0; }
.fr-side-card .fr-ico { width: 2.2rem; height: 2.2rem; padding: .45rem; border-radius: 10px; }
.fr-side-card li b { display: block; font-size: .95rem; color: var(--ink); }
.fr-side-card li span { font-size: .86rem; line-height: 1.45; color: var(--muted); }
.fr-side-foot { margin-top: .6rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .84rem; line-height: 1.5; color: var(--muted); }
.fr-side-foot a { color: var(--teal); font-weight: 700; text-decoration: underline; }
.fr-article { padding-top: 2rem; padding-bottom: 3rem; color: var(--muted); }
.fr-article h2 { margin: 2.4rem 0 .7rem; font-size: 1.45rem; line-height: 1.25; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.fr-article p, .fr-article ul, .fr-article ol { margin-bottom: 1rem; font-size: 1.02rem; line-height: 1.7; }
.fr-article ul { list-style: none; padding-left: 0; display: grid; gap: .45rem; }
.fr-article ul li { position: relative; padding-left: 1.4rem; }
.fr-article ul li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--mint-2); }
.fr-article ol { list-style: none; padding-left: 0; display: grid; gap: .6rem; counter-reset: step; }
.fr-article ol li { position: relative; padding-left: 2.4rem; counter-increment: step; }
.fr-article ol li::before { content: counter(step); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 8px; background: var(--mint-2); color: var(--teal-dd); font-size: .85rem; font-weight: 800; }
.fr-article a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fr-article strong { color: var(--ink); }
.fr-article .faq { margin-top: 1rem; }

/* Print: only the report */
@media print {
  .fr-head, .fr-foot, .fr-skip { display: none !important; }
  .summary { box-shadow: none; }
}

/* The example report's mint backdrop sits above the hero's background. */
.fr-hero-grid { position: relative; z-index: 0; }

/* Phones: the cards of checks and steps stay short (icon beside the words). */
@media (max-width: 559px) {
  .fr-cover { gap: .7rem; }
  .fr-cover-item { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: .9rem; padding: 1rem; }
  .fr-cover-top { display: contents; }
  .fr-cover-top .fr-ico { grid-row: 1 / span 3; }
  .fr-cover-top .fr-level { justify-self: start; margin-bottom: .35rem; }
  .fr-steps li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: .9rem; padding: 1.1rem; }
  .fr-step-num { grid-row: 1 / span 2; margin-bottom: 0; }
}

/* Narrow phones: the report's columns never grow wider than the screen (this font is wider than the main sheet's). */
.layout { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 420px) {
  .stats.three { gap: .45rem; }
  .stat { padding: .6rem .35rem; }
  .stat b { font-size: 1.05rem; }
  .stat span { font-size: .7rem; }
}

/* ---------- Guides (/blog and /blog/<slug>) ---------- */
/* Picture cards: on /blog, the home page, the check pages and under a guide. */
.fr-guides { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .fr-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fr-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fr-guides a { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.fr-guides a:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.fr-guides img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--mint); border-bottom: 1px solid var(--line); }
.fr-guide-text { display: grid; gap: .4rem; padding: 1rem 1.15rem 1.2rem; }
.fr-guide-text small { color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.fr-guide-text h2, .fr-guide-text h3 { margin: 0; color: var(--ink); font-size: 1.08rem; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.fr-guide-text > span { color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* The index */
.fr-blog { padding-top: 2rem; padding-bottom: 3.5rem; }
.fr-blog .check-answer { max-width: 46rem; }
.fr-blog-group { margin-top: 2.5rem; }
.fr-blog-group > h2 { margin-bottom: 1rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -.015em; color: var(--ink); display: flex; align-items: center; gap: .6rem; }
.fr-blog-group > h2::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--mint-2); }
.fr-last-alt { margin-top: 1rem !important; font-size: .95rem !important; }
.fr-last-alt a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fr-hero-plain h1 { max-width: 44rem; }

/* A guide: its head, then the text with the contents beside it on wide screens */
.fr-post-head { padding: 1.5rem 0 1.75rem; background: radial-gradient(50rem 22rem at 100% 0, var(--mint-2) 0, rgba(204, 251, 241, 0) 60%), #fff; }
.fr-post-head h1 { max-width: 48rem; font-size: 2.05rem; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
@media (min-width: 640px) { .fr-post-head h1 { font-size: 2.75rem; } }
.fr-post-meta { margin-top: .9rem; font-size: .88rem; color: var(--muted); }
.fr-post-meta a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fr-post-grid { display: grid; gap: 2rem; padding-bottom: 3.5rem; }
@media (min-width: 1100px) { .fr-post-grid { grid-template-columns: minmax(0, 46rem) 17rem; justify-content: space-between; gap: 3rem; } }
.fr-post { min-width: 0; color: var(--muted); }
.fr-post h2 { margin: 2.4rem 0 .75rem; font-size: 1.45rem; line-height: 1.25; font-weight: 800; letter-spacing: -.015em; color: var(--ink); scroll-margin-top: 5rem; }
.fr-post p, .fr-post ul, .fr-post ol { margin-bottom: 1rem; font-size: 1.03rem; line-height: 1.72; }
.fr-post a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fr-post strong { color: var(--ink); }
.fr-post > ul { list-style: none; padding-left: 0; display: grid; gap: .5rem; }
.fr-post > ul li { position: relative; padding-left: 1.4rem; }
.fr-post > ul li::before { content: ""; position: absolute; left: .2rem; top: .64em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--mint-2); }
.fr-post > ol { list-style: none; padding-left: 0; display: grid; gap: .65rem; counter-reset: step; }
.fr-post > ol li { position: relative; padding-left: 2.4rem; counter-increment: step; }
.fr-post > ol li::before { content: counter(step); position: absolute; left: 0; top: .12em; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 8px; background: var(--teal); color: #fff; font-size: .85rem; font-weight: 800; line-height: 1; }
.fr-post .check-answer { margin-top: 1.75rem; }
.fr-post-hero { margin: 1.5rem 0; }
.fr-post-hero img, .fr-post-fig img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.fr-post-lead { color: var(--ink); }
.fr-post-fig { margin: 1.5rem 0; }
.fr-post-fig figcaption { margin-top: .6rem; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.fr-post-note { border-radius: 16px; background: #fffbeb; border: 1px solid #f5d68a; padding: 1rem 1.15rem; color: var(--ink); }
.fr-post-note b { display: block; margin-bottom: .2rem; color: var(--warn); font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; }
.fr-table { margin: 1.25rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.fr-table table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.5; }
.fr-table th, .fr-table td { padding: .7rem .9rem; text-align: left; vertical-align: top; border-top: 1px solid #e7f0ee; }
.fr-table thead th { border-top: 0; background: var(--teal); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .02em; }
.fr-table tbody th { color: var(--ink); font-weight: 700; }
.fr-table tbody tr:nth-child(even) { background: var(--mint); }
.fr-post .faq { margin-top: 1rem; }
.fr-post ul.fr-sources { list-style: none; padding-left: 0; display: grid; gap: .5rem; font-size: .95rem; }
.fr-sources li { position: relative; padding-left: 1.4rem; }
.fr-sources li::before { content: "↗"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 800; }
.fr-post .fr-post-small { margin-top: 2rem; font-size: .85rem; color: var(--muted); }

/* Contents: a folding box on phones, a sticky card beside the text on wide screens */
.fr-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; counter-reset: toc; }
.fr-toc li { counter-increment: toc; }
.fr-toc a { display: grid; grid-template-columns: 1.6rem 1fr; padding: .4rem .5rem; border-radius: 10px; color: var(--ink); font-size: .9rem; font-weight: 600; line-height: 1.4; text-decoration: none; }
.fr-toc a::before { content: counter(toc); color: var(--teal); font-weight: 800; }
.fr-toc a:hover { background: var(--mint); color: var(--teal-dd); }
.fr-post .fr-toc-inline { margin: 1.5rem 0 .5rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: .4rem .6rem; }
.fr-toc-inline summary { cursor: pointer; padding: .55rem .4rem; font-weight: 800; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
.fr-toc-inline summary::-webkit-details-marker { display: none; }
.fr-toc-inline summary::after { content: "+"; color: var(--teal); font-weight: 800; }
.fr-toc-inline[open] summary::after { content: "–"; }
.fr-post .fr-toc-inline ol { margin-bottom: .4rem; font-size: .9rem; }
.fr-post-side { display: none; }
@media (min-width: 1100px) {
  .fr-post .fr-toc-inline { display: none; }
  .fr-post-side { display: block; padding-top: 1.75rem; }
  .fr-post-side-inner { position: sticky; top: 5.5rem; }
  .fr-post-side .fr-toc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem .8rem; box-shadow: var(--shadow); }
  .fr-post-side .fr-side-title { padding: 0 .5rem; }
  .fr-post-side-btn { display: flex; width: 100%; margin-top: 1rem; }
}

/* The call to action inside a guide: teal card, form on white */
.fr-post-cta { margin: 2.25rem 0; display: grid; gap: 1.1rem; padding: 1.4rem; border-radius: 22px; color: #fff; background: radial-gradient(30rem 16rem at 100% 0, rgba(94, 234, 212, .3) 0, rgba(94, 234, 212, 0) 60%), linear-gradient(135deg, var(--teal) 0%, var(--teal-dd) 100%); box-shadow: var(--shadow-lg); }
.fr-post .fr-post-cta p { margin: 0; color: rgba(255, 255, 255, .88); font-size: .98rem; line-height: 1.55; }
.fr-post .fr-post-cta .fr-post-cta-tag { display: inline-block; margin-bottom: .55rem; padding: .2rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.fr-post .fr-post-cta .fr-post-cta-title { margin-bottom: .35rem; color: #fff; font-size: 1.35rem; line-height: 1.25; font-weight: 800; letter-spacing: -.015em; }
.fr-post-cta-form { background: #fff; border-radius: 18px; padding: 1rem; color: var(--ink); }
.fr-post .fr-post-cta-form p { color: var(--muted); }
.fr-post .fr-post-cta-form .fr-offer { color: var(--ink); font-size: .88rem; }
.fr-post .fr-post-cta-form .fr-fine { font-size: .76rem; }
.fr-post .fr-post-cta-form .fr-error { color: #a1281f; }
.fr-post .fr-post-cta-form .fr-post-cta-alt { margin-top: .75rem; font-size: .88rem; }
.fr-post .fr-post-cta .fr-btn { color: #fff; text-decoration: none; }
@media (max-width: 420px) {
  .fr-post-cta { padding: 1rem; }
  .fr-post-cta-form { padding: .8rem; }
}

/* The header keeps one row once "Guides" is in it: the small registration box shows only on wide screens. */
@media (min-width: 1180px) and (max-width: 1459px) { .fr-head-reg { display: none; } }
/* /blog: the groups flow in two columns on wide screens; the cards there lie flat (picture beside the words). */
@media (min-width: 900px) {
  .fr-blog-groups { columns: 2; column-gap: 1.5rem; }
  .fr-blog-groups .fr-blog-group { break-inside: avoid; margin-top: 0; padding-top: 2.5rem; }
  .fr-blog-groups .fr-guides { grid-template-columns: 1fr; }
}
@media (min-width: 560px) {
  .fr-blog-groups .fr-guides a { display: grid; grid-template-columns: 40% minmax(0, 1fr); }
  .fr-blog-groups .fr-guides a { align-items: center; }
  .fr-blog-groups .fr-guides img { height: auto; margin-left: .8rem; border: 1px solid var(--line); border-radius: 12px; }
}
