:root {
  --bg: #F3EEE6;
  --bg-warm: #E8DFD2;
  --bg-elevated: #FFFBF6;
  --bg-panel: #FBF7F1;
  --text: #3A2A1E;
  --text-deep: #2A1C12;
  --muted: #8A7460;
  --accent: #B8956C;
  --accent-deep: #9A7850;
  --accent-soft: rgba(184, 149, 108, 0.16);
  --danger: #C45C4A;
  --success: #5A8A5E;
  --border: rgba(58, 42, 30, 0.12);
  --border-strong: rgba(184, 149, 108, 0.35);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow-soft: 0 18px 48px rgba(58, 42, 30, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(900px 500px at 8% -5%, rgba(184, 149, 108, 0.18), transparent 55%),
    radial-gradient(800px 480px at 95% 8%, rgba(232, 223, 210, 0.9), transparent 50%),
    linear-gradient(180deg, #F7F3EC 0%, var(--bg) 45%, #EDE5D8 100%);
  color: var(--text);
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.is-ready { opacity: 1; }

/* Cormorant old-style figures drop below the baseline — use lining numerals */
h1,
h2,
h3,
.brand-lockup,
.article-panel h2,
.hero-caption h1,
.widget h3,
#calc-amount-display,
.calc-output .value,
.step-value,
.range-band,
.tx-list,
.feed-profit,
.live-today strong {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.brand-lockup {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.65rem;
  color: var(--text-deep);
}

.site-header {
  backdrop-filter: blur(14px);
  background: rgba(251, 247, 241, 0.88);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.notice-bar {
  background: linear-gradient(90deg, rgba(184, 149, 108, 0.18), rgba(232, 223, 210, 0.65));
  border-bottom: 1px solid var(--border);
  color: var(--text-deep);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.hero-plane {
  position: relative;
  width: 100%;
  min-height: 34vh;
  overflow: hidden;
}

.hero-plane img {
  width: 100%;
  height: 34vh;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.02);
  transition: transform 1.4s ease;
}

body.is-ready .hero-plane img { transform: scale(1); }

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 28, 18, 0.12) 0%,
    rgba(42, 28, 18, 0.45) 45%,
    rgba(42, 28, 18, 0.82) 100%
  );
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.15rem 1rem 1.4rem;
  color: #FBF7F1;
}

.hero-caption h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 0.85rem;
  max-width: 18ch;
  animation: rise 0.8s ease both;
  color: #FFFBF6;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.meta-row {
  color: rgba(251, 247, 241, 0.78);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  animation: rise 0.8s ease 0.12s both;
}

.stars { color: #E0C08A; letter-spacing: 0.05em; }
.stars span { color: rgba(251, 247, 241, 0.65) !important; }

.layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.75rem 1rem 4.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    align-items: start;
  }
}

.article-panel {
  background: rgba(255, 251, 246, 0.9);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.35rem 1.25rem 2rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .article-panel { padding: 2.1rem 2.35rem 2.6rem; }
}

.article-panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.85rem;
  margin: 2.1rem 0 0.9rem;
  color: var(--text-deep);
}

.article-panel p,
.article-panel li {
  color: var(--text);
  line-height: 1.75;
  font-size: 1.04rem;
}

.benefits-section {
  margin: 2.25rem 0 1.75rem;
}

.benefits-section > h2 {
  margin-bottom: 1.25rem;
}

.benefits-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
  background: linear-gradient(165deg, #FFFBF6, #F3EEE6);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 1.35rem 1.2rem 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(58, 42, 30, 0.12);
}

.benefit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-variant-numeric: lining-nums;
}

.benefit-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-deep);
  font-variant-numeric: lining-nums;
}

.benefit-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}

.proof-grid {
  display: grid;
  gap: 1rem;
  margin: 1.35rem 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-radius: 14px;
  border: 1px solid var(--border);
  display: block;
}

.tx-list {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 0.78rem;
  height: 100%;
}

.tx-list .tx-head {
  background: var(--accent-soft);
  padding: 0.7rem 0.85rem;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-deep);
}

.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(--success);
  font-weight: 700;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #C9A57A, var(--accent-deep));
  color: #FFFBF6;
  font-weight: 700;
  font-family: var(--font-body);
  border: none;
  border-radius: 12px;
  padding: 0.9rem 1.35rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 10px 28px rgba(154, 120, 80, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(154, 120, 80, 0.36);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.35rem 0;
  width: 100%;
}

.cta-inline .btn-primary {
  width: 100%;
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 0.9rem;
}

.comments {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.comment-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.comment-item.reply { margin-left: 2.5rem; }

.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-size: 0.875rem; color: var(--text-deep); }
.comment-meta span { font-size: 0.75rem; color: var(--muted); }

.comment-body p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--text);
}

.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;
}

.comment-actions button.liked { color: var(--accent-deep); }

.comment-composer {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.comment-composer .avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.comment-composer input,
.comment-composer textarea {
  width: 100%;
  background: #FFFBF6;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.5rem;
  font: inherit;
}

.comment-composer input:focus,
.comment-composer textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.sidebar { display: none; }

@media (min-width: 1024px) {
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 5.5rem;
  }
}

.widget {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.widget-estimator .estimator-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.widget h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-deep);
}

.widget .sub {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

#calc-amount-display {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  text-align: center;
  margin: 0.5rem 0 0.75rem;
  color: var(--accent-deep);
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) var(--slider-pct, 0%),
    #E0D5C5 var(--slider-pct, 0%),
    #E0D5C5 100%
  );
  margin-bottom: 0.35rem;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A57A, var(--accent-deep));
  border: 2px solid #FFFBF6;
  box-shadow: 0 4px 12px rgba(154, 120, 80, 0.4);
  cursor: pointer;
}

.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A57A, var(--accent-deep));
  border: 2px solid #FFFBF6;
  box-shadow: 0 4px 12px rgba(154, 120, 80, 0.4);
  cursor: pointer;
}

.calc-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.calc-output {
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0.9rem;
  margin-bottom: 1rem;
}

.calc-output .label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.calc-output .value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--accent-deep);
  font-weight: 600;
}

.range-band {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.timeline {
  position: relative;
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(184, 149, 108, 0.25));
  border-radius: 2px;
}

.timeline-step {
  position: relative;
  padding: 0.55rem 0 0.55rem 0.85rem;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 0.85rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #FFFBF6;
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.timeline-step .step-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.timeline-step .step-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-deep);
  margin-top: 0.1rem;
}

.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(--success);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  animation: pulse 1.4s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; 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(--success); }

.live-viewport {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.desk-feed-reel { will-change: transform; }

.desk-feed-row {
  height: 56px;
  padding: 0.35rem 0.15rem;
  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: 600; color: var(--text-deep); }
.feed-profit {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--success);
}
.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: 4px;
}
.feed-type-buy { background: rgba(90, 138, 94, 0.15); color: var(--success); }
.feed-type-sell { background: rgba(196, 92, 74, 0.12); color: var(--danger); }

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(251, 247, 241, 0.96);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  backdrop-filter: blur(10px);
}

@media (min-width: 1024px) {
  .mobile-bar { display: none; }
}

.site-footer {
  background: linear-gradient(180deg, #EDE5D8 0%, #E2D6C4 100%);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1rem 6rem;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (min-width: 1024px) {
  .site-footer { padding-bottom: 2.5rem; }
}

.site-footer h5 {
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.site-footer a:hover { color: var(--text-deep); }

.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: 6px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100020;
  background: rgba(42, 28, 18, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.modal-open { display: flex; }

.modal-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 28px 64px rgba(42, 28, 18, 0.22);
}

.modal-content.wide { max-width: 640px; }

.modal .close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  background: none;
  border: none;
  color: var(--text-deep);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

.modal-header {
  background: linear-gradient(135deg, #C9A57A, var(--accent-deep));
  padding: 1.35rem 1.5rem;
  text-align: center;
}

.modal-header h2 {
  margin: 0;
  color: #FFFBF6;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
}

.modal form { padding: 1.25rem 1.35rem 1.5rem; }

.modal form input {
  width: 100%;
  background: #FFFBF6;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.25rem;
  font: inherit;
}

.modal form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.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.6;
}

.legal-body h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-deep);
}

.iti { width: 100% !important; }
.iti__selected-dial-code { color: var(--text); }
.iti__country-name { color: #111; }

.overflow-hidden { overflow: hidden; }

.max-w-6xl { max-width: 1320px; }
