:root {
  --red: #ff0d11;
  --red-dark: #d80a0e;
  --blue: #2073fa;
  --blue-soft: #f1f6ff;
  --black: #191919;
  --pink: #ff88af;
  --purple: #412281;
  --ink: #191919;
  --ink-2: #4b4b55;
  --line: #e7e9ef;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Work Sans", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Tilt Warp", "Work Sans", sans-serif; font-weight: 400; margin: 0; line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
p { margin: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border: 0; border-radius: 12px;
  font: 700 1rem "Work Sans", sans-serif; text-decoration: none; cursor: pointer;
  transition: background .15s, opacity .15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--purple); }
.btn-outline { border: 2px solid var(--red); background: #fdeaea; color: #0f3d5c; }
.btn-outline:hover { background: #dce9f3; }
.btn-block { width: 100%; }

.eyebrow { font-weight: 600; font-size: 1.05rem; color: var(--red); margin-bottom: 14px; }
.eyebrow.pink { color: var(--pink); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--black); color: #fff; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-text { font-weight: 700; font-size: 1.05rem; padding-left: 12px; border-left: 3px solid rgba(255,255,255,.7); }
.brand-text em { font-style: normal; font-weight: 500; color: var(--pink); }
.nav-links { display: flex; gap: 26px; font-size: .95rem; }
.nav-links a { text-decoration: none; color: #fff; opacity: .9; }
.nav-links a:hover { opacity: 1; color: var(--pink); }
.nav-cta { height: 44px; border-radius: 0; padding: 0 18px; }

/* hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 430px; gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 20px; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0 0 32px; max-width: 600px; }
.stats div { border-top: 3px solid var(--blue); padding-top: 12px; }
.stats dt { font-family: "Tilt Warp", sans-serif; font-size: 2.2rem; color: var(--blue); line-height: 1.1; }
.stats dd { margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 600; background: #fafbfc; }

.demo-card {
  background: #fff; border: 2px solid var(--red); border-radius: 28px; padding: 30px;
  box-shadow: 0 18px 50px rgba(25,25,25,.10);
}
.demo-card h2 { font-size: 1.7rem; margin-bottom: 8px; }
.card-sub { color: var(--ink-2); font-size: .95rem; margin-bottom: 20px; }
.demo-card label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
.demo-card input, .demo-card select {
  width: 100%; height: 46px; border: 1px solid #c9cfdb; border-radius: 10px;
  padding: 0 14px; font: 400 1rem "Work Sans", sans-serif; background: #fff; color: var(--ink);
}
.demo-card input:focus, .demo-card select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.demo-card input.bad { border-color: var(--red); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-card .btn { margin-top: 22px; height: 54px; font-size: 1.05rem; }
.form-note { font-size: .85rem; color: var(--ink-2); text-align: center; margin-top: 12px; }
.form-note.err { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-card.done { text-align: center; padding: 48px 30px; }
.demo-card.done h2 { margin-bottom: 12px; }

/* photos */
.photos { padding: 24px 0 72px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.photo-grid figcaption { font-size: .9rem; color: var(--ink-2); margin-top: 10px; }

/* dark section */
.dark { position: relative; overflow: hidden; background: #000; color: #fff; padding: 96px 0; }
.slant { position: absolute; left: -96px; top: 0; height: 100%; width: 380px; background: rgba(32,115,250,.2); clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); pointer-events: none; }
.dark-grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
.dark h2 { max-width: 420px; color: #fff; }
.muted { color: rgba(255,255,255,.7); margin-top: 20px; max-width: 420px; }
.rows { margin: 0; border-top: 1px solid rgba(255,255,255,.1); }
.rows div { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.rows dt { font-weight: 500; }
.rows dd { margin: 0; color: rgba(255,255,255,.7); font-size: .95rem; }

/* subjects */
.subjects { background: var(--blue-soft); padding: 96px 0; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; max-width: 640px; margin: 14px auto 0; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-radius: 28px; padding: 28px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.card img { width: 100%; height: 220px; object-fit: contain; margin-bottom: 18px; }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card p { color: var(--ink-2); }

/* platform */
.platform { padding: 96px 0; }
.panel { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 48px; }
.panel h2 { margin-bottom: 24px; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 12px 0 12px 22px; position: relative; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.feature-list strong { color: var(--ink); }
.panel-shots { position: relative; padding-bottom: 60px; }
.panel-shots img { border-radius: 14px; border: 2px solid var(--red); box-shadow: 0 14px 40px rgba(25,25,25,.12); }
.panel-shots img + img { position: absolute; width: 55%; right: -12px; bottom: 0; border-color: var(--blue); }

/* privacy */
.privacy { padding: 24px 0 96px; }
.privacy-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; max-width: 960px; }
.privacy-img { border-radius: 24px; }
.privacy p { color: var(--ink-2); font-size: 1.1rem; margin: 16px 0 28px; }
.privacy-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.text-link { font-weight: 600; color: var(--blue); }

/* results */
.results { background: #f3f9fa; padding-bottom: 96px; }
.band { background: var(--blue); color: #fff; text-align: center; padding: 40px 24px; }
.band h2 { color: #fff; }
.band p { margin-top: 10px; font-size: 1.1rem; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.quote { margin: 0; background: #fff; border: 1px solid #eef0f3; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.quote blockquote { margin: 0 0 24px; font-size: 1.1rem; line-height: 1.5; }
.quote blockquote::before { content: "\201C"; display: block; font-family: "Tilt Warp", sans-serif; font-size: 3rem; line-height: .8; color: var(--red); margin-bottom: 8px; }
.quote figcaption { border-top: 1px solid #f0f1f4; padding-top: 14px; }
.quote figcaption strong { display: block; }
.quote figcaption span { font-size: .85rem; color: var(--ink-2); }

/* cta */
.cta { padding: 88px 0; }
.cta-inner { display: flex; align-items: center; justify-content: center; gap: 40px; }
.cta-img { width: 200px; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--ink-2); font-size: 1.1rem; margin-bottom: 24px; max-width: 480px; }

/* footer */
.footer { background: var(--black); color: #fff; padding: 56px 0 32px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-grid img { height: 40px; width: auto; margin-bottom: 16px; }
.foot-grid p { opacity: .75; }
.foot-grid h4 { margin: 0 0 14px; font-weight: 600; font-size: .9rem; }
.foot-grid a { display: block; text-decoration: none; opacity: .8; margin-bottom: 8px; }
.foot-grid a:hover { opacity: 1; color: var(--pink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); opacity: .75; }
.foot-bottom a { text-decoration: none; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero-grid, .dark-grid, .panel { grid-template-columns: 1fr; }
  .demo-card { max-width: 520px; }
  .cards-3, .quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 40px; }
  .brand-text { display: none; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .stats dt { font-size: 1.7rem; }
  .photo-grid, .cards-3, .quotes, .privacy-grid, .foot-grid { grid-template-columns: 1fr; }
  .photo-grid figure:nth-child(n+2) { display: none; }
  .rows div { grid-template-columns: 1fr; gap: 6px; }
  .panel { padding: 24px; border-radius: 28px; }
  .privacy-img { max-width: 240px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta p { margin-left: auto; margin-right: auto; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .dark, .subjects, .platform { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- motion ---------- */
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes pop-in { 0% { opacity: 0; transform: scale(.6) rotate(-12deg); } 70% { transform: scale(1.06) rotate(3deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { transform: translateX(-110%); } to { transform: none; } }
@keyframes shine { from { left: -60%; } to { left: 130%; } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(255,13,17,.45); } 100% { box-shadow: 0 0 0 14px rgba(255,13,17,0); } }

/* nav gets a shadow once you scroll */
.nav { transition: box-shadow .25s; }
.nav.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--pink); transform: scaleX(0); transition: transform .2s; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--pink); opacity: 1; }

/* hero entrance */
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.demo-wrap { position: relative; animation: rise .8s .2s cubic-bezier(.2,.7,.2,1) both; }

/* hand-drawn underline like the main site */
.mark { position: relative; white-space: nowrap; }
.mark svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; }
.mark path { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw .9s .7s ease-out forwards; }

/* mascot sitting on the form */
.card-buddy { position: absolute; z-index: 2; width: 130px; height: auto; top: -58px; right: -22px; animation: pop-in .7s .9s both, floaty 4.5s 1.6s ease-in-out infinite; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(0,0,0,.15)); }

/* chips + buttons */
.chips li { transition: transform .2s, border-color .2s, background .2s; }
.chips li:hover { transform: translateY(-2px); border-color: var(--blue); background: #fff; }
.btn { position: relative; overflow: hidden; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,13,17,.25); }
.btn:active { transform: translateY(0); }
.btn-red::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); }
.btn-red:hover::after { animation: shine .7s ease; }
.nav-cta { animation: pulse-ring 2.2s 2s ease-out 3; }

/* scroll reveal: only hides things when JS is running */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.left { transform: translateX(-36px); }
.js .reveal.right { transform: translateX(36px); }
.js .reveal.zoom { transform: scale(.92); }
.js .reveal.in { opacity: 1; transform: none; }

/* photos */
.photo-grid figure { overflow: hidden; border-radius: var(--radius); }
.photo-grid img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.photo-grid figure:hover img { transform: scale(1.05); }
.photo-grid figcaption { padding-left: 2px; }

/* dark section stripe slides in */
.slant { transform: translateX(-110%); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.dark.in .slant, .no-js .slant { transform: none; }
.rows div { transition: background .2s, padding-left .2s; }
.rows div:hover { background: rgba(255,255,255,.04); padding-left: 10px; }

/* cards */
.card { transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(32,115,250,.15); }
.card img { transition: transform .4s; }
.card:hover img { transform: scale(1.06) rotate(-2deg); }
.float { animation: floaty 5s ease-in-out infinite; }
.card:nth-child(2) .float { animation-delay: -1.6s; }
.card:nth-child(3) .float { animation-delay: -3.2s; }

/* screenshots drift a little */
.panel-shots img + img { animation: floaty 6s ease-in-out infinite; }

/* quotes */
.quote { transition: transform .25s, box-shadow .25s; }
.quote:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 16px 36px rgba(0,0,0,.08); }

.privacy-img { transition: transform .4s; }
.privacy-img:hover { transform: rotate(-3deg) scale(1.03); }

@media (max-width: 680px) {
  .card-buddy { width: 92px; top: -54px; right: -6px; }
  .card:hover, .quote:hover { transform: none; }
  .rows div:hover { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .mark path { stroke-dashoffset: 0; }
  .slant { transform: none; }
}
