:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #536074;
  --line: #dce2e9;
  --paper: #f7f8fa;
  --white: #fff;
  --acid: #f1ff50;
  --violet: #6d56f7;
  --violet-dark: #4935c9;
  --blue: #dff2ff;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; }
img, svg { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 20; padding: .75rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { left: 1rem; top: 1rem; }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(16, 24, 40, .1); background: rgba(247, 248, 250, .88); backdrop-filter: blur(16px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: .55rem .7rem; font: inherit; font-weight: 700; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 999px; padding: .75rem 1.2rem; background: var(--ink); color: white; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16, 24, 40, .15); }
.button.secondary { background: transparent; color: var(--ink); }
.button.acid { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.button[aria-disabled="true"] { cursor: not-allowed; opacity: .64; transform: none; box-shadow: none; }

.hero { padding: clamp(4rem, 9vw, 7rem) 0 3rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; color: var(--violet-dark); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { width: 9px; height: 9px; border-radius: 50%; background: var(--violet); content: ""; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.045em; }
h1 { max-width: 800px; font-size: clamp(3rem, 7.6vw, 6.7rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.35rem; }
.hero h1 span { position: relative; display: inline-block; }
.hero h1 span::after { position: absolute; z-index: -1; right: -.05em; bottom: .08em; left: -.05em; height: .24em; background: var(--acid); content: ""; transform: rotate(-1deg); }
.hero-copy { max-width: 700px; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.trust-line { margin: 1.5rem 0 0; color: var(--muted); font-size: .92rem; }

.workflow-orbit { position: relative; min-height: 470px; border: 1px solid var(--line); border-radius: 32px; background: var(--white); box-shadow: 0 26px 80px rgba(62, 75, 95, .12); }
.orbit-center { position: absolute; top: 50%; left: 50%; display: grid; width: 160px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--ink); color: white; text-align: center; transform: translate(-50%, -50%); }
.orbit-center strong { display: block; font-size: 1.35rem; }
.orbit-center span { color: #c9d0db; font-size: .82rem; }
.orbit-card { position: absolute; width: 150px; border: 1px solid var(--line); border-radius: 18px; padding: 1rem; background: var(--paper); box-shadow: 0 10px 25px rgba(16, 24, 40, .08); }
.orbit-card b { display: block; margin-bottom: .25rem; font-size: .94rem; }
.orbit-card small { color: var(--muted); }
.orbit-card:nth-child(2) { top: 2rem; left: 2rem; transform: rotate(-3deg); }
.orbit-card:nth-child(3) { top: 2.5rem; right: 1.5rem; transform: rotate(3deg); }
.orbit-card:nth-child(4) { bottom: 2.5rem; left: 1.5rem; transform: rotate(2deg); }
.orbit-card:nth-child(5) { right: 2rem; bottom: 2rem; transform: rotate(-3deg); }

.proof-strip { padding: 1rem 0 4rem; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.proof-item { min-height: 125px; padding: 1.25rem; background: var(--white); }
.proof-item strong { display: block; margin-bottom: .35rem; font-size: 1.08rem; }
.proof-item span { color: var(--muted); font-size: .92rem; }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section.dark { background: var(--ink); color: white; }
.section-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; margin-bottom: 3rem; align-items: end; }
.section-head p { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.1rem; }
.dark .section-head p { color: #b8c0ce; }
.dark .eyebrow { color: var(--acid); }
.dark .eyebrow::before { background: var(--acid); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service-card { min-height: 360px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem; background: var(--white); }
.service-card:nth-child(2) { background: var(--blue); }
.service-card:nth-child(3) { background: #eeeaff; }
.service-icon { width: 48px; height: 48px; display: grid; margin-bottom: auto; place-items: center; border-radius: 14px; background: var(--ink); color: var(--acid); font-weight: 900; }
.service-card p { color: var(--muted); }
.service-card ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--muted); }

.pipeline { display: grid; gap: .75rem; }
.step { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 1.5rem; border: 1px solid #2f3b4f; border-radius: 18px; padding: 1.2rem 1.4rem; background: #172033; }
.step-label { color: var(--acid); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.step p { margin: .3rem 0 0; color: #b8c0ce; }
.step-output { border: 1px solid #40506a; border-radius: 999px; padding: .4rem .7rem; color: #dbe1eb; font-size: .82rem; white-space: nowrap; }

.cases { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.2rem; }
.case { position: relative; min-height: 460px; overflow: hidden; border-radius: 28px; padding: 1.8rem; background: #d9f6ef; }
.case:nth-child(2) { background: #ffeadc; }
.case-art { height: 245px; display: grid; margin-bottom: 1.5rem; place-items: center; border-radius: 22px; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.32)); }
.product-scene { position: relative; width: 210px; height: 150px; }
.product-bottle { position: absolute; left: 65px; bottom: 5px; width: 72px; height: 125px; border: 7px solid var(--ink); border-radius: 13px 13px 24px 24px; background: var(--acid); box-shadow: 18px 18px 0 rgba(109, 86, 247, .22); }
.product-bottle::before { position: absolute; top: -28px; left: 15px; width: 30px; height: 25px; border-radius: 5px 5px 0 0; background: var(--ink); content: ""; }
.product-bottle::after { position: absolute; top: 43px; left: 10px; width: 38px; height: 5px; background: var(--ink); content: ""; }
.case h3 { font-size: 1.7rem; }
.case p { max-width: 600px; color: #485468; }
.case-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.case-tags span { border: 1px solid rgba(16,24,40,.2); border-radius: 999px; padding: .3rem .65rem; font-size: .8rem; }
.case-note { margin-top: 1rem; font-size: .82rem; font-weight: 700; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.principle { border-top: 4px solid var(--ink); padding: 1.2rem .2rem 0; }
.principle p { color: var(--muted); }

.contact-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; border-radius: 32px; padding: clamp(2rem, 6vw, 5rem); background: var(--violet); color: white; }
.contact-panel p { color: #e7e3ff; }
.contact-status { align-self: end; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; padding: 1.25rem; background: rgba(255,255,255,.1); }
.contact-status strong { display: block; margin-bottom: .4rem; }

.site-footer { padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: 1rem; }

.legal { padding: 5rem 0; }
.legal article { max-width: 780px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.legal h2 { margin-top: 2.5rem; font-size: 1.6rem; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { margin: 1rem 0 3rem; }

@media (max-width: 900px) {
  .hero-grid, .section-head, .cases, .contact-panel { grid-template-columns: 1fr; }
  .workflow-orbit { min-height: 420px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .services, .principles { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 71px; right: 1rem; left: 1rem; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 16px; padding: 1rem; background: var(--white); box-shadow: 0 18px 44px rgba(16,24,40,.15); }
  .nav-links.open { display: flex; }
  .nav-links .button { width: 100%; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
  .workflow-orbit { min-height: 500px; }
  .orbit-card { width: 135px; }
  .orbit-card:nth-child(2), .orbit-card:nth-child(4) { left: 1rem; }
  .orbit-card:nth-child(3), .orbit-card:nth-child(5) { right: 1rem; }
  .step { grid-template-columns: 1fr; gap: .35rem; }
  .step-output { justify-self: start; }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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