/* toonsquid.online */
:root {
  --bg: #0f1015; --bg2: #16171f; --card: #1c1d26; --line: #2a2c38;
  --text: #f4f4f8; --muted: #a6a8b8; --accent: #ff7a45; --accent2: #f2672f; --violet: #7c6cff;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: var(--accent); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(15, 16, 21, .72); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(242,103,47,.7); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(242,103,47,.85); }
.btn.small { padding: 10px 18px; font-size: 14px; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--muted); }
.btn svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; background: radial-gradient(closest-side, rgba(255,122,69,.30), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,122,69,.12); color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,69,.2); }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; font-weight: 800; }
.hero h1 span { background: linear-gradient(100deg, var(--accent) 10%, #ffb36b 50%, var(--violet) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 540px; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: 15px; padding: 0; list-style: none; }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 8px; }

/* phone frame */
.phone { position: relative; width: 100%; max-width: 330px; margin: 0 auto; aspect-ratio: 1080 / 2400; border-radius: 46px; padding: 11px; background: linear-gradient(160deg, #3a3c4a, #15161d 40%, #2a2c38); box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.07) inset; }
.phone > video, .phone > img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: #f3f3f6; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #0b0b0f; z-index: 2; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(28,29,38,.92); border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); font-size: 14px; font-weight: 600; white-space: nowrap; z-index: 3; animation: drift 6s ease-in-out infinite; }
.float b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255,122,69,.15); color: var(--accent); font-size: 16px; }
.float.f1 { left: -30px; top: 22%; }
.float.f2 { right: -16px; top: 58%; animation-delay: -3s; }
.float.f2 b { background: rgba(124,108,255,.18); color: #a99fff; }
@keyframes drift { 50% { transform: translateY(-10px); } }

/* ---------- strips & sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }
.kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; display: block; }

.made { padding: 30px 0 70px; }
.made .row { display: grid; grid-template-columns: 2fr 1.3fr .6fr; gap: 16px; align-items: stretch; }
.made figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--card); }
.made figure img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.made figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split + .split { margin-top: 110px; }
.split.flip .copy { order: 2; }
.split .copy h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.025em; line-height: 1.12; margin: 0 0 16px; }
.split .copy p { color: var(--muted); font-size: 18px; margin: 0 0 22px; }
.split .copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.split .copy li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.split .copy li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; background: rgba(255,122,69,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ff7a45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.split .visual { position: relative; display: grid; place-items: center; padding: 30px 0; }
.split .visual::before { content: ""; position: absolute; inset: 8% 10%; border-radius: 40px; background: radial-gradient(closest-side, rgba(255,122,69,.18), transparent); }
.split.violet .visual::before { background: radial-gradient(closest-side, rgba(124,108,255,.22), transparent); }
.split .phone { max-width: 290px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s ease, border-color .2s ease; }
.tile:hover { transform: translateY(-4px); border-color: #3b3e4f; }
.tile .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,122,69,.13); margin-bottom: 16px; }
.tile .ic svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile:nth-child(even) .ic { background: rgba(124,108,255,.16); }
.tile:nth-child(even) .ic svg { stroke: #a99fff; }
.tile h4 { margin: 0 0 6px; font-size: 17px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 32px; }
.plan.pro { background: linear-gradient(160deg, rgba(255,122,69,.16), rgba(124,108,255,.10) 60%), var(--card); border-color: rgba(255,122,69,.45); position: relative; }
.plan.pro::after { content: "Most popular"; position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.plan h3 { margin: 0 0 4px; font-size: 24px; }
.plan .sub { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.plan li.no { color: #6d6f80; }
.plan li.no::before { content: "–"; color: #6d6f80; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.final { padding: 30px 0 100px; }
.final .box { position: relative; overflow: hidden; border-radius: 34px; padding: 64px 40px; text-align: center; background: linear-gradient(135deg, #f2672f, #ff8a52 45%, #7c6cff); }
.final .box h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.03em; margin: 0 0 12px; color: #fff; }
.final .box p { margin: 0 auto 30px; max-width: 560px; color: rgba(255,255,255,.9); font-size: 19px; }
.final .btn { background: #fff; color: #1b1c23; box-shadow: 0 16px 40px -14px rgba(0,0,0,.45); }

footer { border-top: 1px solid var(--line); padding: 40px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
footer .brand { font-size: 17px; }
footer .brand img { width: 28px; height: 28px; border-radius: 8px; }
footer nav { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-left: auto; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- legal pages ---------- */
.doc { max-width: 820px; margin: 40px auto 80px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 5vw, 52px); }
.doc h1 { margin-top: 0; font-size: clamp(32px, 5vw, 44px); letter-spacing: -.03em; }
.doc h2 { font-size: 21px; margin-top: 34px; }
.doc p, .doc li { color: #d3d4de; }
.doc li { margin-bottom: 7px; }
.doc .updated { color: var(--muted); font-size: 14px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .copy { order: 0; }
  .hero { padding-top: 40px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta-row, .ticks { justify-content: center; }
  .float.f1 { left: -10px; } .float.f2 { right: -10px; }
  .made .row { grid-template-columns: 1fr 1fr; }
  .made .row figure:last-child { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .nav .btn.small { margin-left: auto; }
  section { padding: 64px 0; }
  .grid, .plans, .made .row { grid-template-columns: 1fr; }
  .made .row figure:last-child { display: none; }
  .phone { max-width: 270px; }
  .float { display: none; }
  .split + .split { margin-top: 70px; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .float { animation: none; } .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
