/* SynMotion landing page: cream page, a composition that animates, plays and renders itself. */
:root {
  --bg: #f4eee3;
  --bg2: #ffffff;
  --panel: rgba(255, 255, 255, 0.6);
  --line: rgba(28, 25, 23, 0.1);
  --grid: rgba(28, 25, 23, 0.06);
  --text: #1c1917;
  --muted: #57534e;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --glow: rgba(37, 99, 235, 0.35);
  --radius: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #1c1917; color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 16px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grad { background: linear-gradient(90deg, #2563eb, #0891b2); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Nav: dark glass */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(244, 238, 227, 0.8); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
.brand img.logo { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a.link { color: var(--muted); font-size: 14px; }
.nav-links a.link:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: transform 0.12s, box-shadow 0.2s, background 0.2s, border-color 0.2s; }
.btn-primary { background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 8px 30px var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 10px 44px rgba(56, 140, 255, 0.7); }
.btn-glass { background: rgba(255, 255, 255, 0.65); color: var(--text); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: rgba(37, 99, 235, 0.5); background: #fff; }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.btn:active { transform: translateY(1px); }

/* Hero artboard */
.hero { position: relative; overflow: hidden; padding: 72px 24px 96px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(59, 130, 246, 0.12), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg); }
.hero-inner { position: relative; z-index: 3; max-width: 900px; margin: 0 auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #1d4ed8; background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.3); margin-bottom: 30px; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 10px rgba(37, 99, 235, 0.6); }
.hero h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -2.5px; font-weight: 850; margin: 0 0 26px; }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 660px; margin: 0 auto 34px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Product window */
.window { position: relative; max-width: 1140px; margin: -10px auto 0; padding: 0 24px; z-index: 4; }
.window-frame { border-radius: 16px; overflow: hidden; border: 1px solid rgba(28, 25, 23, 0.12); background: #1e2230;
  box-shadow: 0 40px 100px rgba(28, 25, 23, 0.25), 0 0 80px rgba(37, 99, 235, 0.25); }
.window-bar { display: flex; gap: 7px; padding: 11px 14px; background: #2a2f3f; border-bottom: 1px solid var(--line); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a4566; }

/* Sections */
section.block { padding: 120px 0; position: relative; }
section.block[data-tight] { padding-top: 0; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: #1d4ed8; margin-bottom: 14px; }
.head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.head h2 { text-wrap: balance; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -1.2px; margin: 0 0 16px; font-weight: 800; }
.head p { color: var(--muted); margin: 0; font-size: 17px; }

/* Feature rows */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(10px); box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04), 0 10px 30px rgba(28, 25, 23, 0.05); }
.feature .stage { height: 150px; border-radius: 12px; margin-bottom: 20px; overflow: hidden;
  background: linear-gradient(rgba(120, 160, 255, 0.07) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgba(120, 160, 255, 0.07) 1px, transparent 1px) 0 0 / 20px 20px, #0b1226;
  border: 1px solid var(--line); }
.feature .stage svg { width: 100%; height: 100%; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Download panels */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; backdrop-filter: blur(12px); }
.plan.highlight { border: 2px solid #2563eb; box-shadow: 0 12px 40px rgba(37, 99, 235, 0.18); }
.plan .tag { position: absolute; top: -12px; left: 26px; background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; margin: 0 0 4px; }
.plan .meta { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; color: var(--muted); flex: 1; }
.plan li { display: flex; gap: 8px; padding: 4px 0; }
.check { color: #047857; font-weight: 800; }
.plan .btn { width: 100%; }
.steps { margin-top: 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.steps summary { cursor: pointer; font-weight: 700; color: var(--text); min-height: 24px; }
.steps ol { padding-left: 18px; margin: 10px 0 0; }

/* Privacy strip, CTA, footer */
.privacy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.privacy div { border-top: 1px solid var(--line); padding-top: 18px; }
.privacy h3 { font-size: 15px; margin: 0 0 6px; }
.privacy p { margin: 0; font-size: 14px; color: var(--muted); }
.cta-box { text-align: center; border-radius: 28px; padding: 80px 24px; border: 1px solid rgba(37, 99, 235, 0.3);
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.16), transparent 70%), #fbf8f3; }
.cta-box h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 12px; letter-spacing: -1px; }
.cta-box p { color: var(--muted); margin: 0 0 32px; }
footer { border-top: 1px solid var(--line); padding: 34px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a:hover { color: var(--text); }
.credit { width: 100%; font-size: 12px; margin: 0; }

@media (max-width: 960px) {
  .features, .plans, .privacy { grid-template-columns: 1fr 1fr; }
  .nav-links a.link { display: none; }
}
@media (max-width: 620px) {
  .features, .plans, .privacy { grid-template-columns: 1fr; }
  .hero { padding-top: 90px; min-height: 0; }
  .hero h1 { letter-spacing: -1.2px; }
}

/* Workspace tour: radio tabs, no scripts */
.tour > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.tabs label { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.tabs label:hover { color: var(--text); border-color: rgba(37, 99, 235, 0.4); }
.tour .window-frame { max-width: 1150px; margin: 0 auto; }
.pane { display: none; margin: 0; }
.pane figcaption { padding: 16px 22px; background: #fbf8f3; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
.pane figcaption strong { color: var(--text); }

/* FAQ */
.narrow { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; font-weight: 700; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; color: var(--muted); }


/* Hero: copy on the left, the document on the right */
.hero-grid { position: relative; z-index: 3; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { text-align: left; }
.hero-copy .lede { margin: 0 0 32px; max-width: 560px; }
.hero-copy .hero-buttons { justify-content: flex-start; }
/* Tool grid with category tabs (radio inputs, no scripts) */
.toolbox > input, .tour > input { position: absolute; opacity: 0; pointer-events: none; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tool { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.tool:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 14px 40px rgba(28, 25, 23, 0.1); }
.tool h3 { margin: 12px 0 6px; font-size: 17px; }
.tool p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; font-size: 19px; font-weight: 800; }
.ic-blue { background: #dbeafe; color: #1d4ed8; } .ic-pink { background: #fce7f3; color: #be185d; } .ic-amber { background: #fef3c7; color: #b45309; }
.ic-violet { background: #ede9fe; color: #6d28d9; } .ic-green { background: #dcfce7; color: #15803d; } .ic-teal { background: #ccfbf1; color: #0f766e; } .ic-red { background: #fee2e2; color: #b91c1c; }
.center-cta { text-align: center; margin-top: 36px; }

/* Tour tabs (same pattern as SynFrame) */

/* Privacy band */
.privacy-band { border-radius: 28px; padding: 56px 48px; background: #1c1917; color: #f5f5f4; }
.privacy-band .head.left { text-align: left; margin: 0 0 36px; max-width: 760px; }
.privacy-band .head p, .privacy-band .privacy p { color: #d6d3d1; }
.privacy-band .eyebrow { color: #93c5fd; }
.privacy-band .privacy div { border-top-color: rgba(255, 255, 255, 0.14); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin: 0 auto 30px; }
  .hero-copy .hero-buttons { justify-content: center; }
}


/* PSD band */
.psd-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 56px 48px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(28, 25, 23, 0.08); }
.psd-band h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 16px; }
.psd-band p { color: var(--muted); margin: 0; font-size: 17px; }
.stats { display: grid; gap: 18px; }
.stats div { display: flex; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.stats div:last-child { border-bottom: 0; padding-bottom: 0; }
.stats b { flex: 0 0 120px; font-size: 40px; font-weight: 850; letter-spacing: -1.5px; color: #1d4ed8; }
.stats small { font-size: 18px; color: var(--muted); }
.stats span { color: var(--muted); font-size: 15px; }
.ico { display: inline-grid; width: auto; min-width: 40px; padding: 0 9px; font-size: 10.5px; letter-spacing: 0.8px; }


@media (max-width: 900px) {
  .psd-band { grid-template-columns: 1fr; padding: 40px 24px; }
}


/* Tool grid and tour: SynDoc's categories and screens (radio inputs, no scripts) */
#cat-animate:checked ~ .tool-grid .tool:not(.t-animate), #cat-effects:checked ~ .tool-grid .tool:not(.t-effects), #cat-3d:checked ~ .tool-grid .tool:not(.t-3d),
#cat-type:checked ~ .tool-grid .tool:not(.t-type), #cat-render:checked ~ .tool-grid .tool:not(.t-render) { display: none; }
#cat-all:checked ~ .tabs label[for=cat-all], #cat-animate:checked ~ .tabs label[for=cat-animate], #cat-effects:checked ~ .tabs label[for=cat-effects],
#cat-3d:checked ~ .tabs label[for=cat-3d], #cat-type:checked ~ .tabs label[for=cat-type], #cat-render:checked ~ .tabs label[for=cat-render],
#ws-timeline:checked ~ .tabs label[for=ws-timeline], #ws-graph:checked ~ .tabs label[for=ws-graph], #ws-effects:checked ~ .tabs label[for=ws-effects],
#ws-3d:checked ~ .tabs label[for=ws-3d], #ws-render:checked ~ .tabs label[for=ws-render], #ws-dark:checked ~ .tabs label[for=ws-dark] {
  color: #fff; background: linear-gradient(135deg, #2563eb, #0ea5e9); border-color: transparent; box-shadow: 0 8px 24px var(--glow); }
#cat-all:focus-visible ~ .tabs label[for=cat-all], #cat-animate:focus-visible ~ .tabs label[for=cat-animate], #cat-effects:focus-visible ~ .tabs label[for=cat-effects],
#cat-3d:focus-visible ~ .tabs label[for=cat-3d], #cat-type:focus-visible ~ .tabs label[for=cat-type], #cat-render:focus-visible ~ .tabs label[for=cat-render],
#ws-timeline:focus-visible ~ .tabs label[for=ws-timeline], #ws-graph:focus-visible ~ .tabs label[for=ws-graph], #ws-effects:focus-visible ~ .tabs label[for=ws-effects],
#ws-3d:focus-visible ~ .tabs label[for=ws-3d], #ws-render:focus-visible ~ .tabs label[for=ws-render], #ws-dark:focus-visible ~ .tabs label[for=ws-dark] {
  outline: 3px solid var(--cyan); outline-offset: 3px; }
#ws-timeline:checked ~ .window-frame .p-timeline, #ws-graph:checked ~ .window-frame .p-graph, #ws-effects:checked ~ .window-frame .p-effects,
#ws-3d:checked ~ .window-frame .p-3d, #ws-render:checked ~ .window-frame .p-render, #ws-dark:checked ~ .window-frame .p-dark { display: block; }

/* Format strip */
.formats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.formats span { padding: 7px 14px; border-radius: 999px; background: #eff6ff; border: 1px solid rgba(37, 99, 235, 0.25); color: #1d4ed8; font: 700 13px/1 ui-monospace, Menlo, monospace; }
.formats span.out { background: #fef2f2; border-color: rgba(185, 28, 28, 0.25); color: #b91c1c; }


/* Agents band: a terminal snippet */
.term { border-radius: 16px; background: #0f172a; color: #e2e8f0; padding: 22px 24px; font: 500 13.5px/1.7 ui-monospace, Menlo, monospace; overflow-x: auto; box-shadow: 0 20px 60px rgba(28, 25, 23, 0.18); }
.term .c { color: #64748b; } .term .k { color: #7dd3fc; } .term .s { color: #fde68a; }
.term p { margin: 0; white-space: pre; color: #e2e8f0; font-size: 13.5px; }

/* Hero workspace: a canvas with a shape on an eased path, a timeline with keyframes and a playhead,
   and a render-queue bar. Every part runs on the same --loop so they stay in sync. */
.ws { position: relative; border-radius: 18px; overflow: hidden; background: #1b1f2e; border: 1px solid rgba(28, 25, 23, 0.12);
  box-shadow: 0 40px 100px rgba(28, 25, 23, 0.25), 0 0 80px rgba(37, 99, 235, 0.18); color: #cbd5e1; font-size: 12px; }
.ws-bar { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: #232838; border-bottom: 1px solid #2f3547; font-weight: 700; color: #94a3b8; }
.ws-bar b { color: #e2e8f0; } .ws-bar .rq { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.prog { position: relative; width: 120px; height: 8px; border-radius: 4px; background: #2f3547; overflow: hidden; }
.prog i { position: absolute; inset: 0; background: linear-gradient(90deg, #22d3ee, #2563eb); transform-origin: left; }
.fmt { position: relative; min-width: 104px; height: 16px; }
.fmt span { position: absolute; inset: 0; color: #7dd3fc; white-space: nowrap; }
.stage { position: relative; height: 230px; margin: 14px 14px 0; border-radius: 10px; overflow: hidden;
  background: radial-gradient(ellipse at 30% 30%, rgba(37, 99, 235, 0.35), transparent 60%), linear-gradient(135deg, #0b1226, #172554); }
/* the shape's route: up first (eased Y), then across (X): a curve bending at the top left */
.path { position: absolute; left: 6%; right: 12%; top: calc(86% - 150px); bottom: 14%; border: 2px dashed rgba(148, 163, 184, 0.35); border-right: 0; border-bottom: 0; border-radius: 100% 0 0 0; }
.mx { position: absolute; left: 6%; bottom: 14%; width: 0; height: 0; }
.my { position: absolute; left: 0; top: 0; }
.dot { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 14px; background: linear-gradient(135deg, #facc15, #f97316); box-shadow: 0 0 30px rgba(250, 204, 21, 0.55); }
.title-anim { position: absolute; left: 22px; top: 18px; font: 800 22px/1 var(--font); letter-spacing: -0.5px; color: #fff; }
.title-anim span { display: inline-block; }
.tl { margin: 12px 14px 14px; border-radius: 10px; background: #232838; padding: 10px 12px 12px; position: relative; }
.tl-row { position: relative; display: grid; grid-template-columns: 92px 1fr; align-items: center; height: 26px; border-bottom: 1px solid #2f3547; }
.tl-row:last-child { border-bottom: 0; }
.tl-row em { font-style: normal; color: #94a3b8; font-weight: 700; }
.track { position: relative; height: 100%; }
.track .kf { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; transform: rotate(45deg); background: #facc15; border-radius: 2px; }
.k10 { left: 10%; } .k35 { left: 35%; } .k60 { left: 60%; } .k85 { left: 85%; } .k25 { left: 25%; } .k75 { left: 75%; } .k50 { left: 50%; }
.ph { position: absolute; top: 4px; bottom: 6px; left: 104px; right: 12px; pointer-events: none; }
.ph i { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #38bdf8; box-shadow: 0 0 10px #38bdf8; }
.ph i::before { content: ""; position: absolute; top: -4px; left: -5px; width: 12px; height: 8px; border-radius: 2px; background: #38bdf8; }
@media (max-width: 620px) {
  .brand img.logo { height: 32px; }
  .nav .btn { white-space: nowrap; padding: 8px 14px; font-size: 14px; min-height: 40px; }
  .stage { height: 200px; }
  .tl-row { grid-template-columns: 70px 1fr; }
  .ph { left: 82px; }
  .ws-bar .rq .fmt { display: none; }
}
