/* FRAGO22 Opportunity Scanner: shared styles, in FRAGO22's colors (black, gold, white) and
   frago22.com's fonts (Unbounded for headings, Montserrat for text). The sample email keeps the
   digest's own colors, since that's what customers receive. */
:root {
  --black: #0d0f12;
  --charcoal: #15181d;
  --charcoal-2: #1e232a;
  --charcoal-line: #2d333c;
  --gold: #ffcc04;
  --gold-hover: #ffd83d;
  --gold-ink: #7a5c00;      /* gold dark enough for text on light backgrounds */
  --ink: #1b1e23;
  --muted: #5a606a;
  --on-dark: #f1f1ef;
  --on-dark-muted: #b3b9c2;
  --paper: #f6f4ee;
  --card: #ffffff;
  --line: #e3dfd3;
  --radius: 10px;
  --head: "Unbounded", "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px;
    text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { background: var(--black); position: sticky; top: 0; z-index: 10;
               border-bottom: 1px solid #000; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between;
                     gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { font-family: var(--head); font-weight: 700; color: #fff; text-decoration: none;
         font-size: 18px; letter-spacing: .02em; white-space: nowrap; }
.brand .star { color: var(--gold); margin: 0 1px 0 3px; }
.brand .product { font-family: var(--body); font-weight: 500; color: #cfd3d9; letter-spacing: 0;
                  font-size: 16px; }
.brand:hover { color: #fff; }
.site-header nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-size: 14.5px; }
.site-header nav a { text-decoration: none; color: var(--on-dark-muted); font-weight: 500; }
.site-header nav a:hover { color: #fff; }
section[id] { scroll-margin-top: 72px; }

/* Buttons */
.btn { display: inline-block; background: var(--gold); color: #111 !important; text-decoration: none;
       padding: 13px 24px; border-radius: 8px; font-weight: 700; border: 0; font-family: var(--body);
       font-size: 16px; cursor: pointer; letter-spacing: .01em; }
.btn:hover { background: var(--gold-hover); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: rgba(0, 0, 0, .05); }
.hero .btn-ghost, .dark .btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .5); }
.hero .btn-ghost:hover, .dark .btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* Sections: paper by default, .alt is white, .dark is charcoal */
section { padding: 76px 0; }
section.alt { background: var(--card); }
section.dark { background: var(--charcoal); color: var(--on-dark); }
h1, h2 { font-family: var(--head); font-weight: 700; color: var(--black); line-height: 1.2;
         letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 18px; }
h2 { font-size: clamp(23px, 2.7vw, 31px); margin: 0 0 16px; }
h2::after { content: ""; display: block; width: 44px; height: 4px; background: var(--gold);
            border-radius: 2px; margin-top: 14px; }
h3 { font-family: var(--body); font-weight: 700; font-size: 18px; color: var(--black);
     line-height: 1.3; margin: 0 0 8px; }
.dark h2, .dark h3 { color: #fff; }
.dark p, .dark li { color: var(--on-dark-muted); }
.dark a:not(.btn) { color: var(--gold); }
.lead { font-size: 19px; color: var(--muted); max-width: 700px; }
.dark .lead { color: var(--on-dark-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700;
           color: var(--gold); margin: 0 0 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--on-dark); padding: 84px 0 80px;
        background:
          radial-gradient(900px 480px at 88% -8%, rgba(255, 204, 4, .13), transparent 62%),
          linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
                background-image:
                  linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                  linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
                background-size: 48px 48px;
                -webkit-mask-image: radial-gradient(ellipse at 72% 30%, #000 25%, transparent 72%);
                mask-image: radial-gradient(ellipse at 72% 30%, #000 25%, transparent 72%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 52px;
              align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: var(--on-dark-muted); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.trust { font-size: 14.5px; color: var(--on-dark-muted); margin: 0; }

/* The example email in the hero */
.inbox { background: var(--charcoal-2); border: 1px solid var(--charcoal-line); border-radius: 14px;
         box-shadow: 0 30px 70px rgba(0, 0, 0, .5); overflow: hidden; }
.inbox-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; font-size: 12.5px;
             color: var(--on-dark-muted); border-bottom: 1px solid var(--charcoal-line); }
.inbox-top .dot { width: 9px; height: 9px; border-radius: 50%; background: #3a414b; }
.inbox-top strong { color: #fff; font-weight: 600; margin-left: 6px; }
.lead-row { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 14px 16px;
            border-bottom: 1px solid var(--charcoal-line); }
.lead-row .score { width: 46px; height: 46px; border-radius: 10px; background: var(--gold); color: #111;
                   display: grid; place-items: center; font-family: var(--head); font-weight: 700;
                   font-size: 17px; line-height: 1; }
.lead-row .score small { display: block; font-family: var(--body); font-size: 9.5px; font-weight: 700;
                         opacity: .7; margin-top: 2px; }
.lead-row .t { color: #fff; font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.lead-row .m { color: var(--on-dark-muted); font-size: 12.5px; margin-top: 5px; }
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
       color: var(--gold); border: 1px solid rgba(255, 204, 4, .45); border-radius: 999px;
       padding: 1px 8px; margin-right: 6px; }
.inbox-foot { padding: 11px 16px; font-size: 12px; color: var(--on-dark-muted);
              background: rgba(0, 0, 0, .22); }

/* Cards and grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.alt .card { background: var(--paper); }
.dark .card { background: var(--charcoal-2); border-color: var(--charcoal-line); box-shadow: none; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.dark .card p { color: var(--on-dark-muted); }
.icon { width: 46px; height: 46px; border-radius: 10px; background: #fff3c4; border: 1px solid #f0db83;
        display: grid;
        place-items: center; font-size: 22px; line-height: 1; margin-bottom: 16px; }

.note { border-left: 4px solid var(--gold); background: var(--paper); padding: 22px 26px;
        border-radius: 0 var(--radius) var(--radius) 0; }
.note p { font-size: 17.5px; }
.note p:first-child { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }
.signature { color: var(--gold-ink); font-weight: 700; font-size: 14.5px !important; }

.fit { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.fit ul { padding-left: 20px; margin: 10px 0 0; }
.fit li { margin-bottom: 8px; }

/* Pricing */
.plans { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
         margin-top: 28px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 30px;
        display: flex; flex-direction: column; }
.plan.featured { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark);
                 box-shadow: 0 22px 44px rgba(0, 0, 0, .2); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured li { color: var(--on-dark); }
.plan.featured .price small { color: var(--on-dark-muted); }
.price { font-family: var(--head); font-size: 40px; font-weight: 700; color: var(--black);
         margin: 8px 0 2px; line-height: 1.1; }
.price small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 20px; margin: 16px 0 24px; flex: 1; }
.plan li { margin-bottom: 8px; }
.plan .btn { text-align: center; }
.plan.featured .btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .5); }
.terms { margin-top: 24px; color: var(--muted); font-size: 14.5px; max-width: 900px; }
.dark .terms { color: var(--on-dark-muted); }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 20px;
         grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line);
            border-radius: var(--radius); padding: 24px 24px 24px 70px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 22px;
                    width: 32px; height: 32px; border-radius: 50%; background: var(--gold);
                    color: #111; font-family: var(--head); font-weight: 700; display: grid;
                    place-items: center; font-size: 15px; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--black); list-style: none; display: flex;
          justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold-ink); font-weight: 700; font-size: 20px; line-height: 1.2; }
details[open] summary::after { content: "\2013"; }
details p { color: var(--muted); margin: 10px 0 0; }

.sample-frame { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: var(--radius);
                background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .08); }
.caption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Form */
form { display: grid; gap: 22px; }
fieldset { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
           padding: 20px 22px 22px; margin: 0; }
legend { font-weight: 700; color: var(--black); padding: 0 8px; background: var(--card);
         border-radius: 6px; }
label { font-weight: 600; display: block; margin-bottom: 4px; }
.hint { font-size: 14px; color: var(--muted); margin: 0 0 8px; font-weight: 400; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #cfc9b8;
  border-radius: 7px; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(255, 204, 4, .55);
                                            border-color: #b89200; }
input[type=checkbox], input[type=radio] { accent-color: var(--black); width: 17px; height: 17px; }
textarea { min-height: 110px; resize: vertical; }
.field { margin-top: 14px; }
.field:first-of-type { margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 8px 0; }
.check input { margin-top: 4px; flex: none; }
.two { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ack { padding-left: 20px; margin: 0 0 12px; font-size: 15.5px; }
.ack li { margin-bottom: 6px; }
.hidden { position: absolute; left: -10000px; }

/* Footer */
.site-footer { background: var(--black); color: var(--on-dark-muted); padding: 32px 0 44px;
               font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { color: var(--gold-hover); text-decoration: underline; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  .site-header { position: static; }
  .site-header nav a:not(.btn) { display: none; }
  section[id] { scroll-margin-top: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .hero { padding: 52px 0 48px; }
  .brand .product { display: none; }
  .sample-frame { height: 520px; }
}
