
:root{
  --bg:#ffffff;
  --ink:#0b1220;
  --muted:#5b6475;
  --muted2:#758199;
  --line:#e7eaf0;
  --panel:#f6f8fb;
  --panel2:#fbfcfe;
  --shadow: 0 18px 50px rgba(11,18,32,.10);
  --shadow2: 0 10px 24px rgba(11,18,32,.08);
  --r16:16px;
  --r22:22px;
  --r28:28px;
  --accent:#0ea5a8; /* teal */
  --accent2:#2563eb; /* blue */
  --max:1120px;
}
*{box-sizing:border-box}
[hidden]{display:none !important}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--ink);
  background:var(--bg);
}
a{color:inherit; text-decoration:none}
a:hover{opacity:.95}
.top{
  position:sticky; top:0; z-index:60;
  border-bottom:1px solid var(--line);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px) saturate(160%);
}
.top__inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 18px;
}
.brand{display:flex; align-items:center; gap:0}
.brand__text{display:none}
.brand__name{font-weight:900; letter-spacing:-.03em}
.bar{color:var(--accent)}
.brand__tag{font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); font-weight:800}
.brand__mark{
  display:block;
  width:290px;
  height:44px;
  flex:0 0 auto;
  background:url("assets/images/app_image.png") no-repeat left center / contain;
}
.brand__mark svg{display:none}
.brand__mark rect{fill:#fff; stroke:var(--line); stroke-width:2}
.brand__mark path{fill:none; stroke:var(--accent); stroke-width:3.2; stroke-linecap:round; stroke-linejoin:round}
.brand__mark line{stroke:var(--line); stroke-width:2}
@media (max-width: 900px){
  .brand__mark{
    width:180px;
    height:28px;
  }
}

.nav{display:none; gap:8px; align-items:center}
@media (min-width: 900px){ .nav{display:flex;} }
.nav__link{
  font-size:14px;
  font-weight:750;
  color:var(--muted);
  padding:10px 12px;
  border-radius:14px;
}
.nav__link--active{
  color:var(--ink);
  background:var(--panel);
  border:1px solid var(--line);
}

.burger{
  display:inline-flex;
  flex-direction:column;
  gap:4px;
  width:44px; height:44px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  align-items:center; justify-content:center;
  cursor:pointer;
}
@media (min-width: 900px){ .burger{display:none;} }
.burger span{width:18px; height:2px; background:var(--ink); border-radius:2px; opacity:.8}

.mobile{
  border-top:1px solid var(--line);
  padding:12px 18px 18px;
  background:#fff;
}
.mobile__link{
  display:block;
  padding:12px 10px;
  border-radius:14px;
  font-weight:800;
  color:var(--ink);
}
.mobile__link:hover{background:var(--panel)}
.mobile__foot{padding:12px 10px 0; color:var(--muted); font-weight:700}
.sep{color:var(--line); margin:0 8px}

.page{max-width:var(--max); margin:0 auto; padding:42px 18px 90px}
@media (min-width: 900px){ .page{padding:64px 24px 110px} }

/* Hero */
.hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:start;
}
@media (max-width: 900px){ .hero{grid-template-columns:1fr;} }
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:11px;
}
.kicker:before{
  content:"";
  width:10px; height:10px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 6px 18px rgba(14,165,168,.25);
}
.h1{
  margin:14px 0 12px;
  font-size:48px;
  line-height:1.05;
  letter-spacing:-.04em;
}
@media (max-width: 900px){ .h1{font-size:40px;} }
.lead{
  font-size:18px;
  line-height:1.7;
  color:#1f2937;
  max-width:60ch;
}
.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:16px;
  font-weight:850;
  font-size:14px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
}
.btn--primary{
  background: var(--ink);
  color:#fff;
  border-color:transparent;
  box-shadow: var(--shadow);
}
.btn--ghost{
  background: var(--panel2);
}
.heroCard{
  border:1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
  border-radius: var(--r28);
  padding:18px;
  box-shadow: var(--shadow2);
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:850;
  font-size:12px;
  color:var(--muted);
}
.badge i{
  width:10px; height:10px;
  border-radius:999px;
  background: var(--accent);
  display:inline-block;
}
.heroCard h3{margin:12px 0 6px; font-size:18px}
.heroCard p{margin:0; color:var(--muted); line-height:1.6}
.heroCard .sub{margin-top:12px; padding-top:12px; border-top:1px solid var(--line); font-size:13px; color:var(--muted2)}

/* Sections */
.section{margin-top:58px}
.section h2{
  margin:0 0 10px;
  font-size:26px;
  letter-spacing:-.02em;
}
.section p{margin:0 0 14px; line-height:1.75; color:#334155}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:18px}
@media (max-width: 900px){ .grid3{grid-template-columns:1fr;} }

.card{
  border:1px solid var(--line);
  border-radius: var(--r22);
  padding:16px;
  background:#fff;
  box-shadow: var(--shadow2);
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted); line-height:1.65}

.flow{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:10px;
  margin-top:16px;
}
@media (max-width: 1100px){ .flow{grid-template-columns:1fr;} }
.pill{
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px 14px;
  background: var(--panel);
}
.pill b{display:block; margin-bottom:6px}
.pill span{color:var(--muted); font-weight:650}

.list{margin:10px 0 0 18px; color:#334155}
.list li{margin:8px 0; line-height:1.7}

.legal-section{max-width:900px}
.legal-lead{max-width:72ch}
.legal-updated{
  margin:0 0 16px;
  color:var(--muted);
  font-weight:750;
}
.legal-doc{
  padding:20px 22px;
}
.legal-doc h3{
  margin:24px 0 8px;
  font-size:20px;
  letter-spacing:-.01em;
}
.legal-doc p{
  margin:0 0 12px;
  line-height:1.72;
  color:#1f2937;
}
.legal-list{
  margin:8px 0 12px 20px;
}
.legal-list li{
  margin:6px 0;
}
.legal-accordion{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  margin-top:12px;
  overflow:hidden;
}
.legal-accordion summary{
  cursor:pointer;
  list-style:none;
  padding:14px 16px;
  font-weight:850;
  color:var(--ink);
  background:var(--panel2);
}
.legal-accordion summary::-webkit-details-marker{display:none}
.legal-accordion summary:after{
  content:"+";
  float:right;
  color:var(--muted);
}
.legal-accordion[open] summary:after{content:"−"}
.legal-accordion__body{
  padding:14px 16px 16px;
  border-top:1px solid var(--line);
}

.hr{height:1px; background:var(--line); margin:34px 0}

/* Screenshot blocks */
.shot{
  margin-top:18px;
  border-radius: var(--r28);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
  background: #fff;
}
.shot img{display:block; width:100%; height:auto}
.shot__cap{
  padding:12px 14px;
  font-size:12px;
  color:var(--muted);
  border-top:1px solid var(--line);
  background: var(--panel2);
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  background: #fff;
}
.footer__inner{
  max-width:var(--max);
  margin:0 auto;
  padding:28px 18px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.footer__brand{font-weight:950; letter-spacing:-.02em}
.footer__tag{margin-top:8px; color:var(--muted); font-weight:800}
.footer__small{margin-top:10px; color:var(--muted2); max-width:60ch; line-height:1.6}
.footer__logo-wrap{
  display:block;
  flex:1 1 420px;
  min-width:0;
}
.footer__logo{
  display:block;
  width:100%;
  max-width:420px;
  height:auto;
}
.footer__links{display:flex; flex-direction:column; gap:10px; color:var(--muted); font-weight:800}
.footer__links a{color:var(--muted)}

/* Onboarding forms */
.onboard{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:18px;
  align-items:start;
  margin-top:18px;
}
@media (max-width: 980px){ .onboard{grid-template-columns:1fr;} }
.onboard__info,
.onboard__form{padding:20px}
.form__sub{
  margin:0 0 14px;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}
.form{
  display:block;
}
.form__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
}
@media (max-width: 720px){ .form__grid{grid-template-columns:1fr;} }
.field{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.field--full{grid-column:1 / -1}
.field span,
.toggle span{
  font-weight:800;
  color:var(--ink);
}
.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  color:var(--ink);
  padding:12px 14px;
  font:inherit;
  box-shadow:none;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  border-color:var(--accent2);
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
}
.field textarea{
  resize:vertical;
  min-height:120px;
}
.field input[readonly]{
  background:var(--panel);
  color:var(--muted);
}
.toggle{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px 0 2px;
}
.toggle input{
  width:18px;
  height:18px;
  margin-top:2px;
}
.form__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.status{
  margin-top:16px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--ink);
  white-space:pre-wrap;
  line-height:1.6;
}
.status--success{
  border-color:rgba(14,165,168,.25);
  background:rgba(14,165,168,.10);
}
.status--error{
  border-color:rgba(220,38,38,.18);
  background:rgba(220,38,38,.08);
}
.status--neutral{
  border-color:var(--line);
  background:var(--panel2);
  color:var(--muted);
}
.affiliate-shell{
  align-items:stretch;
}
.affiliate-dashboard{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:grid;
  gap:14px;
}
.affiliate-code-shell{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  flex-wrap:wrap;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel2);
}
.affiliate-code{
  margin-top:4px;
  font-size:24px;
  letter-spacing:.06em;
  font-weight:900;
}
.affiliate-link-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.affiliate-link-row{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.inline-code{
  display:block;
  overflow:auto;
  white-space:nowrap;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:10px;
  padding:8px 10px;
}
.affiliate-kpi-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:10px;
}
.kpi-card{
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  background:#fff;
}
.kpi-label{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.kpi-card strong{
  display:block;
  margin-top:6px;
  font-size:20px;
  letter-spacing:-.02em;
}
.affiliate-table-wrap{
  margin-top:6px;
}
.affiliate-table-wrap h4{
  margin:0 0 8px;
  font-size:15px;
}
.affiliate-table-wrap > div{
  overflow:auto;
}
.meta-k{
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.small-note{
  color:var(--muted);
  font-size:13px;
}
.summary-empty{
  border:1px dashed var(--line);
  border-radius:14px;
  padding:12px 14px;
  background:var(--panel2);
  color:var(--muted);
}
.mono-text{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.simple-table{
  width:100%;
  border-collapse:collapse;
}
.simple-table th,
.simple-table td{
  padding:10px 10px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}
.simple-table th{
  color:var(--muted);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.simple-table tr:last-child td{
  border-bottom:0;
}
.gate{
  display:block;
}
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:.92em;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:8px;
  padding:2px 6px;
}
@media (max-width: 980px){
  .affiliate-kpi-grid{grid-template-columns:repeat(2, minmax(0,1fr));}
}

/* Strategy Banner (premium) */

.strategy-banner{
  margin-top:42px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff;
  overflow:hidden;
  position:relative;
}

/* faint gradient motion background */
.strategy-banner:before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(600px 240px at 20% 30%, rgba(14,165,168,.10), transparent 60%),
    radial-gradient(540px 220px at 80% 70%, rgba(37,99,235,.08), transparent 62%),
    radial-gradient(520px 260px at 50% 85%, rgba(11,18,32,.05), transparent 64%);
  filter: blur(18px);
  opacity:.55;
  animation: strategyGlow 18s ease-in-out infinite alternate;
  pointer-events:none;
}

@keyframes strategyGlow{
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.02); }
  50%  { transform: translate3d(2%, 1%, 0) scale(1.03); }
  100% { transform: translate3d(1%, -2%, 0) scale(1.02); }
}

.strategy-banner__inner{
  position:relative;
  max-width:var(--max);
  margin:0 auto;
  padding:18px 18px 22px;
}

/* micro-label above */
.strategy-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:11px;
  margin-bottom:10px;
}
.strategy-kicker:before{
  content:"";
  width:9px; height:9px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 6px 18px rgba(14,165,168,.18);
}

/* payoff line behind the sliding text */
.strategy-payoff{
  position:absolute;
  left:18px;
  right:18px;
  top:42px;
  height:70px;
  opacity:.22;
  pointer-events:none;
  z-index:0;
}
.strategy-payoff svg{
  width:100%;
  height:100%;
}
.strategy-payoff path{
  fill:none;
  stroke: rgba(11,18,32,.22);
  stroke-width:3.0;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: payoffDraw 6.5s ease-in-out infinite;
}

@keyframes payoffDraw{
  0%   { stroke-dashoffset: 1600; opacity:.16; }
  25%  { opacity:.22; }
  55%  { stroke-dashoffset: 0; opacity:.24; }
  80%  { opacity:.18; }
  100% { stroke-dashoffset: -1600; opacity:.14; }
}

/* text track */
.strategy-track{
  position:relative;
  height:84px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1;
}

.strategy-item{
  position:absolute;
  font-size:34px;
  font-weight:950;
  letter-spacing:-.03em;
  opacity:0;
  transform:translateX(42px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
  color:var(--ink);
  text-align:center;
  padding:0 10px;
  max-width: 100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-rendering: geometricPrecision;
}

.strategy-item.active{
  opacity:1;
  transform:translateX(0);
}

/* Strategy ticker tape (secondary row) */

.strategy-tape{
  margin-top:10px;
  position:relative;
  z-index:1;
}

.strategy-tape__mask{
  position:relative;
  overflow:hidden;
  padding-top:8px;
}

/* subtle edge fades */
/*
.strategy-tape__mask:before,
.strategy-tape__mask:after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:60px;
  pointer-events:none;
  z-index:2;
}
.strategy-tape__mask:before{
  left:0;
  background:linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}
.strategy-tape__mask:after{
  right:0;
  background:linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}
*/

.strategy-tape__lane{
  display:inline-flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  will-change: transform;
  animation: strategyMarquee 80s linear infinite;
  padding-left:10px;
}

.strategy-chip{
  display:inline-flex;
  align-items:center;
  padding:0 14px;
  color:var(--muted);
  font-weight:800;
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.strategy-chip:before{
  content:"";
  width:6px; height:6px;
  border-radius:999px;
  background:rgba(14,165,168,.55);
  margin-right:8px;
}

@keyframes strategyMarquee{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* responsive */
@media (max-width: 900px){
  .strategy-track{ height:76px; }
  .strategy-item{ font-size:26px; }
  .strategy-payoff{ top:40px; height:62px; }

  .strategy-tape__lane{ animation-duration: 24s; }
  .strategy-chip{ font-size:11px; padding:6px 9px; }

  .footer__inner{
    gap:18px;
  }
  .footer__logo-wrap,
  .footer__links{
    flex:1 1 100%;
    width:100%;
  }
  .footer__logo{
    max-width:min(100%, 240px);
  }
}

/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
  .strategy-banner:before,
  .strategy-payoff path{
    animation: none !important;
  }
  .strategy-item{
    transition: none !important;
  }
  .strategy-tape__lane{
    animation: none !important;
  }
}

/* Beta Countdown Component */
.beta-countdown{
  margin-top:24px;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:var(--r28);
  background:
    radial-gradient(circle at top right, rgba(14,165,168,.14), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow:var(--shadow2);
}
.beta-countdown__eyebrow{
  margin:0 0 6px;
  font-size:11px;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
}
.beta-countdown__title{
  margin:0;
  font-size:22px;
  letter-spacing:-.02em;
}
.beta-countdown__sub{
  margin:8px 0 0;
  color:#334155;
  line-height:1.7;
}
.beta-countdown__grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:18px;
}
.beta-countdown__unit{
  padding:14px 12px;
  border:1px solid rgba(37,99,235,.10);
  border-radius:20px;
  background:rgba(255,255,255,.82);
  text-align:center;
}
.beta-countdown__value{
  display:block;
  font-size:34px;
  line-height:1;
  letter-spacing:-.04em;
  font-weight:900;
  color:var(--ink);
}
.beta-countdown__label{
  display:block;
  margin-top:8px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted2);
  font-weight:800;
}
.beta-countdown__deadline{
  margin:14px 0 0;
  font-size:13px;
  color:var(--muted);
  font-weight:700;
}
.beta-countdown--live .beta-countdown__value{
  color:var(--accent2);
}
@media (max-width: 780px){
  .beta-countdown__grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .beta-countdown__value{
    font-size:30px;
  }
}

.video-container {
  width: min(90%, 750px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.features-video {
  display: block;
  width: 100%;
  height: auto;
}