/* ============================================================
   Orvion Fin — design tokens
   ============================================================ */
:root{
  --paper:      #F6F9FE;
  --paper-2:    #ECF2FC;
  --ink:        #0F1B33;
  --muted:      #5B6B85;
  --line:       #E1E8F5;

  --panel-dark: #0B1730;
  --panel-dark-2:#12213F;
  --on-dark:    #EAF0FB;
  --on-dark-muted: #92A2C2;

  --accent:     #2F6FED;
  --accent-ink: #1D4ED8;
  --accent-soft:#E7EFFE;
  --accent-grad: linear-gradient(135deg, #4F8CFB, #1D4ED8);
  --success:    #22C55B;
  --success-soft: #E5F8EB;
  --gold:       #C98A3E;
  --gold-soft:  #F3E4CC;

  --danger:     #B5502F;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --radius-s: 6px;
  --radius-m: 10px;
  --shadow-card: 0 18px 40px -18px rgba(29,78,216,0.18);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}

p{ margin: 0; }

ul, ol, dl{ margin: 0; padding: 0; list-style: none; }

button{ font-family: inherit; cursor: pointer; }

.wrap{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus{ left: 16px; top: 16px; }

:focus-visible{
  outline: 2px solid var(--accent-ink);
  outline-offset: 2px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn-solid{
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(29,78,216,0.55);
}
.btn-solid:hover{ transform: translateY(-1px); box-shadow: 0 14px 26px -8px rgba(29,78,216,0.6); }
.btn-solid svg{ flex-shrink: 0; }

.btn-outline{
  border-color: rgba(237,241,234,0.35);
  color: var(--on-dark);
}
.btn-outline:hover{ border-color: rgba(237,241,234,0.7); }

.btn-ghost{
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}
.btn-ghost:hover{ border-color: var(--muted); }

.btn-play{
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}
.btn-play:hover{ border-color: var(--muted); }
.play-dot{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.btn-text{
  padding: 11px 4px;
  color: var(--accent-ink);
  border-radius: var(--radius-s);
}
.btn-text:hover{ text-decoration: underline; }

.btn-lg{ padding: 13px 24px; font-size: 15px; }

/* ============================================================
   Header
   ============================================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,245,241,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 6px 14px -6px rgba(29,78,216,0.55);
}

.nav-actions-wrap{
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav{
  display: flex;
  gap: 26px;
}
.main-nav a{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}
.main-nav a:hover{ color: var(--ink); }

.header-actions{
  display: flex;
  gap: 10px;
}

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  padding: 76px 0 88px;
  overflow: hidden;
}

.hero-inner{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.dot-live{ background: var(--success); }

.hero-copy h1{
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(38px, 4.4vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.hero-copy h1 .accent-word{
  color: var(--accent-ink);
}

.hero-lede{
  margin-top: 22px;
  font-size: 17px;
  color: var(--muted);
  max-width: 46ch;
}

.hero-ctas{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-stats{
  display: flex;
  gap: 36px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat{
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.stat-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  flex-shrink: 0;
}
.stat-copy{ display: flex; flex-direction: column; }
.stat-copy strong{
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 21px;
  color: var(--ink);
  line-height: 1.2;
}
.stat-copy em{
  font-style: normal;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.stat-copy small{
  font-size: 12px;
  color: var(--muted);
}

.trust-row{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.flag-stack{ display: flex; }
.flag-circle{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-left: -8px;
}
.flag-circle:first-child{ margin-left: 0; }
.trust-divider{
  width: 1px;
  height: 32px;
  background: var(--line);
}
.trust-copy{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* ---- payout calculator card ---- */
.hero-panel{ position: relative; }

.hero-decor{
  position: absolute;
  top: -40px;
  left: -70px;
  width: 130%;
  height: 118%;
  z-index: 0;
  pointer-events: none;
}

.calc-card{
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.calc-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}
.calc-head-text{
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.calc-head-text strong{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.calc-head-text em{
  font-style: normal;
  font-size: 12.5px;
  color: var(--muted);
}

.live-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  background: var(--accent-soft);
  padding: 6px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.calc-field{
  display: block;
  margin-bottom: 18px;
}
.calc-field > span{
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.calc-input{
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  background: var(--paper);
}
.calc-currency{ color: var(--muted); font-weight: 600; }
.calc-input input{
  border: none;
  background: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  width: 100%;
  outline: none;
}

.calc-subhead{
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.calc-currencies{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.curr-btn{
  padding: 8px 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.curr-btn:hover{ border-color: var(--accent); color: var(--accent-ink); }
.curr-btn.is-active{
  border-color: var(--accent-ink);
  background: var(--accent-grad);
  color: #fff;
}

.calc-rows{
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.calc-rows > div{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 14px;
}
.calc-rows dt{ color: var(--muted); }
.calc-rows dd{ font-weight: 600; margin: 0; }
.calc-highlight{ color: var(--success); font-weight: 700; }

.info-dot{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--line);
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  margin-left: 4px;
  cursor: default;
}

.calc-total{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 17px;
}
.calc-total span:last-child{ color: var(--accent-ink); font-size: 19px; }

.calc-alert{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
}
.calc-alert strong{ display: block; font-size: 13px; }
.calc-alert small{ display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.calc-alert-success{ background: var(--success-soft); }
.calc-alert-success strong{ color: #157A3C; }
.calc-alert-info{ background: var(--accent-soft); }
.calc-alert-info strong{ color: var(--accent-ink); }

.alert-icon{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.alert-icon-success{ background: var(--success); }
.alert-icon-info{ background: #fff; border: 1px solid rgba(29,78,216,0.25); }

/* ============================================================
   Sections (shared)
   ============================================================ */
.section{ padding: 92px 0; }
.section-alt{ background: var(--paper-2); }

.section-label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.section-label-light{ color: var(--gold); }

.section-title{
  font-size: clamp(28px, 3.2vw, 38px);
  max-width: 20ch;
}

.section-lede{
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
  max-width: 56ch;
}

/* ---- features ---- */
.feature-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.feature-card{
  background: var(--paper);
  padding: 32px;
}
.feature-icon{ margin-bottom: 22px; }
.feature-card h3{
  font-size: 19px;
  margin-bottom: 10px;
}
.feature-card p{
  color: var(--muted);
  font-size: 15px;
}

/* ---- steps ---- */
.steps{
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step{
  padding-top: 20px;
  border-top: 2px solid var(--accent);
}
.step-num{
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 14px;
}
.step h3{ font-size: 18px; margin-bottom: 8px; }
.step p{ color: var(--muted); font-size: 14.5px; }

.stat-strip{
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat-strip strong{
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 6px;
}
.stat-strip span{ color: var(--muted); font-size: 14px; }

/* ---- security (dark) ---- */
.section-dark{
  background: var(--panel-dark);
  color: var(--on-dark);
}
.section-dark .section-title{ color: var(--on-dark); }
.section-dark .section-lede{ color: var(--on-dark-muted); }

.security-inner{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.security-points{
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.security-points h3{
  color: var(--on-dark);
  font-size: 17.5px;
  margin-bottom: 6px;
}
.security-points p{
  color: var(--on-dark-muted);
  font-size: 14.5px;
  max-width: 46ch;
}

.verify-card{
  background: var(--panel-dark-2);
  border: 1px solid rgba(237,241,234,0.1);
  border-radius: var(--radius-m);
  padding: 26px;
}
.verify-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}
.verify-status{
  color: var(--gold);
  background: rgba(201,138,62,0.14);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12.5px;
}
.verify-list li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(237,241,234,0.08);
  font-size: 14.5px;
}
.verify-list li:first-child{ border-top: none; }
.tag{
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.tag-approved{ color: #8FD6AE; background: rgba(31,138,95,0.18); }
.tag-pending{ color: var(--gold); background: rgba(201,138,62,0.14); }

/* ---- legal accordion ---- */
.accordion{
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.accordion-item{ border-bottom: 1px solid var(--line); }
.accordion-trigger{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
}
.accordion-trigger::after{
  content: '+';
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.accordion-trigger[aria-expanded="true"]::after{
  transform: rotate(45deg);
  color: var(--accent-ink);
}
.accordion-meta{
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  margin-left: auto;
  margin-right: 16px;
}

.accordion-panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.accordion-panel > div{
  padding-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 68ch;
}
.accordion-panel p{ color: var(--muted); font-size: 15px; }

.legal-footnote{
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}

/* ---- CTA band ---- */
.cta-band{
  background: var(--accent-soft);
  padding: 72px 0;
}
.cta-inner{ text-align: center; }
.cta-band h2{
  font-size: clamp(28px, 3.4vw, 36px);
  max-width: 18ch;
  margin: 0 auto;
}
.cta-band p{
  margin-top: 14px;
  color: var(--accent-ink);
  font-size: 16px;
}
.cta-band .hero-ctas{ justify-content: center; margin-top: 28px; }
.cta-band .btn-outline{
  border-color: var(--accent-ink);
  color: var(--accent-ink);
}
.cta-band .btn-outline:hover{ background: rgba(15,92,62,0.06); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer{
  background: var(--panel-dark);
  color: var(--on-dark-muted);
  padding: 56px 0 0;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-brand .brand{ color: var(--on-dark); }
.footer-brand p{ margin-top: 10px; font-size: 14px; }
.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-content: flex-start;
}
.footer-links a{ font-size: 14px; }
.footer-links a:hover{ color: var(--on-dark); }

.footer-bottom{
  border-top: 1px solid rgba(237,241,234,0.1);
  padding: 20px 0;
  font-size: 13px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px){
  .hero-inner, .security-inner{
    grid-template-columns: 1fr;
  }
  .feature-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .stat-strip{ grid-template-columns: 1fr; gap: 20px; }
  .hero-decor{ display: none; }
  .hero-panel{ max-width: 460px; }
}

@media (max-width: 760px){
  .nav-actions-wrap{ display: none; }
  .nav-toggle{ display: flex; }

  .site-header.is-open .nav-actions-wrap{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 28px 20px;
  }
  .site-header.is-open .main-nav{
    flex-direction: column;
    gap: 2px;
  }
  .site-header.is-open .main-nav a{ padding: 10px 0; }
  .site-header.is-open .header-actions{
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  .site-header.is-open .btn{ justify-content: center; }

  .hero{ padding: 48px 0 60px; }
  .hero-stats{ gap: 22px 28px; flex-wrap: wrap; }
  .hero-panel{ max-width: none; }
  .trust-row{ flex-wrap: wrap; }
  .steps{ grid-template-columns: 1fr; }
  .section{ padding: 64px 0; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}