/* Reelief — shared styles (recreated from reelief.app) */
:root {
  --bg: #000;
  --green: #10c26f;
  --green-bright: #1ccc7a;
  --green-deep: #008a49;
  --white: #fff;
  --heading: #f0f0f0;
  --muted: #ccc;
  --dim: rgba(255, 255, 255, 0.56);
  --border: #222;
  --surface: rgba(13, 13, 13, 0.8);
  --font: "Figtree", "Figtree Placeholder", sans-serif;
  --serif: "Instrument Serif", "Instrument Serif Placeholder", serif;
  --inter: "Inter", "Inter Placeholder", sans-serif;
  --btn-shadow: rgba(0, 0, 0, 0.15) 0 0.7px 0.7px -0.625px, rgba(0, 0, 0, 0.14) 0 1.8px 1.8px -1.25px,
    rgba(0, 0, 0, 0.14) 0 3.6px 3.6px -1.875px, rgba(0, 0, 0, 0.13) 0 6.9px 6.9px -2.5px,
    rgba(0, 0, 0, 0.1) 0 13.6px 13.6px -3.125px, rgba(0, 0, 0, 0.05) 0 30px 30px -3.75px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
section[id] { scroll-margin-top: 65px; }

/* ---------- Text presets ---------- */
.t14 { font-size: 14px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.t15 { font-size: 15px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.2; }
.t16 { font-size: 16px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.4; }
.t18 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.5; }
.muted { color: var(--muted); }
.h2 {
  font-size: 50px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-align: center;
  color: var(--white);
}

/* ---------- Buttons (rolling text on hover, like Framer) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--green);
  color: var(--white);
  border: 0;
  border-radius: 6px;
  box-shadow: var(--btn-shadow);
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { height: 35px; padding: 0 13px; }
.btn-md { height: 36px; padding: 0 23px; }
.btn .roll { display: block; height: 18px; overflow: hidden; }
.btn-sm .roll { height: 17px; }
.btn .roll > span {
  display: block;
  transition: transform 0.4s cubic-bezier(0.44, 0, 0.56, 1);
}
.btn:hover .roll > span { transform: translateY(-100%); }
.btn .roll > span > span { display: block; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.4s cubic-bezier(0.44, 0, 0.56, 1); }
.btn:hover svg { transform: translateX(2px); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 65px;
  padding: 10px 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { width: 101px; height: 25px; object-fit: contain; }
.nav-logo .wordmark { display: none; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a.link {
  padding: 8px 14px;
  margin-right: 1px;
  border-radius: 4px;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.nav-links a.link:hover { background: rgba(255, 255, 255, 0.06); }
.nav-links .btn { margin-left: 15px; }
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 7px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 23px; }
.nav.open .nav-toggle span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { top: 15px; transform: rotate(-45deg); }
.nav-menu { display: none; }

main { padding-top: 65px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 900px;
  height: 100vh;
  margin-top: -65px;
  padding: 160px 40px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 406px;
  height: 406px;
  transform: translate(-50%, -50%);
  filter: blur(10px);
  opacity: 0.6;
  pointer-events: none;
}
.hero-glow .circle {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
}
.hero-glow .big {
  width: 500px;
  height: 500px;
  margin: -250px 0 0 -250px;
  background: linear-gradient(229deg, var(--green-deep) 13%, rgba(201, 110, 240, 0) 35%, rgba(164, 92, 219, 0) 64%, var(--green-deep) 88%);
  animation: spin 14s linear infinite;
}
.hero-glow .small {
  width: 424px;
  height: 424px;
  margin: -212px 0 0 -212px;
  background: linear-gradient(141deg, var(--green-bright) 13%, rgba(201, 110, 240, 0) 35%, rgba(164, 92, 219, 0) 64%, var(--green-deep) 88%);
  animation: spin 10s linear infinite reverse;
}
.hero-glow .void {
  width: 410px;
  height: 410px;
  margin: -205px 0 0 -205px;
  background: var(--bg);
  filter: blur(30px);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
}
.hero-icon { width: 85px; height: 89px; object-fit: contain; margin-bottom: 12px; }
.pill {
  padding: 4px 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: 70px;
  font-weight: 600;
  letter-spacing: -2.2px;
  line-height: 1.1;
  color: var(--heading);
  max-width: 900px;
}
.hero h1 .serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.hero .sub { color: var(--dim); max-width: 580px; margin-top: 10px; }
.hero .btn { margin-top: 26px; }

/* Word-by-word blur-in, as on the live site */
.words .w {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(10px);
  animation: wordIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 60ms + var(--d, 0ms));
}
@keyframes wordIn { to { opacity: 1; filter: blur(0); transform: none; } }

/* ---------- Generic section ---------- */
.section {
  position: relative;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  margin-bottom: 60px;
}
.section-head .h2 { max-width: 700px; }
.section-head p.t18 { max-width: 600px; }

/* ---------- Testimonials ---------- */
.testimonials { padding-top: 60px; padding-bottom: 100px; }
.t-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 490px));
  gap: 20px;
  width: 100%;
  justify-content: center;
}
.t-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  min-height: 212px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: radial-gradient(50% 75% at 98.9% 100%, rgba(28, 204, 122, 0.3) 0%, rgba(13, 13, 13, 0.8) 100%);
}
.stars { display: flex; gap: 5px; }
.stars svg { width: 20px; height: 20px; fill: var(--white); }
.t-card blockquote { margin: 0; color: var(--muted); }
.t-user { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.t-user img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.t-user .role { font-size: 12px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--muted); margin-top: 5px; }

/* ---------- FAQ ---------- */
.faq-list {
  position: relative;
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-blob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(930px, 100vw);
  height: 358px;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}
.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--white);
}
.faq-q svg { width: 16px; height: 16px; fill: var(--white); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.44, 0, 0.56, 1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- CTA card ---------- */
.cta-wrap { padding-top: 10px; padding-bottom: 60px; }
.cta {
  width: 100%;
  max-width: 750px;
  padding: 80px 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(149deg, rgba(28, 204, 122, 0.4) 0%, rgba(13, 13, 13, 0.8) 29%, rgba(13, 13, 13, 0.8) 74%, rgba(28, 204, 122, 0.4) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta p { margin-top: 15px; }
.cta .btn { margin-top: 15px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: radial-gradient(50% 50% at 50% 3.4%, rgba(0, 138, 73, 0.3) 0%, rgba(171, 171, 171, 0) 100%);
  padding: 64px 40px;
  display: flex;
  justify-content: center;
}
.footer-inner { position: relative; width: 100%; max-width: 1200px; }
.footer-logo { width: 91px; height: 95px; object-fit: contain; margin-bottom: 20px; }
.footer .tagline { color: var(--muted); max-width: 300px; margin-bottom: 15px; }
.footer .nl-title { margin-bottom: 10px; }
.newsletter { display: flex; width: 315px; max-width: 100%; }
.newsletter input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  background: rgba(187, 187, 187, 0.15);
  border: 0;
  border-radius: 5px 0 0 5px;
  font-size: 16px;
  color: var(--white);
  outline: none;
}
.newsletter input::placeholder { color: #999; }
.newsletter button {
  width: 130px;
  height: 40px;
  border: 0;
  border-radius: 5px;
  margin-left: -1px;
  background: var(--green);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.newsletter button:hover { opacity: 0.9; }
.nl-msg { position: absolute; font-size: 14px; color: var(--muted); margin-top: 8px; }
.bottom-bar {
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
}
.bottom-bar a { transition: color 0.2s ease; }
.bottom-bar a:hover { color: var(--white); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Contact page ---------- */
.page-head {
  padding: 115px 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.page-head h1 { font-size: 70px; font-weight: 600; letter-spacing: -2.2px; line-height: 1.1; }
.page-head p { max-width: 600px; color: var(--muted); margin-top: -5px; }
.contact-body {
  padding: 60px 40px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.email-card {
  width: 100%;
  max-width: 700px;
  padding: 20px 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: radial-gradient(50% 75% at 98.9% 100%, rgba(0, 138, 73, 0.3) 0%, rgba(13, 13, 13, 0.8) 100%);
  transition: border-color 0.2s ease;
}
.email-card:hover { border-color: #333; }
.email-card .head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.email-card svg { width: 20px; height: 20px; fill: var(--white); }
.contact-form {
  width: 100%;
  max-width: 700px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label { display: flex; flex-direction: column; gap: 10px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  width: 100%;
  height: 49px;
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  outline: none;
  transition: border-color 0.2s ease;
}
.contact-form textarea { height: 100px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #999; }
.contact-form button {
  grid-column: 1 / -1;
  height: 41px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.contact-form button:hover { opacity: 0.9; }

/* ---------- Legal pages ---------- */
.legal {
  font-family: var(--inter);
  padding: 56px 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.legal-inner { width: 100%; max-width: 960px; }
.legal p, .legal li { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.legal .fs32 { font-size: 32px; letter-spacing: -0.03em; }
.legal .fs28 { font-size: 28px; }
.legal .t-center { text-align: center; }
.legal .title { margin-bottom: 14px; font-weight: 700; }
.legal .date { margin-bottom: 40px; }
.legal ul, .legal ol { margin: 0; padding-left: 1.5em; }
.legal li p { font-size: inherit; }
.legal a { color: #0099ff; text-decoration: underline; }
.legal strong { font-weight: 700; }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  .hero h1 { font-size: 60px; }
}

/* ---------- Phone ---------- */
@media (max-width: 809px) {
  .nav { height: 64px; padding: 16px 20px; }
  .nav-logo img { display: none; }
  .nav-logo .wordmark { display: block; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open { height: auto; }
  .nav.open .nav-inner { flex-wrap: wrap; }
  .nav.open .nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 22px;
    gap: 0;
  }
  .nav-menu a.link { padding: 10px 0; font-size: 15px; }
  .nav-menu a.link.active { color: #0099ff; }
  .nav-menu .btn { width: 100%; height: 36px; margin-top: 10px; }
  main { padding-top: 64px; }

  .hero { padding: 145px 24px 90px; min-height: 681px; height: auto; margin-top: -64px; }
  .hero h1 { font-size: 49px; }
  .h2, .page-head h1 { font-size: 28px; letter-spacing: -0.04em; }
  .page-head { padding: 80px 24px 0; }
  .page-head h1 { font-size: 49px; }
  .section { padding-left: 37px; padding-right: 37px; }
  .section-head { margin-bottom: 40px; }
  .t-grid { grid-template-columns: 1fr; }
  .t-card { padding: 20px 30px; }
  .faq-wrap { padding-left: 34px; padding-right: 34px; }
  .cta { padding: 60px 20px; }
  .contact-body { padding: 40px 24px; }
  .contact-form { grid-template-columns: 1fr; }
  .footer { padding: 40px 24px 35px; }
  .bottom-bar { flex-direction: column; gap: 14px; padding: 25px 40px; text-align: center; }
  .legal { padding: 40px 20px; }
  .legal p, .legal li { font-size: 18px; }
  .legal .fs32 { font-size: 26px; }
  .legal .fs28 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .words .w { animation: none; opacity: 1; filter: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow .circle { animation: none; }
  html { scroll-behavior: auto; }
}

.form-msg { color: var(--muted); font-size: 14px; text-align: center; min-height: 17px; margin-top: -8px; }
.contact-form button:disabled, .newsletter button:disabled { opacity: 0.6; cursor: wait; }
