:root {
  --ink: #1f1c2e;
  --muted: #68657a;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #ddd9d2;
  --coral: #ff6b57;
  --coral-dark: #dd4939;
  --violet: #6558d3;
  --mint: #8ed8c5;
  --yellow: #ffd166;
  --shadow: 0 22px 60px rgba(42, 35, 76, 0.12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.28;
  background-image: radial-gradient(rgba(31, 28, 46, 0.25) 0.55px, transparent 0.55px);
  background-size: 6px 6px;
}

a { color: inherit; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(18px);
}

.site-header.scrolled { border-color: var(--line); }

.nav {
  max-width: var(--max);
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 21px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 11px 11px 11px 3px;
  background: var(--coral);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: Georgia, serif;
  font-weight: 800;
  transform: rotate(-3deg);
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  color: white;
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--coral);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.nav-cta { min-height: 40px; padding: 0 16px; font-size: 13px; box-shadow: none; }
.button:hover, .nav-cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--coral); }
.nav-cta:hover { box-shadow: 3px 3px 0 var(--coral); }
.button.secondary { color: var(--ink); background: white; box-shadow: none; }
.button.secondary:hover { box-shadow: 4px 4px 0 var(--yellow); }
.button.coral { background: var(--coral); box-shadow: 4px 4px 0 var(--ink); }

.menu-button { display: none; border: 0; background: none; padding: 8px; font-size: 24px; color: var(--ink); }

.hero {
  max-width: var(--max);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 88px 24px 80px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before { content: "✦"; color: var(--coral); font-size: 17px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.045em; }

.hero h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font: 800 clamp(3.5rem, 6vw, 6.8rem)/0.92 Georgia, "Times New Roman", serif;
}

.hero h1 em { position: relative; color: var(--coral); font-style: italic; font-weight: 500; }
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%; right: -2%; bottom: -4px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  transform: rotate(-2deg);
  z-index: -1;
}

.hero-copy { max-width: 570px; margin-bottom: 32px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-note span { color: var(--coral); }

.studio-preview {
  position: relative;
  min-height: 610px;
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: #ebe8f6;
  box-shadow: 12px 12px 0 var(--ink), var(--shadow);
  transform: rotate(1.5deg);
}

.window-bar { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 11px; height: 11px; border: 1px solid var(--ink); border-radius: 50%; background: var(--coral); }
.window-dots i:nth-child(2) { background: var(--yellow); }
.window-dots i:nth-child(3) { background: var(--mint); }
.window-title { font-size: 12px; font-weight: 850; }

.canvas-shell { position: relative; height: 510px; display: grid; grid-template-columns: 54px 1fr; gap: 12px; }
.toolbar { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 7px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.76); }
.tool { width: 35px; height: 35px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-weight: 800; }
.tool.active { color: white; background: var(--ink); }
.swatch { width: 24px; height: 24px; margin-top: auto; border: 3px solid white; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 1px var(--ink); }

.canvas {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: inset 0 0 40px rgba(72, 60, 120, 0.05);
}

.canvas::before { content: ""; position: absolute; width: 320px; height: 320px; left: 50%; top: 52%; transform: translate(-50%,-50%); border-radius: 48% 52% 46% 54%; background: var(--yellow); }
.canvas::after { content: ""; position: absolute; width: 250px; height: 210px; left: 50%; top: 55%; transform: translate(-50%,-50%) rotate(-7deg); border: 14px solid var(--violet); border-radius: 52% 48% 58% 42%; }
.art-sun { position: absolute; width: 82px; height: 82px; top: 64px; right: 54px; border-radius: 50%; background: var(--coral); }
.art-line { position: absolute; z-index: 2; width: 250px; height: 100px; left: 50%; top: 45%; transform: translate(-50%,-50%) rotate(-12deg); border-top: 10px solid var(--ink); border-radius: 50%; }
.art-line.two { top: 65%; width: 200px; transform: translate(-50%,-50%) rotate(14deg); border-color: var(--coral); }
.art-leaf { position: absolute; z-index: 3; width: 70px; height: 130px; left: 90px; bottom: 55px; border-radius: 100% 0 100% 0; background: var(--mint); transform: rotate(-26deg); }
.canvas-caption { position: absolute; z-index: 4; left: 28px; top: 26px; padding: 9px 12px; border-radius: 10px; background: white; box-shadow: 0 8px 22px rgba(31,28,46,.1); font: italic 700 13px Georgia, serif; }
.floating-badge { position: absolute; z-index: 4; right: -28px; bottom: 76px; padding: 12px 15px; border: 1px solid var(--ink); border-radius: 14px; background: white; box-shadow: 4px 4px 0 var(--mint); font-size: 12px; font-weight: 850; transform: rotate(-4deg); }

.section { padding: 112px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-heading { max-width: 680px; margin-bottom: 52px; }
.section-heading h2, .page-hero h1 { margin-bottom: 18px; font: 800 clamp(2.6rem, 5vw, 4.7rem)/1 Georgia, serif; }
.section-heading p, .page-hero p { color: var(--muted); font-size: 17px; line-height: 1.7; }

.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.feature-card { min-height: 290px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.feature-card:nth-child(1), .feature-card:nth-child(4) { grid-column: span 7; }
.feature-card:nth-child(2), .feature-card:nth-child(3) { grid-column: span 5; }
.feature-card:nth-child(1) { background: var(--violet); color: white; }
.feature-card:nth-child(4) { background: var(--yellow); }
.feature-number { display: block; margin-bottom: 62px; opacity: .7; font: italic 700 15px Georgia, serif; }
.feature-card h3 { margin-bottom: 12px; font-size: 26px; }
.feature-card p { max-width: 470px; margin-bottom: 0; opacity: .78; line-height: 1.65; }
.feature-icon { float: right; width: 72px; height: 72px; display: grid; place-items: center; margin: -10px -4px 8px 16px; border: 1px solid currentColor; border-radius: 50% 50% 50% 12px; font-size: 28px; }

.workflow { background: var(--ink); color: white; }
.workflow .section-heading p { color: #bdb9ce; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px 0; border-top: 1px solid #4a465b; }
.step strong { display: inline-grid; width: 34px; height: 34px; place-items: center; margin-bottom: 54px; border-radius: 50%; background: var(--coral); font-size: 13px; }
.step h3 { font-size: 24px; }
.step p { color: #aaa6bb; line-height: 1.65; }

.quote { max-width: 920px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0 0 26px; font: italic 500 clamp(2.2rem, 4.8vw, 4.5rem)/1.12 Georgia, serif; letter-spacing: -.04em; }
.quote cite { color: var(--muted); font-size: 13px; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-intro h2 { font: 800 clamp(2.6rem, 5vw, 4.4rem)/1 Georgia, serif; }
.faq-intro p { color: var(--muted); line-height: 1.7; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; padding: 25px 0; display: flex; justify-content: space-between; gap: 20px; border: 0; color: var(--ink); background: none; text-align: left; font-weight: 800; cursor: pointer; }
.faq-question span:last-child { font-size: 22px; transition: transform .2s; }
.faq-question[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 48px 24px 0; color: var(--muted); line-height: 1.65; }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }

.cta-panel { position: relative; overflow: hidden; padding: 74px; border: 1px solid var(--ink); border-radius: var(--radius-lg); background: var(--coral); box-shadow: 10px 10px 0 var(--ink); text-align: center; }
.cta-panel::before, .cta-panel::after { content: "✦"; position: absolute; color: var(--yellow); font-size: 80px; }
.cta-panel::before { left: 8%; top: 12%; transform: rotate(-12deg); }
.cta-panel::after { right: 7%; bottom: 6%; transform: rotate(18deg); }
.cta-panel h2 { max-width: 730px; margin: 0 auto 18px; color: white; font: italic 700 clamp(2.7rem, 5vw, 5rem)/1 Georgia, serif; }
.cta-panel p { max-width: 570px; margin: 0 auto 28px; color: rgba(255,255,255,.82); line-height: 1.7; }

.site-footer { padding: 50px 24px 34px; border-top: 1px solid var(--line); background: #f2f0eb; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-main { padding-bottom: 46px; display: flex; justify-content: space-between; gap: 50px; }
.footer-tagline { max-width: 330px; margin-top: 18px; color: var(--muted); line-height: 1.6; }
.footer-links { display: flex; gap: 68px; }
.footer-group { display: grid; align-content: start; gap: 12px; }
.footer-group strong { margin-bottom: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-group a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-group a:hover { color: var(--ink); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.page-main { min-height: 75vh; }
.page-hero { max-width: var(--max); margin: 0 auto; padding: 100px 24px 62px; }
.page-hero p { max-width: 650px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.content-grid { max-width: var(--max); margin: 0 auto; padding: 0 24px 110px; display: grid; grid-template-columns: 260px 1fr; gap: 72px; }
.side-nav { position: sticky; top: 104px; height: max-content; display: grid; gap: 8px; }
.side-nav a { padding: 10px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; }
.side-nav a:hover { color: var(--ink); background: white; }
.prose { max-width: 760px; }
.prose section { scroll-margin-top: 110px; padding: 0 0 38px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.prose section:last-child { border: 0; }
.prose h2 { margin-bottom: 14px; font: 800 28px/1.2 Georgia, serif; }
.prose p, .prose li { color: var(--muted); line-height: 1.8; }
.prose a { color: var(--violet); font-weight: 700; }
.meta-pill { display: inline-flex; padding: 8px 12px; border-radius: 100px; background: #ece9ff; color: var(--violet); font-size: 12px; font-weight: 800; }

.support-layout { max-width: var(--max); margin: 0 auto; padding: 0 24px 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.support-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.support-card.primary { color: white; background: var(--violet); }
.support-card h2 { font: 800 28px Georgia, serif; }
.support-card p { opacity: .75; line-height: 1.7; }
.support-card a { font-weight: 800; }
.support-card .button { margin-top: 12px; }
.support-meta { display: flex; gap: 18px; margin-top: 24px; font-size: 12px; font-weight: 800; opacity: .75; }

.about-showcase { max-width: var(--max); margin: 0 auto; padding: 0 24px 110px; }
.about-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-lead h2 { font: 800 clamp(2.5rem, 4vw, 4rem)/1.06 Georgia, serif; }
.about-lead p { color: var(--muted); font-size: 18px; line-height: 1.8; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 80px; }
.principle { padding: 26px; border-top: 3px solid var(--coral); background: white; }
.principle:nth-child(2) { border-color: var(--violet); }
.principle:nth-child(3) { border-color: var(--mint); }
.principle h3 { font-size: 21px; }
.principle p { margin: 0; color: var(--muted); line-height: 1.65; }

.not-found { min-height: 75vh; padding: 110px 24px; display: grid; place-items: center; text-align: center; }
.not-found-inner { max-width: 660px; }
.error-code { color: var(--coral); font: italic 800 clamp(7rem, 20vw, 14rem)/.75 Georgia, serif; }
.not-found h1 { margin: 30px 0 16px; font: 800 clamp(2.4rem, 5vw, 4.4rem)/1 Georgia, serif; }
.not-found p { margin-bottom: 30px; color: var(--muted); font-size: 17px; line-height: 1.7; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy-wrap { text-align: center; }
  .hero-copy, .hero-actions { margin-left: auto; margin-right: auto; justify-content: center; }
  .hero-note { justify-content: center; }
  .studio-preview { max-width: 650px; width: 100%; margin: 0 auto; }
  .faq-grid, .about-lead { grid-template-columns: 1fr; gap: 32px; }
  .steps, .principles { grid-template-columns: 1fr; }
  .step strong { margin-bottom: 24px; }
  .content-grid { grid-template-columns: 1fr; gap: 26px; }
  .side-nav { position: static; grid-auto-flow: column; overflow-x: auto; justify-content: start; }
}

@media (max-width: 680px) {
  .nav { height: 66px; padding: 0 18px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; left: 14px; right: 14px; top: 68px; padding: 18px; align-items: stretch; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px; }
  .nav-cta { margin-top: 6px; }
  .hero { min-height: auto; padding: 62px 18px 68px; gap: 52px; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 5.2rem); }
  .studio-preview { min-height: 430px; padding: 12px; border-radius: 24px; box-shadow: 7px 7px 0 var(--ink); }
  .canvas-shell { height: 350px; grid-template-columns: 42px 1fr; gap: 8px; }
  .toolbar { padding: 6px 3px; }
  .tool { width: 32px; height: 32px; }
  .canvas::before { width: 210px; height: 210px; }
  .canvas::after { width: 170px; height: 140px; border-width: 9px; }
  .art-line { width: 160px; }
  .art-line.two { width: 130px; }
  .art-leaf { left: 32px; bottom: 34px; width: 48px; height: 86px; }
  .art-sun { width: 58px; height: 58px; top: 44px; right: 25px; }
  .floating-badge { right: -11px; bottom: 42px; }
  .section { padding: 78px 18px; }
  .feature-card, .feature-card:nth-child(n) { grid-column: span 12; min-height: 250px; padding: 24px; }
  .feature-number { margin-bottom: 42px; }
  .cta-panel { padding: 64px 22px; border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); }
  .cta-panel::before, .cta-panel::after { font-size: 40px; opacity: .6; }
  .footer-main, .footer-bottom { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 38px; }
  .footer-bottom { gap: 8px; }
  .page-hero { padding: 72px 18px 48px; }
  .content-grid, .support-layout, .about-showcase { padding-left: 18px; padding-right: 18px; padding-bottom: 78px; }
  .support-layout { grid-template-columns: 1fr; }
  .support-card { padding: 26px; }
}

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