/* QRFrog facelift for every page except the home page (owner order #682).
   The home page uses facelift.css. Loaded last in <head>, after each page's own styles.
   Look only. No page text, links, headings or web addresses are set here. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: block; src: url(/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --g: #16a34a;
    --g2: #15803d;
    --g3: #14532d;
    --ink: #052e16;
    --mint: #f0fdf4;
    --mint2: #dcfce7;
    --mute: #3f5f4a;
    --line: #d6eadb;
    --midnight: #052e16;
    --primary: #15803d;
    --primary-dark: #14532d;
    --primary-light: #dcfce7;
    --cloud: #f0fdf4;
    --slate: #3f5f4a;
    --slate-light: #d6eadb;
}
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--mint); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2 { font-weight: 900; letter-spacing: -.025em; }
h3 { font-weight: 800; }

/* Header and footer with the frog logo */
header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.logo, .logo a { font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.logo { gap: 10px; }
.logo-icon, .logo-mark { flex: none; width: 36px; height: 36px; border-radius: 9px; background: url('/apple-touch-icon.png') center / cover no-repeat; font-size: 0; color: transparent; overflow: hidden; }
.logo-icon svg { display: none; }
.logo-mark { display: inline-block; }
header nav a { color: var(--mute); font-weight: 600; }
header nav a:hover, header nav a.active { color: var(--ink); }
header nav a.btn-primary, header nav a.btn-primary:hover { color: #fff; }
/* Account and admin headers have more links than a phone row holds. */
@media (max-width: 640px) {
    header .header-content { flex-wrap: wrap; row-gap: 8px; }
    header nav { flex-wrap: wrap; }
}
footer { background: #fff; border-top: 1px solid var(--line); color: var(--mute); }
footer::before { content: ""; display: block; width: 28px; height: 28px; margin: 0 auto 12px; border-radius: 7px; background: url('/apple-touch-icon.png') center / cover no-repeat; }
footer a { color: var(--mute); font-weight: 600; }
footer a:hover { color: var(--g2); }

/* Buttons */
.btn { border-radius: 12px; }
.btn-primary { background: var(--g2); color: #fff; font-weight: 800; }
.btn-primary:hover, .btn-primary:hover:not(:disabled) { background: #166534; color: #fff; }
.btn-secondary { border: 2px solid var(--line); font-weight: 700; color: var(--ink); }
.btn-secondary:hover { border-color: var(--g); color: var(--g2); }
.btn-beta { background: var(--g2); border-radius: 12px; font-weight: 800; }

/* Green hero on list, pricing and account pages */
.page-header { background: radial-gradient(900px 400px at 85% -10%, #22c55e22, transparent), linear-gradient(160deg, #166534 0%, #15803d 55%, #14532d 100%); color: #fff; padding: 64px 24px; margin-bottom: 40px; }
.page-header h1 { color: #fff; font-size: 56px; font-weight: 900; line-height: 1.05; letter-spacing: -.035em; overflow-wrap: break-word; }
.page-header p { color: #dcfce7; font-weight: 500; }
.page-header a:not(.btn) { color: #fff; }
.page-header .btn-primary, .page-header .btn-primary:hover { background: #fff; color: var(--g3); }
.page-header .btn-secondary { background: transparent; color: #fff; border-color: #ffffff88; }
main .page-header, .container .page-header { border-radius: 24px; padding: 40px 32px; margin: 24px 0 32px; }
.page-header .qc-plan-badge, .page-header .qc-plan-badge.pro { background: #fff; color: var(--g3); }
.page-header .qc-plan-badge a { color: var(--g2); }
.page-header .qc-plan-badge:empty { display: none; }

/* Green hero at the top of an article. The title and the first paragraph form one block. */
main > article { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 48px; box-shadow: 0 10px 30px rgba(5,46,22,.08); }
main > article > h1:first-child,
main > article > .source-meta:first-child + h1 { background: linear-gradient(180deg, #166534, #15803d); color: #fff; font-size: 46px; line-height: 1.08; letter-spacing: -.035em; overflow-wrap: break-word; margin: -48px -48px 0; padding: 48px 48px 20px; border-radius: 23px 23px 0 0; }
main > article > h1:first-child + .lead,
main > article > .source-meta:first-child + h1 + .lead { background: #15803d; color: #dcfce7; font-weight: 500; margin: 0 -48px 32px; padding: 0 48px 40px; }
main > article > h1:first-child + .lead a:not(.btn),
main > article > .source-meta:first-child + h1 + .lead a:not(.btn) { color: #fff; }
main > article > h1:first-child:not(:has(+ .lead)),
main > article > .source-meta:first-child + h1:not(:has(+ .lead)) { margin-bottom: 28px; padding-bottom: 40px; }
main > article > .source-meta:first-child { display: flex; flex-wrap: wrap; background: #166534; color: #dcfce7; margin: -48px -48px 0; padding: 32px 48px 0; border-radius: 23px 23px 0 0; }
main > article > .source-meta:first-child + h1 { margin-top: 0; padding-top: 20px; border-radius: 0; }
/* The updated date sits under the hero, not pulled up into it. */
main > article > .lead + .updated { margin-top: -12px; }

/* Cards */
.case-card, .guide-card, .compare-card, .tool-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: box-shadow .2s, transform .2s; }
.case-card:hover, .guide-card:hover, .compare-card:hover, .tool-card:hover { box-shadow: 0 14px 36px rgba(5,46,22,.1); transform: translateY(-2px); }
.pricing-card { border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 30px rgba(5,46,22,.08); }
.pricing-card.popular { border: 3px solid var(--g); }
.popular-badge { background: var(--g2); }
.plan-name, .plan-price { font-weight: 900; letter-spacing: -.02em; }
.best-card, .tip-card, .official-sources, .related-card, .step { background: var(--mint); border: 1px solid var(--line); border-radius: 18px; }
.case-tag, .tool-tag, .vs-badge, .source-meta .badge { background: var(--mint2); color: var(--g3); border-radius: 99px; }
.card, .info-card, .stat-card, .qr-card { border-radius: 20px; }
.compare-table th { background: var(--mint); color: var(--mute); }

/* The generator on content pages */
.widget { background: var(--mint); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 36px rgba(5,46,22,.1); }
.widget-field input, .widget-field select, .claim-box input { border: 2px solid #7fa68c; border-radius: 12px; }
.widget-qr { border: 0; border-radius: 16px; box-shadow: 0 10px 30px rgba(5,46,22,.12); }
.claim-box { border: 2px solid var(--line); border-radius: 14px; }
.callout { background: var(--mint2); border-radius: 18px; }
.steps li::before, .step-number { background: var(--g2); color: #fff; font-weight: 800; }

/* Questions and answers open one at a time, as on the home page */
.faq-item, .faq-item:last-child { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 22px; margin-bottom: 12px; }
.faq-item > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; margin: 0; font-weight: 800; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; color: var(--g); font-size: 26px; font-weight: 600; line-height: 1; flex: none; }
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item > summary h3 { margin: 0; }
.faq-item[open] > summary { margin-bottom: 8px; }
.faq-item > :last-child { margin-bottom: 4px; }

/* Green call to action panel */
.cta-box { background: linear-gradient(160deg, #15803d, #14532d); color: #fff; border: 0; border-radius: 24px; }
.cta-box h2, .cta-box h3, .cta-box .cta-title { color: #fff; }
.cta-box p, .cta-box li { color: #dcfce7; }
.cta-box a:not(.btn) { color: #fff; }
.cta-box .btn-primary, .cta-box .btn-primary:hover { background: #fff; color: var(--g3); }
.cta-box .btn-primary:hover { background: var(--mint2); }
.cta-box .btn-secondary { background: transparent; color: #fff; border: 2px solid #ffffff88; }
.beta-banner { background: linear-gradient(160deg, #14532d, #052e16); border-radius: 24px; }
.beta-banner .btn-beta:hover { background: #166534; box-shadow: 0 0 0 2px #ffffff88; }
/* Dark text on a dark green button was hard to read on these two pages. */
.contact-box a.btn, body:has(.logo-mark) button { color: #fff; }

/* Policy pages: the article is a card in the middle, with room inside, under a hero of the same width */
main > article.policy-body, main > article.beta-body { width: calc(100% - 32px); padding: 32px 32px 40px; margin-bottom: 48px; }
main > article.policy-body > :first-child, main > article.beta-body > :first-child { margin-top: 0; }
.policy-body a:not(.btn), .beta-body a:not(.btn) { color: var(--g2); }
main:not(.container) > .page-header { max-width: 720px; width: calc(100% - 32px); margin-left: auto; margin-right: auto; }

/* Sign-in pages: a white card on the green */
body:has(> .card) { background: linear-gradient(160deg, #16a34a 0%, #15803d 55%, #14532d 100%); }
body > .card { background: #fff; border-radius: 24px; box-shadow: 0 30px 80px rgba(5,46,22,.35); }

@media (max-width: 768px) {
    .page-header { padding: 40px 24px; margin-bottom: 28px; }
    .page-header h1 { font-size: 36px; }
    main .page-header, .container .page-header { padding: 28px 20px; margin: 16px 0 24px; }
    main > article { padding: 24px; }
    main > article > h1:first-child,
    main > article > .source-meta:first-child + h1 { font-size: 28px; margin: -24px -24px 0; padding: 20px 24px 12px; }
    /* Kept short so the generator under it stays near the first screen. */
    main > article > h1:first-child + .lead,
    main > article > .source-meta:first-child + h1 + .lead { font-size: 16px; line-height: 1.5; margin: 0 -24px 16px; padding: 0 24px 20px; }
    main > article > .lead + .updated { margin-top: -4px; margin-bottom: 12px; }
    main > article > .lead ~ .widget { margin-top: 12px; }
    main > article > h1:first-child:not(:has(+ .lead)),
    main > article > .source-meta:first-child + h1:not(:has(+ .lead)) { margin-bottom: 20px; padding-bottom: 28px; }
    main > article > .source-meta:first-child { margin: -24px -24px 0; padding: 24px 24px 0; }
    main > article > .source-meta:first-child + h1 { margin-top: 0; padding-top: 16px; }
    .faq-item, .faq-item:last-child { padding: 10px 16px; }
    main > article.policy-body, main > article.beta-body { padding: 24px 20px; margin-bottom: 32px; }
}
@media (max-width: 400px) {
    .page-header h1 { font-size: 30px; }
    main > article > h1:first-child,
    main > article > .source-meta:first-child + h1 { font-size: 26px; }
}
