:root {
  --bg: #F7F5F0;
  --bg-paper: #FFFEFA;
  --bg-ink: #111111;
  --text: #161616;
  --muted: #5C5A55;
  --accent: #1D4ED8;
  --accent-soft: rgba(29, 78, 216, 0.08);
  --accent-line: rgba(29, 78, 216, 0.22);
  --danger: #B91C1C;
  --border: #E4E0D6;
  --rule: #D6D1C4;
  --gain: #0F766E;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(29, 78, 216, 0.04), transparent 55%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(22, 22, 22, 0.015) 27px,
      rgba(22, 22, 22, 0.015) 28px
    ),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

body.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.brand-lockup {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.site-header {
  background: rgba(247, 245, 240, 0.92);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.notice-bar {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 0.85rem;
  font-style: italic;
}

.hero-plane {
  position: relative;
  width: 100%;
  min-height: 34vh;
  overflow: hidden;
  background: var(--bg-ink);
}

.hero-plane img {
  width: 100%;
  height: 34vh;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.06) translateY(12px);
  transition: opacity 0.9s ease, transform 1.15s ease;
}

body.is-ready .hero-plane img {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.15) 0%,
    rgba(17, 17, 17, 0.35) 40%,
    rgba(17, 17, 17, 0.88) 100%
  );
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.15rem 1rem 1.4rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.05;
  max-width: none;
  animation: rise 0.75s ease 0.15s both;
}

.hero-caption h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  margin: 0 0 1rem;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.92);
  animation: rise 0.75s ease 0.28s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  animation: rise 0.75s ease 0.4s both;
}

.byline .stars {
  color: #F5C542;
  letter-spacing: 0.06em;
}

.byline .stars span {
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0;
}

.layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 1rem 4.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
    align-items: start;
    gap: 2.5rem;
    padding-top: 2.75rem;
  }
}

.article-panel {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 1.5rem 1.25rem 2rem;
  box-shadow: 0 1px 0 rgba(22, 22, 22, 0.04);
}

@media (min-width: 768px) {
  .article-panel { padding: 2.25rem 2.5rem 2.75rem; }
}

.article-panel > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4rem;
  float: left;
  line-height: 0.8;
  padding: 0.15rem 0.45rem 0 0;
  color: var(--accent);
  font-weight: 700;
}

.article-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.9rem;
  color: var(--text);
  line-height: 1.2;
}

.article-panel p,
.article-panel li {
  color: var(--text);
  line-height: 1.75;
  font-size: 1.05rem;
}

.pull-quote {
  margin: 1.75rem 0;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}

.pull-quote cite {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.benefits-section {
  margin: 2.25rem 0 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.benefits-section > h2 {
  margin-bottom: 1.35rem;
}

.benefits-grid {
  display: grid;
  gap: 0;
}

.benefit-card {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.85rem 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}

.benefit-card:last-child { border-bottom: none; }

.benefit-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.benefit-card h3 {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.benefit-card p {
  grid-column: 2;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
}

@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 1.75rem;
  }
  .benefit-card {
    display: block;
    border-bottom: none;
    border-right: 1px solid var(--rule);
    padding: 0 1.25rem 0 0;
  }
  .benefit-card:last-child { border-right: none; padding-right: 0; }
  .benefit-num { display: block; margin-bottom: 0.65rem; }
  .benefit-card h3 { margin-bottom: 0.55rem; }
}

.proof-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  align-items: stretch;
}

@media (min-width: 640px) {
  .proof-grid { grid-template-columns: 3fr 2fr; }
}

.proof-grid > img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--border);
  display: block;
}

.tx-list {
  background: #FAF8F3;
  border: 1px solid var(--border);
  overflow: hidden;
  font-size: 0.78rem;
  height: 100%;
}

.tx-list .tx-head {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.7rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--accent-line);
}

.tx-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem;
  padding: 0.6rem 0.85rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.tx-row .gain {
  color: var(--gain);
  font-weight: 700;
  font-family: var(--font-display);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 2px;
  padding: 0.9rem 1.35rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  box-shadow: 0 0 0 0 rgba(29, 78, 216, 0);
}

.btn-primary:hover {
  background: #1E40AF;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.28);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.7rem 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
  width: 100%;
}

.cta-inline .btn-primary {
  width: 100%;
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--rule);
  padding-left: 0.9rem;
  line-height: 1.65;
}

.comments {
  margin-top: 2.75rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.75rem;
}

.comment-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.comment-item.reply { margin-left: 2.25rem; }

.comment-item img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.comment-body { min-width: 0; flex: 1; }

.comment-meta {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.comment-meta strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.comment-meta span {
  font-size: 0.75rem;
  color: var(--muted);
}

.comment-body p {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
}

.comment-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.4rem;
}

.comment-actions button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
}

.comment-actions button.liked { color: var(--accent); }

.comment-composer {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.comment-composer .avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}

.comment-composer input,
.comment-composer textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.5rem;
  font: inherit;
}

.comment-composer input:focus,
.comment-composer textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.sidebar { display: none; }

@media (min-width: 1024px) {
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    position: sticky;
    top: 5.25rem;
  }
}

.widget {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  padding: 1.2rem;
}

.widget-magazine {
  border-top: 3px solid var(--accent);
  position: relative;
}

.widget-magazine .mag-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 650;
  margin-bottom: 0.55rem;
}

.widget h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.widget .sub {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

#calc-amount-display {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0.5rem 0 0.75rem;
  color: var(--text);
  letter-spacing: -0.03em;
}

.calc-slider {
  width: 100%;
  accent-color: var(--accent);
  margin-bottom: 0.35rem;
}

.calc-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.calc-output {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 0.9rem;
  margin-bottom: 0.9rem;
}

.calc-output .label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.calc-output .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.range-band {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.live-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 1.4s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.live-today {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.live-today strong {
  color: var(--gain);
  font-family: var(--font-display);
}

.live-viewport {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.desk-feed-reel { will-change: transform; }

.desk-feed-row {
  height: 56px;
  padding: 0.35rem 0.1rem;
  border-bottom: 1px solid var(--border);
}

.feed-row-top,
.feed-row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feed-user {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.feed-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
}

.feed-name {
  font-size: 0.8rem;
  font-weight: 650;
  font-family: var(--font-display);
}

.feed-profit {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gain);
  font-family: var(--font-display);
}

.feed-pair {
  font-size: 0.7rem;
  color: var(--muted);
}

.feed-ai {
  font-size: 0.65rem;
  color: var(--muted);
}

.feed-type {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  font-family: var(--font-display);
}

.feed-type-buy {
  background: rgba(15, 118, 110, 0.12);
  color: var(--gain);
}

.feed-type-sell {
  background: rgba(185, 28, 28, 0.1);
  color: var(--danger);
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(247, 245, 240, 0.97);
  border-top: 1px solid var(--rule);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  backdrop-filter: blur(8px);
}

@media (min-width: 1024px) {
  .mobile-bar { display: none; }
}

.site-footer {
  background: #1A1916;
  border-top: 1px solid #2A2824;
  padding: 2.5rem 1rem 6rem;
  color: #A8A49A;
  font-size: 0.8rem;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .site-footer { padding-bottom: 2.5rem; }
}

.site-footer h5 {
  color: #F5C542;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-family: var(--font-display);
  margin: 0 0 0.55rem;
}

.site-footer a {
  color: #A8A49A;
  text-decoration: none;
  cursor: pointer;
}

.site-footer a:hover { color: #fff; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.brand-logo-max {
  max-height: 48px;
  background: #fff;
  padding: 4px;
  border-radius: 2px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100020;
  background: rgba(17, 17, 17, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.modal-open { display: flex; }

.modal-content {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 2px;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content.wide { max-width: 640px; }

.modal .close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

.modal-header {
  background: var(--accent-soft);
  padding: 1.35rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--accent-line);
}

.modal-header h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 650;
}

.modal form { padding: 1.25rem 1.35rem 1.5rem; }

.modal form input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.25rem;
  font: inherit;
}

.modal form input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-error {
  color: var(--danger);
  font-size: 0.75rem;
  min-height: 1rem;
  margin-bottom: 0.5rem;
}

.modal form button[type="submit"] {
  width: 100%;
  margin-top: 0.5rem;
}

.legal-body {
  padding: 1.5rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.65;
}

.legal-body h3 {
  margin-top: 0;
  font-family: var(--font-display);
  color: var(--text);
}

.iti { width: 100% !important; }
.iti__selected-dial-code { color: var(--text); }
.iti__country-name { color: #111; }

.overflow-hidden { overflow: hidden; }

.flex { display: flex; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 0.5rem; }
.gap-6 { gap: 1.5rem; }
.max-w-6xl { max-width: 1320px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.list-none { list-style: none; }
.p-0 { padding: 0; }
.m-0 { margin: 0; }
.mb-4 { margin-bottom: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.grid { display: grid; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
