/* aprilcut.com: the app's look (web/src/styles.css tokens, Poppins for headings as in the reels' captions). */

@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0f1012;
  --panel: #17181b;
  --panel-2: #1f2125;
  --line: #2b2d33;
  --text: #e8e8ea;
  --muted: #9a9ca3;
  --dim: #5a5c63;
  --accent: #7fe3d4;
  --accent-soft: rgba(127, 227, 212, 0.16);
  --primary: #ff6a3d;
  --primary-soft: rgba(255, 106, 61, 0.14);
  --on-primary: #1a0d08;
  --caption: #ffd75a;
  --heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

/* one language at a time (lang.js) */
html[data-lang="es"] [lang="en"],
html[data-lang="en"] [lang="es"] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- header / footer ---------------------------------------------------------------------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  font-size: 20px;
  text-decoration: none;
}

.brand svg {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.langs {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
}

.langs button {
  font: 600 12px/1 system-ui, sans-serif;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 6px 9px;
  cursor: pointer;
}

.langs button[aria-pressed="true"] {
  background: var(--panel-2);
  color: var(--text);
}

.foot {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 28px;
  padding-bottom: 36px;
  color: var(--muted);
  font-size: 14px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
}

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

/* ---- buttons -------------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 650;
  font-size: 16px;
  text-decoration: none;
  border-radius: 10px;
  padding: 13px 20px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: #ff7d55;
  transform: translateY(-1px);
}

.btn:focus-visible,
.langs button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- hero ----------------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.pill {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.04;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.lead {
  color: var(--muted);
  font-size: 19px;
  margin-top: 22px;
  max-width: 34em;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 32px;
}

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

/* the editor, drawn: a reel on a phone, its transcript and the "to check" list. No real footage. */
.mock {
  position: relative;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  align-items: center;
}

.phone {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 70% at 50% 100%, #3a2b26 0%, transparent 60%),
    linear-gradient(160deg, #2a3138 0%, #1b1e22 55%, #2c2421 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.phone .head,
.phone .body {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #4a3a33;
  filter: blur(0.5px);
}

.phone .head {
  top: 26%;
  width: 34%;
  aspect-ratio: 1 / 1.15;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #8a6a5a, #5b4439 70%);
}

.phone .body {
  top: 49%;
  width: 78%;
  height: 60%;
  border-radius: 46% 46% 0 0;
  background: linear-gradient(180deg, #3d5a66, #2b3f48);
}

.phone .caption {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 64%;
  text-align: center;
  font-family: var(--heading);
  font-size: 19px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 3px #000,
    0 2px 0 #000,
    0 -1px 0 #000,
    2px 0 0 #000,
    -2px 0 0 #000;
}

.phone .caption span {
  color: var(--caption);
}

.phone .bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.phone .bar::after {
  content: "";
  position: absolute;
  inset: 0 62% 0 0;
  border-radius: 2px;
  background: #fff;
}

.cards {
  display: grid;
  gap: 14px;
  margin-left: -28px;
  position: relative;
  z-index: 2;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  font-size: 14px;
  line-height: 1.75;
}

.card h4 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.w-cut {
  color: var(--dim);
  text-decoration: line-through;
}

.w-broll {
  background: var(--accent-soft);
  border-bottom: 2px solid var(--accent);
  border-radius: 3px;
  padding: 1px 2px;
}

.w-now {
  background: var(--primary-soft);
  color: #ffb39b;
  border-radius: 3px;
  padding: 1px 2px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  color: var(--accent);
  border: 1px solid rgba(127, 227, 212, 0.4);
  border-radius: 5px;
  padding: 3px 5px;
  margin: 0 2px;
  vertical-align: 2px;
}

.check {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.45;
}

.check li {
  position: relative;
  padding-left: 16px;
}

.check li + li {
  margin-top: 8px;
}

.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---- sections ------------------------------------------------------------------------------- */

.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section > h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  max-width: 20em;
}

.section > .sub {
  color: var(--muted);
  margin-top: 12px;
  max-width: 40em;
}

.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 24px;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--heading);
  margin-bottom: 16px;
}

.steps h3,
.features h3 {
  font-size: 18px;
  line-height: 1.3;
}

.steps p,
.features p {
  color: var(--muted);
  font-size: 15.5px;
  margin-top: 8px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.features > div {
  border-top: 2px solid var(--line);
  padding-top: 20px;
}

.features > div:first-child {
  border-top-color: var(--primary);
}

.features a {
  color: var(--accent);
}

.band {
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, var(--primary-soft), transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px 24px;
}

.band h2 {
  font-size: clamp(26px, 3.4vw, 36px);
}

.band p {
  color: var(--muted);
  margin: 12px auto 28px;
  max-width: 32em;
}

/* ---- documents (privacy) -------------------------------------------------------------------- */

.doc {
  max-width: 740px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.doc h1 {
  font-size: clamp(32px, 4.4vw, 44px);
  line-height: 1.1;
}

.doc .updated {
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
}

.doc .summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 32px;
}

.doc .summary ul {
  margin: 8px 0 0;
}

.doc h2 {
  font-size: 21px;
  line-height: 1.3;
  margin-top: 44px;
}

.doc p,
.doc ul {
  margin: 12px 0 0;
}

.doc ul {
  padding-left: 22px;
}

.doc li + li {
  margin-top: 6px;
}

.doc a {
  color: var(--accent);
}

.doc .legal {
  color: var(--muted);
  font-size: 14.5px;
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 20px;
}

/* ---- narrow screens ------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .nav {
    gap: 12px;
  }

  .lead {
    font-size: 17px;
  }

  .mock {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 16px;
  }

  .phone {
    width: 210px;
  }

  .cards {
    margin-left: 0;
    width: 100%;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
