@font-face {
  font-family: Outfit;
  src: url('/fonts/outfit-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --brand-bg: #0c0a12;
  --brand-surface: #131219;
  --brand-deep: #28163f;
  --brand-vibrant: #783fe0;
  --brand-mid: #9360e7;
  --brand-accent: #a775ef;
  --brand-light: #c49af8;
  --brand-highlight: #dec5ff;
  --text-primary: #f1f5ed;
  --text-secondary: #b6b1c0;
  --border-subtle: rgb(255 255 255 / 8%);
  --go-bg: #121412;
  --go-surface: #1b1f1c;
  --go-border: #394039;
  --go-accent: #cbef9e;
  --go-text-secondary: #b6c1b4;
  --solutions-bg: #101114;
  --solutions-accent: #b8bec8;
  --solutions-divider: #383c45;
  --max: 1440px;
  --gutter: clamp(20px, 6vw, 96px);
  --header-height: 80px;
  --caetiva-amethyst: #a775ef;
  --caetiva-lime: #c4f563;
  --caetiva-electric: #6495ed;
  --caetiva-wordmark: #f1f5ed;
  --nav-accent: var(--caetiva-amethyst);
  font-family: Outfit, 'Segoe UI', sans-serif;
  font-weight: 400;
  background: var(--brand-bg);
  color: var(--text-primary);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--nav-accent); outline-offset: 6px; }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: fixed; inset: 12px auto auto 16px; z-index: 5; padding: 10px 16px; background: var(--brand-surface); transform: translateY(-160%); }
.skip:focus { transform: none; }
[data-brand-theme="solutions"] { --nav-accent: var(--caetiva-electric); }
[data-brand-theme="go"] { --nav-accent: var(--caetiva-lime); }
.header { position: sticky; top: 0; z-index: 4; width: 100%; isolation: isolate; background: var(--header-background, var(--brand-bg)); transition: transform 320ms ease, opacity 220ms ease; }
.header.is-footer-visible { transform: translateY(-105%); opacity: 0; pointer-events: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.header-inner { min-height: var(--header-height); border-bottom: 1px solid var(--border-subtle); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; width: clamp(87px, 9vw, 128px); }
.wordmark-svg { display: block; width: 100%; height: auto; }
.wordmark-letters { fill: var(--wordmark-ink, var(--caetiva-wordmark)); }
.wordmark-dot { fill: var(--nav-accent); }
[data-theme="light"] { --wordmark-ink: #1b231f; }
[data-theme="dark"] { --wordmark-ink: #f1f5ed; }
nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 43px); }
nav a { color: var(--text-secondary); font-size: 15px; padding-block: 13px; }
nav a:hover, nav a[aria-current] { color: var(--nav-accent); }
:is(.header, .footer) nav a[href="#go"] { --section-link-accent: var(--caetiva-lime); }
:is(.header, .footer) nav a[href="#solutions"] { --section-link-accent: var(--caetiva-electric); }
:is(.header, .footer) nav a:is([href="#go"], [href="#solutions"]):is(:hover, :focus-visible) {
  --nav-accent: var(--section-link-accent);
  color: var(--nav-accent);
}
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 36% 50% at 73% 51%, #783fe025, #783fe011 45%, transparent 100%), var(--brand-bg); }
.hero-inner { min-height: min(calc(100svh - var(--header-height)), 900px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 3vw, 58px); align-items: center; position: relative; }
.hero-copy { z-index: 1; padding-block: 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: .145em; font-size: 13px; color: var(--accent, var(--brand-highlight)); margin-bottom: 24px; }
h1, h2, h3 { font-weight: 500; }
.hero-title { font-size: clamp(36px, 3.75vw, 65px); font-weight: 450; letter-spacing: -.045em; line-height: 1.06; }
.hero-title span { display: block; text-wrap: balance; max-width: 18ch; }
.hero-title-accent { margin-top: .3em; color: var(--brand-light); }
h2 { font-size: clamp(42px, 4.8vw, 76px); letter-spacing: -.055em; line-height: 1.02; }
h3 { font-size: 23px; letter-spacing: -.025em; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; min-height: 44px; padding-block: 8px; border-bottom: 1px solid currentColor; color: var(--accent, var(--brand-highlight)); }
.text-link:hover { color: var(--text-primary); }
.explore { margin-top: 29px; color: var(--caetiva-amethyst); }
@media (prefers-reduced-motion: no-preference) {
  .explore { animation: explore-colors 9s ease-in-out infinite; }
}
@keyframes explore-colors {
  0%, 100% { color: var(--caetiva-amethyst); }
  33.333% { color: var(--caetiva-lime); }
  66.667% { color: var(--caetiva-electric); }
}
.hero-art { width: min(118%, 765px); justify-self: center; pointer-events: none; }
.brand-geometry { display: block; width: 100%; height: auto; }
.brand-story-stage { display: none; }
.brand-story-active [data-geometry] { visibility: hidden; }
.brand-story-active .brand-story-stage { display: block; position: fixed; z-index: 1; top: 0; left: 0; pointer-events: none; width: 640px; transform-origin: 0 0; }
.brand-story-stage[hidden] { display: none; }
.chapter-copy, .go-details, .services { position: relative; z-index: 2; }
.hero-copy { z-index: 2; }
.chapter { padding-block: clamp(62px, 8vw, 120px); }
.go { --go-light: 112 151 83; background: radial-gradient(ellipse 25% 44% at 73% 43%, rgb(var(--go-light) / 20%), rgb(var(--go-light) / 9%) 45%, transparent 100%), var(--go-bg); overflow: clip; --accent: var(--go-accent); --secondary: var(--go-text-secondary); --divider: var(--go-border); }
.solutions {
  --electric-light: #a8c7ff;
  --energy: var(--solutions-energy, 1);
  --accent: color-mix(in srgb, var(--electric-light) calc(var(--energy) * 100%), var(--solutions-accent));
  --secondary: var(--solutions-accent);
  --divider: var(--solutions-divider);
  background: radial-gradient(ellipse 45% 55% at 73% 47%, rgb(70 123 210 / calc(.17 * var(--energy))), rgb(70 123 210 / calc(.07 * var(--energy))) 43%, transparent 100%), var(--solutions-bg);
  overflow: hidden;
}
.home-solutions-title { color: var(--caetiva-wordmark); }
.home-solutions-title span { display: block; }
.home-solutions-title span:last-child { color: var(--accent); }
.solutions .text-link { border-color: color-mix(in srgb, var(--caetiva-electric) calc(var(--energy) * 100%), var(--solutions-accent)); }
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.chapter-copy > p:not(.eyebrow) { color: var(--secondary, var(--text-secondary)); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.55; margin-top: 24px; max-width: 39ch; }
.chapter-copy .text-link { margin-top: 20px; }
.product { min-width: 0; --phone-radius: clamp(19px, 2.4vw, 36px); --phone-rim: clamp(4px, .62vw, 9px); --phone-stagger: clamp(12px, 2vw, 29px); }
.stage { position: relative; }
.stage-mark { position: absolute; width: min(96%, clamp(420px, 39vw, 690px)); top: 23%; left: 53%; translate: -50% -50%; opacity: .95; pointer-events: none; }
.stage-mark svg { rotate: -11deg; }
.brand-story-active .stage-mark svg { rotate: 0deg; }
.brand-story-active .stage-phones { opacity: var(--device-opacity, 1); translate: 0 var(--device-offset, 0px); }
.stage-phones { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 22%; padding: 5% 5% 7% 10%; perspective: 1550px; perspective-origin: 64% 43%; }
.phone-position { position: relative; flex: 0 0 min(39%, 260px); transform: translateY(var(--phone-y)); }
.phone-position::after { content: ''; position: absolute; z-index: -1; inset: auto -12% var(--shadow-y) -19%; height: 12%; border-radius: 50%; background: radial-gradient(ellipse, #010401de 0%, #02050280 34%, transparent 72%); transform: rotate(-8deg) skewX(-17deg); }
.phone-position-light { --phone-y: calc(var(--phone-stagger) * -.72); --shadow-y: -10%; }
.phone-position-dark { --phone-y: var(--phone-stagger); --shadow-y: -6%; }
.phone { position: relative; padding: var(--phone-rim); border: 1px solid #aeb7aa66; border-radius: var(--phone-radius); background: linear-gradient(118deg, #747b70, #252a25 14%, #111511 42%, #2d342d 80%, #687167); box-shadow: inset 1px 1px 2px #eef8e85e, inset -1px -2px 2px #000c, 0 0 0 1px #090b09, 4px 3px 0 #161b16, 6px 6px 0 #080b09, 8px 15px 21px #050905a6; transform: rotateY(var(--phone-depth)) rotateZ(var(--phone-angle)); }
.phone-screen { position: relative; overflow: hidden; padding: 4% 0 8%; border-radius: calc(var(--phone-radius) - var(--phone-rim)); background: var(--screen-bg); box-shadow: 0 0 0 1px #080b09; }
.phone-screen::after { content: ''; position: absolute; width: 34%; height: 1%; bottom: 1.2%; left: 33%; border-radius: 30px; background: var(--home-indicator); }
.phone img { width: 100%; }
.phone-light { --phone-depth: 12deg; --phone-angle: -5deg; --screen-bg: #f1f2ec; --home-indicator: #20231e; box-shadow: inset 2px 1px 2px #eef8e87a, inset -1px -2px 2px #000c, 0 0 0 1px #090b09, -4px 3px 0 #434c40, -6px 6px 0 #151b14, -7px 14px 22px #050905a6; }
.phone-dark { --phone-depth: -10deg; --phone-angle: 4deg; --screen-bg: #141412; --home-indicator: #c4c5ba; }
.product figcaption { position: relative; text-align: center; font-size: 13px; line-height: 1.5; }
figcaption { color: var(--secondary); margin-top: 12px; font-size: 14px; }
.go-details, .services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); margin-top: clamp(46px, 6vw, 88px); padding-top: 25px; border-top: 1px solid var(--divider); }
.go-details p, .services p { color: var(--secondary); line-height: 1.55; }
.go-details h4 { color: var(--go-accent); font-size: 1rem; font-weight: 600; margin: 0 0 8px; }
.go-details h3 small { display: block; font-size: .7em; font-weight: 400; color: var(--secondary); margin-top: 8px; }
.services h3 { margin-bottom: 10px; }
.solutions-art { width: min(100%, 680px); justify-self: center; pointer-events: none; }
.contact { background: radial-gradient(ellipse 46% 48% at 50% 44%, #783fe01c, #783fe00b 48%, transparent 100%), var(--brand-bg); }
.contact-inner { display: grid; justify-items: center; text-align: center; padding-block: clamp(54px, 6vw, 92px) clamp(60px, 7vw, 100px); }
.contact-art { width: clamp(107px, 11vw, 150px); pointer-events: none; margin-bottom: 16px; }
.contact-eyebrow { color: var(--brand-light); letter-spacing: .2em; margin-bottom: 18px; }
.contact-title { max-width: 22ch; font-size: clamp(34px, 4vw, 62px); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
.contact-title span { display: block; margin-top: .15em; color: var(--brand-light); }
.contact-description { max-width: 43ch; color: var(--text-secondary); font-size: clamp(16px, 1.3vw, 20px); margin-top: 24px; line-height: 1.6; text-wrap: balance; }
.contact-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 30px; padding: 12px 25px; border-radius: 6px; background: var(--brand-accent); color: var(--brand-bg); font-weight: 500; }
.contact-cta:hover { background: var(--brand-light); }
.contact-cta:focus-visible { outline-color: var(--brand-highlight); outline-offset: 5px; }
.footer { background: var(--brand-bg); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 22px; border-top: 1px solid var(--border-subtle); }
.footer small { color: var(--text-secondary); font-size: 13px; white-space: nowrap; }
.footer nav { justify-self: end; gap: clamp(10px, 2vw, 24px); }
.footer nav a { font-size: 13px; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; }
  .hero-inner { gap: 24px; }
}
@media (max-width: 850px) {
  .hero { background: radial-gradient(ellipse 53% 28% at 50% 76%, #783fe025, transparent 100%), var(--brand-bg); }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 10px; padding-bottom: 20px; }
  .hero-copy { padding: 56px 0 0; }
  .hero-art { width: min(90%, 510px); }
  .hero-title { font-size: clamp(34px, 7vw, 52px); }
  .go { background: radial-gradient(ellipse 49% 29% at 50% 53%, rgb(var(--go-light) / 17%), transparent 100%), var(--go-bg); }
  .go .split { grid-template-columns: minmax(0, 1fr); }
  .product { width: min(100%, 650px); justify-self: center; }
  .stage-phones { padding-inline: 10% 5%; gap: 21%; }
  .stage-mark { left: 52%; top: 21%; width: min(96%, 490px); }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 8px; padding-block: 18px; }
  .footer nav { justify-self: center; }
  .phone-light { --phone-depth: 8deg; --phone-angle: -4deg; }
  .phone-dark { --phone-depth: -7deg; --phone-angle: 3deg; }
}
@media (max-width: 680px) {
  :root { --header-height: 64px; }
  .hero-inner { display: block; min-height: auto; padding-bottom: 15px; }
  .hero-copy { position: relative; padding-block: 55px 0; }
  .eyebrow { margin-bottom: 18px; }
  h2 { font-size: clamp(37px, 9vw, 58px); }
  .explore { margin-top: 16px; }
  .hero-art { width: min(100%, 440px); margin: 9px auto 0; }
  .split, .go-details, .services { grid-template-columns: 1fr; }
  .go-details, .services { gap: 19px; }
}
@media (max-width: 360px) { nav { gap: 12px; } nav a { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .header { transition: none; }
}
