/* UlfApp Software — site styles. Flat tones from the wolf logo: graphite ink, bone, ember orange, logo navy. */
:root {
  --ink: #0d0e10;
  --ink-2: #141619;
  --ink-3: #1c1f23;
  --ink-4: #262a2f;
  --line: #2b2f35;
  --bone: #eee9e1;
  --mute: #a39e96;
  --dim: #6f6b65;
  --ember: #ff6a13;
  --ember-2: #ff8a3d;
  --navy: #0c2340;
  --navy-2: #14335a;
  --glacier: #b9c7d2;
  --sage: #9fbf8f;
  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 14px;
  --gutter: 16px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-2); }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.02; margin: 0; }
em { font-style: normal; color: var(--ember); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ember); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* ---------- shared bits ---------- */
.eyebrow, .kicker, .tagline, .status { font: 700 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.kicker { color: var(--ember); margin: 0 0 14px; display: block; }
.lede { color: var(--mute); font-size: clamp(17px, 1.6vw, 20px); max-width: 44em; margin: 18px 0 0; }
.sec-head { margin-bottom: 48px; }
.sec-head h2, .contact h2 { font-size: clamp(36px, 6vw, 76px); font-weight: 850; }
.soon { color: var(--ember); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 4px; font: 700 15px/1 var(--body); letter-spacing: .02em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.btn:active { transform: translateY(1px); }
.btn-fire { background: var(--ember); color: #120800; }
.btn-fire:hover { background: var(--bone); }
.btn-line { border-color: var(--ink-4); color: var(--bone); background: transparent; }
.btn-line:hover { border-color: var(--bone); }
.btn-wide { width: 100%; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(13, 14, 16, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 34px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 4px; }
.nav nav a { color: var(--mute); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; transition: color .2s; }
.nav nav a:hover { color: var(--bone); }
.nav nav a.nav-cta { color: #120800; background: var(--ember); margin-left: 8px; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px)); }
.nav nav a.nav-cta:hover { background: var(--bone); }
@media (max-width: 599px) {
  .brand img { height: 28px; }
  .nav nav a:not(.nav-cta) { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 108px 0 28px; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--ink-2) 1px, transparent 1px), linear-gradient(90deg, var(--ink-2) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000 0%, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%); }
.claws { position: absolute; z-index: -1; right: -6%; top: 14%; width: 70%; height: 80%; pointer-events: none; }
.claws i { position: absolute; display: block; height: 14%; border-radius: 2px; transform: skewX(-32deg) rotate(-18deg); transform-origin: left center; }
.claws i:nth-child(1) { left: 6%; top: 18%; width: 92%; background: var(--navy); }
.claws i:nth-child(2) { left: 18%; top: 44%; width: 84%; background: var(--navy-2); opacity: .6; }
.claws i:nth-child(3) { left: 30%; top: 70%; width: 60%; height: 4%; background: var(--ember); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); margin: 0 0 22px; }
.eyebrow .dot { width: 8px; height: 8px; background: var(--ember); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 106, 19, .18); }
.copy-stack { display: grid; }
.slide-copy { grid-area: 1 / 1; visibility: hidden; }
.slide-copy.is-active { visibility: visible; }
.tagline { color: var(--glacier); margin: 0 0 16px; }
.tagline b { color: var(--bone); }
.hero .slide-title { font-size: clamp(40px, 5vw, 68px); font-weight: 900; font-stretch: 112%; line-height: 1; }
.hero .sub { color: var(--mute); font-size: clamp(17px, 1.5vw, 20px); max-width: 32em; margin: 22px 0 0; }

.stage { position: relative; padding-bottom: 6%; }
.screen { position: relative; background: var(--ink-3); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.screen-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--ink-2); border-bottom: 1px solid var(--line); }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-4); }
.screen-bar .url { margin: 0 auto; font: 500 11px/1 var(--mono); color: var(--dim); padding-right: 40px; }
.screen-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.screen-view img, .phone-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; }
.screen-view img.is-active, .phone-view img.is-active { opacity: 1; }
.wipe { position: absolute; inset: -20% -40%; pointer-events: none; visibility: hidden; }
.js-motion .wipe { visibility: visible; }
.wipe i { position: absolute; top: 0; bottom: 0; transform: skewX(-20deg); }
.wipe i:nth-child(1) { left: 20%; width: 34%; background: var(--navy); }
.wipe i:nth-child(2) { left: 48%; width: 16%; background: var(--ember); }
.phone { position: absolute; right: -3%; bottom: 0; width: 24%; aspect-ratio: 600 / 1298; background: var(--ink); border: 5px solid var(--ink-4); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); opacity: 0; visibility: hidden; }
.phone.is-on { opacity: 1; visibility: visible; }
.phone-view { position: absolute; inset: 0; }

.hero-tabs-row { display: flex; align-items: center; gap: 12px; margin-top: 36px; }
.hero-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.hero-tabs::-webkit-scrollbar { display: none; }
.hero-tabs button { flex: 1 0 auto; min-width: 128px; text-align: left; background: none; border: 0; color: var(--dim); font: 600 14px/1.2 var(--body); padding: 10px 0 0; cursor: pointer; transition: color .2s; }
.hero-tabs button .n { display: block; font: 700 11px/1 var(--mono); color: var(--dim); margin-bottom: 6px; }
.hero-tabs button[aria-selected="true"], .hero-tabs button:hover { color: var(--bone); }
.hero-tabs button[aria-selected="true"] .n { color: var(--ember); }
.hero-tabs .bar { display: block; height: 2px; background: var(--ink-4); margin-top: 12px; overflow: hidden; margin-right: 8px; }
.hero-tabs .bar i { display: block; height: 100%; background: var(--ember); transform: scaleX(0); transform-origin: left; }
.pause { flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid var(--ink-4); background: none; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.pause span { width: 10px; height: 12px; border-left: 3px solid var(--mute); border-right: 3px solid var(--mute); }
.pause[aria-pressed="true"] span { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--mute); border-right: 0; }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .stage { padding-bottom: 8%; }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-track span { font: 800 clamp(20px, 2.6vw, 30px)/1 var(--display); font-stretch: 120%; text-transform: uppercase; color: var(--ink-4); padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 14px; height: 14px; background: var(--ember); transform: skewX(-20deg); margin-right: -28px; }
.marquee-track span:nth-child(3n+2) { color: var(--bone); }

/* ---------- custom apps ---------- */
.custom, .products, .contact { padding: 112px 0; }
.rotator { display: inline-grid; vertical-align: bottom; color: var(--bone); font-weight: 600; }
.rotator span { grid-area: 1 / 1; }
.rotator span:not(:first-child) { visibility: hidden; }
.js-motion .rotator span { visibility: visible; }

.morph-wrap { display: grid; gap: 28px; margin: 8px 0 72px; }
.morph-labels { position: relative; display: grid; }
.morph-labels p { grid-area: 1 / 1; margin: 0; font: 700 clamp(22px, 2.6vw, 32px)/1.2 var(--display); font-stretch: 105%; max-width: 15em; }
.morph-labels .kicker { margin-bottom: 10px; }
.m-after { opacity: 0; }
.no-motion .m-before { opacity: 0; }
.no-motion .m-after { opacity: 1; }
.morph { position: relative; aspect-ratio: 16 / 10; background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tile { position: absolute; border-radius: 3px; background: var(--ink-3); border: 1px solid var(--line); overflow: hidden; }
.tile::before { content: ""; position: absolute; left: 10%; top: 50%; width: 55%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--ink-4); opacity: var(--lo, 1); }
.tile.note { background: #e9d27a; border-color: #d4bb5e; }
.tile.note::before { background: #b39b45; }
@media (min-width: 1024px) {
  .morph-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: 56px; }
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: s; position: relative; }
.steps li { background: var(--ink-2); padding: 28px 24px 30px; position: relative; overflow: hidden; }
.steps li::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--ember); transform-origin: left; transform: scaleX(var(--fill, 1)); }
.step-n { font: 700 13px/1 var(--mono); color: var(--ember); }
.steps h3 { font-size: 24px; font-weight: 800; margin: 14px 0 10px; }
.steps p { color: var(--mute); margin: 0; font-size: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.included { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.included li { font: 600 14px/1 var(--body); padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--glacier); display: flex; align-items: center; gap: 8px; }
.included li::before { content: ""; width: 7px; height: 7px; background: var(--ember); transform: rotate(45deg); }

/* ---------- product explorer ---------- */
.products { background: var(--ink-2); border-top: 1px solid var(--line); }
.explorer { display: grid; gap: 28px; }
.ex-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
.ex-tabs::-webkit-scrollbar { display: none; }
.ex-tabs button { flex: 0 0 auto; text-align: left; background: var(--ink-3); border: 1px solid var(--line); border-radius: 8px; color: var(--mute); padding: 14px 16px; cursor: pointer; font: inherit; transition: border-color .2s, color .2s, background .2s; position: relative; }
.ex-tabs button b { display: block; font: 800 17px/1.1 var(--display); font-stretch: 110%; color: var(--bone); }
.ex-tabs button span { font-size: 13px; }
.ex-tabs button[aria-selected="true"] { border-color: var(--ember); background: var(--ink); }
.ex-tabs button:hover { border-color: var(--dim); }
.ex-panels { isolation: isolate; }
.ex-panel { display: grid; gap: 32px; }
.ex-body { min-width: 0; container-type: inline-size; }
.ex-panel[hidden] { display: none; }
.ex-media { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-3); }
.ex-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; }
.ex-media > img:first-child { opacity: 1; }
.ex-phones { position: absolute; right: 4%; bottom: -8%; width: 38%; display: flex; gap: 6%; }
.ex-phones img { width: 47%; border: 4px solid var(--ink-4); border-radius: 16px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .9); }
.ex-phones img:nth-child(2) { transform: translateY(-14%); }
.status { margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.status.live { color: var(--sage); }
.status.live::before { background: var(--sage); }
.status.dev { color: var(--ember); }
.status.dev::before { background: var(--ember); }
/* Sized to its column so a long name like AeroCoreWeb never overflows (Safari left a stray letter behind on tab switch). */
.ex-body h3 { font-size: clamp(30px, 3.4vw, 44px); font-size: clamp(28px, 11.5cqi, 46px); font-weight: 900; overflow-wrap: anywhere; }
.for { color: var(--mute); margin: 12px 0 22px; }
.for b { color: var(--bone); font-weight: 600; }
.how { list-style: none; counter-reset: h; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.how li { counter-increment: h; position: relative; padding-left: 40px; color: var(--bone); font-size: 16px; }
.how li::before { content: "0" counter(h); position: absolute; left: 0; top: 2px; font: 700 12px/1.6 var(--mono); color: var(--ember); }
.feat { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.feat li { font-size: 13px; font-weight: 600; padding: 7px 12px; background: var(--ink-3); border-radius: 4px; color: var(--glacier); }
.price { margin: 0; color: var(--mute); }
.price b { color: var(--bone); }
.ex-body .ctas { margin-top: 22px; }
@media (min-width: 1024px) {
  .explorer { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
  .ex-tabs { flex-direction: column; margin: 0; padding: 0; overflow: visible; position: sticky; top: 96px; }
  .ex-tabs button { padding: 18px 20px; }
  .ex-tabs button[aria-selected="true"]::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; background: var(--ember); }
  .ex-panel { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 48px; }
.direct { color: var(--mute); margin-top: 24px; }
.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.row { display: grid; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--ink); color: var(--bone); font: inherit; font-size: 16px; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); }
.field textarea { min-height: 130px; resize: vertical; }
.field ::placeholder { color: var(--dim); }
.hp { position: absolute; left: -9999px; }
.fine { color: var(--dim); font-size: 13px; text-align: center; margin: 14px 0 0; }
.note { padding: 14px 16px; border-radius: 6px; margin-bottom: 18px; font-weight: 600; }
.note.ok { background: rgba(159, 191, 143, .12); border: 1px solid rgba(159, 191, 143, .45); }
.note.err { background: rgba(255, 106, 19, .1); border: 1px solid rgba(255, 106, 19, .45); }
.custom-only[hidden] { display: none; }
@media (min-width: 600px) { .row { grid-template-columns: 1fr 1fr; } .form { padding: 32px; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } .contact-copy { position: sticky; top: 110px; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--mute); font-size: 15px; }
.foot-in { display: grid; gap: 24px; }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; max-width: 520px; }
.foot-mark { width: 52px; flex: 0 0 auto; }
.foot-brand p { margin: 0; }
.foot-brand b { color: var(--bone); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--mute); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--ember); }
.copy { margin: 0; color: var(--dim); font-size: 13px; }
@media (min-width: 1024px) { .foot-in { grid-template-columns: 1fr auto; align-items: center; } .copy { grid-column: 1 / -1; } }

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