/* ==========================================================================
   Content Alchemy — modern landing page
   Self-contained stylesheet (grid based)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #14212e;
  --ink-2: #3b4c5c;
  --muted: #66788a;
  --line: #e3ecf1;
  --line-soft: #eef4f7;

  --brand: #0e8a8a;
  --brand-dark: #0a6a6a;
  --brand-deep: #073737;
  --brand-soft: #eaf7f7;

  --accent: #ff8d00;
  --accent-dark: #e87f00;
  --accent-soft: #fff4e5;

  --danger: #d64545;
  --danger-soft: #fdf0f0;

  --bg: #ffffff;
  --bg-soft: #f5fafb;

  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(16, 42, 67, 0.06), 0 4px 14px rgba(16, 42, 67, 0.05);
  --shadow-md: 0 10px 30px rgba(16, 42, 67, 0.10);
  --shadow-lg: 0 24px 60px rgba(9, 52, 52, 0.18);

  --container: 1180px;
  --header-h: 76px;

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

[hidden] {
  display: none !important;
}

/* Safety net: inline sprite icons never balloon if a scoped rule is missing */
.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 700;
}

p {
  margin: 0 0 18px;
  color: var(--ink-2);
}

p:last-child {
  margin-bottom: 0;
}

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

:focus-visible {
  outline: 3px solid rgba(14, 138, 138, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--tight {
  padding: 72px 0;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  font-size: 1.08rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow .icon {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--accent);
}

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

.eyebrow--plain {
  background: rgba(20, 33, 46, 0.06);
  color: var(--ink-2);
}

.eyebrow--plain .icon {
  color: var(--ink-2);
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

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

.text-brand {
  color: var(--brand);
}

.lead {
  font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background: linear-gradient(135deg, #ffa11f, var(--accent));
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 141, 0, 0.32);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 16px 32px rgba(255, 141, 0, 0.38);
}

.btn--brand {
  background: linear-gradient(135deg, #12a3a3, var(--brand));
  color: #fff;
  box-shadow: 0 12px 26px rgba(14, 138, 138, 0.28);
}

.btn--brand:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.btn--ghost {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--light {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.btn--light:hover {
  color: var(--brand-dark);
}

.btn--sm {
  padding: 11px 22px;
  font-size: 0.92rem;
}

.btn--block {
  width: 100%;
}

.btn-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-pair--center {
  justify-content: center;
  margin-top: 44px;
}

.btn-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Announcement ---------- */
.announce {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), var(--brand-deep));
  color: #fff;
  font-size: 0.92rem;
  text-align: center;
}

.announce a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  font-weight: 600;
}

.announce a:hover {
  color: #fff;
  text-decoration: underline;
}

.announce .icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 6px;
  vertical-align: -2px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 200px;
}

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

.nav__link {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-2);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav__link:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.nav__login {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
  margin: auto;
}

.nav-toggle .icon--close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon--menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon--close {
  display: block;
}

/* ---------- Hero (single column, dark type) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background:
    radial-gradient(900px 460px at 50% -20%, rgba(20, 33, 46, 0.055), transparent 62%),
    #ffffff;
}

.hero__inner {
  display: grid;
  justify-items: center;
  gap: 56px;
  text-align: center;
}

.hero__content {
  max-width: 980px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.hero__title {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(2.6rem, 6.2vw, 4.5rem);
}

.hero__lede {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 1.15rem;
}

.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  margin-bottom: 34px;
}

.hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.hero__bullets .icon {
  flex: none;
  width: 21px;
  height: 21px;
  color: var(--ink-2);
}

.hero__video {
  position: relative;
  width: min(880px, 100%);
}

/* ---------- Video facade ---------- */
.video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--brand-deep);
  box-shadow: var(--shadow-lg);
}

.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.video:hover img {
  transform: scale(1.03);
  opacity: 1;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 55, 55, 0.06), rgba(7, 55, 55, 0.36));
  border: 0;
  cursor: pointer;
}

.video__play span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, color 0.2s ease;
}

.video__play:hover span {
  transform: scale(1.08);
  color: var(--accent);
}

.video__play .icon {
  width: 30px;
  height: 30px;
  margin-left: 5px;
}

.video-caption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- Card grid ---------- */
.grid {
  display: grid;
  gap: 26px;
}

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

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

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #cfe5e5;
  box-shadow: var(--shadow-md);
}

.card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 14px;
  background: linear-gradient(180deg, #f8fcfc, #eef6f7);
  border-bottom: 1px solid var(--line-soft);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px 28px;
}

.card__body h3 {
  margin: 0;
}

.card__body p {
  margin: 0;
  font-size: 0.96rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
}

.card__link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.card__link:hover .icon {
  transform: translateX(4px);
}

/* ---------- Split (text + media) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
}

.split--plain .split__media img {
  border-radius: 0;
}

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--line-soft);
}

.feature-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature-row:first-of-type {
  padding-top: 0;
}

.feature-row__media {
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f6fbfb, #e9f4f5);
  border: 1px solid var(--line-soft);
}

.feature-row__media img {
  width: 100%;
}

.feature-row__copy .eyebrow {
  margin-bottom: 14px;
}

.feature-row__copy h2,
.feature-row__copy h3 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.7vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.feature-row__copy p {
  max-width: 540px;
}

.feature-row--flip .feature-row__media {
  order: -1;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 16px;
  background: linear-gradient(180deg, #f7fbfc, #eaf3f5);
  border-bottom: 1px solid var(--line-soft);
}

.step__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}

.step__body h3 {
  margin: 0;
}

.step__body p {
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- Founder strip ---------- */
.founder {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.founder img {
  width: 100%;
}

/* ---------- Checklist ---------- */
.checklist {
  display: grid;
  gap: 14px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
  font-size: 1rem;
}

.checklist .icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--brand);
}

.checklist--light li {
  color: rgba(255, 255, 255, 0.92);
}

.checklist--light .icon {
  color: #fff;
}

/* ---------- Comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.compare__card {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare__card--bad {
  border-color: #f2d9d9;
  background: var(--danger-soft);
}

.compare__card--good {
  border-color: #bfe4e4;
  background: linear-gradient(180deg, #f2fbfb, #e7f6f6);
  box-shadow: var(--shadow-md);
}

.compare__card h3 {
  margin-bottom: 20px;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare__card--good h3 {
  color: var(--brand-dark);
}

.compare__card ul {
  display: grid;
  gap: 14px;
}

.compare__card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}

.compare__card li .icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.compare__card--bad .icon {
  color: var(--danger);
}

.compare__card--good .icon {
  color: var(--brand);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: #bfe4e4;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

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

.faq .faq__answer {
  padding: 0 24px 22px;
  color: var(--ink-2);
}

.faq .faq__answer p {
  margin: 0;
  font-size: 0.97rem;
}

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(760px 420px at 12% 0%, rgba(255, 141, 0, 0.22), transparent 62%),
    radial-gradient(760px 460px at 92% 100%, rgba(109, 199, 199, 0.28), transparent 60%),
    linear-gradient(115deg, #062f2f, var(--brand-dark) 55%, #0d9a9a);
  color: #fff;
  text-align: center;
}

.cta h2 {
  color: #fff;
}

.cta p {
  max-width: 640px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.85);
}

.cta .btn-pair {
  justify-content: center;
  margin-top: 30px;
}

.cta .btn-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
}

.cta__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 30px;
}

.cta__badges li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
}

.cta__badges .icon {
  width: 18px;
  height: 18px;
  color: #ffc46b;
}

/* ---------- Sign-up form ---------- */
.section-head--light h2 {
  color: #fff;
}

.section-head--light p {
  color: rgba(255, 255, 255, 0.82);
}

.signup {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 38px 40px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.signup__form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.field__optional {
  color: var(--muted);
  font-weight: 500;
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fbfdfe;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input::placeholder {
  color: #9aa9b6;
}

.field input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 138, 138, 0.14);
}

.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup__form .btn[disabled] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.signup__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
}

.signup__status {
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

.signup__success {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.signup__success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.signup__success-icon .icon {
  width: 30px;
  height: 30px;
}

.signup__success h3 {
  margin: 0;
}

.signup__success p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.signup__success strong {
  color: var(--ink);
}

/* ---------- Legal pages ---------- */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 8px 15px 8px 13px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.legal-back .icon {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

.legal-back:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.legal {
  max-width: 880px;
}

.legal h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.legal h3 {
  margin: 42px 0 12px;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.legal p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-2);
}

.legal strong {
  color: var(--ink);
}

.legal ul,
.legal ol {
  margin: 0 0 20px;
  padding-left: 1.55em;
}

.legal ul {
  list-style: disc;
}

.legal ol {
  list-style: decimal;
}

.legal li {
  margin-bottom: 10px;
  color: var(--ink-2);
  line-height: 1.8;
}

.legal li p {
  margin-bottom: 8px;
}

.legal a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover {
  color: var(--accent-dark);
}

/* ---------- Footer ---------- */
.footer {
  padding: 64px 0 28px;
  background: #062a2a;
  color: rgba(255, 255, 255, 0.78);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer img.footer__logo {
  width: 210px;
  margin-bottom: 18px;
}

.footer__about p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.footer__about a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__about a:hover {
  color: #fff;
}

.footer__meta {
  margin-top: 14px;
}

.footer h4 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.footer__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.72);
}

.footer__bottom a:hover {
  color: #fff;
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .step:hover,
  .video:hover img {
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid,
  .split {
    gap: 48px;
  }

  .feature-row {
    gap: 48px;
    padding: 56px 0;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 72px 0;
  }

  .header__inner {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__login {
    display: block;
  }

  .nav__link {
    padding: 13px 16px;
    font-size: 1.02rem;
  }

  .header__actions .btn--ghost {
    display: none;
  }

  .hero {
    padding: 60px 0 72px;
  }

  .hero__inner {
    gap: 42px;
  }

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

  .feature-row--flip .feature-row__media {
    order: 0;
  }

  .feature-row__copy p {
    max-width: none;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), 100% - 36px);
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .announce a {
    padding: 9px 14px;
    font-size: 0.84rem;
  }

  .brand img {
    width: 164px;
  }

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

  .feature-row {
    gap: 32px;
    padding: 44px 0;
  }

  .feature-row__media {
    padding: 14px;
  }

  .hero__bullets {
    margin-bottom: 26px;
  }

  .btn {
    width: 100%;
  }

  .btn--sm {
    width: auto;
  }

  .header__actions .btn--sm {
    width: auto;
    padding: 10px 18px;
  }

  .signup {
    padding: 28px 22px;
  }

  .signup__form .btn {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
