:root {
  --ink: #27233a;
  --muted: #625d75;
  --cream: #fffaf0;
  --paper: #fffefb;
  --coral: #ed6a5a;
  --sun: #f6c945;
  --teal: #4fb9a8;
  --blue: #7189d9;
  --line: rgba(39, 35, 58, 0.12);
  --shadow: 0 24px 70px rgba(51, 42, 72, 0.12);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; max-width: 100%; overflow-x: clip; background: var(--cream); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 99; padding: .8rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { left: 1rem; top: 1rem; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header { padding: 24px 0; position: relative; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.2rem; font-weight: 850; text-decoration: none; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 7px 18px rgba(39,35,58,.13); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.nav-links a { padding: 9px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { background: rgba(113,137,217,.13); outline: none; }

.hero { position: relative; overflow: hidden; padding: 72px 0 86px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .68; pointer-events: none; }
.hero::before { width: 420px; height: 420px; left: -220px; top: 30px; background: #f9d8cc; }
.hero::after { width: 330px; height: 330px; right: -130px; top: 50px; background: #d9eee8; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 72px; position: relative; }
.hero-grid > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.62); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 14px 0 var(--sun), 28px 0 var(--teal); margin-right: 28px; }
h1 { margin: 0; max-width: 780px; font-size: clamp(3.25rem, 7vw, 6.6rem); line-height: .95; letter-spacing: -.075em; }
.hero h1 span { color: var(--coral); }
.lede { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 16px; background: var(--ink); color: white; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(39,35,58,.16); }
.button.secondary { color: var(--ink); background: white; border: 1px solid var(--line); box-shadow: none; }
.button:hover { transform: translateY(-2px); }
.fine-print { margin: 16px 0 0; color: var(--muted); font-size: .88rem; }
.icon-stage { position: relative; display: grid; place-items: center; min-height: 480px; }
.app-icon { width: min(380px, 88%); border-radius: 24%; box-shadow: var(--shadow); transform: rotate(2.5deg); }
.scribble { position: absolute; width: 115px; height: 28px; border: 8px solid var(--sun); border-left: 0; border-right: 0; border-radius: 50%; transform: rotate(-16deg); right: -5px; top: 60px; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.55); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 28px; text-align: center; font-weight: 850; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item small { display: block; margin-top: 5px; color: var(--muted); font-weight: 600; }

.section { padding: 104px 0; }
.section-kicker { margin: 0 0 14px; color: var(--coral); font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h2 { margin: 0; max-width: 800px; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.03; letter-spacing: -.055em; }
.section-intro { max-width: 660px; margin: 22px 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.art-card { min-width: 0; padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: 0 12px 38px rgba(39,35,58,.07); }
.art-card:nth-child(2) { transform: translateY(22px) rotate(1deg); }
.art-card:nth-child(3) { transform: rotate(-1deg); }
.art-frame { display: grid; place-items: center; height: 260px; overflow: hidden; border-radius: 19px; background: white; }
.art-frame img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.art-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; font-weight: 850; }
.crayon { width: 44px; height: 10px; border-radius: 999px; transform: rotate(-5deg); background: var(--coral); }
.art-card:nth-child(2) .crayon { background: var(--teal); }
.art-card:nth-child(3) .crayon { background: var(--blue); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.feature { padding: 34px; border-radius: 26px; background: white; border: 1px solid var(--line); }
.feature:nth-child(2) { background: #fff3d2; }
.feature:nth-child(3) { background: #e9f6f2; }
.feature:nth-child(4) { background: #edf0fc; }
.feature strong { display: block; margin-bottom: 10px; font-size: 1.25rem; }
.feature p { margin: 0; color: var(--muted); line-height: 1.65; }

.cta { padding: 0 0 100px; }
.cta-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 52px; border-radius: 32px; background: var(--ink); color: white; overflow: hidden; position: relative; }
.cta-box::after { content: ""; position: absolute; width: 210px; height: 210px; border-radius: 50%; right: -75px; bottom: -120px; background: var(--coral); opacity: .8; }
.cta-box h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.cta-box p { margin: 14px 0 0; color: #d9d5e8; }
.cta-box .button { position: relative; z-index: 1; background: white; color: var(--ink); }

.legal-hero { padding: 62px 0 52px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.legal-hero p { max-width: 660px; margin: 22px 0 0; color: var(--muted); line-height: 1.65; font-size: 1.1rem; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 72px; padding: 72px 0 110px; }
.legal-aside { position: sticky; top: 24px; align-self: start; padding: 22px; border-radius: 20px; background: white; border: 1px solid var(--line); }
.legal-aside strong { display: block; margin-bottom: 8px; }
.legal-aside p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.legal-copy h2 { margin: 2.5rem 0 .7rem; font-size: 1.55rem; letter-spacing: -.025em; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: #514c62; line-height: 1.75; }
.legal-copy ul { padding-left: 1.25rem; }
.legal-copy a { color: #4c62b3; font-weight: 700; }

.contact-card { max-width: 760px; padding: 44px; margin-top: 42px; background: white; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 2rem; }
.email-link { display: inline-block; margin: 18px 0 0; font-size: clamp(1.4rem, 4vw, 2.25rem); font-weight: 900; color: #4c62b3; letter-spacing: -.035em; }
.contact-card p { color: var(--muted); line-height: 1.7; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 48px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 820px) {
  .hero { padding-top: 42px; }
  .hero-grid, .legal-layout { grid-template-columns: 1fr; gap: 42px; }
  .icon-stage { min-height: auto; order: -1; }
  .app-icon { width: 230px; }
  .scribble { right: 12%; }
  .gallery { grid-template-columns: 1fr; }
  .art-card:nth-child(n) { transform: none; }
  .art-frame { height: 310px; }
  .legal-aside { position: static; }
}

@media (max-width: 620px) {
  .shell { width: calc(100vw - 28px); }
  .nav { align-items: center; gap: 8px; }
  .nav-links { min-width: 0; gap: 0; margin-left: auto; }
  .nav-links a { padding: 8px 6px; font-size: .76rem; }
  .brand span { display: none; }
  .hero { padding-bottom: 62px; }
  .hero-grid > div:first-child, .hero h1, .hero .lede { width: calc(100vw - 28px); max-width: calc(100vw - 28px); }
  h1 { font-size: clamp(3rem, 16vw, 4.6rem); overflow-wrap: break-word; }
  .trust-grid, .feature-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .art-frame { height: 250px; }
  .cta-box { grid-template-columns: 1fr; padding: 36px 26px; }
  .legal-hero { padding-top: 38px; }
  .legal-layout { padding-top: 46px; }
  .contact-card { padding: 28px 22px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
