/* =====================================================================================================================
   donaldsonrf.com, 2026-11-20: ONE look for the whole trading site (the home page look, carried to every page).
   Everything here is scoped to body.site-com, so the IT site is not touched. Loaded after style.css and com.css.
   ===================================================================================================================== */
body.site-com {
  --hc-accent: #22d3ee;
  --hc-accent-strong: #06b6d4;
  --hc-ink-on-accent: #04202a;
  --hc-glow: rgba(34, 211, 238, 0.14);
  --color-primary: #22d3ee;
  --color-primary-dark: #06b6d4;
  --font-display: "Bahnschrift", "Arial Narrow", "Roboto Condensed", var(--font-body);
  --gap-section: 40px;
}
:root[data-theme="light"] body.site-com {
  --hc-accent: #0e7490;
  --hc-accent-strong: #0891b2;
  --hc-ink-on-accent: #ffffff;
  --hc-glow: rgba(8, 145, 178, 0.12);
  --color-primary: #0e7490;
  --color-primary-dark: #0b5d73;
}

/* ---- page title block: the voice of the home hero, and no big empty band under it ---- */
body.site-com .hero { padding: 34px 0 6px; background: none; }
body.site-com .hero-inner { max-width: 820px; }
body.site-com .hero h1 { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; font-size: clamp(2.1rem, 5.4vw, 3.3rem); margin: 0 0 12px; }
body.site-com .hero p.lede { margin: 0 0 4px; max-width: 62ch; line-height: 1.6; }
body.site-com .eyebrow {
  font-family: ui-monospace, SFMono-Regular, Consolas, Menlo, monospace; font-size: 0.76rem; letter-spacing: 0.12em; font-weight: 500; color: var(--hc-accent); margin: 0 0 8px;
}
body.site-com .hub-breadcrumb { margin: 0 0 10px; }
body.site-com main > .hero + * { margin-top: 22px; }
body.site-com main { padding-bottom: 64px; }

/* ---- headings ---- */
body.site-com main h2 { font-family: var(--font-display); font-stretch: condensed; font-weight: 700; letter-spacing: -0.005em; }
body.site-com .cd-section > h2, body.site-com .sg-section > h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 0 0 12px; }
body.site-com .cd-page .cd-section { margin: var(--gap-section) 0; }

/* ---- links and buttons ---- */
body.site-com .btn-buy, body.site-com .hc-btn {
  display: inline-block; background: var(--hc-accent-strong); color: var(--hc-ink-on-accent); border: 1px solid transparent; border-radius: 10px;
  padding: 12px 22px; font-size: 0.98rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s;
}
body.site-com .btn-buy:hover { background: var(--hc-accent); color: var(--hc-ink-on-accent); text-decoration: none; transform: translateY(-1px); }
body.site-com .btn-ghost, body.site-com .hc-btn-ghost {
  display: inline-block; background: transparent; color: var(--color-ink); border: 1px solid var(--color-border); border-radius: 10px;
  padding: 12px 20px; font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-decoration: none;
}
body.site-com .btn-ghost:hover, body.site-com .hc-btn-ghost:hover { border-color: var(--hc-accent); color: var(--hc-accent); text-decoration: none; }

/* ---- cards ---- */
body.site-com .tool-card, body.site-com .cd-package, body.site-com .tool-card-link, body.site-com .cd-steps li, body.site-com .sg-take, body.site-com .risk-note { border-radius: 12px; }
body.site-com .tool-card-link:hover { border-color: var(--hc-accent); }
body.site-com .store-box { border-left: 4px solid var(--hc-accent); max-width: none; }
body.site-com .cd-steps li::before { background: var(--hc-accent-strong); color: var(--hc-ink-on-accent); }
body.site-com .open-tool { color: var(--hc-accent); }

/* ---- THE price display of the site: regular price struck through, sale price big, SALE flag ---- */
.store-price-sm .store-now { font-size: 1.45rem; }
.store-price-sm .store-list { font-size: 0.95rem; }
.store-price-sm .store-sale { font-size: 0.66rem; padding: 2px 7px; }
.tool-card-link .card-price.card-price-below { position: static; display: block; margin: 0 0 10px; }
.tool-card-link.price-below h3 { padding-right: 0; margin-bottom: 6px; }

/* ---- package cards (home, Coding, Services): title, text, price block, one clear button ---- */
.pc-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.pc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pc {
  display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: 14px;
  transition: border-color 0.15s, transform 0.15s; min-width: 0;
}
.pc:hover { border-color: var(--hc-accent); transform: translateY(-2px); }
.pc-kicker { font-family: ui-monospace, SFMono-Regular, Consolas, Menlo, monospace; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hc-accent); margin: 0; }
.pc h3 { margin: 0; font-size: 1.12rem; line-height: 1.25; }
.pc h3 a { color: var(--color-ink); text-decoration: none; }
.pc h3 a:hover { color: var(--hc-accent); }
.pc p.pc-text { margin: 0; color: var(--color-ink-soft); font-size: 0.9rem; line-height: 1.55; }
.pc .pc-price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--color-border); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pc .pc-price .store-price { white-space: normal; }
.pc .pc-fixed { font-size: 0.76rem; color: var(--color-ink-soft); }
.pc .pc-actions { display: flex; flex-direction: column; gap: 8px; }
.pc .pc-actions .btn-buy { text-align: center; width: 100%; padding: 12px 10px; font-size: 0.93rem; }
.pc .pc-more { font-size: 0.85rem; font-weight: 600; text-align: center; }
@media (max-width: 1000px) { .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pc-grid, .pc-grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---- forms: label, field, button and the notes around them keep their distance ---- */
body.site-com .contact-form { padding: 28px; }
body.site-com .contact-form > label { display: block; font-weight: 600; margin: 0 0 6px; color: var(--color-ink); }
body.site-com .contact-form > input[type="email"], body.site-com .contact-form > input[type="text"] { margin: 0 0 20px; }
body.site-com .contact-form > .btn-buy { margin-top: 4px; }
body.site-com .contact-form > p:last-child, body.site-com .contact-form .guard-note { margin: 16px 0 0; }
body.site-com .tool-card + .hub-intro, body.site-com form + .hub-intro, body.site-com form + p, body.site-com .tool-card + p { margin-top: 20px; }
body.site-com .notice-ok, body.site-com .notice-err { margin: 0 0 18px; }
body.site-com .contact-fallback { margin: 18px 0 0; }

/* ---- FAQ block (every page that has one) ---- */
body.site-com .faq-list { gap: 0; }
body.site-com .faq-item { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
body.site-com .faq-item:first-child { padding-top: 0; }
body.site-com .faq-item:last-child { border-bottom: 0; }
body.site-com .faq-item dt { font-size: 1.02rem; }
.faq-group { margin: 34px 0 0; }
.faq-group > h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 0 0 10px; }
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.faq-jump a { display: inline-block; padding: 6px 12px; border: 1px solid var(--color-border); border-radius: 999px; font-size: 0.85rem; color: var(--color-ink); text-decoration: none; }
.faq-jump a:hover { border-color: var(--hc-accent); color: var(--hc-accent); }
.faq-next { margin: 36px 0 0; padding: 18px 20px; border: 1px solid var(--color-border); border-left: 4px solid var(--hc-accent); border-radius: 12px; background: var(--color-bg-card); }
.faq-next p { margin: 0 0 8px; }
.faq-next p:last-child { margin: 0; }

/* ---- the Expert Advisor shop ---- */
body.site-com .eas-filter { margin: 22px 0; }

/* ---- home: the price next to the main button ---- */
.hc-cta { align-items: center; }
.hc-cta-price { display: inline-flex; align-items: baseline; gap: 6px; color: var(--color-ink-soft); font-size: 0.9rem; }

/* ---- prose cards use the full width of the page; forms keep a readable width ---- */
body.site-com .prose-card { max-width: none; }
body.site-com .contact-form { max-width: 720px; }
body.site-com .sig-note { margin: 14px 0 0; }
body.site-com .cd-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }

/* ---- the price list of the Expert Advisor shop: label on the left, price on the right ---- */
body.site-com .price-lines { margin: 0 0 6px; }
body.site-com .price-lines li { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
body.site-com .price-lines li:last-child { border-bottom: 0; }
.pl-label { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; flex: 1 1 260px; }
.pl-label small { color: var(--color-ink-soft); font-size: 0.82rem; line-height: 1.4; }

/* ---- two-column blocks on the package pages: same top, same height, same heading size ---- */
body.site-com .cd-two { align-items: stretch; }
body.site-com .cd-two > .tool-card, body.site-com .cd-two > .cd-price-card { margin-top: 0; }
body.site-com .cd-price-card { max-width: none; padding: 28px; align-content: start; border-radius: 12px; }
body.site-com .cd-price-card h2, body.site-com .tool-card h2, body.site-com .cd-section.tool-card > h2 { font-size: 1.2rem; margin: 0 0 12px; }
body.site-com .cd-price-card .cd-price { margin: 4px 0 2px; }
