/* Plagiarism Check & AI Humanize — plain CSS, no build step. */

:root {
  --brand-50: #f3f0ff;
  --brand-100: #e7e1ff;
  --brand-200: #d0c4ff;
  --brand-300: #b09bff;
  --brand-500: #6d4aff;
  --brand-600: #5b3bf0;
  --brand-700: #4b2fd6;
  --brand-900: #261873;
  --teal: #14b8a6;
  --rose: #f43f5e;
  --blue: #3b82f6;
  --amber: #f59e0b;

  --bg: #ffffff;
  --bg-soft: #f7f5ff;
  --card: #ffffff;
  --text: #17132e;
  --muted: #52525b;
  --faint: #71717a;
  --line: #e4e4e7;
  --link: var(--brand-700);
  --shadow: 0 24px 60px -20px rgba(38, 24, 115, 0.28);

  --radius: 24px;
  --font: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0c1f;
    --bg-soft: #151129;
    --card: #1a1630;
    --text: #f4f4f5;
    --muted: #d4d4d8;
    --faint: #a1a1aa;
    --line: rgba(255, 255, 255, 0.1);
    --link: var(--brand-300);
    --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand-200); color: #17132e; }

.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand-500); color: #fff; padding: 8px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 16px; line-height: 1.2; }
.brand img { width: 36px; height: 36px; border-radius: 22%; }
.brand .long { display: none; }
@media (min-width: 640px) { .brand .long { display: inline; } }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--brand-50); color: var(--brand-700); }
@media (prefers-color-scheme: dark) { .nav a:hover { background: rgba(255,255,255,.1); color: #fff; } }
@media (min-width: 860px) { .nav { display: block; } }

/* App Store button */
.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 16px;
  box-shadow: 0 10px 24px -10px rgba(38, 24, 115, .5), inset 0 0 0 1px rgba(255,255,255,.15);
  transition: transform .15s ease, background .15s ease;
}
.appstore:hover { transform: translateY(-2px); background: #18181b; }
.appstore svg { width: 28px; height: 28px; fill: currentColor; flex-shrink: 0; }
.appstore span { display: flex; flex-direction: column; line-height: 1; }
.appstore small { font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.appstore strong { font-size: 20px; font-weight: 700; margin-top: 2px; letter-spacing: -.01em; }
.appstore.sm { padding: 8px 14px; border-radius: 12px; gap: 8px; }
.appstore.sm svg { width: 20px; height: 20px; }
.appstore.sm small { font-size: 9px; }
.appstore.sm strong { font-size: 15px; }

/* Buttons */
.btn-ghost { display: inline-block; color: #fff; text-decoration: none; font-weight: 700; padding: 14px 20px; border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn { display: inline-block; background: var(--brand-500); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 24px; border-radius: 999px; }
.btn:hover { background: var(--brand-700); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand-600) 50%, var(--brand-700)); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 34rem; height: 34rem; right: -10rem; top: -10rem; background: rgba(255,255,255,.1); filter: blur(30px); }
.hero::after { width: 28rem; height: 28rem; left: -8rem; bottom: -12rem; background: rgba(38,24,115,.35); filter: blur(50px); }
.hero .container { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 56px; }
.hero-copy { text-align: center; }
.hero-icon { width: 104px; height: 104px; border-radius: 22%; margin: 0 auto; box-shadow: 0 24px 50px -12px rgba(38,24,115,.6), 0 0 0 4px rgba(255,255,255,.2); }
.hero h1 { margin-top: 28px; font-size: clamp(36px, 6vw, 60px); font-weight: 900; line-height: 1.08; }
.hero .lead { margin: 20px auto 0; max-width: 36rem; font-size: 19px; color: var(--brand-50); }
.hero-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ticks { list-style: none; margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-weight: 600; font-size: 15px; color: var(--brand-50); }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks svg { width: 16px; height: 16px; color: #99f6e4; }
.hero-shots { position: relative; display: flex; justify-content: center; }
.hero-shots .front { position: relative; width: 62%; max-width: 290px; }
.hero-shots .back { display: none; }
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-shots .front { width: 50%; transform: translateX(-40px); }
  .hero-shots .back { display: block; position: absolute; right: 4%; top: 40px; width: 40%; max-width: 240px; transform: rotate(6deg); }
}
@media (min-width: 1024px) {
  .hero .container { grid-template-columns: 1.05fr 1fr; padding-top: 80px; padding-bottom: 80px; }
  .hero-copy { text-align: left; }
  .hero-icon { margin: 0; width: 112px; height: 112px; }
  .hero .lead { margin-left: 0; }
  .hero-actions, .ticks { justify-content: flex-start; }
}

/* Screens: real app screenshots with a thin device-like border */
.screen { border-radius: 30px; box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.06); background: #fff; }
.hero .screen { box-shadow: 0 30px 70px -20px rgba(20,10,70,.7), 0 0 0 6px rgba(255,255,255,.18); }
.screen.wide { border-radius: 16px; }

/* Sections */
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.heading { max-width: 42rem; margin: 0 auto; text-align: center; }
.eyebrow { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-600); }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--brand-300); } }
.heading h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 38px); font-weight: 800; }
.heading p { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* Tool overview cards */
.tool-grid { list-style: none; margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .tool-grid { grid-template-columns: repeat(5, 1fr); } }
.tool-card { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 20px; text-align: center; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform .2s ease, box-shadow .2s ease; }
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tool-card img, .tool-card .art { width: 88px; height: 88px; }
.tool-card .art { display: grid; place-items: center; border-radius: 28px; background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--blue); }
.tool-card .art svg { width: 44px; height: 44px; }
.tool-card span { margin-top: 12px; font-size: 18px; font-weight: 800; }
.c-brand { color: var(--brand-700); } .c-teal { color: #0f766e; } .c-rose { color: #be123c; } .c-blue { color: #1d4ed8; }
@media (prefers-color-scheme: dark) {
  .c-brand { color: var(--brand-300); } .c-teal { color: #5eead4; } .c-rose { color: #fda4af; } .c-blue { color: #93c5fd; }
  .tool-card .art { background: rgba(59,130,246,.15); color: #93c5fd; }
}

/* Tool detail rows */
.tool { padding: 64px 0; }
.tool .container { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .tool .container { grid-template-columns: 1fr 1fr; gap: 64px; }
  .tool.flip .copy { order: 2; }
}
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip.brand, .tick.brand { background: var(--brand-50); color: var(--brand-700); }
.chip.teal, .tick.teal { background: #f0fdfa; color: #115e59; }
.chip.rose, .tick.rose { background: #fff1f2; color: #be123c; }
.chip.blue, .tick.blue { background: #eff6ff; color: #1d4ed8; }
@media (prefers-color-scheme: dark) {
  .chip.brand, .tick.brand { background: rgba(109,74,255,.15); color: var(--brand-200); }
  .chip.teal, .tick.teal { background: rgba(20,184,166,.15); color: #99f6e4; }
  .chip.rose, .tick.rose { background: rgba(244,63,94,.15); color: #fecdd3; }
  .chip.blue, .tick.blue { background: rgba(59,130,246,.15); color: #bfdbfe; }
}
.tool h2 { margin-top: 16px; font-size: clamp(30px, 4vw, 38px); font-weight: 800; }
.tool .copy > p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-weight: 600; }
.checks .tick { flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; display: grid; place-items: center; border-radius: 50%; }
.checks .tick svg { width: 16px; height: 16px; }
.tool .visual { position: relative; margin: 0 auto; width: 100%; max-width: 380px; }
.tool .visual::before { content: ""; position: absolute; inset: 24px; border-radius: 50%; filter: blur(48px); background: var(--glow, var(--brand-200)); opacity: .7; }
.tool .visual img { position: relative; width: 78%; margin: 0 auto; }

/* Feature cards (extras, steps, pricing) */
.cards { list-style: none; margin-top: 48px; display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards.four { grid-template-columns: repeat(4, 1fr); } .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.card h3 { margin-top: 16px; font-size: 18px; font-weight: 800; }
.card p { margin-top: 6px; color: var(--muted); }
.icon-box { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--brand-500); color: #fff; box-shadow: 0 10px 20px -8px rgba(109,74,255,.6); font-size: 20px; font-weight: 900; }
.icon-box svg { width: 24px; height: 24px; }
.icon-box.grad { background: linear-gradient(135deg, #8f71ff, var(--brand-700)); }

/* Gallery */
.gallery { list-style: none; margin: 48px auto 0; max-width: 1152px; padding: 0 16px 24px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery li { flex-shrink: 0; width: 62%; scroll-snap-align: center; }
@media (min-width: 640px) { .gallery li { width: 36%; } .gallery { padding: 0 24px 24px; } }
@media (min-width: 1024px) { .gallery li { width: 23%; } }
.gallery .screen { border-radius: 26px; }

/* Devices */
.devices { overflow: hidden; background: linear-gradient(180deg, var(--bg), var(--brand-50)); }
@media (prefers-color-scheme: dark) { .devices { background: linear-gradient(180deg, var(--bg), rgba(38,24,115,.3)); } }
.devices .stage { position: relative; margin-top: 48px; padding-bottom: 24px; }
.devices .mac { margin: 0 auto; width: 100%; max-width: 860px; }
.devices .ipad { display: none; }
@media (min-width: 640px) { .devices .ipad { display: block; position: absolute; right: 0; bottom: 0; width: 26%; border-radius: 20px; } }

/* Pricing */
.plan { display: flex; flex-direction: column; position: relative; }
.plan .price { margin-top: 16px; }
.plan .price b { font-size: 36px; font-weight: 900; letter-spacing: -.02em; }
.plan .price span, .plan .note { color: var(--faint); }
.plan .note { margin-top: 4px; font-size: 14px; font-weight: 600; }
.plan ul { list-style: none; margin-top: 24px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 8px; }
.plan li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand-500); margin-top: 1px; }
.plan.best { border: 0; color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); box-shadow: 0 24px 50px -16px rgba(109,74,255,.55); }
.plan.best .price span, .plan.best .note { color: var(--brand-100); }
.plan.best li svg { color: #99f6e4; }
.badge { position: absolute; top: -12px; left: 28px; padding: 4px 12px; border-radius: 999px; background: #fcd34d; color: #451a03; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.fineprint { max-width: 48rem; margin: 32px auto 0; text-align: center; font-size: 14px; color: var(--muted); }

/* Privacy box */
.privacy-box { display: flex; flex-direction: column; gap: 24px; padding: 32px; border: 1px solid var(--line); border-radius: 32px; background: var(--card); }
@media (min-width: 640px) { .privacy-box { flex-direction: row; padding: 40px; } }
.privacy-box .shield { flex-shrink: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: #f0fdfa; color: #0f766e; }
@media (prefers-color-scheme: dark) { .privacy-box .shield { background: rgba(20,184,166,.15); color: #99f6e4; } }
.privacy-box .shield svg { width: 28px; height: 28px; }
.privacy-box h2 { font-size: 26px; font-weight: 800; }
.privacy-box p { margin-top: 12px; color: var(--muted); }
.more { display: inline-block; margin-top: 16px; font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* FAQ */
.faq { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: color-mix(in srgb, var(--brand-50) 60%, transparent); }
.faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-size: 20px; font-weight: 700; transition: transform .2s ease; }
@media (prefers-color-scheme: dark) { .faq summary::after { background: rgba(255,255,255,.1); color: var(--brand-200); } .faq summary:hover { background: rgba(255,255,255,.04); } }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 20px; color: var(--muted); }
.faq .answer p + p, .faq .answer ol, .faq .answer ul { margin-top: 12px; }
.faq .answer ol, .faq .answer ul { padding-left: 20px; display: grid; gap: 6px; }
.faq .answer a { font-weight: 600; text-underline-offset: 2px; }
.center-note { margin-top: 24px; text-align: center; color: var(--muted); }
.center-note a { font-weight: 700; text-decoration: none; }

/* CTA */
.cta { position: relative; overflow: hidden; max-width: 1152px; margin: 0 auto; padding: 56px 24px; text-align: center; color: #fff; border-radius: 40px; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); }
.cta img { width: 150px; margin: 0 auto; }
.cta h2 { margin-top: 16px; font-size: clamp(30px, 4vw, 38px); font-weight: 900; }
.cta p { margin: 12px auto 0; max-width: 36rem; font-size: 18px; color: var(--brand-50); }
.cta .appstore { margin-top: 32px; }
.cta-wrap { padding: 0 16px 80px; }

/* Legal / support pages */
.page-head { background: linear-gradient(180deg, var(--brand-50), var(--bg)); }
@media (prefers-color-scheme: dark) { .page-head { background: linear-gradient(180deg, rgba(38,24,115,.4), var(--bg)); } }
.page-head .container { padding-top: 64px; padding-bottom: 40px; }
.crumbs { font-size: 14px; font-weight: 600; color: var(--faint); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--link); }
.crumbs span[aria-hidden] { margin: 0 8px; }
.page-head h1 { margin-top: 16px; font-size: clamp(36px, 5vw, 48px); font-weight: 800; }
.page-head .date { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--faint); }
.page-head .intro { margin-top: 20px; font-size: 18px; color: var(--muted); }
.prose { padding-bottom: 80px; font-size: 17px; color: var(--muted); }
.prose h2 { margin: 48px 0 16px; font-size: 24px; font-weight: 800; color: var(--text); }
.prose h3 { margin: 32px 0 12px; font-size: 18px; font-weight: 700; color: var(--text); }
.prose p { margin: 16px 0; }
.prose ul, .prose ol { margin: 16px 0; padding-left: 24px; display: grid; gap: 8px; }
.prose li::marker { color: var(--brand-500); font-weight: 700; }
.prose a { font-weight: 600; text-decoration-color: var(--brand-300); text-underline-offset: 2px; }
.prose strong { color: var(--text); }
.contact { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; padding: 28px; border: 1px solid var(--brand-100); border-radius: var(--radius); background: var(--brand-50); }
@media (prefers-color-scheme: dark) { .contact { background: var(--card); border-color: var(--line); } }
@media (min-width: 640px) { .contact { flex-direction: row; align-items: center; } }
.contact .icon-box { width: 56px; height: 56px; flex-shrink: 0; }
.contact .icon-box svg { width: 28px; height: 28px; }
.prose .contact h2 { margin: 0; font-size: 20px; }
.prose .contact p { margin: 4px 0 0; }
.prose .faq { margin-top: 24px; }

/* 404 */
.notfound { max-width: 36rem; margin: 0 auto; padding: 112px 16px; text-align: center; }
.notfound h1 { margin-top: 12px; font-size: 40px; font-weight: 800; }
.notfound p { margin: 16px 0 32px; font-size: 18px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.site-footer .cols { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 768px) { .site-footer .cols { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer .brand { font-size: 16px; }
.site-footer .brand img { width: 40px; height: 40px; }
.site-footer p { margin-top: 12px; max-width: 24rem; font-size: 14px; color: var(--muted); }
.site-footer h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.site-footer ul { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.site-footer ul a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-footer ul a:hover { color: var(--link); }
.site-footer .legal { border-top: 1px solid var(--line); }
.site-footer .legal p { max-width: none; margin: 0; padding: 24px 0; font-size: 12px; color: var(--faint); }
