/* MotiForm website. Brand: ink #191F23, teal #01645B (see assets/brand). */
:root {
  --bg: #F6F7F5;
  --surface: #FFFFFF;
  --ink: #191F23;
  --muted: #5B6670;
  --teal: #01645B;
  --teal-soft: #E2F1EE;
  --border: #E3E7E6;
  --radius: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1416;
    --surface: #121F22;
    --ink: #EEF3F2;
    --muted: #9AA9AD;
    --teal: #34BEA4;
    --teal-soft: #12302C;
    --border: #22343A;
    color-scheme: dark;
  }
  .brand b { color: #FFFFFF; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }

.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px; background: var(--teal); color: #fff;
  font-weight: 700; text-decoration: none; border: 2px solid var(--teal); transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.small { padding: 8px 16px; font-size: 0.9rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ctas.center { justify-content: center; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.brand b { color: var(--ink); font-weight: 800; }
.brand i { color: var(--teal); font-style: normal; }
nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
@media (max-width: 560px) { nav a:not(.btn) { display: none; } }

/* hero */
.hero { padding: 56px 0 32px; background: radial-gradient(1200px 500px at 85% 0%, var(--teal-soft), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero-logo { width: 150px; margin-bottom: 16px; }
.hero-shots { display: flex; gap: 16px; justify-content: center; }
.hero-shots .phone:nth-child(2) { margin-top: 48px; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-shots .phone:nth-child(2) { margin-top: 24px; }
}

/* phone frames */
.phone { margin: 0; width: min(240px, 44vw); border-radius: 32px; padding: 8px; background: #111; box-shadow: 0 24px 60px -20px rgba(1, 60, 54, 0.45); }
.phone img { display: block; border-radius: 24px; width: 100%; }

/* features */
section { padding: 56px 0; }
.features h2, .pricing h2 { text-align: center; margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; margin-inline: auto; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card ul { padding-left: 1.1em; margin: 0; }
.card li { margin: 0.45em 0; color: var(--muted); }
.tag { display: inline-block; margin: 0 0 8px; padding: 4px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }

.shots { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.shot-row { display: flex; gap: 16px; justify-content: center; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }

/* pricing */
.price { font-size: 2.4rem; font-weight: 800; margin: 0; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.featured { border: 2px solid var(--teal); }
.note { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); font-weight: 600; font-size: 0.9rem; }

.download { text-align: center; margin-bottom: 56px; }
.download img { width: 56px; height: auto; }

/* documents */
.doc { max-width: 760px; padding: 48px 0; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc h2 { font-size: 1.3rem; margin-top: 1.6em; }
.doc p, .doc li { color: var(--muted); }
.doc b { color: var(--ink); }

/* footer */
.foot { border-top: 1px solid var(--border); padding: 32px 0; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.foot p { margin: 4px 0 0; }
.links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.doc section { padding: 0; }
