/* Squatea — public site
   Dark only. One accent. No third-party anything. */

:root {
  --bg: #0A0A0F;
  --surface: #13131A;
  --surface-2: #1A1A23;
  --text: #F5F5FA;
  --muted: #9A9AB0;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #C8FF1A;
  --ink: #0B0714;

  --display: "SF Pro Rounded", ui-rounded, -apple-system, "Segoe UI", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", sans-serif;

  --pad: 20px;
  --max: 1120px;
  --radius: 20px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 720px) {
  :root { --pad: 32px; }
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ul, figure { margin: 0; }

ul { padding: 0; list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

::selection { background: var(--accent); color: var(--ink); }

/* ---------- Type ---------- */

.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--accent { color: var(--accent); }

.muted { color: var(--muted); }
.accent { color: var(--accent); }

.h2 {
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.02;
  max-width: 14ch;
  text-wrap: balance;
}

.lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(64px, 10vw, 128px);
}

.section--tight { padding-block: clamp(40px, 6vw, 80px); }

.section__head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.hairline {
  height: 1px;
  background: var(--line);
}

/* ---------- Background atmosphere ---------- */

.atmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.atmos::before {
  /* single lime glow, top-left, the only "gradient" on the site */
  content: "";
  position: absolute;
  top: -30vh;
  left: -20vw;
  width: 90vw;
  height: 90vh;
  max-width: 1100px;
  max-height: 900px;
  background: radial-gradient(closest-side, rgba(200, 255, 26, 0.16), rgba(200, 255, 26, 0.05) 45%, transparent 72%);
  filter: blur(20px);
}

.atmos::after {
  /* fine grain so the black doesn't read as flat */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: screen;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.brand img { height: 26px; width: 26px; }

.brand__text {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s var(--ease-out);
}

.nav a:hover { color: var(--text); }

.nav .nav__link { display: none; }

@media (min-width: 720px) {
  .nav .nav__link { display: inline-flex; }
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  background: var(--accent);
  color: var(--ink) !important;
  transition: transform 0.25s var(--ease-out), filter 0.2s;
}

.pill:hover { filter: brightness(1.06); }
.pill:active { transform: scale(0.97); }

/* ---------- App Store badge ---------- */

.appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 18px 0 14px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), border-color 0.2s, box-shadow 0.25s;
  -webkit-tap-highlight-color: transparent;
}

.appstore:hover {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.appstore:active { transform: scale(0.98); }

.appstore svg { width: 26px; height: 26px; fill: currentColor; flex: none; }

.appstore__text { display: flex; flex-direction: column; gap: 3px; }

.appstore__small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.92;
}

.appstore__big {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.appstore--accent {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.appstore--accent:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 255, 26, 0.18);
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(56px, 9vw, 128px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.hero__grid {
  display: grid;
  gap: 28px;
}

.hero h1 {
  font-size: clamp(52px, 12vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  max-width: 9.2ch;
  text-wrap: balance;
}

.hero .lead {
  font-size: clamp(18px, 2.2vw, 24px);
  max-width: 34ch;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 8px;
}

.hero__note {
  font-size: 14px;
  color: var(--muted);
}

.hero__note strong { color: var(--text); font-weight: 600; }
.hero__try { margin-top: 10px; }
.hero__try a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
  }
  .hero__cta {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
  }
}

/* ---------- Rate: 1 sentadilla = 1 minuto ---------- */

.rate {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(19, 19, 26, 0.5);
}

.rate .wrap {
  display: grid;
  gap: 28px;
  padding-block: clamp(36px, 5vw, 56px);
}

.rate__eq {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 14px;
}

.rate__n {
  font-size: clamp(88px, 18vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.rate__n--accent { color: var(--accent); }

.rate__l {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.rate__op {
  font-size: clamp(48px, 9vw, 96px);
  color: var(--muted);
  opacity: 0.5;
  margin-inline: 4px;
}

.rate__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rate__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
}

.rate__chips b { color: var(--text); font-weight: 700; }

.rate__chips .arrow { color: var(--accent); }

@media (min-width: 900px) {
  .rate .wrap {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 48px;
  }
  .rate__chips { justify-content: flex-end; }
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step__n {
  font-size: 44px;
  line-height: 0.9;
  color: var(--accent);
  min-width: 2ch;
  padding-top: 2px;
}

.step__body { display: grid; gap: 8px; }

.step h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.step p {
  color: var(--muted);
  font-size: 16px;
  text-wrap: pretty;
}

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .step {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 40px;
    padding: 28px;
  }
  .step__n { font-size: 72px; }
  .step__body { align-self: end; }
}

/* ---------- Why ---------- */

.why {
  display: grid;
  gap: 12px;
}

.why__card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  align-content: start;
}

.why__card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.why__card p {
  color: var(--muted);
  font-size: 16px;
  text-wrap: pretty;
}

.why__card--lead {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  gap: 20px;
}

.why__card--lead h3 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
  max-width: 14ch;
}

.why__card--lead p { color: rgba(11, 7, 20, 0.72); font-size: 17px; }

.why__card--lead .eyebrow { color: rgba(11, 7, 20, 0.6); }

.why__card ul {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.why__card li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}

.why__card li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}

@media (min-width: 900px) {
  .why {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .why__card { padding: 32px; }
  .why__card--lead { grid-column: span 2; padding: 40px; }
  .why__card--lead h3 { max-width: 20ch; }
}

@media (min-width: 1100px) {
  .why { grid-template-columns: 1.3fr 1fr 1fr; }
  .why__card--lead { grid-column: auto; grid-row: span 1; }
}

/* ---------- Screenshots ---------- */

.shots-section { overflow: hidden; }

.shots {
  display: flex;
  gap: 12px;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shots::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 min(72vw, 300px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  aspect-ratio: 1320 / 2868;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
  .shot { flex: none; }
  .shot:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 255, 26, 0.5);
  }
}

/* ---------- Pricing ---------- */

.price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: grid;
  gap: 28px;
}

.price__trial {
  display: grid;
  gap: 8px;
}

.price__trial .big {
  color: var(--text);
  font-size: clamp(56px, 12vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.price__trial .big .accent { display: block; }

.price__trial p { color: var(--muted); font-size: 16px; max-width: 34ch; }

.price__plans {
  display: grid;
  gap: 10px;
}

.plan {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--bg);
}

.plan--best { border-color: var(--accent); }

.plan__tag {
  position: absolute;
  top: -10px;
  right: 16px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan__amount {
  font-size: 34px;
  line-height: 1;
}

.plan__amount small {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  font-family: var(--body);
}

.plan__hint { font-size: 14px; color: var(--muted); }

.price__foot {
  display: grid;
  gap: 16px;
  align-items: center;
}

.price__foot p { font-size: 14px; color: var(--muted); max-width: 44ch; }

@media (min-width: 900px) {
  .price {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    padding: 44px;
    column-gap: 48px;
  }
  .price__trial { grid-row: span 2; align-content: start; }
  .price__foot {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat;
  transition: transform 0.3s var(--ease-out);
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .answer {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
  text-wrap: pretty;
}

.faq .answer a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(200, 255, 26, 0.6);
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: start;
  }
  .faq-grid .section__head { margin-bottom: 0; position: sticky; top: 92px; }
  .faq summary { font-size: 20px; padding: 24px 0; }
}

/* ---------- Final CTA ---------- */

.final {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 24px;
}

.final h2 {
  font-size: clamp(40px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 12ch;
  text-wrap: balance;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 40px 32px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .wrap {
  display: grid;
  gap: 24px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--text); }

.footer__meta {
  display: grid;
  gap: 6px;
}

.footer__made {
  color: var(--text);
  font-weight: 500;
}

@media (min-width: 720px) {
  .site-footer .wrap {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .footer__links { justify-content: center; }
  .footer__meta { text-align: right; }
}

/* ---------- Prose (legal / support pages) ---------- */

.page {
  padding-block: clamp(48px, 8vw, 96px);
}

.page__head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 680px;
}

.page__head h1 {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 0.98;
}

.prose {
  max-width: 680px;
  display: grid;
  gap: 18px;
  font-size: 17px;
  line-height: 1.6;
}

.prose h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.prose p, .prose li { color: var(--muted); text-wrap: pretty; }

.prose strong { color: var(--text); font-weight: 600; }

.prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(200, 255, 26, 0.6);
  text-underline-offset: 3px;
}

.prose a:hover { text-decoration-color: var(--accent); }

.prose ul { display: grid; gap: 10px; }

.prose ul li {
  display: flex;
  gap: 12px;
}

.prose ul li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 11px;
}

.prose .qa {
  display: grid;
  gap: 4px;
}

.prose .qa dt {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.prose .qa dd { margin: 0; color: var(--muted); }

.prose dl { margin: 0; display: grid; gap: 18px; }

.callout {
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
}

.callout p { color: var(--text); }

.callout p + p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.prose__nav {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

/* ---------- 404 ---------- */

.notfound {
  min-height: calc(100dvh - 60px - 140px);
  display: grid;
  align-content: center;
  gap: 16px;
  padding-block: 64px;
}

.notfound .code {
  font-size: clamp(120px, 30vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--accent);
}

/* ---------- Motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.rise {
  animation: rise 0.9s var(--ease-out) both;
}

.rise:nth-child(1) { animation-delay: 0.05s; }
.rise:nth-child(2) { animation-delay: 0.15s; }
.rise:nth-child(3) { animation-delay: 0.25s; }
.rise:nth-child(4) { animation-delay: 0.35s; }
.rise:nth-child(5) { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

.evento__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px; }
.evento__links a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
