:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --ink: #152627;
  --muted: #526363;
  --line: #cdd3cb;
  --accent: #cbdb72;
  --night: #0d272b;
  --panel: #163236;
  --mist: #b9c8c7;
  --teal: #1d6861;
  --amber: #edc46e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
section[id], h2[id] { scroll-margin-top: 24px; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 12px; background: var(--paper); color: var(--ink); z-index: 10; }
.skip-link:focus { top: 15px; }
.skip-link:focus-visible { outline-color: var(--accent); }
.eyebrow { font-size: .875rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 24px; }

/* Product-studio opening. */
.masthead, .hero { background: var(--night); color: var(--paper); }
.site-header { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #3c5153; }
.wordmark { display: flex; align-items: center; gap: 12px; font-size: 1.1875rem; font-weight: 500; letter-spacing: .005em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 3.125rem; height: 3.125rem; padding: .125rem; background: var(--paper); border-radius: 9px; flex-shrink: 0; }
.brand-mark img, .flow-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.site-header .header-link { border: 1px solid #657878; padding: 9px 15px; border-radius: 4px; font-weight: 600; }
.masthead a:focus-visible, .hero a:focus-visible { outline-color: var(--accent); }
.hero { padding-block: 72px 28px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 72px; align-items: center; }
.hero-intro, .flow-map { min-width: 0; }
.hero .eyebrow { color: var(--accent); margin-bottom: 27px; }
h1 { font-size: clamp(3.1rem, 5.7vw, 4.875rem); font-weight: 450; line-height: 1.07; letter-spacing: -.046em; margin-bottom: 26px; }
h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.hero-copy { font-size: 1.1875rem; color: var(--mist); max-width: 470px; margin-bottom: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; background: var(--accent); color: var(--ink); padding: 15px 23px; border-radius: 4px; font-size: .9375rem; font-weight: 650; text-decoration: none; }
.button:hover { background: #dcea92; }
.pilot-note { color: var(--mist); font-size: .875rem; max-width: 420px; margin-top: 18px; margin-bottom: 0; }
.hero-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #3c5153; padding-top: 22px; margin-top: 64px; font-size: .875rem; color: var(--mist); }

/* Autonomous main path with optional oversight outside the sequence. */
.flow-map { margin: 0; position: relative; background: var(--panel); background-image: radial-gradient(#496064 1px, transparent 1px); background-size: 22px 22px; padding: 25px; border: 1px solid #4c6265; border-radius: 14px; box-shadow: 0 20px 60px #06171840; }
.flow-map figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 27px; font-size: .875rem; font-weight: 600; }
.flow-map figcaption span:last-child { font-size: .8125rem; font-weight: 400; color: #c1cecc; }
.flow-nodes { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.flow-nodes > li { position: relative; min-width: 0; }
.flow-nodes > li + li::before { content: ""; position: absolute; height: 26px; width: 1px; background: #809394; left: 50%; top: -27px; }
.flow-label { display: block; font-size: .875rem; color: var(--mist); margin-bottom: 9px; }
.flow-input, .flow-output { text-align: center; }
.flow-channels { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.flow-channels span { font-size: .875rem; padding: 7px 12px; background: #18393e; border: 1px solid #61797b; border-radius: 5px; }
.flow-core { display: flex; align-items: center; gap: 18px; padding: 23px 22px; background: var(--accent); border: 1px solid #dcea92; border-radius: 9px; color: var(--ink); }
.flow-core > div { min-width: 0; }
.flow-mark { display: grid; place-items: center; width: 3.125rem; height: 3.125rem; padding: .125rem; background: var(--paper); border: 1px solid #506426; border-radius: 7px; flex-shrink: 0; }
.flow-core .flow-label, .flow-core .flow-detail { color: #3d4e24; }
.flow-core strong { display: block; font-size: 1rem; line-height: 1.4; letter-spacing: -.015em; overflow-wrap: anywhere; }
.flow-core .flow-label { margin-bottom: 4px; }
.flow-detail { display: block; font-size: .8125rem; margin-top: 7px; color: var(--mist); }
.flow-oversight { margin-top: 25px; padding: 13px 18px; background: var(--panel); border: 1px dashed #809394; border-radius: 8px; text-align: center; }
.flow-oversight .flow-label { color: var(--amber); margin-bottom: 4px; }
.flow-oversight .flow-detail { margin-top: 0; }
.flow-note { color: #c1cecc; font-size: .875rem; margin: 25px 0 0; text-align: center; }

/* Editorial rows keep the office work concrete. */
.workflows { padding-block: 82px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
h2 { font-size: clamp(2rem, 3.2vw, 2.65rem); line-height: 1.18; letter-spacing: -.035em; font-weight: 500; margin-bottom: 24px; }
h2 em { font-family: var(--serif); color: var(--teal); font-weight: 400; }
.section-intro > p:not(.eyebrow) { font-size: 1rem; color: var(--muted); max-width: 360px; margin-bottom: 24px; }
.section-note { display: inline-block; font-size: .875rem; color: var(--teal); padding-top: 15px; border-top: 2px solid var(--teal); }
.workflow-list article { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.workflow-list article:first-child { border-top-color: var(--teal); }
.workflow-list article:last-child { padding-bottom: 0; }
.number { font-family: var(--serif); font-size: 2rem; line-height: 1.2; color: var(--teal); }
h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; line-height: 1.35; letter-spacing: -.015em; }
.workflow-list p { font-size: 1rem; color: var(--muted); margin-bottom: 0; }

/* The studio and its current pilot. */
.about-shell { background: #e9eeea; border-block: 1px solid var(--line); }
.about { padding-block: 72px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.studio-label { display: inline-block; font-size: .875rem; color: var(--teal); border-top: 1px solid #bac8be; padding-top: 18px; margin-top: 6px; }
.about-copy p { font-size: 1rem; color: var(--muted); margin-bottom: 20px; }
.about-copy .about-lead { font-size: 1.5rem; line-height: 1.4; letter-spacing: -.025em; color: var(--ink); }
.about-copy strong { font-weight: 600; color: var(--ink); }
.about-copy .about-boundary { border-top: 1px solid #bac8be; padding-top: 18px; font-size: .875rem; margin-bottom: 0; }

/* A single, clear contact destination. */
.contact { margin-top: 64px; padding: 44px; background: var(--accent); border-radius: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; }
.contact h2 { margin-bottom: 18px; }
.contact address { font-size: 1.125rem; font-style: normal; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.contact address span { font-size: .9375rem; font-weight: 600; margin-bottom: 10px; }
.contact address a { padding-block: 7px; min-height: 44px; overflow-wrap: anywhere; max-width: 100%; }
.phone-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; max-width: 100%; }
.contact address .whatsapp-chat { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .6rem .9rem; background: #25d366; color: #123b24; border: 1px solid #166534; border-radius: 999px; font-size: .9375rem; font-weight: 650; text-decoration: none; }
.whatsapp-chat svg { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; }
.contact address .whatsapp-chat span { font-size: inherit; font-weight: inherit; margin: 0; }
.contact address .whatsapp-chat:hover { background: #20c65e; text-decoration: underline; }
.contact a:focus-visible { outline-color: var(--ink); }
.contact-note { font-size: .875rem; margin-bottom: 0; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .8125rem; color: var(--muted); padding-block: 28px 96px; }
.facebook-page-link { margin-top: 6px; }
.contact address .facebook-page-link span { font: inherit; margin: 0; }
.whatsapp-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 5; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 20px; background: #176b3d; color: #fff; border: 1px solid #14532d; border-radius: 999px; box-shadow: 0 4px 18px #06171830; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.whatsapp-float svg { width: 28px; height: 28px; flex: 0 0 auto; }
.whatsapp-float:hover { background: #14532d; }
.whatsapp-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; box-shadow: 0 0 0 8px #fff; }

@media (max-width: 1023px) {
  .hero-layout { column-gap: 35px; }
  h1 { font-size: 3.65rem; }
  .flow-map { padding: 20px; }
  .flow-core { padding: 20px 15px; gap: 12px; }
  .site-header nav { gap: 20px; }
  .workflows, .about { gap: 40px; }
  .contact { gap: 26px; }
}

@media (max-width: 820px) {
  .hero-layout { grid-template-columns: 1fr; gap: 38px; }
  .hero-intro { max-width: 640px; }
  .hero-copy { max-width: 600px; }
  .flow-map { width: 100%; max-width: 600px; }
  .hero-bottom { margin-top: 0; }
  .contact { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 22px; flex-wrap: wrap; gap: 18px; }
  .wordmark { font-size: 1rem; gap: 9px; }
  .brand-mark { width: 2.625rem; height: 2.625rem; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 8px 12px; }
  .hero { padding-block: 36px 24px; }
  h1 { font-size: clamp(2.6rem, 10vw, 4.125rem); letter-spacing: -.038em; overflow-wrap: anywhere; }
  h1 em { letter-spacing: -.03em; }
  .hero-copy { font-size: 1.0625rem; }
  .hero-layout { gap: 36px; }
  .flow-map { padding: 22px 17px; }
  .flow-core { padding: 20px 14px; }
  .flow-channels span { padding: 7px 9px; }
  .hero-bottom { flex-direction: column; gap: 4px; }
  .workflows, .about { grid-template-columns: 1fr; gap: 26px; padding-block: 44px; }
  h2 { font-size: 2rem; }
  .workflow-list article { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
  .number { font-size: 1.65rem; }
  .studio-label { margin-bottom: 0; }
  .about-copy .about-lead { font-size: 1.375rem; }
  .contact { margin-top: 36px; padding: 28px; }
  .contact address { font-size: 1rem; }
  .site-footer { flex-direction: column; gap: 5px; padding-block: 25px 96px; }
  .whatsapp-float { width: 56px; padding: 12px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
