/* Stock Alert Daily — site styles */
:root {
  --bg: #e9f0ed;
  --surface: #f6fbf9;
  --ink: #0e1b17;
  --ink-soft: #3d4b47;
  --muted: #6b7a76;
  --line: #d3ddd9;
  --green: #66a637;
  --green-dark: #4e8a26;
  --blue: #3a97d8;
  --blue-dark: #1f74b3;
  --black: #0b1210;
  --radius: 18px;
  --max: 1120px;
  --font-head: "Jost", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Oswald", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { padding: 26px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-block; text-decoration: none; }
.logo svg { width: 230px; height: auto; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-dark); }
.nav .nav-cta { background: var(--black); color: #fff; padding: 9px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--green-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer; }

@media (max-width: 760px) {
  .logo svg { width: 180px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 86px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--surface); border-radius: var(--radius); padding: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.08); z-index: 5; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .nav-cta { text-align: center; margin-top: 6px; }
}

/* Hero */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(102,166,55,.18); }
.hero .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 34ch; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* Opt-in card */
.optin {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 20px 60px rgba(14,27,23,.07);
  border: 1px solid rgba(255,255,255,.6);
}
.optin h2 { font-size: 2rem; margin-bottom: .3em; }
.optin p.sub { color: var(--ink-soft); margin-bottom: 22px; }
.form-row { display: grid; gap: 10px; }
label.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
input[type="email"], input[type="text"], textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(58,151,216,.15); }
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  font: 600 16px/1 var(--font-body); color: #fff; background: var(--black);
  border: 0; border-radius: 12px; padding: 16px 22px; cursor: pointer; text-decoration: none;
  transition: background .15s, transform .05s;
}
.btn:hover { background: var(--green-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.fineprint { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }
.fineprint a { color: var(--muted); }
.form-msg { font-size: 14px; margin-top: 10px; min-height: 1em; }
.form-msg.error { color: #b42318; }
.form-msg.ok { color: var(--green-dark); }
.hp { position: absolute; left: -9999px; }
.proof { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.proof strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }

/* Sections */
.band { padding: 72px 0; }
.band.alt { background: var(--surface); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); margin: 0; max-width: 52ch; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature .num { font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: .95rem; letter-spacing: .06em; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); margin: 0; }
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }

/* Report cards */
.reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.report-card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
  padding: 26px; text-decoration: none; color: var(--ink); border: 1px solid transparent;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.band.alt .report-card { background: var(--bg); }
.report-card:hover { border-color: var(--line); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(14,27,23,.07); color: var(--ink); }
.report-card .tag { align-self: flex-start; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em;
  color: var(--blue-dark); background: rgba(58,151,216,.12); padding: 5px 10px; border-radius: 999px; margin-bottom: 16px; }
.report-card h3 { font-size: 1.35rem; }
.report-card p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.report-card .meta { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.report-card .meta span:last-child { color: var(--green-dark); font-weight: 600; }

/* Page / prose */
.page-head { padding: 32px 0 28px; }
.page-head p { color: var(--ink-soft); font-size: 1.15rem; max-width: 60ch; }
.prose-card { background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); margin-bottom: 80px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.updated { font-size: 14px; color: var(--muted); }
.callout { background: rgba(58,151,216,.08); border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; padding: 18px 20px; margin: 1.5em 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-bottom: 80px; }
.contact-grid .optin { padding: 36px; }
.contact-form { display: grid; gap: 14px; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { font-size: 14px; font-weight: 500; display: block; margin-bottom: 6px; }
.contact-aside h3 { margin-top: 0; }
.contact-aside p { color: var(--ink-soft); }
.notice { border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 15px; display: none; }
.notice.show { display: block; }
.notice.ok { background: rgba(102,166,55,.13); color: var(--green-dark); }
.notice.err { background: #fde7e5; color: #b42318; }
@media (max-width: 820px) { .contact-grid, .contact-form .two { grid-template-columns: 1fr; } }

/* Report article */
.article { max-width: 760px; margin-inline: auto; }
.article .meta { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.inline-optin { margin: 48px 0; }

/* Footer */
.site-footer { background: var(--black); color: #b9c6c2; padding: 56px 0 40px; font-size: 14.5px; }
.site-footer a { color: #e7efec; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid #22302c; }
.footer-top .logo svg { width: 190px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-disclaimer { font-size: 12.5px; line-height: 1.6; color: #8a9893; padding-top: 24px; max-width: 95ch; }
.footer-disclaimer p { margin-bottom: .8em; }

/* Report articles */
.report .report-lede { font-family: var(--font-head); font-size: 1.45rem; line-height: 1.35; color: var(--ink); }
.report h2 { margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.report h2 .pick-num { display: block; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 8px; }
.report figure { margin: 1.2em 0 1.4em; }
.report figure img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.report .target { background: rgba(102,166,55,.10); border-radius: 12px; padding: 14px 18px; font-weight: 500; }
.picks-table-wrap { margin: 2em 0; overflow-x: auto; }
.picks-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 12px; overflow: hidden; }
.picks-table caption { text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin-bottom: 10px; }
.picks-table th, .picks-table td { padding: 12px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.picks-table td:nth-child(n+3) { white-space: nowrap; }
.picks-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg); }
.picks-table td:last-child { color: var(--green-dark); font-weight: 600; }
.picks-table tr:last-child td { border-bottom: 0; }
.table-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.report .tv-chart { margin: 1.2em 0 1.4em; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.report .tv-chart .tradingview-widget-container { height: 420px; display: flex; flex-direction: column; }
.report .tv-chart .tradingview-widget-container__widget { flex: 1; min-height: 0; }
.report .tv-chart .tradingview-widget-copyright { font-size: 11px; line-height: 1; padding: 8px 12px; color: var(--muted); border-top: 1px solid var(--line); }
.report .tv-chart .tradingview-widget-copyright a { color: var(--muted); text-decoration: none; }
.report .tv-chart .tradingview-widget-copyright .blue-text { color: var(--blue-dark); }
@media (max-width: 600px) { .report .tv-chart .tradingview-widget-container { height: 340px; } }

/* Opt-in success state */
.optin-success { text-align: center; padding: 8px 4px 4px; outline: none; animation: optin-in .35s ease-out; }
.optin-success__icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(102,166,55,.15); }
.optin-success__icon svg { width: 28px; height: 28px; }
.optin-success h3 { font-size: 1.6rem; margin-bottom: .35em; }
.optin-success p { color: var(--ink-soft); margin: 0 auto .8em; max-width: 38ch; }
.optin-success__email { font-size: 14px; color: var(--muted) !important; margin-bottom: 0 !important; word-break: break-all; }
@keyframes optin-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
