/* Jyka Labs: navy ink on white, one saffron accent. Tokens first; every colour below comes from them. */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Colour */
  --white: #ffffff;
  --canvas: #f6f7f9;          /* tinted sections */
  --line: #e3e6ec;            /* hairlines and card edges */
  --control: #8a94a6;         /* input edges: 3.1:1 on white */
  --ink: #0b1f3f;             /* headings, primary buttons, logo tile: 16:1 on white */
  --text: #1f2937;            /* body: 14:1 */
  --muted: #4b5563;           /* secondary text: 7.5:1 */
  --navy-900: #071630;        /* dark section ground */
  --navy-700: #1b3360;
  --on-dark: #e8edf6;         /* text on navy: 14:1 */
  --on-dark-muted: #a9b6cc;   /* secondary on navy: 8.3:1 */
  --saffron: #f2a516;         /* accent: logo dot, highlights, never body text */
  --saffron-soft: #fdf2dc;
  --blue: #2346c8;            /* links and focus: 7.4:1 on white */
  --blue-soft: #e8eefc;
  --ok: #146c43;  --ok-soft: #e3f4ea;
  --warn: #8a5300; --warn-soft: #fdf0d6;
  --alert: #b42318; --alert-soft: #fde8e6;

  /* Type */
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-lg: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --fs-xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  --fs-hero: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);

  /* Space, shape, depth */
  --container: 76rem;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgb(11 31 63 / 0.06), 0 1px 1px rgb(11 31 63 / 0.04);
  --shadow-md: 0 8px 24px -8px rgb(11 31 63 / 0.18), 0 2px 6px rgb(11 31 63 / 0.06);
  --shadow-lg: 0 30px 60px -20px rgb(11 31 63 / 0.35), 0 12px 24px -12px rgb(11 31 63 / 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--saffron-soft); color: var(--ink); }

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--blue); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  padding: 0.6rem 1rem; border-radius: var(--r-sm);
  background: var(--ink); color: var(--white); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform 120ms var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: var(--fs-sm); }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--control); }
.btn:disabled { cursor: not-allowed; opacity: 0.6; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:not(:disabled):hover { background: var(--navy-700); box-shadow: var(--shadow-md); }
  .btn-secondary:hover { border-color: var(--ink); }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { width: 2.1rem; height: 2.1rem; }
.brand-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.03em; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 0.25rem; }
.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--ink); background: var(--canvas); }
}

/* Hero */

.hero {
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4rem, 2rem + 6vw, 7.5rem);
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: center;
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero-lede {
  margin-top: 1.5rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-sm);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-facts .ico { width: 1.1rem; height: 1.1rem; color: var(--ink); }

/* Hero illustration: a platform window, a phone and two status chips, drawn in code */

.hero-visual { position: relative; }

.hv-stage {
  position: relative;
  aspect-ratio: 1 / 0.86;
  border-radius: 28px;
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.hv-orbit {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.08);
}
.hv-orbit-1 { width: 120%; aspect-ratio: 1; left: 25%; top: -40%; }
.hv-orbit-2 { width: 80%; aspect-ratio: 1; left: 45%; top: -15%; border-color: rgb(242 165 22 / 0.22); }

.hv-window {
  position: absolute;
  left: 7%;
  top: 11%;
  width: 72%;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hv-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}
.hv-bar span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #d3d8e1; }
.hv-bar p { margin-left: 0.5rem; color: var(--muted); font-size: 0.72rem; font-weight: 600; }
.hv-body { padding: 0.9rem 0.9rem 0.6rem; }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.hv-kpis > div { padding: 0.55rem 0.6rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.hv-k { color: var(--muted); font-size: 0.62rem; font-weight: 600; }
.hv-skel { height: 0.45rem; margin-top: 0.4rem; border-radius: 999px; background: #dfe4ec; }
.hv-skel-lg { height: 0.7rem; width: 70%; background: var(--ink); opacity: 0.85; }
.hv-skel-faint { background: #eceff4; }
.hv-chart { display: block; width: 100%; height: auto; margin-top: 0.75rem; overflow: visible; }
.hv-chart-grid { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hv-chart-area { fill: var(--blue-soft); }
.hv-chart-line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.hv-phone {
  position: absolute;
  right: 6%;
  top: 30%;
  width: 32%;
  padding: 1.4rem 0.75rem 0.9rem;
  border: 5px solid #10213f;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.hv-notch { position: absolute; top: 0.4rem; left: 50%; width: 2.6rem; height: 0.4rem; border-radius: 999px; background: #10213f; transform: translateX(-50%); }
.hv-app-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem; }
.hv-app-head .hv-skel { margin: 0; height: 0.55rem; background: var(--ink); opacity: 0.85; }
.hv-app-icon { width: 1.4rem; height: 1.4rem; flex: none; border-radius: 6px; background: var(--saffron); }
.hv-tile { display: flex; gap: 0.5rem; align-items: center; padding: 0.5rem; margin-top: 0.4rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.hv-tile > div { flex: 1; }
.hv-tile .hv-skel:first-child { margin-top: 0; }
.hv-tile-dot { width: 1.15rem; height: 1.15rem; flex: none; border-radius: 50%; background: var(--ok-soft); box-shadow: inset 0 0 0 3px var(--ok); }
.hv-tile-dot-b { background: var(--blue-soft); box-shadow: inset 0 0 0 3px var(--blue); }
.hv-tile-dot-c { background: var(--saffron-soft); box-shadow: inset 0 0 0 3px var(--saffron); }
.hv-phone-btn { height: 1.6rem; margin-top: 0.8rem; border-radius: 999px; background: var(--ink); }

.hv-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.hv-chip .ico { width: 1rem; height: 1rem; }
.hv-chip-ai { left: 5%; bottom: 10%; }
.hv-chip-ai .ico { color: var(--saffron); stroke-width: 2; }
.hv-chip-ok { right: 4%; top: 9%; }
.hv-chip-ok .ico { color: var(--ok); stroke-width: 2.5; }

.hero-accent { color: var(--blue); }

/* Sections */

.section { padding-block: var(--section); }
.section-tint { background: var(--canvas); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.section-head p { margin-top: 1rem; color: var(--muted); font-size: var(--fs-md); }

/* What we do: capabilities in a hairline grid */

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}
.capabilities li {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.2vw, 2rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease-out);
}
.cap-icon, .path-icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  background: var(--canvas);
  color: var(--ink);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform 300ms var(--ease-out);
}
.capabilities h3 { margin-top: 1.25rem; font-size: 1.075rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; }
.capabilities p { margin-top: 0.5rem; color: var(--muted); font-size: 0.95rem; }
.cap-cta { background: var(--ink); }
.cap-cta h3 { margin-top: 0; color: var(--white); }
.cap-cta p { color: var(--on-dark-muted); margin-bottom: 1.25rem; }
.cap-cta .link-arrow { color: var(--saffron); }
@media (hover: hover) and (pointer: fine) {
  .capabilities li:not(.cap-cta):hover { background: var(--canvas); }
  .capabilities li:not(.cap-cta):hover .cap-icon { background: var(--ink); color: var(--white); transform: translateY(-2px); }
}

/* Products: two cards, a drawn mark and one line each */

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
}
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { border-color: #c9cfda; box-shadow: var(--shadow-md); transform: translateY(-3px); }
}
.product-art {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 8;
  background: var(--navy-900);
}
.product-art-b { background: #0b2a4a; }
.art { width: min(70%, 22rem); height: auto; overflow: visible; }
.art-ring { fill: none; stroke: rgb(255 255 255 / 0.12); stroke-width: 1; }
.art-ring-2 { stroke: rgb(255 255 255 / 0.2); stroke-dasharray: 3 5; }
.art-shield { fill: rgb(255 255 255 / 0.06); stroke: var(--white); stroke-width: 2.5; stroke-linejoin: round; }
.art-check { fill: none; stroke: var(--saffron); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.art-flake { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.art-flake path:last-child { stroke: #8fd3ff; }
.art-node { fill: var(--white); opacity: 0.85; }
.art-node-accent { fill: var(--saffron); opacity: 1; }
.product-body { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.product-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; }
.product-card h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.product-card p { margin-top: 0.75rem; color: var(--muted); font-size: var(--fs-md); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--saffron-soft);
  color: var(--warn);
  font-size: 0.8rem;
  font-weight: 600;
}
.badge::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--saffron); }

/* How we work: the dark section */

.section-dark { background: var(--navy-900); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-head p { color: var(--on-dark-muted); }

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.process li { padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.16); }
.process-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--navy-900);
  font-size: 0.85rem;
  font-weight: 700;
}
.process h3 { margin-top: 1.25rem; font-size: var(--fs-lg); font-weight: 650; letter-spacing: -0.025em; }
.process p { margin-top: 0.65rem; color: var(--on-dark-muted); }

/* Work with us */

.paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.5rem);
}
.paths li {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.paths .path-icon { margin-bottom: 1.25rem; }
.paths h3 { font-size: var(--fs-lg); font-weight: 650; letter-spacing: -0.025em; }
.paths p { margin-top: 0.7rem; margin-bottom: 1.5rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .paths li:hover { border-color: #c9cfda; box-shadow: var(--shadow-md); transform: translateY(-2px); }
}

.link-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { text-decoration: underline; }
  .link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: start;
}
.contact-copy h2 { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.contact-copy > p { margin-top: 1rem; color: var(--muted); font-size: var(--fs-md); }
.contact-points { margin-top: 2rem; display: grid; gap: 0.85rem; }
.contact-points li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text); }
.contact-points .ico { margin-top: 0.15rem; color: var(--ok); stroke-width: 2.25; }

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.contact-form fieldset {
  margin: 0; padding: 0; border: 0; min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.contact-form fieldset[disabled] { opacity: 0.55; }
.field { display: grid; gap: 0.45rem; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }

input, select, textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--control);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: max(16px, 1rem);
  caret-color: var(--blue);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
textarea { min-height: 9.5rem; resize: vertical; line-height: 1.55; }
select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 52%, calc(100% - 0.8rem) 52%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}
@media (hover: hover) and (pointer: fine) {
  input:hover, select:hover, textarea:hover { border-color: var(--muted); }
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
[aria-invalid="true"] { border-color: var(--alert); }
[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px var(--alert-soft); }
.field-error { color: var(--alert); font-size: var(--fs-sm); font-weight: 500; }

.botcheck { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 0.25rem; }
.send-status { color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.send-status.is-error { color: var(--alert); }

.form-unavailable {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  background: var(--saffron-soft);
  color: var(--warn);
  font-weight: 600;
}

.privacy { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-sm); }

.sent { display: grid; justify-items: start; gap: 0.6rem; padding-block: 1rem; }
.sent[hidden] { display: none; }
.sent:focus { outline: none; }
.sent-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.sent-icon .ico { stroke-width: 2.5; }
.sent h3 { margin-top: 0.5rem; font-size: var(--fs-lg); letter-spacing: -0.02em; }
.sent p { color: var(--muted); }

/* Footer */

.site-footer { background: var(--navy-900); color: var(--on-dark-muted); }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem 4rem;
  padding-block: 3.5rem 2.5rem;
}
.brand-invert { color: var(--white); --logo-tile: var(--white); --logo-ink: var(--navy-900); }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.footer-links a { color: var(--on-dark); font-size: var(--fs-sm); text-decoration: none; }
.site-footer :focus-visible { outline-color: var(--saffron); }
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { color: var(--white); text-decoration: underline; }
}
.footer-base { padding-block: 1.5rem 2rem; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: var(--fs-sm); }

/* Short pages (thank you, not found) */
.page-simple { min-height: 60vh; display: grid; align-content: center; }
.page-simple h1 { font-size: var(--fs-xl); letter-spacing: -0.035em; line-height: 1.1; max-width: 22ch; }
.page-simple p { margin-top: 1rem; color: var(--muted); font-size: var(--fs-md); }
.page-simple .btn { margin-top: 2rem; justify-self: start; }

/* Motion. Default state is visible; motion is added only when JS runs and the visitor allows it. */

@media (prefers-reduced-motion: no-preference) {
  .hv-window { animation: rise 800ms var(--ease-out) 100ms both; }
  .hv-phone { animation: rise 800ms var(--ease-out) 280ms both, float 7s ease-in-out 1.4s infinite; }
  .hv-chip-ok { animation: pop 600ms var(--ease-out) 900ms both; }
  .hv-chip-ai { animation: pop 600ms var(--ease-out) 1100ms both, float 8s ease-in-out 2s infinite; }
  .hv-chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1600ms var(--ease-out) 600ms forwards; }
  .hv-chart-area { animation: fade 900ms var(--ease-out) 1300ms both; }
  .hv-orbit-2 { animation: spin 60s linear infinite; }
  .hv-chip-ai .ico { animation: spin 6s linear infinite; }

  .product-card .art-ring-2 { transform-origin: 120px 80px; animation: spin 40s linear infinite; }
  .js .product-card .art-check { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .product-card.is-visible .art-check { animation: draw 900ms var(--ease-out) 300ms forwards; }
  .js .product-card .art-flake { transform-origin: 120px 80px; transform: rotate(-30deg) scale(0.9); opacity: 0; transition: transform 1200ms var(--ease-out) 200ms, opacity 800ms var(--ease-out) 200ms; }
  .js .product-card.is-visible .art-flake { transform: none; opacity: 1; }

  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js .product-card[data-reveal].is-visible:hover { transform: translateY(-3px); }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { rotate: 360deg; } }

.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgb(11 31 63 / 0.25); }

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

/* Tablet and phone */

@media (max-width: 64rem) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 40rem; }
  .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .products, .paths { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); }
  .contact-form fieldset { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
  .hv-stage { aspect-ratio: 1 / 1.02; }
  .hv-window { width: 86%; left: 7%; top: 14%; }
  .hv-phone { width: 42%; top: 44%; right: 5%; }
  .hv-chip { font-size: 0.72rem; padding: 0.45rem 0.7rem; }
  .hv-chip-ok { top: 4%; }
}

@media (max-width: 30rem) {
  .capabilities { grid-template-columns: minmax(0, 1fr); }
}

@media (forced-colors: active) {
  .btn, .pill, .badge { border: 1px solid CanvasText; }
}
