/* Tintopia website. Layout: asymmetric hero with a live-coloring paper card, then plain sections. */
:root {
  --bg: #f6f5ff;
  --surface: #ffffff;
  --fg: #15173a;
  --muted: #545a7b;
  --line: #dcdcf0;
  --accent: #2b43d6;
  --accent-fg: #ffffff;
  --soft: #e7eafd;
  --c1: #ff6b8b; --c2: #ffd166; --c3: #5cc45a; --c4: #37b3dc; --c5: #9a6bea;
  --shadow: 0 2px 4px rgba(21, 23, 58, .07), 0 18px 44px rgba(21, 23, 58, .13);
  --font-display: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1120; --surface: #181b30; --fg: #eef0ff; --muted: #a2a8ca; --line: #2b2f4d;
    --accent: #8c9cff; --accent-fg: #10122c; --soft: #242a55;
    --shadow: 0 2px 4px rgba(0, 0, 0, .4), 0 18px 44px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, canvas { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: .005em; }
p { margin: 0; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: 20px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 24px/1 var(--font-display); color: var(--fg); text-decoration: none; margin-right: auto; }
.brand svg { width: 30px; height: 30px; color: var(--accent); }
.nav nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav nav a { color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav nav a:hover { color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px; border: 2px solid var(--fg); background: transparent; color: var(--fg); font: 700 16px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .12s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn.big { min-height: 54px; padding: 0 26px; font-size: 17px; }

/* hero */
.hero { padding-block: 44px 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
.mark { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c2) 80%, transparent) 62% 92%, transparent 92%); padding-inline: 4px; margin-inline: -4px; }
.lead { font-size: 19px; color: var(--muted); margin-top: 22px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.facts { display: flex; gap: 8px 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.facts li::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c3); margin-right: 8px; }
.facts li:nth-child(2)::before { background: var(--c4); }
.facts li:nth-child(3)::before { background: var(--c1); }
.hero-art { position: relative; }
.paper { background: #fff; border-radius: 6px; padding: 14px; box-shadow: var(--shadow); transform: rotate(1.6deg); }
.paper canvas { display: block; width: 100%; height: auto; aspect-ratio: 850 / 1100; background: #fff; }
.swatch-strip { display: flex; gap: 10px; margin-top: 22px; padding-left: 8px; }
.swatch-strip i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--bg); box-shadow: 0 0 0 2px color-mix(in srgb, var(--fg) 16%, transparent); }

/* sections */
section { scroll-margin-top: 80px; }
.band { padding-block: 72px; }
.band.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { max-width: 40em; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 18px; border-top: 3px solid var(--fg); }
.steps li::before { content: counter(s); display: block; font: 600 44px/1 var(--font-display); color: var(--accent); margin-bottom: 12px; }
.steps h3 { font-size: 23px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 32px; }
.feature h3 { font-size: 21px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.feature h3::before { content: ''; width: 14px; height: 14px; border-radius: 4px; background: var(--c1); flex: none; transform: rotate(8deg); }
.feature:nth-child(2) h3::before { background: var(--c2); }
.feature:nth-child(3) h3::before { background: var(--c3); }
.feature:nth-child(4) h3::before { background: var(--c4); }
.feature:nth-child(5) h3::before { background: var(--c5); }
.feature:nth-child(6) h3::before { background: var(--accent); }
.feature p { color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.shot { min-width: 0; }
.shot .frame { background: #fff; padding: 8px; border-radius: 4px; box-shadow: var(--shadow); }
.shot canvas { display: block; width: 100%; height: auto; aspect-ratio: 850 / 1100; background: #fff; }
.shot figcaption { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; font-weight: 700; font-size: 15px; }
.shot figcaption span { color: var(--muted); font-weight: 600; }
.shot { margin: 0; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 880px; }
.plan { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.plan.full { border-color: var(--accent); box-shadow: var(--shadow); }
.plan h3 { font-size: 24px; }
.price { font: 600 46px/1 var(--font-display); }
.price small { display: block; font: 600 15px var(--font-body); color: var(--muted); margin: 8px 0 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 3px solid var(--c3); border-bottom: 3px solid var(--c3); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.fine { color: var(--muted); font-size: 15px; margin-top: 20px; max-width: 40em; }

.faq { max-width: 760px; display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font: 600 20px/1.3 var(--font-display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { color: var(--muted); margin-top: 10px; max-width: 40em; }

.cta-band { padding-block: 64px; }
.cta-box { background: var(--accent); color: var(--accent-fg); border-radius: 22px; padding: 44px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-box h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 18em; }
.cta-box .btn { background: var(--accent-fg); color: var(--accent); border-color: var(--accent-fg); }

footer { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; gap: 12px 28px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }
footer .grow { margin-right: auto; }

/* legal pages */
.doc { max-width: 720px; padding-block: 56px 80px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 6px; }
.doc .when { font-size: 15px; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-art { max-width: 460px; margin-inline: auto; width: 100%; }
  .steps, .features { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .nav nav { display: none; }
  .cta-box { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

.demo { margin: 0; position: relative; max-width: 960px; margin-inline: auto; }
.demo video { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); aspect-ratio: 1000 / 626; }
.demo figcaption { color: var(--muted); font-size: 15px; margin-top: 12px; text-align: center; }
.demo-btn { position: absolute; right: 14px; top: 14px; font: 700 14px var(--font-body); padding: 8px 16px; border-radius: 99px; border: 0; background: rgba(21,23,58,.82); color: #fff; cursor: pointer; }
.demo-btn:focus-visible { outline: 3px solid var(--c2); outline-offset: 2px; }

.hero-img { display: block; width: 100%; height: auto; border-radius: 6px; }

/* A warm, colorful home with genuine page previews. */
.home { background:var(--bg); }
.home .nav { background:color-mix(in srgb,var(--surface) 94%,transparent); }
.home .hero { position:relative; overflow:hidden; background:radial-gradient(ellipse at 82% 22%,#e6f6f3 0,transparent 48%),radial-gradient(ellipse at 15% 30%,#fcebf2 0,transparent 56%); padding-block:78px; }
.home .hero .wrap { gap:52px; }
.home .hero h1 { font-size:clamp(3rem,5.6vw,4.6rem); letter-spacing:-.025em; }
.home .hero .lead { font-size:19px; line-height:1.65; }
.home .btn { border-radius:999px; border-width:1px; }
.home .btn.primary { box-shadow:0 5px 15px #2b43d625; }
.home .mark { color:var(--accent); background:none; }
.hero-art { padding:26px 14px; }
.art-caption { text-align:center; font-size:13px; font-weight:700; color:var(--muted); margin-bottom:24px; letter-spacing:.035em; }
.live-dot { display:inline-block; width:8px; height:8px; background:#38a98e; border-radius:50%; margin-right:7px; }
.sample-pair { display:grid; grid-template-columns:1fr 1fr; gap:12px; align-items:center; }
.sample-paper { margin:0; background:#fff; padding:12px 10px; border-radius:16px; box-shadow:0 15px 36px #28205417,0 2px 4px #28205408; transform:rotate(-5deg); }
.sample-paper.colored { transform:rotate(5deg) translateY(-12px); }
.sample-paper img { display:block; width:100%; height:auto; border-radius:5px; }
.sample-paper figcaption { color:#4c4768; font-weight:700; font-size:12px; text-align:center; margin:10px 0 2px; }
.hero-art .swatch-strip { justify-content:center; margin-top:30px; padding:0; }
.sample-note { font-size:12px; text-align:center; color:var(--muted); margin-top:14px; }
.home .steps li { border:1px solid var(--line); border-radius:22px; padding:26px; background:var(--surface); }
.home .steps li::before { background:var(--soft); border-radius:14px; width:48px; height:48px; font-size:27px; display:grid; place-items:center; }
.home .feature { background:var(--surface); padding:24px; border:1px solid var(--line); border-radius:20px; }
.home .features { gap:16px; }
.home .gallery { grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px 20px; }
.home .shot .frame { display:block; padding:14px; border-radius:16px; border:1px solid var(--line); box-shadow:0 6px 18px #28205408; transition:transform .15s,box-shadow .15s; }
.home .shot .frame:hover { transform:translateY(-4px); box-shadow:0 12px 24px #28205416; }
.home .shot img { display:block; width:100%; height:auto; aspect-ratio:17/22; object-fit:contain; }
.home .shot figcaption { align-items:baseline; flex-wrap:wrap; margin-inline:5px; }
.home .shot figcaption span { color:#247760; font-size:12px; }
.home .demo { max-width:1050px; }
.home .demo video { aspect-ratio:1280/860; border-radius:24px; }
.home .plans { margin-inline:auto; }
.home .plan { border-radius:26px; }
.home .cta-box { background:linear-gradient(120deg,#2b43d6,#7561c5); border-radius:28px; }
@media(prefers-color-scheme:dark) { .home .hero { background:radial-gradient(ellipse at 80% 25%,#243d45 0,transparent 50%),radial-gradient(ellipse at 15% 30%,#372a43 0,transparent 60%); } .home .shot figcaption span { color:#92d8bd; } }
@media(max-width:880px) { .home .hero { padding-block:46px; } .home .hero .wrap { gap:24px; } .home .hero-art { max-width:500px; } .home .gallery { grid-template-columns:repeat(3,minmax(0,1fr)); } .home .features { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .home .wrap { padding-inline:20px; } .home .nav .wrap { gap:10px; } .home .nav .btn { font-size:13px; padding-inline:14px; } .home .brand { font-size:22px; } .home .hero h1 { font-size:3.15rem; } .home .lead { font-size:17px; } .home .features { grid-template-columns:1fr; } .home .gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 14px; } .home .shot .frame { padding:8px; } .home .band { padding-block:48px; } .home .sample-paper { padding:8px; } .home .sample-paper figcaption { font-size:11px; } .home .hero-art { padding-inline:6px; } .home .demo-btn { top:8px; right:8px; padding:8px 12px; } }
@media(prefers-reduced-motion:reduce) { .home .shot .frame { transition:none; } }
