/* ============================================================
   RANTERA — Landing page (clean / editorial)
   ============================================================ */

:root {
  --bg:        #08090D;
  --bg-2:      #0B0D12;
  --text:      #F3F4F7;
  --muted:     #9A9FAC;
  --faint:     #62666F;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.16);

  --yellow: #FFC400;
  --orange: #FF7A00;
  --red:    #F5290F;
  --grad: linear-gradient(100deg, #FFC400 0%, #FF7A00 48%, #F5290F 100%);

  --maxw: 1080px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { color: var(--text); font-weight: 600; }
em { font-style: italic; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Overline label (replaces pill badge) */
.overline {
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 26px;
}
.overline.center { text-align: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,9,13,0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 30px; height: 30px; object-fit: contain; }
.brand-name { font-family: var(--font-serif); font-weight: 500; font-size: 1.25rem; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 36px; margin-left: auto; margin-right: 40px; }
.nav-links a { color: var(--muted); font-size: 0.92rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { color: var(--text); font-size: 0.92rem; font-weight: 500; transition: color .2s; }
.nav-cta:hover { color: var(--orange); }
.nav-cta span { color: var(--orange); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; padding: 0 28px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; background: rgba(8,9,13,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.mobile-menu.open { max-height: 320px; padding: 8px 28px 22px; }
.mobile-menu a { padding: 14px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 1rem; }
.mobile-menu a:last-child { border-bottom: 0; color: var(--orange); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem;
  padding: 15px 30px; border-radius: 4px; cursor: pointer;
  background: var(--grad); color: #1a0800;
  transition: transform .2s ease, box-shadow .25s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245,41,15,0.28); }
.btn-text { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 500; font-size: 0.98rem; transition: color .2s; }
.btn-text span { transition: transform .2s ease; }
.btn-text:hover { color: var(--text); }
.btn-text:hover span { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 190px 0 130px; }
.hero::before {
  content: ""; position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,122,0,0.10), transparent 68%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-title {
  font-family: var(--font-serif); font-weight: 400; line-height: 1.02;
  font-size: clamp(3rem, 7vw, 5.6rem); letter-spacing: -0.015em; margin-bottom: 30px;
}
.hero-sub { font-size: 1.16rem; color: var(--muted); max-width: 460px; margin-bottom: 40px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-logo {
  width: min(340px, 74%); height: auto;
  filter: drop-shadow(0 24px 70px rgba(245,41,15,0.30));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-line { border-top: 1px solid var(--line); }
.section-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; letter-spacing: -0.015em; }

/* Mission */
.mission-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.mission-statement {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.34; letter-spacing: -0.01em;
}
.mission-statement em { font-style: italic; }

/* What we build — quiet numbered list */
.build-head { margin-bottom: 60px; }
.build-head .section-title { max-width: 560px; margin-top: 6px; }
.build-list { list-style: none; }
.build-row {
  display: grid; grid-template-columns: 84px 260px 1fr; align-items: baseline; gap: 24px;
  padding: 38px 0; border-top: 1px solid var(--line);
  transition: padding-left .3s ease;
}
.build-row:last-child { border-bottom: 1px solid var(--line); }
.build-row:hover { padding-left: 10px; }
.build-num { font-family: var(--font-serif); font-size: 1.4rem; color: var(--orange); font-weight: 400; }
.build-title { font-family: var(--font-serif); font-weight: 400; font-size: 1.85rem; letter-spacing: -0.01em; }
.build-desc { color: var(--muted); font-size: 1.06rem; max-width: 460px; }

/* Vision */
.vision { border-top: 1px solid var(--line); }
.vision-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.vision-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.28; letter-spacing: -0.015em;
  margin-bottom: 34px;
}
.vision-quote .grad-text { font-style: italic; }
.vision-by { display: flex; flex-direction: column; gap: 3px; }
.vision-name { font-weight: 600; font-size: 1.02rem; }
.vision-role { color: var(--muted); font-size: 0.92rem; }

/* CTA */
.cta-section { text-align: center; padding: 150px 0; border-top: 1px solid var(--line); }
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.14; letter-spacing: -0.015em; }
.cta-sub { color: var(--muted); font-size: 1.12rem; margin: 22px 0 38px; }
.cta-domain { margin-top: 34px; font-size: 0.95rem; letter-spacing: 0.04em; color: var(--muted); }
.cta-domain .soon { color: var(--faint); margin-left: 8px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-mark { width: 30px; height: 30px; object-fit: contain; }
.footer-tag { color: var(--muted); font-size: 0.92rem; }
.powered { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; transition: border-color .25s ease, transform .2s ease; }
.powered:hover { border-color: rgba(255,122,0,0.45); transform: translateY(-1px); }
.powered-label { color: var(--faint); font-size: 0.82rem; }
.powered-name { font-family: var(--font-serif); font-weight: 500; font-size: 1rem; }
.footer-base { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; gap: 12px; flex-wrap: wrap; }
.footer-base p { color: var(--faint); font-size: 0.85rem; }
.footer-base a:hover { color: var(--orange); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .hero { padding: 150px 0 90px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; }
  .overline { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .build-row { grid-template-columns: 56px 1fr; grid-template-areas: "num title" "num desc"; gap: 6px 20px; }
  .build-num { grid-area: num; }
  .build-title { grid-area: title; }
  .build-desc { grid-area: desc; }
}
@media (max-width: 620px) {
  .section { padding: 84px 0; }
  .cta-section { padding: 100px 0; }
  .footer-inner, .footer-base { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
