/* =============================================================
   RAIN.TRADE — Coming Soon styles
   Self-contained: tokens + page styles for /coming-soon.html.
   ============================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Inter:wght@400;500;600;700;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  /* Brand */
  --rain-lime:        #C2DF13;
  --rain-cta:         #E6FF00;
  --rain-cta-hover:   #D4ED00;
  --rain-cta-press:   #BCD300;

  /* Foreground */
  --fg-1: #212121;
  --fg-2: #797979;
  --fg-3: #9E9D9D;

  /* Background */
  --bg-canvas:  #F8F8F8;
  --bg-surface: #FFFFFF;
  --bg-subtle:  #F5F5F5;
  --bg-sunken:  #ECECEC;
  --bg-dark:    #151515;

  /* Border */
  --border-1: #E8E8E8;
  --border-2: #DDDDDD;
  --border-3: #CDCDCD;

  /* Semantic — Yes / No */
  --pos-600: #22AC00;
  --pos-100: #E7F9E0;
  --neg-600: #FE5C32;
  --neg-100: #FEE9E0;

  /* Radii */
  --r-sm:  6px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  14px;
  --r-pill: 42px;

  /* Shadows */
  --shadow-card: 0 1px 4px rgba(0,0,0,0.06);

  /* Type stacks */
  --font-ui:      "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-meta:    "Inter Tight", "Inter", sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-tag:     "Space Grotesk", "Inter Tight", sans-serif;

  /* Semantic type */
  --t-body:     500 14px/1.40 var(--font-ui);
  --t-meta:     500 14px/1.30 var(--font-meta);
  --t-meta-sm:  500 12px/1.20 var(--font-meta);
  --t-label-up: 700 14px/1.00 var(--font-ui);
}

*, *::before, *::after { box-sizing: border-box; }
html, body, #root { margin: 0; padding: 0; min-height: 100vh; background: var(--bg-canvas); }
body {
  font: var(--t-body);
  color: var(--fg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

button { font-family: inherit; }
input  { font-family: inherit; }

/* ── Page shell ────────────────────────────────────────── */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* ── Top bar ───────────────────────────────────────────── */
.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 50px;
}
.lockup { display: flex; align-items: center; gap: 10px; }
.brand-logo { display: block; height: 44px; width: auto; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.meta-pill {
  font: var(--t-meta-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-1);
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pos-600);
  position: relative;
  box-shadow: 0 0 0 0 rgba(34,172,0,0.6);
  animation: pulse 2s infinite ease-out;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,172,0,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(34,172,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,172,0,0); }
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 50px 28px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--fg-2);
}
.label-up {
  font: var(--t-label-up);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-1);
  font-size: 12px;
}
.meta-sep { color: var(--border-3); }
.hero-loc {
  font: var(--t-meta-sm);
  color: var(--fg-2);
  font-feature-settings: "tnum";
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.018em;
  color: var(--fg-1);
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
  max-width: 16ch;
  min-height: 2.94em;
}
.hero-headline .rh {
  display: inline-block;
  transition: opacity 280ms ease, transform 280ms ease, filter 280ms ease;
}
.rh-in  { opacity: 1; transform: translateY(0) skewY(0); filter: blur(0); }
.rh-out { opacity: 0; transform: translateY(8px) skewY(-0.6deg); filter: blur(2px); }

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Yes / No price pills */
.hero-pills { display: flex; align-items: center; gap: 10px; }
.pp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 11px 16px;
  border-radius: 10px;
  font: 600 14px/1 var(--font-ui);
  cursor: default;
}
.pp-yes { background: var(--pos-100); color: var(--pos-600); }
.pp-no  { background: var(--neg-100); color: var(--neg-600); }
.pp-label { font-weight: 600; }
.pp-price { font-family: var(--font-meta); font-weight: 600; font-feature-settings: "tnum"; }
.vol {
  font: var(--t-meta-sm);
  color: var(--fg-2);
  margin-left: 6px;
  font-feature-settings: "tnum";
}

/* ── Manifesto (single-line slogan) ─────────────────── */
.manifesto {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px 22px;
  letter-spacing: -0.022em;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.05;
}
.m-piece {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  animation: m-rise 800ms cubic-bezier(.22,1,.36,1) both;
}
.m-piece:nth-child(1) { animation-delay: 220ms; }
.m-piece:nth-child(2) { animation-delay: 360ms; }
.m-piece:nth-child(3) { animation-delay: 500ms; }
@keyframes m-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.m-any {
  font-family: var(--font-ui);
  font-weight: 800;
  color: var(--rain-lime);
  font-size: 0.92em;
  transform: translateY(-0.04em);
  display: inline-block;
}
.m-noun {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--fg-1);
  letter-spacing: -0.025em;
}
.m-dot {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--fg-1);
  margin-left: -0.08em;
}

/* ── Signup card ───────────────────────────────────────── */
.signup-wrap {
  position: relative;
  z-index: 3;
  padding: 0 50px 24px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}
.signup-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.signup-left { flex: 1 1 380px; min-width: 280px; }
.signup-eyebrow {
  font: var(--t-meta-sm);
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.kicker-dot {
  width: 6px; height: 6px;
  background: var(--rain-lime);
  border-radius: 50%;
  display: inline-block;
}
.signup-title {
  font: 600 22px/1.2 var(--font-ui);
  color: var(--fg-1);
  margin: 0;
  letter-spacing: -0.005em;
}
.signup-title-serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--fg-1);
}

.signup-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}
.email-input {
  background: var(--bg-subtle);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  font: 500 14px/1 var(--font-ui);
  color: var(--fg-1);
  min-width: 260px;
  outline: none;
  transition: border-color 150ms ease, background 150ms ease;
}
.email-input::placeholder { color: var(--fg-3); }
.email-input:focus {
  border-color: var(--border-3);
  background: var(--bg-surface);
}
.cta {
  background: var(--rain-cta);
  color: var(--bg-dark);
  border: 0;
  border-radius: var(--r-lg);
  padding: 12px 18px;
  font: 600 14px/1 var(--font-ui);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 150ms ease, transform 80ms ease;
  letter-spacing: -0.005em;
}
.cta:hover  { background: var(--rain-cta-hover); }
.cta:active { background: var(--rain-cta-press); transform: translateY(1px); }
.joined {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pos-100);
  color: var(--pos-600);
  border-radius: var(--r-lg);
  padding: 12px 18px;
  font: 600 14px/1 var(--font-ui);
}
.form-error {
  flex-basis: 100%;
  margin-top: 4px;
  font: 500 12px/1.3 var(--font-ui);
  color: var(--neg-600);
}
.cta[disabled], .email-input[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--pos-600);
  color: white;
  border-radius: 50%;
  font-size: 11px;
}

/* ── Ticker ─────────────────────────────────────────────── */
.ticker {
  position: relative;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  height: 50px;
  overflow: hidden;
  z-index: 3;
}
.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  gap: 0;
  animation: marquee linear infinite;
  will-change: transform;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tk-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  border-right: 1px solid var(--border-1);
  height: 100%;
  white-space: nowrap;
}
.tk-q { font: var(--t-body); color: var(--fg-1); }
.tk-y {
  font: 600 13px/1 var(--font-meta);
  color: var(--pos-600);
  background: var(--pos-100);
  padding: 4px 8px;
  border-radius: var(--r-sm);
}
.tk-n {
  font: 600 13px/1 var(--font-meta);
  color: var(--neg-600);
  background: var(--neg-100);
  padding: 4px 8px;
  border-radius: var(--r-sm);
}
.tk-bar {
  position: relative;
  width: 60px;
  height: 4px;
  background: var(--neg-100);
  border-radius: 2px;
  overflow: hidden;
}
.tk-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--pos-600);
}
.ticker-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-fade-l { left: 0;  background: linear-gradient(to right, var(--bg-surface), transparent); }
.ticker-fade-r { right: 0; background: linear-gradient(to left,  var(--bg-surface), transparent); }

/* ── Footer ─────────────────────────────────────────────── */
.d-none { display: none; }

.custom-container {
  padding: 0 50px;
}

.footeer_main {
  position: relative;
  z-index: 3;
  padding: 25px 0;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-1);
}
.footeer_main h1,.footeer_main h2,.footeer_main h3,.footeer_main h4,
.footeer_main h5,.footeer_main h6,.footeer_main p,.footeer_main a,
.footeer_main button,.footeer_main span {
  font-family: "Inter", sans-serif;
}

.footeer_main .top_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-1);
}
.footeer_main .top_footer .left_Side .footerlogo {
  width: 235.554px;
  height: 36px;
}
.footeer_main .top_footer .left_Side h3 {
  color: var(--fg-2);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 13px;
  margin-bottom: 0;
}

.footeer_main .top_footer .available {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footeer_main .top_footer .available .builtpara {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}
.footeer_main .top_footer .available .crosspara {
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  display: flex;
  align-items: center;
  margin: 0;
  gap: 7px;
}
.footeer_main .top_footer .available .crosspara .chain-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footeer_main .chain-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footeer_main .bottom_side {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footeer_main .bottom_side .socail_icons {
  display: flex;
  align-items: center;
  gap: 5px;
}
.footeer_main .socail_icons .icons_div {
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-sunken);
  border: 1px solid var(--border-1);
  border-radius: 60px;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 150ms ease;
}
.footeer_main .socail_icons .icons_div:hover {
  background-color: var(--border-1);
}
.footeer_main .bottom_side .center-footer h5 {
  color: var(--fg-2);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  margin: 0;
}
.footeer_main .bottom_side .mbl-termsprivacy {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.footeer_main .bottom_side .mbl-termsprivacy a {
  color: var(--fg-2);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}
.footeer_main .bottom_side .mbl-termsprivacy a:hover {
  color: var(--fg-1);
}

@media (max-width: 768px) {
  .footeer_main .bottom_side {
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
  }
  .footeer_main .bottom_side .socail_icons {
    display: none;
  }
  .footeer_main .top_footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footeer_main .top_footer .socail_icons {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
  }
  .footeer_main .top_footer .available {
    grid-column: 1 / -1;
  }
  .footeer_main .top_footer .left_Side .footerlogo {
    width: 165.294px;
    height: auto;
  }
  .footeer_main .top_footer .left_Side h3 {
    font-size: 14px;
    margin-top: 10px;
  }
  .footeer_main .top_footer .available .builtpara{
    font-size: 12px;
  }
  .footeer_main .top_footer .available .crosspara{
    font-size: 12px;
  }
  .footeer_main .top_footer .available .builtpara img{
    max-width: 75px;
  }
}

@media (max-width: 375px) {
  .footeer_main .top_footer .left_Side .footerlogo {
    width: 100%;
  }
  .footeer_main .top_footer .available {
    gap: 10px;
  }
  .footeer_main .top_footer .available .builtpara {
    gap: 5px;
    font-size: 12px;
  }
  .footeer_main .top_footer .available .crosspara {
    gap: 5px;
    font-size: 12px;
  }
}

/* ── Falling droplets ──────────────────────────────────── */
.droplets {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.droplet {
  position: absolute;
  top: -40px;
  animation-name: fall;
  animation-timing-function: cubic-bezier(.45,.04,.55,1);
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}
@keyframes fall {
  0%   { transform: translateY(-40px) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(calc(100vh + 40px)) rotate(8deg); opacity: 0; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 991px) {
  .brand-logo { height: auto; max-width: 134px; }
}

@media (max-width: 900px) {
  .topbar, .hero, .signup-wrap { padding-left: 24px; padding-right: 24px; }
  .custom-container { padding-left: 24px; padding-right: 24px; }
  .hero-headline { font-size: 64px !important; }
  .hero-bottom { margin-top: 28px; }
  .signup-card { padding: 20px; }
  .email-input { min-width: 0; flex: 1 1 200px; }
}
