:root {
  --bg: #f4eedf;
  --paper: #fffaf0;
  --paper-deep: #f8f0dd;

  --text: #252422;
  --muted: #6f6b62;
  --muted-2: #8d877c;

  --ink: #292825;

  --blue: #9ed7ea;
  --blue-dark: #4e91aa;

  --cash: #8ca66d;
  --cash-dark: #55723f;

  --gold: #d6a53c;

  --green: #4f9566;

  --border: rgba(41, 40, 37, 0.22);
  --border-soft: rgba(41, 40, 37, 0.12);

  --shadow: rgba(65, 53, 36, 0.12);

  --radius: 18px;
  --max-width: 1220px;
}


/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  color: var(--text);

  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(158, 215, 234, 0.17),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 8%,
      rgba(140, 166, 109, 0.14),
      transparent 27%
    ),
    var(--bg);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}


/* =========================
   SITE SHELL
========================= */

.site-shell {
  width: min(
    calc(100% - 32px),
    var(--max-width)
  );

  margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.topbar {
  min-height: 112px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  border-bottom: 2px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;

  gap: 14px;

  text-decoration: none;
}

.logo-wrap {
  width: 72px;
  height: 72px;

  flex: 0 0 auto;

  overflow: hidden;

  border-radius: 50%;

  border: 2px solid var(--ink);

  background: var(--paper);

  box-shadow:
    3px 4px 0 rgba(41, 40, 37, 0.12);
}

.logo {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1.15);
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  color: var(--ink);

  font-size: 19px;
  font-weight: 900;

  letter-spacing: 0.055em;
}

.brand-tag {
  margin-top: 1px;

  color: var(--muted);

  font-size: 14px;
}


/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding: 0 20px;

  border-radius: 12px;

  text-decoration: none;

  font-size: 15px;
  font-weight: 800;

  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}

.btn:hover {
  transform: translate(-1px, -2px);
}

.btn-outline {
  color: var(--ink);

  border: 2px solid var(--ink);

  background: #f6df9d;

  box-shadow:
    3px 4px 0 var(--ink);
}

.btn-outline:hover {
  background: #f8e6af;

  box-shadow:
    5px 6px 0 var(--ink);
}


/* =========================
   MAIN
========================= */

main {
  padding-bottom: 34px;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 300px;

  display: flex;

  align-items: center;

  padding:
    48px
    26px
    42px;

  border-bottom:
    1px solid
    var(--border-soft);
}

  padding:
    48px
    26px
    42px;

  border-bottom:
    1px solid
    var(--border-soft);
}

.hero-copy {
  max-width: 700px;
}

.hero h1 {
  max-width: 720px;

  margin:
    8px
    0
    0;

  color: var(--ink);

  font-size:
    clamp(
      42px,
      6vw,
      68px
    );

  line-height: 0.98;

  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 590px;

  margin:
    20px
    0
    0;

  color: var(--muted);

  font-size: 18px;

  line-height: 1.55;
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art img {
  width: min(100%, 340px);

  border-radius: 50%;

  border: 2px solid var(--ink);

  background: var(--paper);

  box-shadow:
    6px 7px 0 rgba(41, 40, 37, 0.13);

  transform: rotate(1.5deg);
}


/* =========================
   SHARED TYPE
========================= */

.eyebrow {
  color: var(--cash-dark);

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;

  color: var(--ink);

  letter-spacing: -0.04em;
}


/* =========================
   PANELS
========================= */

.panel,
.score-card,
.email-box {
  position: relative;

  overflow: hidden;

  border: 2px solid var(--ink);

  border-radius: var(--radius);

  background: var(--paper);

  box-shadow:
    6px 7px 0 rgba(41, 40, 37, 0.1);
}


/* =========================
   TRADES PANEL
========================= */

.trades-panel {
  margin-top: 32px;

  padding: 28px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 26px;
}

.section-head h2 {
  margin-top: 5px;

  font-size:
    clamp(
      30px,
      4vw,
      40px
    );

  line-height: 1.08;
}

.updated {
  display: flex;
  align-items: center;

  gap: 8px;

  padding-bottom: 5px;

  color: var(--muted);

  font-size: 13px;

  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 0 3px rgba(79, 149, 102, 0.13);
}


/* =========================
   SEARCH
========================= */

.filters {
  margin-bottom: 22px;
}

#search {
  width: min(
    100%,
    780px
  );

  height: 52px;

  padding: 0 16px;

  color: var(--ink);

  border: 2px solid var(--ink);

  border-radius: 11px;

  outline: none;

  background: #fffdf7;

  box-shadow:
    2px 3px 0 rgba(41, 40, 37, 0.1);

  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}

#search::placeholder {
  color: var(--muted-2);
}

#search:focus {
  background: #ffffff;

  box-shadow:
    4px 5px 0 rgba(78, 145, 170, 0.22);

  transform: translateY(-1px);
}


/* =========================
   SWIPE HINT
========================= */

.swipe-hint {
  display: none;
}


/* =========================
   TABLE
========================= */

.table-wrap {
  overflow-x: auto;

  border-top: 2px solid var(--ink);
}

table {
  width: 100%;

  border-collapse: collapse;

  min-width: 1040px;
}

th {
  padding:
    16px
    12px;

  color: var(--muted);

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 0.075em;

  text-align: left;

  text-transform: uppercase;

  border-bottom:
    1px solid var(--border);
}

td {
  padding:
    18px
    12px;

  vertical-align: top;

  color: var(--text);

  font-size: 15px;

  border-bottom:
    1px solid var(--border-soft);
}

tbody tr {
  transition:
    background-color 130ms ease;
}

tbody tr:hover {
  background:
    rgba(158, 215, 234, 0.09);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.ticker {
  color: var(--ink);

  font-weight: 900;
}

.company {
  margin-top: 2px;

  color: var(--muted);

  font-size: 12px;
}

.money {
  color: var(--ink);

  font-weight: 800;
}

.reason {
  color: #56534d;

  font-size: 14px;
}

.reason a {
  color: var(--blue-dark);

  text-decoration: none;

  font-weight: 800;
}

.reason a:hover {
  text-decoration: underline;
}

.score {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 30px;
  min-height: 30px;

  font-size: 18px;
  font-weight: 950;

  border-radius: 50%;
}

.score.high {
  color: #287046;

  background:
    rgba(79, 149, 102, 0.14);
}

.score.mid {
  color: #8b6512;

  background:
    rgba(214, 165, 60, 0.17);
}


/* =========================
   SCORE CARD
========================= */

.score-card {
  margin-top: 34px;

  padding: 30px;
}

.score-card-head {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 28px;
}

.score-card-head h2 {
  margin-top: 5px;

  font-size:
    clamp(
      28px,
      4vw,
      36px
    );
}

.score-card-head p {
  max-width: 560px;

  margin:
    8px
    0
    0;

  color: var(--muted);

  font-size: 15px;
}

.score-scale {
  display: flex;

  align-items: center;
  justify-content: center;

  min-width: 84px;
  min-height: 58px;

  padding: 0 16px;

  border: 2px solid var(--ink);

  border-radius: 13px;

  color: var(--ink);

  background: #dcefbf;

  box-shadow:
    3px 4px 0 rgba(41, 40, 37, 0.13);

  font-size: 22px;
  font-weight: 950;

  transform: rotate(1deg);
}

.score-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 22px;
}

.score-column {
  padding: 22px;

  border:
    1px solid
    var(--border);

  border-radius: 13px;

  background:
    var(--paper-deep);
}

.score-column:nth-child(2) {
  background:
    #eff5e7;
}

.score-column-title {
  margin-bottom: 12px;

  color: var(--ink);

  font-size: 15px;
  font-weight: 900;
}

.score-row {
  display: grid;

  grid-template-columns:
    42px
    1fr;

  align-items: center;

  gap: 8px;

  min-height: 42px;

  color: #504d47;

  border-bottom:
    1px solid
    var(--border-soft);
}

.score-row:last-child {
  border-bottom: 0;
}

.score-number,
.bonus-number {
  font-size: 17px;
  font-weight: 950;
}

.score-number {
  color: var(--blue-dark);
}

.bonus-number {
  color: var(--cash-dark);
}

.score-note {
  margin-top: 22px;

  padding-top: 20px;

  color: var(--muted);

  font-size: 13px;

  border-top:
    1px solid
    var(--border-soft);
}


/* =========================
   EMAIL BOX
========================= */

.email-box {
  display: grid;

  grid-template-columns:
    150px
    minmax(0, 1fr)
    minmax(320px, 0.9fr);

  align-items: center;

  gap: 32px;

  margin-top: 34px;

  padding: 30px;

  background:
    linear-gradient(
      120deg,
      #edf6e6,
      #fff8e9
    );
}

.email-character {
  display: flex;

  align-items: center;
  justify-content: center;
}

.email-character img {
  width: 135px;
  height: 135px;

  object-fit: cover;

  border-radius: 50%;

  border: 2px solid var(--ink);

  background: var(--paper);

  box-shadow:
    4px 5px 0 rgba(41, 40, 37, 0.12);
}

.email-copy h2 {
  max-width: 650px;

  margin-top: 6px;

  font-size:
    clamp(
      28px,
      4vw,
      38px
    );

  line-height: 1.12;
}

.email-copy p {
  margin:
    13px
    0
    0;

  color: var(--muted);

  font-size: 16px;
}

.email-form-wrap {
  min-width: 0;
}


/* =========================
   MAILERLITE
========================= */

.ml-embedded {
  width: 100%;
}


/* =========================
   DISCLAIMER
========================= */

.disclaimer {
  margin-top: 30px;

  padding:
    0
    4px;

  color: #777168;

  font-size: 12px;

  line-height: 1.65;
}

.disclaimer strong {
  color: var(--ink);
}


/* =========================
   FOOTER
========================= */

footer {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 24px;

  min-height: 88px;

  margin-top: 38px;

  color: var(--muted);

  font-size: 13px;

  border-top:
    2px solid
    var(--ink);
}

.footer-links {
  display: flex;
  align-items: center;

  gap: 10px;

  flex-wrap: wrap;
}

.footer-links a {
  color: #615d56;

  text-decoration: none;

  font-weight: 600;
}

.footer-links a:hover {
  color: var(--blue-dark);

  text-decoration: underline;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;

    gap: 28px;

    padding:
      40px
      18px
      36px;
  }

  .hero-copy {
    text-align: center;

    margin: 0 auto;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-art img {
    width: min(74vw, 300px);
  }

  .email-box {
    grid-template-columns: 110px 1fr;

    gap: 24px;
  }

  .email-form-wrap {
    grid-column:
      1
      / -1;
  }

  .email-character img {
    width: 100px;
    height: 100px;
  }
}


@media (max-width: 800px) {

  .site-shell {
    width:
      min(
        calc(100% - 20px),
        var(--max-width)
      );
  }

  .topbar {
    min-height: 94px;
  }

  .logo-wrap {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-tag {
    display: none;
  }

  .btn {
    min-height: 44px;

    padding:
      0
      13px;

    font-size: 13px;
  }

  .hero h1 {
    font-size:
      clamp(
        39px,
        11vw,
        56px
      );
  }

  .hero-text {
    font-size: 16px;
  }

  .trades-panel {
    padding:
      22px
      16px;
  }

  .section-head {
    align-items: flex-start;

    flex-direction: column;

    gap: 10px;
  }

  .updated {
    padding-bottom: 0;
  }

  #search {
    width: 100%;
  }

  .swipe-hint {
    display: block;

    margin:
      -8px
      0
      9px;

    color: var(--muted);

    font-size: 12px;

    text-align: right;
  }

  .score-card {
    padding:
      24px
      16px;
  }

  .score-card-head {
    gap: 20px;
  }

  .score-scale {
    min-width: 68px;
    min-height: 50px;

    font-size: 18px;
  }

  .score-grid {
    grid-template-columns: 1fr;
  }

  .email-box {
    grid-template-columns: 1fr;

    gap: 20px;

    padding:
      26px
      18px;

    text-align: center;
  }

  .email-character {
    justify-content: center;
  }

  .email-character img {
    width: 115px;
    height: 115px;
  }

  .email-form-wrap {
    grid-column: auto;
  }

  footer {
    align-items: flex-start;

    flex-direction: column;

    padding:
      24px
      0;
  }
}


@media (max-width: 520px) {

  .topbar {
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .logo-wrap {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 12px;

    letter-spacing: 0.04em;
  }

  .btn-outline {
    padding:
      0
      10px;
  }

  .hero {
    min-height: auto;

    padding-top: 34px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-art img {
    width: 240px;
  }

  .section-head h2 {
    font-size: 31px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .score-card-head {
    flex-direction: column;
  }

  .score-scale {
    align-self: flex-start;
  }
}

/* BLOG */

.blog-main {
  padding-top: 32px;
}

.article-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px);
}

.article-panel h1 {
  margin: 8px 0 18px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
}

.article-deck {
  color: var(--muted);
  font-size: 20px;
}

.article-meta {
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 13px;
}

.article-hero {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 14px;
}

.article-body {
  max-width: 720px;
  margin: 32px auto 0;
  font-size: 18px;
  line-height: 1.75;
}

.article-body h2 {
  margin: 44px 0 12px;
  font-size: 32px;
}

.article-callout {
  margin: 30px 0;
  padding: 20px;
  border-left: 6px solid var(--gold);
  border-radius: 10px;
  background: var(--paper-deep);
}

@media (max-width: 600px) {
  .article-panel {
    padding: 26px 18px;
  }

  .article-body,
  .article-deck {
    font-size: 17px;
  }
}

/* =========================
   BLOG INDEX
========================= */

.blog-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;

  margin-top: 28px;
  padding: 22px;

  border: 2px solid var(--ink);
  border-radius: 16px;

  background: var(--paper);

  box-shadow:
    4px 5px 0 rgba(41, 40, 37, 0.1);
}

.blog-card-image-link {
  display: block;
}

.blog-card-image {
  width: 100%;
  height: 180px;

  object-fit: cover;

  border: 2px solid var(--ink);
  border-radius: 12px;
}

.blog-card-content {
  min-width: 0;
}

.blog-card-content .article-meta {
  margin: 0 0 8px;
}

.blog-card-content h2 {
  margin: 0 0 10px;

  font-size: 30px;
  line-height: 1.1;
}

.blog-card-content h2 a {
  text-decoration: none;
}

.blog-card-content h2 a:hover {
  text-decoration: underline;
}

.blog-card-content p {
  margin: 0 0 16px;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.6;
}

.blog-read-more {
  color: var(--blue-dark);

  font-weight: 800;
  text-decoration: none;
}

.blog-read-more:hover {
  text-decoration: underline;
}


@media (max-width: 700px) {

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    height: 220px;
  }

  .blog-card-content h2 {
    font-size: 26px;
  }

}

/* =========================
   SITE NAV
========================= */

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav > a:not(.btn) {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-nav > a:not(.btn):hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

@media (max-width: 800px) {

  .site-nav {
    gap: 10px;
  }

  .site-nav > a:not(.btn) {
    font-size: 12px;
  }
}

@media (max-width: 600px) {

  .site-nav > a:not(.btn) {
    display: none;
  }
}