/* Trade Like a Whale - static rebuild of the former Wix site.
   Fonts: Montserrat ExtraBold stands in for Wix's "Lulo Clean One Bold",
   Nunito Sans Light stands in for "Avenir LT 35 Light" (both SIL OFL, self-hosted). */

@font-face {
  font-family: "TLAW Display";
  src: url("/assets/fonts/montserrat-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TLAW Body";
  src: url("/assets/fonts/nunito-sans-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TLAW Body";
  src: url("/assets/fonts/nunito-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TLAW Body";
  src: url("/assets/fonts/nunito-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000;
  --teal: #57bbbf;
  --band: #fafafa;
  --bar: #282626;
  --display: "TLAW Display", "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "TLAW Body", "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 980px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.2;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #000; color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Display headings (Lulo look: heavy, all caps, wide tracking) */
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.4;
}
.display-xl {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 44px;
  letter-spacing: 0.11em;
  line-height: 50px;
}
.rule { display: block; width: 40px; height: 2px; background: #000; border: 0; margin: 0; }
.rule-wide { width: 54px; }
.center { text-align: center; }
.rule.center-rule { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: relative; z-index: 20; }
.header-inner { height: 112px; display: flex; align-items: flex-start; }
.logo { display: block; margin: 8px 0 0 10px; flex: none; }
.logo img { width: 306px; height: 96px; }

.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.burger { display: none; }

.main-nav { margin-top: 29px; }
.main-nav ul { list-style: none; padding: 0; display: flex; }
.main-nav a {
  display: block;
  padding: 0 20px;
  line-height: 50px;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  color: #000;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  width: 182px; height: 47px;
  border: 2px solid #000; background: #fff; color: #000;
  font-family: var(--body); font-weight: 400; font-size: 14px; text-transform: uppercase;
  text-decoration: none; transition: background .2s, color .2s;
}
.btn-outline:hover, .btn-outline:focus-visible { background: #000; color: #fff; }

.btn-solid {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: #000; color: #fff; cursor: pointer;
  font-family: var(--body); font-weight: 400; font-size: 16px;
  text-decoration: none; transition: background .2s;
}
.btn-solid:hover, .btn-solid:focus-visible { background: #333; }

/* ---------- Home ---------- */
.hero {
  height: 684px;
  background-color: #000;
  background-image: url("/assets/img/hero-tlaw-1920.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.cta-band { background: var(--band); padding: 23px 0 46px; }
.cta-grid { display: grid; grid-template-columns: 345px 330px 305px; }
.cta { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta + .cta::before {
  content: ""; position: absolute; left: -2px; top: 39px; bottom: -5px; width: 5px; background: var(--bar);
}
.cta h2 { font-size: 15px; line-height: 21px; letter-spacing: 0.2em; min-height: 42px; margin-bottom: 56px; }
.cta:nth-child(1) h2 { white-space: nowrap; }
.cta:nth-child(2) h2 { max-width: 290px; }
.cta:nth-child(3) h2 { max-width: 240px; }

.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 678px; margin-top: 60px; scroll-margin-top: 20px; }
.about-text { width: 371px; margin: 65px 86px 60px auto; }
.about-text .display-xl { margin: 23px 0 45px; }
.about-text p { font-size: 15px; line-height: 18px; }
.about-text p + p { margin-top: 18px; }
.about-media { position: relative; background: #bafcff; overflow: hidden; }
.about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact footer (on every page) ---------- */
.contact { background: rgba(255, 255, 255, 0.96); scroll-margin-top: 0; }
.contact-inner { display: grid; grid-template-columns: 510px 442px; min-height: 497px; padding: 70px 0 0; }
.contact-info { padding-left: 33px; }
.contact-info h2 { font-size: 17px; line-height: 25px; letter-spacing: 0.2em; margin-top: 13px; }
.contact-info .inquiries { margin-top: 106px; font-size: 15px; line-height: 25.5px; letter-spacing: 0.02em; }
.contact-info .inquiries a { text-decoration: none; }
.contact-info .inquiries a:hover { text-decoration: underline; }
.social { list-style: none; padding: 0; margin: 66px 0 0 -5px; display: flex; gap: 16px; }
.social a { display: block; width: 25px; height: 25px; }
.social img { width: 25px; height: 25px; }
.social a:hover { opacity: .65; }

.contact-form { margin-top: 18px; display: flex; flex-direction: column; gap: 5px; }
.contact-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 2px solid #000; border-radius: 0; background: transparent; color: #000;
  font-family: var(--body); font-weight: 300; font-size: 15px; padding: 3px 12px; margin: 0;
}
.contact-form input { height: 35px; }
.contact-form textarea { height: 126px; padding: 14px 16px; resize: vertical; margin-top: 1px; }
.contact-form ::placeholder { color: #6f6f6f; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.form-actions { display: flex; flex-direction: column; align-items: flex-end; margin-top: 7px; }
.form-actions .btn-solid { width: 142px; height: 35px; }
.form-note { margin-top: 8px; font-size: 12px; color: #6f6f6f; }

/* ---------- Floating "Let's chat" (replaces Wix Chat) ---------- */
.chat-cta {
  position: fixed; right: 20px; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  width: 210px; height: 56px; background: #000; color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 17px; letter-spacing: 0.18em;
}
.chat-cta:hover, .chat-cta:focus-visible { background: #222; }
.chat-cta svg { display: none; }

/* ---------- Tips & Tools (/insights) ---------- */
.tools-section { position: relative; overflow: hidden; background: #536068; }
.tools-bg { position: absolute; inset: 0; z-index: 0; }
.tools-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tools-bg::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.19); }
.tools-column { position: relative; z-index: 1; background: #fff; padding: 0 0 20px; }
.ticker-wrap { height: 52px; margin: 0 -7px; overflow: hidden; }
.tools-column .page-title { margin-top: 12px; }
.tools-column .rule.title-rule { margin-top: 22px; width: 54px; }
.tools-column h2 { font-size: 17px; letter-spacing: 0.2em; line-height: 25px; margin-top: 35px; }
.tracker { display: grid; grid-template-columns: 414px 1fr; gap: 0; margin: 32px 0 0 44px; }
.tracker iframe { width: 414px; height: 511px; border: 0; background: #1b1d29; }
.tracker-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 414px; height: 300px; background: #1b1d29; color: #fff; text-decoration: none; text-align: center; padding: 24px; }
.tracker-card-name { font-family: var(--display, inherit); font-weight: 800; font-size: 34px; letter-spacing: 0.18em; }
.tracker-card-sub { font-size: 15px; line-height: 21px; color: #c9cbd6; }
.tracker-card-btn { margin-top: 6px; border: 1px solid #fff; padding: 9px 20px; font-size: 14px; letter-spacing: 0.06em; }
.tracker-card:hover .tracker-card-btn, .tracker-card:focus-visible .tracker-card-btn { background: #fff; color: #1b1d29; }
.tracker-steps { align-self: start; margin: 127px 0 0 99px; width: 310px; }
.tracker-steps .rule { width: 54px; margin: 0 auto; }
.tracker-steps ol { list-style: none; padding: 0; margin: 40px 0 40px; font-size: 17px; font-weight: 300; line-height: 20px; }
.tracker-steps li + li { margin-top: 21px; }
.heatmap { margin-top: 40px; }
.heatmap .rule { width: 54px; margin: 0 auto; }
.heatmap h2 { margin-top: 30px; }
.heatmap .embed { margin: 26px auto 0; width: 884px; height: 700px; }
.heatmap .tradingview-widget-container { width: 100%; height: 100%; }

/* ---------- Members ---------- */
body.page-members {
  background-image: url("/assets/img/members-bg.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}
.members-stage { min-height: 500px; }
.members-card { background: #fff; text-align: center; padding: 38px 20px 36px; }
.members-card h1 { font-size: 30px; line-height: 40px; letter-spacing: 0.2em; }
.members-card p { max-width: 380px; margin: 20px auto 0; font-size: 16px; line-height: 23px; font-weight: 400; letter-spacing: .01em; }
.members-card .btn-teal {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 35px;
  width: 160px; height: 45px; background: var(--teal); color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 400; transition: opacity .2s;
}
.members-card .btn-teal:hover { opacity: .85; }

/* ---------- Events / 404 ---------- */
.simple-stage { min-height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.simple-stage h1 { font-size: 30px; line-height: 40px; letter-spacing: 0.2em; }
.simple-stage .rule { margin: 0 auto 26px; }
.simple-stage p { margin-top: 20px; font-size: 16px; line-height: 25px; }
.simple-stage p a { text-decoration: underline; }
.simple-stage .btn-outline { margin-top: 32px; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .wrap { padding: 0 20px; }
  .logo { margin-left: 0; }
  .logo img { width: 240px; height: 75px; }
  .main-nav { margin-top: 20px; margin-left: auto; }
  .main-nav a { padding: 0 9px; }
  .hero { height: min(684px, 62vw); }
  .cta-grid { grid-template-columns: repeat(3, 1fr); }
  .cta { padding: 0 12px; }
  .cta h2 { white-space: normal !important; max-width: 100% !important; font-size: 14px; letter-spacing: 0.15em; min-height: 63px; margin-bottom: 30px; }
  .about-text { width: auto; margin: 65px 40px 60px 40px; }
  .contact-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .tracker { margin-left: 0; grid-template-columns: 414px 1fr; }
  .tracker-steps { margin-left: 40px; width: auto; }
  .heatmap .embed { width: 100%; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 24px; }

  .header-inner { height: auto; padding: 10px 24px 12px; justify-content: center; position: relative; }
  .logo { margin: 0 auto; }
  .logo img { width: 230px; height: 72px; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; padding: 6px; cursor: pointer; z-index: 40;
  }
  .burger span { display: block; height: 2px; background: #000; transition: transform .25s, opacity .2s; }
  .nav-toggle:focus-visible + .burger { outline: 2px solid var(--teal); }
  .main-nav {
    position: fixed; inset: 0; z-index: 30; margin: 0; background: #fff;
    display: flex; align-items: flex-start; justify-content: center; padding-top: 70px;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .main-nav ul { flex-direction: column; width: 68%; max-width: 300px; }
  .main-nav li { border-bottom: 1px solid #c8c8c8; }
  .main-nav a { text-align: center; font-size: 22px; font-weight: 300; line-height: 72px; padding: 0; }
  .nav-toggle:checked ~ .main-nav { opacity: 1; visibility: visible; }
  .nav-toggle:checked + .burger { position: fixed; top: 46px; transform: none; }
  .nav-toggle:checked + .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle:checked + .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  body:has(.nav-toggle:checked) { overflow: hidden; }
  body:has(.nav-toggle:checked) .chat-cta { display: none; }

  .hero { height: 180px; background-image: url("/assets/img/hero-tlaw-900.webp"); background-attachment: scroll; }

  .cta-band { padding: 28px 0 44px; }
  .cta-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta + .cta::before { display: none; }
  .cta h2 { font-size: 17px; line-height: 25px; min-height: 0; margin-bottom: 16px; white-space: normal !important; max-width: 320px !important; }
  .btn-outline { width: 100%; max-width: 280px; height: 50px; font-size: 17px; }

  .about { grid-template-columns: 1fr; margin-top: 0; min-height: 0; }
  .about-text { margin: 0; padding: 24px 24px 50px; }
  .about-text .display-xl { margin: 22px 0 40px; }
  .about-text p { font-size: 16.5px; line-height: 21px; }
  .about-media { aspect-ratio: 390 / 333; }

  .display-xl { font-size: 33px; line-height: 40px; letter-spacing: 0.09em; }

  .contact-inner { grid-template-columns: 1fr; gap: 0; padding: 40px 24px 50px; min-height: 0; }
  .contact-info { padding-left: 0; }
  .contact-info .inquiries { margin-top: 70px; font-size: 16.5px; line-height: 27px; }
  .social { margin: 50px 0 0 0; gap: 34px; }
  .form-actions { align-items: stretch; }
  .form-actions .btn-solid { width: 100%; height: 42px; font-size: 18px; }
  .form-note { text-align: center; }
  .contact-form input { height: 42px; font-size: 16px; }
  .contact-form textarea { height: 150px; font-size: 16px; }
  .contact-form { margin-top: 30px; gap: 12px; }

  .chat-cta { right: 14px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; font-size: 0; letter-spacing: 0; }
  .chat-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .chat-cta svg { display: block; width: 26px; height: 26px; }

  .tools-section .wrap { padding: 0; }
  .tools-column { margin: 0 12px; padding: 0 0 40px; }
  .ticker-wrap { margin: 0; height: 74px; }
  .tools-column .page-title { margin-top: 22px; }
  .tools-column h2 { font-size: 17px; padding: 0 10px; }
  .tracker { grid-template-columns: 1fr; margin: 26px 0 0; }
  .tracker iframe { width: 100%; height: 418px; }
  .tracker-card { width: 100%; height: 240px; }
  .tracker-steps { margin: 48px 0 0; width: auto; padding: 0 0 0 4px; }
  .tracker-steps ol { font-size: 18px; line-height: 23px; margin-bottom: 0; }
  .tracker-steps .rule.after { display: none; }
  .heatmap { display: none; }

  .members-stage { min-height: 0; }
  .members-stage .wrap { padding: 0; }
  .members-card { padding: 70px 24px 60px; }
  .members-card h1 { font-size: 29px; line-height: 39px; letter-spacing: 0.22em; }
  .members-card p { font-size: 17px; line-height: 24px; }
  .members-card .btn-teal { width: 200px; height: 50px; font-size: 17px; }


  .simple-stage { min-height: 380px; }
  .simple-stage h1 { font-size: 24px; line-height: 34px; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
