:root {
  --page: #edf3f5;
  --ink: #142b3a;
  --muted: #405a68;
  --line: #bed1d9;
  --accent: #076763;
  --navy: #0c2637;
  --aqua: #87e7d8;
  --hero-surface: #0b2031;
  --hero-glow: #163c50;
  --soft-green: #dcebe9;
  --on-dark: #f2f9fc;
  --on-dark-link: #d0fcf3;
}

:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip { position: absolute; left: .75rem; top: -5rem; padding: .75rem; background: var(--page); }
.skip:focus { top: .75rem; }
.wrap { width: min(100% - 3rem, 62rem); margin-inline: auto; }
.header, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.5rem; }
.header { border-bottom: 1px solid var(--line); }
.brand { font-size: 1.125rem; font-weight: 750; text-decoration: none; }
.brand span { color: var(--muted); font-weight: 500; }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { text-decoration: underline; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1 { max-width: 15ch; font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.08; letter-spacing: -.055em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); line-height: 1.15; letter-spacing: -.035em; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p, dd { line-height: 1.65; color: var(--muted); }
.intro { padding-block: clamp(3rem, 8vw, 6rem); }
.intro p { max-width: 58ch; margin-top: 1.25rem; font-size: 1.125rem; }
.section h2 { margin-bottom: 1.25rem; }
.product a { color: var(--accent); font-weight: 650; }
.services { padding-block: clamp(2.75rem, 6vw, 4rem); background: #f3f6f4; }
.service-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: 1.5rem; }
dl { display: grid; gap: 1rem; }
dt { font-weight: 700; margin-bottom: .25rem; }
@media (max-width: 44rem) {
  .wrap { width: calc(100% - 2rem); }
  .header { align-items: flex-start; flex-direction: column; }
  .service-layout { grid-template-columns: 1fr; }
}

/* Lacivert ve turkuaz, açık içerik bölümlerinde de devam eder. */
.header { border-bottom: 0; }
.hero { background: var(--navy); color: var(--on-dark); }
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 6vw, 5rem);
}
.intro h1 .hero-heading-accent { color: var(--aqua); }
.intro p { color: #c7dce6; }
.hero-link { display: inline-block; margin-top: 1.5rem; padding: .7rem 1rem; background: var(--aqua); color: var(--navy); border-radius: .3rem; font-weight: 700; text-decoration: none; }
.hero-link:hover { background: #c2fbf2; color: var(--navy); }
.hero a:focus-visible { outline-color: var(--aqua); }
.platforms { border-left: 2px solid #418f8d; background: #143447; padding-inline: 1.2rem; }
.platforms a { display: block; padding-block: .7rem; text-decoration: none; }
.platforms a + a { border-top: 1px solid #3c596b; }
.platforms a:hover { color: var(--aqua); text-decoration: underline; }
.platforms span, .platforms small { display: block; }
.platforms span { font-weight: 700; }
.platforms small { color: #c7dce6; font-size: .875rem; margin-top: .2rem; }
.section, .about { padding-block: clamp(2.75rem, 6vw, 4rem); }
.services { background: var(--soft-green); }
.service-grid, .principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.service-grid article, .principles article { border-top: 2px solid #88b0b1; padding-top: .85rem; }
.service-grid p, .principles p, .about > p { margin-top: .65rem; max-width: 63ch; }
.footer { border-top: 1px solid var(--line); }
@media (max-width: 44rem) {
  .intro, .service-grid, .principles { grid-template-columns: 1fr; }
}

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand .brand-type { color: var(--ink); font-weight: 750; }
.brand-mark, .brand .brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: .45rem;
  background: var(--navy);
  color: var(--aqua);
  font: 700 1rem ui-monospace, monospace;
  letter-spacing: -.09em;
  padding-right: .08em;
}
.brand-mark, .hero-link, .platforms a, .product a, .partner-identity {
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease;
}
.hero-link:active, .product a:active { transform: translateY(1px); }

.partnership { margin-block-start: clamp(1.5rem, 4vw, 3rem); }
.partner-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  padding: clamp(1.15rem, 4vw, 2.25rem);
  border: 1px solid #c4d6da;
  border-radius: .85rem;
  background: #e0ebef;
}
.partner-copy p { margin-top: .65rem; max-width: 43ch; }
.partner-lockup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.6rem minmax(0, 1.15fr);
  align-items: center;
  padding: .5rem .65rem;
  background: #081b29;
  color: #edf8fb;
  border-radius: .55rem;
}
.partner-identity { display: grid; justify-items: center; gap: .2rem; }
.partner-identity .brand-mark { background: transparent; font-size: 1.35rem; height: 1.75rem; }
.partner-identity strong { font-size: clamp(.9rem, 2vw, 1.25rem); }
.partner-lockup img { display: block; width: 100%; height: auto; border-radius: .3rem; }
@media (hover: hover) {
  .brand:hover .brand-mark, .hero-link:hover { transform: translateY(-2px); }
  .platforms a:hover { transform: translateX(.25rem); }
  .product a:hover { transform: translateX(.2rem); }
  .partner-panel:hover .partner-identity { transform: translateX(.15rem); }
}
@media (max-width: 44rem) {
  .partner-panel { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark, .hero-link, .platforms a, .product a, .partner-identity {
    transition: none;
  }
  .brand:hover .brand-mark, .hero-link:hover, .hero-link:active,
  .platforms a:hover, .product a:hover, .product a:active,
  .partner-panel:hover .partner-identity { transform: none; }
}

.partner-panel { background: #d3e6eb; }
.partner-lockup { grid-template-columns: minmax(0, .85fr) 1.4rem minmax(0, 1.45fr); }
.product-details ul { margin: .55rem 0 0; padding-inline-start: 1.15rem; color: var(--muted); line-height: 1.55; }
.product-details li + li { margin-top: .3rem; }
.site-footer { background: var(--navy); color: #eaf6fb; }
.site-footer .footer { border-top: 0; align-items: flex-start; }
.site-footer .brand-type { color: #eaf6fb; }
.site-footer p, .site-footer .brand-type span, .site-footer nav a { color: #c7dce6; }
.site-footer p { margin-top: .45rem; }
.site-footer .brand-mark { background: #173e53; }
.site-footer a:focus-visible { outline-color: var(--aqua); }
@media (max-width: 44rem) {
  .site-footer .footer { flex-direction: column; gap: 1.25rem; }
}

.brand-mark, .brand .brand-mark {
  position: relative;
  background: #133247;
  border: 1px solid #38667b;
  padding: 0;
}
.brand-mark i {
  display: block;
  position: absolute;
  width: .66rem;
  height: .66rem;
  border: 2px solid #bcece7;
  transform: rotate(45deg);
}
.brand-mark i:first-child {
  left: .46rem;
  border-right: 0;
  border-top: 0;
}
.brand-mark i:last-child {
  right: .46rem;
  border-left: 0;
  border-bottom: 0;
}
.partner-identity .brand-mark { height: auto; }
.partner-lockup { grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.25fr); gap: .5rem; }
.partner-divider { height: 58%; background: #547286; }
.hero a { transition: transform 180ms ease, color 180ms ease, background-color 180ms ease; }
.about { padding-bottom: 1.75rem; }
.about > p { font-size: 1.125rem; }
.reveal { transition: opacity 550ms ease, transform 550ms cubic-bezier(.2,.65,.3,1); }
.reveal-pending { opacity: 0; transform: translateY(1rem); }
.reveal-pending:focus-within { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero a { transition: none; }
  .reveal-pending { opacity: 1; transform: none; }
}

.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.service-grid article { min-width: 0; }
.service-grid #donusum { grid-column: 1 / -1; }
.service-art {
  height: clamp(8.5rem, 17vw, 12rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: .65rem;
  background: #c2dedb;
  color: #163849;
}
.art-browser { background: #c6dfec; }
.art-desktop { background: #d4dde9; }
.device {
  display: grid;
  align-content: start;
  gap: .38rem;
  width: min(80%, 12rem);
  padding: .65rem;
  border: 2px solid #466b7c;
  border-radius: .6rem;
  background: #f5fbfc;
  box-shadow: 0 .45rem 0 #48667532;
  font-size: .72rem;
}
.art-phone .device { width: 5.2rem; min-height: 7rem; border-width: 3px; }
.art-phone em, .art-phone span {
  height: .45rem;
  border-radius: .2rem;
  background: #9bc9c4;
}
.art-phone span { margin-top: .15rem; height: .75rem; background: #287b75; }
.bars { display: flex; align-items: flex-end; gap: .32rem; height: 3.2rem; }
.bars i { flex: 1; height: 42%; background: #39888b; border-radius: .2rem .2rem 0 0; transform-origin: bottom; }
.bars i:nth-child(2) { height: 64%; }
.bars i:nth-child(3) { height: 51%; }
.bars i:nth-child(4) { height: 78%; }
.bars i:nth-child(5) { height: 93%; }
.rows { display: grid; gap: .35rem; }
.rows i { height: .62rem; background: linear-gradient(90deg, #93b9cc 34%, #d8e8ef 34%); border-radius: .15rem; }
.art-desktop .device { border-top-width: .45rem; border-bottom-width: .35rem; }
@media (prefers-reduced-motion: no-preference) {
  .reveal .device { transition: transform 720ms cubic-bezier(.2,.75,.25,1); }
  .reveal-pending .device { transform: translateY(1.8rem) rotate(-5deg); }
  .reveal .bars i { transition: transform 650ms ease; }
  .reveal .bars i:nth-child(2) { transition-delay: 60ms; }
  .reveal .bars i:nth-child(3) { transition-delay: 120ms; }
  .reveal .bars i:nth-child(4) { transition-delay: 180ms; }
  .reveal .bars i:nth-child(5) { transition-delay: 240ms; }
  .reveal-pending .bars i { transform: scaleY(.2); }
}
@media (max-width: 48rem) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 36rem) {
  .service-grid { grid-template-columns: 1fr; }
  .service-art { height: 10rem; }
  .header nav a { padding-block: .5rem; }
}

[id] { scroll-margin-top: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .reveal .rows i, .reveal .art-phone em {
    transition: transform 480ms ease, opacity 480ms ease;
  }
  .reveal .rows i:nth-child(2), .reveal .art-phone em:nth-of-type(2) { transition-delay: 75ms; }
  .reveal .rows i:nth-child(3), .reveal .art-phone em:nth-of-type(3) { transition-delay: 150ms; }
  .reveal-pending .rows i, .reveal-pending .art-phone em { opacity: .25; transform: translateX(-.45rem); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #edf3f5f5;
  border-bottom: 1px solid #bacdd5;
  backdrop-filter: blur(12px);
}
.header { flex-direction: row; align-items: center; padding-block: .65rem; }
[id] { scroll-margin-top: 5rem; }
.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.platforms a, .platforms a + a {
  display: grid;
  align-content: start;
  gap: .65rem;
  padding: .85rem;
  border: 1px solid #365869;
  border-radius: .55rem;
  background: #143447;
}
.platforms a:hover { background: #1a4355; text-decoration: none; transform: translateY(-2px); }
.product-brand { display: flex; align-items: center; gap: .65rem; }
.product-brand img { width: 2.85rem; height: 2.85rem; object-fit: contain; border-radius: .45rem; flex: none; }
@media (max-width: 40rem) {
  .header { flex-wrap: wrap; gap: .35rem; }
  .header nav { width: 100%; justify-content: space-between; }
  .header nav a { padding-inline: .58rem; }
  [id] { scroll-margin-top: 7.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .platforms a:hover { transform: none; }
}

.intro h1 { max-width: 18ch; font-size: clamp(2.45rem, 5.65vw, 4.6rem); }

.engineering { background: #102b3e; color: var(--on-dark); }
.engineering-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-block: clamp(2.75rem, 7vw, 5rem);
}
.engineering-copy h2 { max-width: 19ch; }
.engineering-copy > p { margin-top: 1rem; color: #c7dce6; }
.team-profile { display: flex; align-items: center; gap: .85rem; margin-top: 1.5rem; }
.team-profile img { display: block; width: 3.75rem; height: 3.75rem; object-fit: cover; object-position: center 33%; border-radius: 50%; border: 1px solid #7198a8; }
.team-profile .team-role { margin-top: .2rem; color: var(--aqua); }
.profile-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: #eaf6fb; }
.profile-link:hover { color: var(--aqua); }
.profile-link:focus-visible { outline-color: var(--aqua); }
.engineering-map { min-width: 0; padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid #416377; border-radius: .75rem; background: #143447; }
.engineering-map ol { list-style: none; margin: 1.1rem 0 0; padding: 0 0 0 1.2rem; border-left: 1px solid #568087; }
.engineering-map li { position: relative; padding-bottom: 1rem; }
.engineering-map li:last-child { padding-bottom: 0; }
.engineering-map li::before { content: ""; position: absolute; left: -1.5rem; top: .4rem; width: .5rem; height: .5rem; border: 1px solid var(--aqua); border-radius: 50%; background: #143447; }
.engineering-map span { display: block; margin-top: .2rem; color: #c7dce6; line-height: 1.5; }
@media (max-width: 44rem) {
  .engineering-inner { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .header nav { justify-content: flex-start; gap: .1rem; }
  .header nav a { padding-inline: clamp(.3rem, 1.4vw, .58rem); font-size: .875rem; }
}

.site-footer .footer {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: clamp(2rem, 5vw, 3.25rem);
}
.site-footer nav { display: grid; justify-items: start; gap: .6rem; }
.site-footer nav h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: .2rem; }
.site-footer nav a:hover { color: var(--aqua); }
.site-footer .footer-brand p { max-width: 28ch; }

@media (max-width: 44rem) {
  .site-header { position: static; backdrop-filter: none; }
  .header { width: min(100% - 2rem, 62rem); }
  [id] { scroll-margin-top: 1rem; }
  .site-footer .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; padding-bottom: 1rem; border-bottom: 1px solid #416377; }
}

.site-footer .footer { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
.footer-partner h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: .55rem; }
.footer-partner a { display: inline-block; }
.footer-partner img { display: block; width: min(100%, 10rem); height: auto; border-radius: .35rem; }
@media (max-width: 44rem) {
  .site-footer .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-partner { grid-column: 1 / -1; padding-top: .85rem; border-top: 1px solid #416377; }
}

/* Ana sayfa ve ana menü */
.hero, .site-header { background-color: var(--hero-surface); color: var(--on-dark); }
.site-header { border-color: #294958; }
.site-header .brand, .site-header .brand-type, .site-header .brand-type span { color: var(--on-dark); }
.site-header a:focus-visible { outline-color: var(--aqua); }
.header, .intro, .products-section .wrap { width: min(100% - 3rem, 80rem); }
.header { min-height: 4.5rem; }
.header .primary-nav {
  gap: .2rem;
  padding: .24rem;
  border: 1px solid #355464;
  border-radius: 1rem;
  background: #102d40;
}
.header .primary-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .55rem .9rem;
  border-radius: .72rem;
  color: #d9eaf1;
  font-size: .875rem;
  line-height: 1.15;
}
.header .primary-nav a:hover,
.header .primary-nav a:focus-visible,
.header .primary-nav a[aria-current="location"] { background: #214755; color: var(--on-dark-link); }
.nav-icon { display: none; }
.hero { background-image: radial-gradient(ellipse at 76% 53%, var(--hero-glow), transparent 62%); }
.intro {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  padding-block: clamp(3.5rem, 6.6vw, 6rem);
}
.intro h1 { max-width: none; font-size: clamp(2.45rem, 4.2vw, 4.15rem); line-height: 1.13; }
.intro h1 span { display: block; }
.intro p { max-width: 38ch; }
.hero-link { border: 1px solid var(--aqua); border-radius: .65rem; padding: .8rem 1.15rem; }
@media (prefers-reduced-motion: no-preference) {
  .header .primary-nav { animation: nav-enter 420ms ease-out both; }
  .header .primary-nav a { transition: background-color 180ms ease, color 180ms ease; }
  @keyframes nav-enter { from { opacity: 0; transform: translateY(-.55rem); } to { opacity: 1; transform: none; } }
}
.products-section { background: #f6f4f0; }
@media (max-width: 54rem) {
  .intro { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 44rem) {
  .header, .intro, .products-section .wrap { width: calc(100% - 2rem); }
  .header { min-height: 3.75rem; }
  .header .primary-nav {
    position: fixed;
    z-index: 10;
    inset: auto max(.65rem, env(safe-area-inset-right)) calc(.55rem + env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .1rem;
    background: #102d40f5;
    box-shadow: 0 .5rem 2rem #04162255;
    backdrop-filter: blur(14px);
  }
  .header .primary-nav a {
    flex-direction: column;
    gap: .35rem;
    min-height: 3.1rem;
    padding: .3rem 0;
    font-size: clamp(.65rem, 2.8vw, .8rem);
    text-align: center;
  }
  .nav-icon { position: relative; display: block; width: 1rem; height: 1rem; }
  .nav-icon::before, .nav-icon::after { position: absolute; content: ""; }
  .nav-icon--products::before { inset: .15rem; border: 1px solid; transform: rotate(45deg); border-radius: .12rem; }
  .nav-icon--services::before { inset: .2rem 0; border-block: 1px solid; }
  .nav-icon--services::after { inset: .47rem .2rem auto; border-top: 1px solid; }
  .nav-icon--about::before { inset: 0; border: 1px solid; border-radius: 50%; }
  .nav-icon--about::after { content: "i"; inset: 0; font: 700 .72rem/1rem system-ui; }
  .nav-icon--team::before { inset: 0 .31rem auto; height: .38rem; border: 1px solid; border-radius: 50%; }
  .nav-icon--team::after { inset: .55rem .05rem 0; border: 1px solid; border-radius: .55rem .55rem .2rem .2rem; }
  .intro { gap: 1.65rem; padding-block: 2.75rem 1.8rem; }
  html { scroll-padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 44rem) and (prefers-reduced-motion: no-preference) {
  @keyframes nav-enter { from { opacity: 0; transform: translateY(.55rem); } to { opacity: 1; transform: none; } }
}

/* Geçiş sırasında başlığın ve ürün bağlantısının yeri sabit kalır. */
.hero-copy h1 { min-block-size: 2lh; }
@media (max-width: 26rem) {
  .hero-copy h1 { min-block-size: 3lh; }
}

/* Ürün kartları ve detay sayfaları */
.product-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.product {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-width: 0;
  padding: clamp(.95rem, 1.8vw, 1.3rem);
  border: 1px solid #d6dfdf;
  border-radius: 1rem;
  background: #fff;
}
.product h3 { overflow-wrap: anywhere; }
.product-details p { line-height: 1.5; }
.product-details ul { font-size: .9rem; }
.product-document { width: 2.85rem; height: 2.85rem; flex: none; border-radius: .45rem; background: #d7eee8; display: grid; place-items: center; }
.product-document::before { content: ""; width: .9rem; height: 1.2rem; border: 2px solid var(--accent); border-radius: .15rem; background: repeating-linear-gradient(transparent 0 .22rem, #07676366 .22rem .28rem); }
.product-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 .85rem;
  margin-top: auto;
  padding-top: .35rem;
  border-top: 1px solid #e1e9e9;
}
.product-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .875rem;
}
@media (max-width: 68rem) { .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-page { padding-bottom: 0; }
.product-back { color: var(--on-dark-link); }
.product-back:hover { color: #fff; }
.product-detail-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.product-detail-hero p { max-width: 60ch; margin-top: 1rem; color: #d9eaf1; }

.product-detail-features { display: grid; gap: 1.65rem; }
.product-detail-features h2 { margin-bottom: .45rem; font-size: clamp(1.2rem, 3.4vw, 1.65rem); }
@media (max-width: 44rem) { .product-list { grid-template-columns: minmax(0, 1fr); } }

.product-release-status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  max-width: 100%;
  margin-block: .3rem;
  padding: .3rem .65rem;
  border: 1px solid #ead5a3;
  border-radius: 999px;
  background: #fff4db;
  color: #67470e;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.35;
}
.product-release-status::before {
  content: "";
  flex: none;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: #aa7114;
}
.product-detail-hero .product-release-status {
  margin-top: 1rem;
  border-color: #776137;
  background: #3a2e1a;
  color: #ffdfa1;
}
.product-detail-hero .product-release-status::before { background: #f4bd55; }

.product-detail-hero h1 { max-width: 18ch; font-size: clamp(2.1rem, 4vw, 3.7rem); text-wrap: balance; }
.product-breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; padding-top: 1.25rem; color: var(--muted); font-size: .9rem; }
.product-detail-layout { padding-top: 1.75rem; }
.product-detail-features { gap: .8rem; }
.product-detail-features > h2 { margin-bottom: .35rem; }
.product-feature, .product-faq details {
  padding: clamp(.95rem, 2vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: #fff;
}
.product-feature h3 { margin-bottom: .45rem; font-size: 1.12rem; }
.product-example { padding-block: clamp(1.8rem, 4vw, 3.2rem); background: var(--soft-green); }
.product-example p { max-width: 63ch; }
.product-example .product-audience { margin-block: .7rem .3rem; color: var(--accent); font-weight: 700; }
.product-faq details { margin-bottom: .65rem; }
.product-faq summary { cursor: pointer; font-weight: 650; }
.product-faq details p { margin-top: .7rem; }
.product-related { padding-block: 1.4rem; background: var(--navy); color: var(--on-dark); }
.product-related h2 { margin-block-end: .7rem; font-size: 1.15rem; }
.product-related a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--on-dark-link); }

.product-header-brand img {
  width: clamp(2rem, 6vw, 2.75rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: .45rem;
  background: #f3f8fc;
}
.product-detail-hero {
  width: min(100% - 3rem, 80rem);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4.5vw, 4rem);
}
.product-hero-media {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  padding: clamp(.65rem, 1.4vw, 1rem);
  border: 1px solid #3e6476;
  border-radius: 1rem;
  background: radial-gradient(ellipse at center, #245065, #122e41);
}
.product-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .6rem;
}
.product-hero-media--phone img { width: min(100%, 14rem); }
.product-hero-media--logo { min-height: clamp(10rem, 23vw, 17rem); }
.product-hero-media--logo img { width: min(54%, 12rem); background: #f3f8fc; }
@media (max-width: 48rem) {
  .product-detail-hero { grid-template-columns: minmax(0, 1fr); width: calc(100% - 2rem); }
}

.product-video-link { display: inline-block; margin: 1rem 0 0 .8rem; padding: .55rem 0; color: var(--on-dark-link); }
.product-video-link:hover { color: #fff; }
.product-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 44rem) {
  .product-video-grid { grid-template-columns: minmax(0, 1fr); }
}


.site-wordmark { width: clamp(8rem, 15vw, 11rem); }
.site-wordmark img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: contain; border-radius: .4rem; }

.contact-showcase { width: min(100% - 2rem, 80rem); padding-block: clamp(2rem, 5vw, 4rem); }
.contact-showcase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  overflow: hidden;
  border-radius: 1.1rem;
  background: var(--hero-surface);
  color: var(--on-dark);
}
.contact-showcase-copy { padding: clamp(1.3rem, 4vw, 3rem); }
.contact-showcase-copy p { margin-top: .75rem; color: var(--on-dark-link); }
.contact-showcase-copy .hero-link { margin-top: 1rem; }
@media (max-width: 48rem) {
  .contact-showcase-panel { grid-template-columns: minmax(0, 1fr); }
}

.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: 1.4rem; }
.home-hero-actions .hero-link { margin: 0; }
.home-hero-secondary { padding: .65rem .15rem; color: var(--on-dark-link); font-weight: 650; }
.home-hero-secondary:hover { color: #fff; }
.home-main .services { padding-block: clamp(2.75rem, 6vw, 5rem); }
.home-main .products-section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.home-main .products-section h2 { margin-bottom: .55rem; }
.product-showcase-intro { max-width: 62ch; margin-bottom: 1.4rem; }
.home-main .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-main .product { overflow: hidden; }
.product-card-media {
  display: grid;
  place-items: center;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  aspect-ratio: 2;
  padding: .7rem;
  border-radius: .65rem;
  background: radial-gradient(ellipse at 50% 65%, #205a56, var(--hero-surface));
}
.product-card-media img { display: block; width: auto; height: 100%; max-height: 100%; max-width: 100%; min-height: 0; object-fit: contain; border-radius: .45rem; }
.product-card-media.product-hero-media--logo img { height: auto; width: clamp(3.2rem, 30%, 6rem); }
.product-card-media.product-hero-media--logo { min-height: 0; }
@media (prefers-reduced-motion: no-preference) {
  .product-card-media img { transition: transform 240ms ease-out; }
  .product:hover .product-card-media img, .product:focus-within .product-card-media img { transform: scale(1.03); }
}
@media (max-width: 48rem) {
  .home-main .product-list { grid-template-columns: minmax(0, 1fr); }
}

.site-header-layout { flex-wrap: wrap; gap: .65rem 1rem; }
.site-header-layout .primary-nav { margin-inline: auto; }
.site-header-actions { display: flex; align-items: center; gap: .65rem; }
.language-switch {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: .1rem;
  padding: .18rem;
  border: 1px solid #345264;
  border-radius: .7rem;
}
.language-switch a {
  display: grid;
  place-items: center;
  min-height: 2.15rem;
  min-width: 2.2rem;
  padding: .2rem .45rem;
  border-radius: .5rem;
  color: var(--on-dark);
  font-size: .78rem;
  font-weight: 700;
}
.language-switch a[aria-current="page"] { color: var(--navy); background: var(--aqua); }
.language-switch a:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--aqua); }
.site-header-cta {
  padding: .55rem .75rem;
  border: 1px solid #41697a;
  border-radius: .65rem;
  color: var(--on-dark-link);
  font-weight: 650;
  font-size: .85rem;
  text-decoration: none;
}
.site-header-cta:hover { background: #1b4554; color: var(--on-dark); }
@media (max-width: 68rem) { .site-header-cta { display: none; } }
@media (max-width: 44rem) {
  .site-header-layout { flex-direction: row; align-items: center; }
  .site-header-layout .primary-nav { margin-inline: 0; }
  .site-header-actions { gap: .45rem; }
  .product-page .site-header-actions .product-back { font-size: .78rem; }
}

.product-card-copy { display: flex; flex: 1; flex-direction: column; gap: .85rem; }
.product-showcase { display: grid; gap: .85rem; }
.showcase-controls { display: flex; flex-wrap: wrap; gap: .55rem; }
.showcase-controls[hidden], .product--featured[hidden] { display: none; }
.showcase-controls button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .35rem .75rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.showcase-controls button img { border-radius: .25rem; }
.showcase-controls button[aria-pressed="true"] { border-color: var(--accent); background: var(--navy); color: var(--on-dark); }
.showcase-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.home-main .product--featured:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
}
.product--featured .product-card-media { aspect-ratio: 1.6; }
.product--featured .product-card-copy { padding: clamp(.25rem, 2vw, 1.3rem); }
.product--featured h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.showcase-more { margin-block: 1.65rem .7rem; }
@media (max-width: 48rem) {
  .home-main .product--featured:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
  .product--featured .product-card-media { aspect-ratio: 1.75; }
}
@media (prefers-reduced-motion: no-preference) {
  .showcase-controls:not([hidden]) ~ .product--featured:not([hidden]) { animation: product-showcase-in 250ms ease-out; }
  @keyframes product-showcase-in {
    from { opacity: .65; transform: translateY(.25rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.product-detail-opening {
  background:
    radial-gradient(ellipse at 80% 48%, #1a4b55, transparent 62%),
    var(--hero-surface);
}
.product-preview-stage {
  display: grid;
  justify-items: center;
  gap: .65rem;
  min-width: 0;
  margin: 0;
  padding: clamp(.65rem, 2vw, 1.1rem);
  border: 1px solid #3e6476;
  border-radius: 1.1rem;
  background: linear-gradient(150deg, #224e60, var(--navy) 78%);
}
.product-player {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .65rem;
  background: var(--navy);
}
.product-preview-stage--portrait .product-player, .product-guide--portrait .product-player { width: min(100%, 16rem); }
.product-preview-stage figcaption { color: var(--on-dark-link); font-size: .9rem; text-align: center; }
.product-guide {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 4vw, 2rem);
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}
.product-guide + .product-guide { margin-top: 1rem; }
.product-guide .product-player { justify-self: center; }
.product-guide-copy p { margin-top: .55rem; }
@media (max-width: 48rem) {
  .product-guide { grid-template-columns: minmax(0, 1fr); }
}

.home-opening {
  display: grid;
  justify-items: center;
  background: #03121a;
  text-align: center;
}
.home-opening-art {
  width: 100%;
  height: clamp(15rem, 35vw, 31rem);
  overflow: hidden;
  mask-image: linear-gradient(#000 77%, transparent 100%);
}
.home-opening-art img {
  display: block;
  width: min(100%, 110rem);
  height: 100%;
  margin-inline: auto;
  object-fit: cover;
  object-position: center 54%;
}
.home-opening-copy {
  width: min(100% - 2rem, 59rem);
  padding-block: clamp(.55rem, 2vw, 1.5rem) clamp(2rem, 6vw, 4rem);
}
.home-opening h1 {
  margin-inline: auto;
  max-width: 25ch;
  font-size: clamp(2rem, 4.35vw, 4.1rem);
  line-height: 1.07;
  text-wrap: balance;
}
.home-opening h1 span { color: var(--aqua); }
.home-opening p { max-width: 50ch; margin: .85rem auto 0; color: #c7dce6; }
.home-opening .home-hero-actions { justify-content: center; }
.home-opening .home-hero-secondary {
  padding: .68rem .9rem;
  border: 1px solid #477481;
  border-radius: .65rem;
  text-decoration: none;
}
.home-main .products-section {
  background: linear-gradient(172deg, #071923, var(--hero-surface));
  color: var(--on-dark);
}
.home-main .products-section .product-showcase-intro { color: #c7dce6; }
.home-main .products-section .product {
  border-color: #345769;
  background: #102b3d;
}
.home-main .products-section .product-details :is(p, ul), .home-main .products-section .product-links a { color: var(--on-dark-link); }
.home-main .products-section .product-links { border-color: #3b5969; }
.home-main .products-section .showcase-controls button { border-color: #3b5969; background: #132e40; color: var(--on-dark); }
.home-main .products-section .showcase-controls button[aria-pressed="true"] { border-color: var(--aqua); background: #1c4a50; }
.home-main .product--featured .product-card-media { aspect-ratio: 1.72; }
.home-main .product--featured .product-card-copy { padding: clamp(.4rem, 3vw, 2.6rem); }
.home-main .showcase-more { margin-top: 2rem; }
.contact-showcase-panel {
  grid-template-columns: 1fr;
  text-align: center;
  background: radial-gradient(ellipse at 72% 82%, #15594f, transparent 57%), var(--hero-surface);
}
.contact-showcase-copy { padding-block: clamp(2rem, 6vw, 4.25rem); }
@media (prefers-reduced-motion: no-preference) {
  .home-opening-frame { animation: opening-image 1.25s ease-out both; }
  .home-opening-copy { animation: opening-copy .7s .12s ease-out both; }
  @keyframes opening-image { from { opacity: .25; transform: scale(1.025); } to { opacity: 1; transform: none; } }
  @keyframes opening-copy { from { opacity: 0; transform: translateY(.65rem); } to { opacity: 1; transform: none; } }
}
@media (max-width: 48rem) {
  .home-opening-art { height: auto; mask-image: linear-gradient(#000 85%, transparent); }
  .home-opening-art img { height: auto; }
}

.showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.showcase-heading .product-showcase-intro { margin-bottom: 0; }
.showcase-heading .showcase-controls button { justify-content: center; width: 2.75rem; font-size: 1.2rem; }
.showcase-heading .showcase-controls button:disabled { opacity: .42; cursor: default; }
.showcase-track {
  --slide-size: 94%;
  --slide-gap: .8rem;
  display: flex;
  align-items: stretch;
  gap: var(--slide-gap);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: #41697a transparent;
  padding: .2rem 0 .65rem;
}
.showcase-track::after { content: ""; flex: 0 0 max(0px, calc(100% - var(--slide-size) - var(--slide-gap))); }
.showcase-track > .product { flex: 0 0 var(--slide-size); scroll-snap-align: start; }
.showcase-track:focus-visible { outline-offset: .2rem; }
@media (min-width: 44.01rem) { #urunler { scroll-margin-top: 6.5rem; } }
@media (max-width: 48rem) { .showcase-track { --slide-size: 94%; --slide-gap: .6rem; } }

.product-header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-inline: auto;
}
.product-header-nav a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.75rem;
  padding: .45rem .75rem;
  border: 1px solid #41697a;
  border-radius: .55rem;
  font-size: .9rem;
  font-weight: 650;
}
.product-header-nav a:first-child { background: #1b4554; }
.product-header-nav a:hover { background: #235966; text-decoration: none; }
@media (max-width: 44rem) {
  .product-header-nav { order: 3; flex-basis: 100%; margin-inline: 0; }
}

.home-main .products-section .wrap { width: min(100% - 2rem, 95rem); }
.home-main .product--featured .product-card-copy h3 { font-size: clamp(1.45rem, 2.8vw, 2.4rem); }
.home-main .product--featured .product-card-copy p { font-size: clamp(.95rem, 1.25vw, 1.15rem); }
.home-main .product--featured .product-details li { font-size: 1rem; }
.home-main .product--featured .product-card-media { aspect-ratio: 1.55; }
.product-card-media--illustration { padding: clamp(.75rem, 3vw, 2rem); }
.product-html-preview {
  display: grid;
  align-content: center;
  gap: clamp(.45rem, 2vw, .85rem);
  width: min(100%, 29rem);
  min-height: 0;
  color: var(--on-dark);
}
.product-html-preview-head { display: flex; align-items: center; gap: .65rem; }
.product-html-preview-head img { width: 2.25rem; height: 2.25rem; background: #ebf4f7; }
.product-html-preview-head small { display: block; color: var(--on-dark-link); font-size: .71rem; }
.product-html-preview ol { display: grid; gap: .38rem; margin: 0; padding: 0; list-style: none; }
.product-html-preview li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: clamp(.22rem, 1vw, .55rem);
  border: 1px solid #41697a;
  border-radius: .45rem;
  background: var(--navy);
  font-size: clamp(.72rem, 1.4vw, .96rem);
}
.product-html-preview li span { color: var(--aqua); font-weight: 700; }
@media (max-width: 48rem) {
  .home-main .product--featured .product-card-media--illustration { min-height: 10.5rem; aspect-ratio: auto; }
}

/* Device showcase: laptop + phone, visuals first, copy kept quiet */
.home-main .products-section .showcase-heading { display: block; text-align: center; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.home-main .products-section .showcase-heading .product-showcase-intro { margin-inline: auto; font-size: .95rem; opacity: .8; }
.device-stage { position: relative; }
.device-stage .showcase-track { --slide-size: 100%; --slide-gap: 0px; padding: 0; scrollbar-width: none; }
.device-stage .showcase-track::-webkit-scrollbar { display: none; }
.device-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; justify-items: center; gap: clamp(1.25rem, 3vw, 2.25rem); padding-inline: clamp(0rem, 6vw, 5.5rem); }
.device-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(100%, 68rem);
  padding-bottom: 1.2rem;
  color: inherit;
  text-decoration: none;
}
.device-laptop { flex: 0 1 78%; position: relative; z-index: 1; }
.device-laptop-screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: clamp(.3rem, 1.1vw, .75rem);
  border: 1px solid #3a4650;
  border-radius: clamp(.6rem, 1.6vw, 1.25rem) clamp(.6rem, 1.6vw, 1.25rem) 0 0;
  background: #0a0d10;
  box-shadow: 0 2.5rem 5rem -1.5rem rgb(0 0 0 / .7);
}
.device-laptop-base {
  position: relative;
  width: 116%;
  height: clamp(.55rem, 1.4vw, 1rem);
  margin-left: -8%;
  border-radius: 0 0 1.2rem 1.2rem / 0 0 100% 100%;
  background: linear-gradient(#e4e8eb, #9aa3aa);
}
.device-laptop-base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 45%;
  transform: translateX(-50%);
  border-radius: 0 0 .5rem .5rem;
  background: #b8c0c6;
}
.device-phone {
  flex: 0 0 22%;
  position: relative;
  z-index: 2;
  margin-left: -4%;
  margin-bottom: -.6rem;
  padding: clamp(.25rem, .8vw, .55rem);
  border: 1px solid #3a4650;
  border-radius: clamp(1.1rem, 3vw, 2.4rem);
  background: #0a0d10;
  box-shadow: 0 2rem 4rem -1rem rgb(0 0 0 / .75), inset 0 0 0 2px #1d252c;
}
.device-phone::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: clamp(.5rem, 1.3vw, .95rem);
  left: 50%;
  width: 30%;
  height: clamp(.35rem, .9vw, .7rem);
  transform: translateX(-50%);
  border-radius: 1rem;
  background: #0a0d10;
}
.device-phone-screen { aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: clamp(.85rem, 2.4vw, 1.9rem); background: #f3f5f2; }
.device-laptop-screen > *, .device-phone-screen > * { border-radius: .35rem; }
.device-laptop-screen img, .device-phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; background: #eef1f0; }
.device-laptop-screen img, .device-phone-screen img { object-position: top; }
.device-phone-screen img { border-radius: 0; }
.device-screen-preview {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .6rem;
  height: 100%;
  padding: 1rem;
  background: radial-gradient(ellipse at 50% 0%, #1c4a50, transparent 70%), #0d2231;
  color: var(--on-dark);
  text-align: center;
}
.device-screen-preview img { width: clamp(2rem, 5vw, 3.5rem); height: auto; border-radius: .7rem; background: #ebf4f7; }
.device-screen-preview strong { font-size: clamp(.8rem, 2vw, 1.6rem); }
.device-screen-preview ul { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.device-screen-preview li { padding: .3rem .7rem; border: 1px solid #2f5566; border-radius: 99rem; font-size: clamp(.55rem, 1vw, .82rem); color: var(--on-dark-link); }
/* Phone app screen: sized in container units so it scales with the phone frame */
.device-phone-screen { container-type: inline-size; }
.device-app {
  display: flex;
  flex-direction: column;
  gap: 6cqw;
  height: 100%;
  padding: 22cqw 8cqw 9cqw;
  background: #f5f7fa;
  color: #142b3a;
  font-size: 6.2cqw;
  line-height: 1.3;
}
.device-app-head { display: grid; justify-items: start; gap: 3cqw; padding: 7cqw; border-radius: 6cqw; background: linear-gradient(150deg, #1b2a6b, #0e1838); color: #fff; }
.device-app-head img { width: 15cqw; height: 15cqw; border-radius: 3.5cqw; background: #fff; }
.device-app-head strong { font-size: 8.5cqw; }
.device-app-head p { margin: 0; color: #c9d3f5; font-size: 5.6cqw; }
.device-app ul { display: grid; gap: 3cqw; margin: 0; padding: 0; list-style: none; }
.device-app li { display: flex; align-items: center; gap: 3.5cqw; padding: 4.5cqw; border: 1px solid #e1e6ee; border-radius: 4cqw; background: #fff; font-weight: 600; }
.device-app li i { flex: 0 0 3cqw; height: 3cqw; border-radius: 50%; background: #3a5fc8; }
.device-app-cta { margin-top: auto; padding: 4.5cqw; border-radius: 4cqw; background: #3a5fc8; color: #fff; font-weight: 700; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .device-laptop, .device-phone { transition: transform 400ms cubic-bezier(.2, .7, .2, 1); }
  .device-pair:hover .device-laptop, .device-pair:focus-visible .device-laptop { transform: translateY(-.35rem); }
  .device-pair:hover .device-phone, .device-pair:focus-visible .device-phone { transform: translateY(-.7rem) rotate(-1.5deg); }
}
.device-caption { display: grid; justify-items: center; gap: .35rem; text-align: center; }
.device-caption h3 { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.device-caption h3 img { border-radius: .4rem; background: #ebf4f7; }
.device-caption p { margin: 0; color: #9fb7c3; font-size: .85rem; }
.device-caption-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; margin-top: .2rem; font-size: .85rem; }
.device-caption-links a { color: var(--aqua); }
.device-caption .product-release-status { color: #9fb7c3; font-size: .8rem; }
.device-stage .showcase-controls {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 0;
  top: 38%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.device-stage .showcase-controls[hidden] { display: none; }
.device-stage .showcase-controls button {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #3b5969;
  border-radius: 50%;
  background: rgb(19 46 64 / .85);
  color: var(--on-dark);
  font-size: 1.6rem;
  line-height: 1;
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.device-stage .showcase-controls button:hover:not(:disabled) { border-color: var(--aqua); }
.device-stage .showcase-controls button:disabled { opacity: .3; cursor: default; }
@media (max-width: 48rem) {
  .device-slide { padding-inline: 0; }
  .device-pair { padding-bottom: .6rem; }
  .device-laptop { flex-basis: 74%; }
  .device-phone { flex-basis: 26%; margin-left: -6%; }
  .device-stage .showcase-controls { top: 30%; inset-inline: -.6rem; }
  .device-stage .showcase-controls button { width: 2.25rem; height: 2.25rem; font-size: 1.3rem; }
}

/* Stats band under the product showcase */
.stats-band { background: var(--hero-surface); color: var(--on-dark); border-top: 1px solid #1f3a4b; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  margin-block: 0;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.stats-grid div { display: flex; flex-direction: column-reverse; gap: .5rem; }
.stats-grid dd {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff, #8fb3c2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-grid dt { color: #9fb7c3; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 48rem) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Services: what we do + how we work */
.home-main .services { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6.5rem); background: radial-gradient(ellipse 60% 50% at 85% 0%, #cfe6e2, transparent 70%), var(--soft-green); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.services-head { max-width: 46rem; }
.services-head h2 { margin-top: .6rem; font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.05; letter-spacing: -.035em; }
.services-head p { margin-top: .9rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.home-main .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.home-main .service-grid #donusum { grid-column: auto; }
.home-main .service-grid article {
  display: flex;
  flex-direction: column;
  padding: .75rem .75rem 1.25rem;
  border: 1px solid #bcd6d4;
  border-radius: 1.1rem;
  background: rgb(255 255 255 / .55);
  backdrop-filter: blur(8px);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms ease, border-color 300ms ease, opacity 550ms ease;
}
.home-main .service-grid article:hover { transform: translateY(-.35rem); border-color: #7fb2ad; box-shadow: 0 1.4rem 2.6rem -1.4rem rgb(12 38 55 / .35); }
.home-main .service-grid article :is(h3, p, .service-tags) { padding-inline: .5rem; }
.home-main .service-grid h3 { font-size: 1.15rem; }
.home-main .service-grid p { margin-top: .45rem; color: var(--muted); font-size: .94rem; }
.home-main .service-art { margin-bottom: 1.1rem; border-radius: .8rem; }
.home-main .service-grid article:hover .living-scene { transform: translateY(-.25rem) scale(1.04); }
.art-flow { background: #d9e4d6; }
.service-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: auto 0 0; padding-top: 1rem; list-style: none; }
.service-tags li { padding: .22rem .6rem; border: 1px solid #b4cfcd; border-radius: 99rem; background: #f4faf9; color: #24505a; font-size: .74rem; font-weight: 600; }

.services-how { margin-top: clamp(3.5rem, 8vw, 6rem); }
.services-how h2 { margin-top: .6rem; font-size: clamp(1.6rem, 3.4vw, 2.5rem); letter-spacing: -.03em; }
.how-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.how-steps::before { content: ""; position: absolute; top: 1.4rem; left: 1.4rem; right: 1.4rem; height: 2px; background: #b4cfcd; }
.how-steps::after { content: ""; position: absolute; top: 1.4rem; left: 1.4rem; right: 1.4rem; height: 2px; background: linear-gradient(90deg, var(--accent), var(--aqua)); transform-origin: left; transition: transform 1.4s cubic-bezier(.4,.1,.2,1) .2s; }
.how-steps li { position: relative; }
.how-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--aqua);
  font-size: .85rem;
  font-weight: 800;
  box-shadow: 0 0 0 .4rem var(--soft-green);
}
.how-steps h3 { margin-top: 1rem; font-size: 1.1rem; }
.how-steps p { margin-top: .4rem; color: var(--muted); font-size: .94rem; }
@media (prefers-reduced-motion: no-preference) {
  .home-main .service-grid article.reveal { transition-delay: calc(var(--i) * 90ms); }
  .home-main .service-grid article.reveal:hover { transition-delay: 0s; }
}
@media (max-width: 64rem) {
  .home-main .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .how-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .how-steps li { padding-left: 4rem; }
  .how-num { position: absolute; left: 0; top: 0; }
  .how-steps h3 { margin-top: .55rem; }
  .how-steps::before, .how-steps::after { top: 1.4rem; bottom: 1.4rem; left: 1.4rem; right: auto; width: 2px; height: auto; }
  .how-steps::after { background: linear-gradient(var(--accent), var(--aqua)); transform-origin: top; }
}
@media (max-width: 36rem) {
  .home-main .service-grid { grid-template-columns: 1fr; }
}

.partner-identity img { width: clamp(7rem, 14vw, 10rem); height: auto; }
.about-values { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.about-values li { padding: .35rem .85rem; border: 1px solid #b4cfcd; border-radius: 99rem; background: #f4faf9; color: #24505a; font-size: .85rem; font-weight: 600; }
.about-values li::before { content: "✓ "; color: var(--accent); }

/* Partner: slim trust strip between team and contact */
.home-main .partnership { padding-block: clamp(2rem, 5vw, 3.5rem) 0; margin-block-start: 0; }
.home-main .partner-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  flex-wrap: wrap;
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.1rem, 3vw, 2rem);
  border: 1px solid #c3d9dd;
  border-radius: 1rem;
  background: linear-gradient(100deg, #e4eff1, #f4f8f9);
}
.home-main .partner-copy { flex: 1 1 20rem; }
.home-main .partner-copy h2 { font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -.01em; }
.home-main .partner-copy p { margin-top: .3rem; color: var(--muted); font-size: .92rem; max-width: 52ch; }
.home-main .partner-lockup { flex: 0 1 24rem; padding: .6rem .9rem; border-radius: .8rem; }
.home-main .partner-identity img { width: clamp(6rem, 11vw, 8rem); }
@media (max-width: 40rem) { .home-main .partner-lockup { flex-basis: 100%; } }

/* About: right after the numbers, intro left + mission/vision cards right */
.about-section { background: var(--page); }
.home-main .about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.about-intro h2 { margin-top: .6rem; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.035em; }
.home-main .about-intro > p { margin-top: 1rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 52ch; }
.home-main .about-layout .principles { grid-template-columns: 1fr; gap: 1rem; margin-top: 0; }
.home-main .about-layout .principles article {
  position: relative;
  padding: clamp(1.2rem, 2.5vw, 1.6rem) clamp(1.2rem, 2.5vw, 1.6rem) clamp(1.2rem, 2.5vw, 1.6rem) 4.4rem;
  border: 1px solid #c3d9dd;
  border-top: 1px solid #c3d9dd;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1rem 2rem -1.5rem rgb(12 38 55 / .25);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms ease, opacity 550ms ease;
}
.home-main .about-layout .principles article:hover { transform: translateY(-.25rem); box-shadow: 0 1.4rem 2.4rem -1.4rem rgb(12 38 55 / .35); }
.principle-icon {
  position: absolute;
  top: 1.3rem;
  left: 1.2rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: .7rem;
  background: var(--navy);
  color: var(--aqua);
  font-size: 1.1rem;
  font-weight: 700;
}
.home-main .about-layout .principles h3 { font-size: 1.15rem; }
.home-main .about-layout .principles p { margin-top: .4rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 56rem) { .home-main .about-layout { grid-template-columns: 1fr; } }
@media (max-width: 36rem) {
  .home-main .about-layout .principles article { padding-left: 1.2rem; padding-top: 4.2rem; }
}

/* ===== Product detail v2: one clear path — hero → features → videos → day → FAQ → CTA ===== */
.product-page .product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: min(100% - 2rem, 80rem);
  padding-block: clamp(2rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
}
.product-page .product-breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; width: auto; margin: 0 0 1.4rem; padding: 0; font-size: .82rem; color: #9fb7c3; }
.product-page .product-breadcrumb a { color: #c7dce6; }
.product-hero-badge { display: inline-flex !important; align-items: center; gap: .55rem; margin: 0 !important; padding: .35rem .8rem .35rem .4rem; border: 1px solid #355a6b; border-radius: 99rem; background: rgb(255 255 255 / .05); font-size: .88rem; font-weight: 700; color: var(--on-dark) !important; }
.product-hero-badge img { border-radius: .45rem; background: #ebf4f7; }
.product-hero-badge small { padding-left: .55rem; border-left: 1px solid #355a6b; color: #9fb7c3; font-weight: 500; }
.product-page .product-detail-hero h1 { margin-top: 1.1rem; max-width: 16ch; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.04em; }
.product-page .product-hero-intro { margin-top: 1.1rem; max-width: 48ch; color: #c7dce6; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.product-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.75rem; }
.product-page .hero-link { padding: .85rem 1.35rem; border-radius: .8rem; font-size: 1rem; box-shadow: 0 .9rem 2rem -1rem rgb(135 231 216 / .6); }
.product-ghost-link { color: var(--on-dark-link); font-weight: 650; text-decoration: none; border-bottom: 1px solid transparent; }
.product-ghost-link:hover { border-bottom-color: currentColor; }
.product-hero-points { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.product-hero-points li { padding: .3rem .7rem; border: 1px solid #2f5566; border-radius: 99rem; color: #c7dce6; font-size: .8rem; }
.product-hero-points li::before { content: "✓ "; color: var(--aqua); }
.product-page .product-preview-stage { box-shadow: 0 2.5rem 5rem -2rem rgb(0 0 0 / .65); }
.product-hero-devices { width: 100%; padding-bottom: 0; }
@media (max-width: 56rem) {
  .product-page .product-detail-hero { grid-template-columns: minmax(0, 1fr); }
  .product-page .product-detail-hero h1 { max-width: 20ch; }
}

/* Sticky section nav keeps the visitor oriented and the CTA one tap away */
.product-section-nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgb(237 243 245 / .85); backdrop-filter: blur(12px); }
.product-section-nav .wrap { display: flex; align-items: center; gap: .25rem; width: min(100% - 2rem, 80rem); overflow-x: auto; scrollbar-width: none; padding-block: .5rem; }
.product-section-nav .wrap::-webkit-scrollbar { display: none; }
.product-section-nav a { flex: none; padding: .5rem .85rem; border-radius: .6rem; color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.product-section-nav a:hover { background: #dcebe9; }
.product-section-nav .product-section-cta { margin-left: auto; background: var(--navy); color: var(--on-dark); }
.product-section-nav .product-section-cta:hover { background: var(--accent); }
.product-page [id] { scroll-margin-top: 4.5rem; }

.product-page .eyebrow + h2 { margin-top: .55rem; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; max-width: 26ch; }
.product-features-v2, .product-example-v2, .product-page .product-faq { width: min(100% - 2rem, 80rem); padding-block: clamp(3rem, 7vw, 5.5rem); }
.product-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.product-feature-grid .product-feature {
  position: relative;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms ease, border-color 300ms ease;
}
.product-feature-grid .product-feature:hover { transform: translateY(-.3rem); border-color: #7fb2ad; box-shadow: 0 1.4rem 2.6rem -1.5rem rgb(12 38 55 / .35); }
.product-feature-num { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border-radius: .7rem; background: var(--navy); color: var(--aqua); font-size: .82rem; font-weight: 800; }
.product-feature-grid h3 { font-size: 1.12rem; }
.product-feature-grid p { margin-top: .5rem; color: var(--muted); font-size: .95rem; }

.product-guides-band { background: linear-gradient(180deg, var(--soft-green), var(--page)); }
.product-guides-band .product-guides { width: min(100% - 2rem, 80rem); padding-block: clamp(3rem, 7vw, 5.5rem); }
.product-guides-band .product-guide { margin-top: 1.75rem; border-radius: 1.2rem; box-shadow: 0 1.5rem 3rem -2rem rgb(12 38 55 / .3); }

.product-example-v2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.product-example-card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 1.2rem; background: var(--navy); color: var(--on-dark); }
.product-example-card p { font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.65; }
.product-example-card .product-audience { display: grid; gap: .2rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #2f5566; color: var(--aqua); font-weight: 700; }
.product-example-card .product-audience small { color: #9fb7c3; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 48rem) { .product-example-v2 { grid-template-columns: minmax(0, 1fr); } }

.product-page .product-faq { max-width: 56rem; }
.product-page .product-faq h2 { margin-bottom: 1.5rem; }
.product-page .product-faq details { padding: 0; border: 1px solid var(--line); border-radius: .9rem; background: #fff; overflow: hidden; }
.product-page .product-faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; list-style: none; }
.product-page .product-faq summary::-webkit-details-marker { display: none; }
.product-page .product-faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; transition: transform 200ms ease; }
.product-page .product-faq details[open] summary::after { transform: rotate(45deg); }
.product-page .product-faq details p { margin: 0; padding: 0 1.25rem 1.15rem; color: var(--muted); }

.product-final { width: min(100% - 2rem, 80rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.product-final-panel {
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: 1.5rem;
  background: radial-gradient(ellipse at 80% 100%, #15594f, transparent 60%), var(--hero-surface);
  color: var(--on-dark);
  text-align: center;
}
.product-final-panel h2 { margin-inline: auto; max-width: 22ch; font-size: clamp(1.6rem, 3.6vw, 2.6rem); letter-spacing: -.03em; text-wrap: balance; }
.product-final-panel p { margin: .8rem auto 0; max-width: 50ch; color: #c7dce6; }
.product-final-panel .product-hero-actions { justify-content: center; }

.product-page .product-related { padding-block: clamp(2rem, 5vw, 3rem); }
.product-page .product-related nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .75rem; }
.product-page .product-related nav a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1rem;
  border: 1px solid #2f5566;
  border-radius: .9rem;
  background: rgb(255 255 255 / .03);
  text-decoration: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.product-page .product-related nav a:hover { border-color: var(--aqua); background: rgb(135 231 216 / .06); }
.product-page .product-related img { border-radius: .55rem; background: #ebf4f7; }
.product-page .product-related strong { display: block; color: var(--on-dark); }
.product-page .product-related small { display: block; overflow: hidden; color: #9fb7c3; font-size: .8rem; white-space: nowrap; text-overflow: ellipsis; }
.product-page .product-related i { color: var(--aqua); font-style: normal; transition: transform 200ms ease; }
.product-page .product-related a:hover i { transform: translateX(.25rem); }

/* Mobile: the primary action is always one thumb away */
.product-mobile-cta { display: none; }
@media (max-width: 40rem) {
  .product-mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    display: block;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid #2f5566;
    background: rgb(11 32 49 / .92);
    backdrop-filter: blur(12px);
  }
  .product-mobile-cta .hero-link { display: flex; justify-content: center; width: 100%; }
  .product-section-nav .product-section-cta { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .product-hero-copy > * { animation: product-rise 600ms cubic-bezier(.2,.7,.2,1) both; }
  .product-hero-copy > :nth-child(2) { animation-delay: 60ms; }
  .product-hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .product-hero-copy > :nth-child(4) { animation-delay: 180ms; }
  .product-hero-copy > :nth-child(5) { animation-delay: 240ms; }
  .product-hero-copy > :nth-child(6) { animation-delay: 300ms; }
  .product-detail-hero > :last-child { animation: product-rise 800ms 200ms cubic-bezier(.2,.7,.2,1) both; }
  @keyframes product-rise { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
}
/* On product pages the section nav is the sticky bar, not the site header */
.product-page .site-header { position: static; }

/* Product detail polish */
.product-hero-actions .hero-link, .product-final-panel .hero-link { margin-top: 0; }
.product-example-card p:not(.product-audience) { color: #e3eef3; }
.product-feature-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
@media (min-width: 64rem) { .product-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product-guide-list { display: grid; gap: 1rem; margin-top: 1.75rem; }
.product-guides-band .product-guide-list .product-guide { margin-top: 0; }
.product-guide-list--grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.product-guide-list--grid .product-guide { grid-template-columns: minmax(0, 1fr); align-content: start; }
.product-guide-list--grid .product-guide-copy { order: 1; }
.product-guide-list--grid .product-guide .hero-link { display: none; }
.product-guide--portrait { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
@media (max-width: 48rem) {
  .product-guide--portrait { grid-template-columns: minmax(0, 1fr); }
  .product-guide-copy .hero-link { display: none; }
  .product-page .product-header-nav { display: none; }
  .product-hero-devices { margin-inline: -.25rem; }
}

/* Product header: dark glass bar — brand · nav pills · lang + CTA */
.product-page .site-header { position: relative; z-index: 21; border-bottom: 1px solid #1f3a4b; background: rgb(11 32 49 / .96); }
.product-page .site-header-layout { display: flex; align-items: center; gap: 1rem; width: min(100% - 2rem, 80rem); min-height: 4.25rem; padding-block: .6rem; }
.product-page .product-header-brand { gap: .6rem; color: var(--on-dark); font-weight: 750; text-decoration: none; }
.product-page .product-header-brand img { width: 2.25rem; height: 2.25rem; border-radius: .6rem; background: #ebf4f7; }
.product-page .product-header-nav { display: flex; gap: .2rem; margin-inline: auto; padding: .25rem; border: 1px solid #2a4a5b; border-radius: .8rem; background: rgb(255 255 255 / .03); }
.product-page .product-header-nav a { min-height: 2.25rem; padding: .35rem .8rem; border: 0; border-radius: .55rem; background: transparent; color: #c7dce6; font-size: .86rem; font-weight: 600; }
.product-page .product-header-nav a:first-child { background: transparent; }
.product-page .product-header-nav a:hover { background: #1b4554; color: #fff; }
.product-page .site-header-actions { display: flex; align-items: center; gap: .6rem; }
.product-header-cta { padding: .5rem .9rem; border-radius: .65rem; background: var(--aqua); color: var(--navy); font-size: .86rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.product-header-cta:hover { background: #c2fbf2; }
@media (max-width: 48rem) {
  .product-page .site-header-layout { flex-wrap: nowrap; gap: .5rem; min-height: 3.6rem; }
  .product-page .product-header-brand .brand-type { font-size: .98rem; }
  .product-page .product-header-nav { display: flex; order: 0; flex-basis: auto; margin-inline: auto 0; padding: 0; border: 0; background: none; }
  .product-page .product-header-nav a:last-child, .product-page .product-back-text { display: none; }
  .product-page .product-header-nav a:first-child { display: grid; place-items: center; width: 2.4rem; min-height: 2.4rem; padding: 0; border: 1px solid #2a4a5b; border-radius: 50%; }
  .product-header-cta { display: none; }
}

/* Section nav: fade the overflow edge so it reads as scrollable */
@media (max-width: 48rem) {
  .product-section-nav .wrap { mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 2rem; }
}

/* Mobile video: frameless, edge-to-edge, video-first */
@media (max-width: 48rem) {
  .product-page .product-preview-stage { margin-inline: -1rem; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .product-page .product-preview-stage .product-player { width: 100%; border-radius: 0; box-shadow: 0 1.5rem 3rem -1.5rem rgb(0 0 0 / .7); }
  .product-page .product-preview-stage--portrait { margin-inline: 0; }
  .product-page .product-preview-stage--portrait .product-player, .product-guide--portrait .product-player { width: min(78%, 17rem); border-radius: 1.6rem; border: 6px solid #0a0d10; }
  .product-page .product-preview-stage figcaption { padding-inline: 1rem; font-size: .8rem; color: #9fb7c3; }
  .product-guides-band .product-guide { gap: 0; padding: 0; overflow: hidden; }
  .product-guides-band .product-guide .product-player { order: -1; width: 100%; border-radius: 0; }
  .product-guides-band .product-guide--portrait .product-player { width: min(78%, 17rem); margin-top: 1rem; border-radius: 1.6rem; }
  .product-guides-band .product-guide-copy { padding: 1rem 1.1rem 1.2rem; }
  .product-guides-band .product-guide-copy h3 { font-size: 1.05rem; }
  .product-guides-band .product-guide-copy p { font-size: .92rem; color: var(--muted); }
}

/* ===== Motion: page-to-page transitions + scroll-driven reveals (native, no JS) ===== */
@media (prefers-reduced-motion: no-preference) {
  /* Cross-document View Transitions: home ⇄ product pages fade and slide instead of hard reloads */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 280ms cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vt-in 520ms cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-.75rem) scale(.99); filter: blur(4px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(1.25rem); filter: blur(6px); } }
  /* The header stays put while the page underneath changes */
  .site-header { view-transition-name: site-header; }
  ::view-transition-group(site-header) { animation-duration: 0s; }

  /* Elements rise into place as they enter the viewport */
  @supports (animation-timeline: view()) {
    :is(
      .showcase-heading, .device-caption, .services-head, .services-how > :is(.eyebrow, h2),
      .product-page :is(.eyebrow, .eyebrow + h2, .product-feature, .product-guide, .product-example-card, .product-faq details, .product-final-panel, .product-related nav a)
    ) {
      animation: scroll-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .device-pair { animation: scroll-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .home-opening-frame { animation: scroll-parallax linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .product-detail-hero > :last-child { animation: scroll-parallax-soft linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  }
  @keyframes scroll-rise { from { opacity: 0; transform: translateY(2.25rem) scale(.98); } to { opacity: 1; transform: none; } }
  @keyframes scroll-zoom { from { opacity: .35; transform: translateY(3rem) scale(.92); } to { opacity: 1; transform: none; } }
  @keyframes scroll-parallax { to { transform: translateY(18vh) scale(1.06); opacity: .55; } }
  @keyframes scroll-parallax-soft { to { transform: translateY(6vh); } }

  /* Buttons and links: springy micro-interactions */
  :is(.hero-link, .product-header-cta, .product-section-cta, .site-header-cta) { transition: transform 220ms cubic-bezier(.3, 1.6, .5, 1), box-shadow 220ms ease, background 200ms ease; }
  :is(.hero-link, .product-header-cta, .product-section-cta, .site-header-cta):hover { transform: translateY(-2px); }
  :is(.hero-link, .product-header-cta, .product-section-cta, .site-header-cta):active { transform: translateY(0) scale(.97); }
}

/* 404 */
.not-found { min-height: calc(100vh - 5rem); display: grid; align-items: center; background: radial-gradient(ellipse 70% 60% at 50% 0%, #1a4b55, transparent 70%), var(--hero-surface); color: var(--on-dark); }
.not-found-inner { width: min(100% - 2rem, 52rem); padding-block: clamp(3rem, 10vw, 6rem); text-align: center; }
.not-found-code { margin: 0; font-size: clamp(6rem, 22vw, 11rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; background: linear-gradient(180deg, #fff, #5f8796); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found-code span { display: inline-block; background: linear-gradient(180deg, var(--aqua), #2a8f82); -webkit-background-clip: text; background-clip: text; }
.not-found h1 { margin-top: 1rem; font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -.03em; }
.not-found-text { margin: .8rem auto 0; max-width: 46ch; color: #c7dce6; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem 1.25rem; margin-top: 1.75rem; }
.not-found-actions .hero-link { margin-top: 0; }
.not-found-ghost { color: var(--on-dark-link); font-weight: 650; }
.not-found h2 { margin-top: clamp(2.5rem, 7vw, 4rem); color: #9fb7c3; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.not-found-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .75rem; margin-top: 1rem; text-align: left; }
.not-found-products a { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1px solid #2f5566; border-radius: .9rem; background: rgb(255 255 255 / .03); text-decoration: none; transition: border-color 200ms ease, transform 200ms ease; }
.not-found-products a:hover { border-color: var(--aqua); transform: translateY(-2px); }
.not-found-products img { flex: none; border-radius: .55rem; background: #ebf4f7; }
.not-found-products strong { display: block; color: var(--on-dark); }
.not-found-products small { display: block; color: #9fb7c3; font-size: .8rem; }
@media (prefers-reduced-motion: no-preference) {
  .not-found-code span { display: inline-block; animation: nf-float 3.2s ease-in-out infinite; }
  @keyframes nf-float { 50% { transform: translateY(-.6rem) rotate(-6deg); } }
}
.not-found-page .site-header { background: var(--hero-surface); border-color: #1f3a4b; }

/* Required markers + qualifying fields */
.required { margin-left: .25rem; color: #ff6b57; font-size: 1.05em; font-weight: 900; text-shadow: 0 0 10px rgb(255 107 87 / .45); }

/* Hero data-flow pulses: the frame takes the image's box, the SVG reproduces its object-fit: cover crop */
.home-opening-frame { position: relative; width: min(100%, 110rem); height: 100%; margin-inline: auto; overflow: hidden; }
.home-opening-frame img { width: 100%; }
/* The hero is always wider than the image's 1400:876 ratio, so cover scales by width and crops height.
   Same width + aspect ratio + the img's 54% vertical position puts every SVG point on its image pixel. */
.hero-flow { position: absolute; inset: 54% 0 auto; width: 100%; height: auto; aspect-ratio: 1400 / 876; transform: translateY(-54%); pointer-events: none; overflow: visible; }
@media (max-width: 48rem) {
  .home-opening-frame { height: auto; }
  .hero-flow-desktop { display: none; }
  /* The whole image shows at ~0.35× on phones: scale the marks up around their own centre so they stay visible */
  .hero-flow-mark { transform: scale(2.4); }
  .hero-flow > g > circle { r: 5px; }
}
@media (prefers-reduced-motion: reduce) { .hero-flow { display: none; } }

/* ===== About + Process scroll sequence (site.js adds .motion-ready; without JS everything shows in its final state) ===== */
/* About: label line draws, then Mission/Vision cards rise in */
.motion-ready .about-intro .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 250ms ease-out; }
.motion-ready .about-intro .eyebrow.is-drawn::before { transform: none; }
.motion-ready .about-layout .principles article { opacity: 0; translate: 0 12px; transition: opacity 300ms ease-out, translate 300ms ease-out, transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms ease; }
.motion-ready .about-layout .principles article.is-in { opacity: 1; translate: none; }

/* Process: track from the first to the last marker, green fill grows step by step.
   site.js measures the marker centres into --line-* so the line sits exactly on them in both orientations. */
.how-steps.is-measured::before, .how-steps.is-measured::after { left: var(--line-x); top: var(--line-y); right: auto; bottom: auto; width: var(--line-w); height: var(--line-h); }
.how-steps.is-measured::after { transform: none; transition: clip-path 420ms cubic-bezier(.4, .1, .2, 1); clip-path: inset(0 calc(100% - var(--fill, 100%)) 0 0); }
.how-steps.is-vertical::after { background: linear-gradient(var(--accent), var(--aqua)); clip-path: inset(0 0 calc(100% - var(--fill, 100%)) 0); }
.how-num { transition: background 300ms ease, color 300ms ease, box-shadow 300ms ease, scale 300ms cubic-bezier(.3, 1.5, .5, 1); }
.motion-ready .how-steps li.is-active .how-num { background: linear-gradient(140deg, var(--aqua), var(--accent)); color: var(--navy); scale: 1.08; box-shadow: 0 0 0 .4rem var(--soft-green), 0 0 0 .55rem rgb(7 103 99 / .25), 0 .6rem 1.4rem -.4rem rgb(7 103 99 / .55); }
@media (prefers-reduced-motion: reduce) {
  .motion-ready .about-intro .eyebrow::before, .motion-ready .about-layout .principles article, .how-steps.is-measured::after, .how-num { transition: none; }
}

/* ===== Living illustrations (Services panels + About icon tiles) ===== */
.living-scene {
  --scene-ink: #406576;
  --scene-accent: #278a83;
  --scene-light: #7cebd1;
  display: block;
  width: 100%;
  height: auto;
}
/* Fit the 240×160 scene inside the existing panel height instead of overflowing it */
.service-art .living-scene { width: auto; height: 100%; max-width: 100%; transition: transform 300ms cubic-bezier(.2,.7,.2,1); }
.living-scene-icon { width: 24px; }

.scene-frame { fill: #f3fafb; stroke: var(--scene-ink); stroke-width: 2; }
.scene-title { fill: #153447; font: 600 10px system-ui, sans-serif; }
.scene-lines { stroke: #a6cbd1; stroke-width: 5; stroke-linecap: round; }
.scene-highlight { fill: #cbece5; }
.scene-bar, .scene-node { fill: var(--scene-accent); }
.scene-bar { transform-box: fill-box; transform-origin: center bottom; }
.scene-route { stroke: var(--scene-ink); stroke-width: 2; stroke-dasharray: 3 4; }
.scene-node-active, .scene-packet, .scene-vision-light { fill: var(--scene-light); }
.scene-check, .scene-icon-base, .scene-mission-ring { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene-check { stroke: #137c69; }
.scene-icon-base, .scene-mission-ring { stroke: var(--scene-light); }
.scene-mission-ring { transform-origin: 16px 16px; }
.scene-node-active, .scene-packet, .scene-mission-ring, .scene-vision-light { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .scene-trip { animation: scene-trip 6s ease-in-out infinite; }
  .scene-mobile-check { animation: scene-confirm 6s ease-in-out infinite; }
  .scene-bar { animation: scene-bar 5.8s var(--bar-delay) ease-in-out infinite; }
  .scene-order { animation: scene-order 6.8s ease-in-out infinite; }
  .scene-desktop-check { animation: scene-confirm 6.8s ease-in-out infinite; }
  .scene-packet { animation: scene-packet 5.4s linear infinite; }
  .scene-node-active { animation: scene-node 5.4s var(--node-delay) ease-out infinite; }
  .scene-mission-ring { animation: scene-mission 5.7s ease-out infinite; }
  .scene-vision-light { animation: scene-vision 6.2s ease-in-out infinite; }
  .living-scene:not([data-playing]) * { animation-play-state: paused; }
}

@keyframes scene-trip {
  0%, 8% { opacity: 0; transform: translateY(8px); }
  23%, 90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes scene-confirm { 0%, 30%, 100% { opacity: 0; } 40%, 88% { opacity: 1; } }
@keyframes scene-bar { 0%, 100% { transform: scaleY(1); } 14% { transform: scaleY(.45); } 35%, 86% { transform: scaleY(1); } }
@keyframes scene-order { 0%, 12%, 100% { opacity: .25; } 30%, 88% { opacity: 1; } }
@keyframes scene-packet {
  0% { opacity: 0; transform: translateX(0); }
  3% { opacity: 1; }
  22.22% { opacity: 1; transform: translateX(126px); }
  28%, 100% { opacity: 0; transform: translateX(126px); }
}
@keyframes scene-node { 0% { opacity: 0; } 3% { opacity: .85; } 11%, 100% { opacity: 0; } }
@keyframes scene-mission {
  0%, 100% { opacity: 0; transform: scale(.5); }
  8% { opacity: .9; }
  28%, 99% { opacity: 0; transform: scale(1.3); }
}
@keyframes scene-vision {
  0% { opacity: 0; transform: translate(0, 0); }
  7% { opacity: 1; }
  24% { opacity: 1; transform: translate(14px, -14px); }
  30%, 100% { opacity: 0; transform: translate(14px, -14px); }
}

/* ===== Process: its own blueprint panel, set apart from the service cards above ===== */
.home-main .services-how {
  --panel: #f6fafa;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(4rem, 9vw, 7rem);
  padding: clamp(1.75rem, 4.5vw, 3.5rem) clamp(1.25rem, 4.5vw, 3.5rem) clamp(2rem, 5vw, 3.75rem);
  border: 1px solid #c4dadd;
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgb(135 231 216 / .16), transparent 70%),
    linear-gradient(rgb(70 107 124 / .05) 1px, transparent 1px) 0 0 / 2rem 2rem,
    linear-gradient(90deg, rgb(70 107 124 / .05) 1px, transparent 1px) 0 0 / 2rem 2rem,
    var(--panel);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgb(12 38 55 / .04), 0 1.5rem 3.5rem -2rem rgb(12 38 55 / .25);
}
/* Thin teal rule on the panel's top edge */
.home-main .services-how::before { content: ""; position: absolute; top: 0; left: clamp(1.25rem, 4.5vw, 3.5rem); width: 4.5rem; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--accent), var(--aqua)); }
.home-main .services-how .how-steps { margin-top: clamp(2rem, 4vw, 2.75rem); }
.home-main .how-num { box-shadow: 0 0 0 .4rem var(--panel), 0 .5rem 1rem -.5rem rgb(12 38 55 / .45); }
.motion-ready .home-main .how-steps li.is-active .how-num { box-shadow: 0 0 0 .4rem var(--panel), 0 0 0 .55rem rgb(7 103 99 / .28), 0 .6rem 1.4rem -.4rem rgb(7 103 99 / .55); }
.home-main .how-steps li { transition: transform 300ms cubic-bezier(.2, .7, .2, 1); }
.home-main .how-steps li:hover { transform: translateY(-3px); }
.home-main .how-steps h3 { color: var(--ink); }

/* Blueprint motifs: modules in the upper-right corner (clear of the left-aligned heading), dots in the lower-left */
.process-blueprint { position: absolute; z-index: -1; pointer-events: none; overflow: visible; }
.process-blueprint--modules { top: 1.25rem; right: 1.5rem; width: clamp(11rem, 20vw, 16rem); height: auto; }
.process-blueprint--dots { left: 1.25rem; bottom: 1rem; width: clamp(5.5rem, 9vw, 7rem); height: auto; }
.bp-outline { fill: rgb(255 255 255 / .55); stroke: #466b7c; stroke-opacity: .42; stroke-width: 1.2; stroke-linejoin: round; }
path.bp-outline { fill: none; }
.bp-line { stroke: #076763; stroke-opacity: .32; stroke-width: 3; stroke-linecap: round; }
.bp-fill { fill: #076763; fill-opacity: .38; }
.bp-dot { fill: #2f7f86; opacity: .5; }

@media (prefers-reduced-motion: no-preference) {
  /* 14 s loop: modules fade in one by one, hold, then fade out together and rest */
  .bp-module { opacity: 0; animation: 14s ease-in-out infinite both; }
  .bp-module--1 { animation-name: bp-module-1; }
  .bp-module--2 { animation-name: bp-module-2; }
  .bp-module--3 { animation-name: bp-module-3; }
  /* Dots breathe on their own offset rhythm */
  .bp-dot { animation: bp-dot 13s var(--dot-delay) ease-in-out infinite; }
  .process-blueprint:not([data-playing]) * { animation-play-state: paused; }
}
@keyframes bp-module-1 { 0% { opacity: 0; } 9%, 58% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes bp-module-2 { 0%, 9% { opacity: 0; } 18%, 58% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes bp-module-3 { 0%, 18% { opacity: 0; } 27%, 58% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes bp-dot { 0%, 100% { opacity: .35; } 45% { opacity: 1; } 60% { opacity: .65; } }

@media (max-width: 48rem) {
  .home-main .services-how { border-radius: 1.25rem; }
  .process-blueprint--modules { display: none; }
  .process-blueprint--dots { left: auto; right: .75rem; bottom: .75rem; width: 4.75rem; }
  .home-main .how-steps li:hover { transform: none; }
}

/* ===== Founder section: introduction + request→rule→result demo on a petrol-blue living background ===== */
.founder { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 100% 0%, #15464f, transparent 65%), linear-gradient(170deg, #0f3242, #0b2533 70%); }
.founder-ambient { position: absolute; z-index: -1; top: clamp(.5rem, 2vw, 1.5rem); right: clamp(.5rem, 3vw, 2.5rem); width: clamp(8rem, 18vw, 14rem); height: auto; pointer-events: none; }
.ambient-square { fill: rgb(135 231 216 / .04); stroke: #87e7d8; stroke-opacity: .28; stroke-width: 1; }
.ambient-dot { fill: #87e7d8; opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .ambient-square { animation: ambient-square 11s var(--d) ease-in-out infinite; }
  .ambient-dot { animation: ambient-dot 7s var(--d) ease-in-out infinite; }
  .founder-ambient:not([data-playing]) * { animation-play-state: paused; }
}
@keyframes ambient-square { 0%, 100% { stroke-opacity: .12; } 50% { stroke-opacity: .42; } }
@keyframes ambient-dot { 0%, 100% { opacity: .18; } 50% { opacity: .7; } }

.founder-inner { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.founder-copy h2 { max-width: 16ch; font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.03em; line-height: 1.08; }
.founder-profile { gap: 1rem; margin-top: 1.6rem; }
.founder-profile img { width: 5rem; height: 5rem; border: 2px solid rgb(135 231 216 / .45); box-shadow: 0 0 0 5px rgb(135 231 216 / .08), 0 .8rem 1.6rem -.6rem rgb(0 0 0 / .6); }
.founder-profile h3 { font-size: 1.2rem; }
.founder-profile .team-role { font-size: .9rem; }
.founder-lead { max-width: 46ch; margin-top: 1.25rem; color: #c7dce6; font-size: clamp(1rem, 1.3vw, 1.1rem); }
.founder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.6rem; }
.founder-actions .hero-link { margin-top: 0; }
.founder-secondary { gap: .35rem; font-weight: 650; }

.founder-demo { min-width: 0; padding: clamp(1.1rem, 3vw, 1.6rem); border: 1px solid #355b6c; border-radius: 1.1rem; background: rgb(13 40 54 / .75); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 1.5rem 3rem -2rem rgb(0 0 0 / .7); backdrop-filter: blur(6px); }
.founder-demo h3 { font-size: 1.05rem; }
.founder-demo-tabs { display: flex; gap: .35rem; margin-top: 1rem; padding: .3rem; border: 1px solid #2f5566; border-radius: .85rem; background: rgb(2 18 26 / .45); }
.founder-demo-tabs button {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.6rem; padding: .45rem .6rem;
  border: 1px solid transparent; border-radius: .6rem; background: transparent; color: #a9c6d2; font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.founder-demo-tabs button span { color: #6f93a2; font-size: .72rem; font-weight: 800; }
.founder-demo-tabs button:hover { color: #fff; }
.founder-demo-tabs button[aria-selected="true"] { border-color: rgb(135 231 216 / .45); background: #1c4a50; color: #fff; box-shadow: 0 0 0 1px rgb(135 231 216 / .1); }
.founder-demo-tabs button[aria-selected="true"] span { color: var(--aqua); }
.founder-demo-tabs button:focus-visible, .founder-demo-panel:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }

/* Panels share one grid cell, so the box keeps the height of the tallest step */
.founder-demo-panels { display: grid; gap: .75rem; margin-top: 1rem; }
.founder-demo.is-enhanced .founder-demo-panel { grid-area: 1 / 1; }
.founder-demo-panel { display: grid; gap: .75rem; align-content: start; padding: .9rem; border-radius: .85rem; background: rgb(2 18 26 / .45); }
.founder-demo.is-enhanced .founder-demo-panel[hidden] { display: grid; visibility: hidden; }
.founder-demo-text { margin: 0; color: #e6f2f6; font-size: .98rem; font-weight: 600; }
.founder-demo-text--request::before, .founder-demo-text--rule::before { content: "“"; color: var(--aqua); }
.founder-demo-text--request::after, .founder-demo-text--rule::after { content: "”"; color: var(--aqua); }

.demo-scene { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; }
.demo-card { fill: #f3fafb; }
.demo-line { stroke: #a6cbd1; stroke-width: 6; stroke-linecap: round; }
.demo-soft { fill: rgb(135 231 216 / .18); }
.demo-stroke { fill: none; stroke: #87e7d8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-stroke--alert { stroke: #ffb3a7; }
.demo-alert-soft { fill: rgb(255 107 87 / .22); }
.demo-typing circle { fill: #87e7d8; opacity: 0; }
.demo-caption { fill: #a9c6d2; font: 700 10px system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.demo-caption--threshold { fill: #ffb3a7; }
.demo-caption--card { fill: #406576; letter-spacing: 0; text-transform: none; font-weight: 600; }
.demo-track { fill: rgb(135 231 216 / .1); stroke: #355b6c; }
.demo-fill { fill: #39c79a; transform-box: fill-box; transform-origin: left center; transform: scaleX(.12); }
.demo-threshold { stroke: #ff8f80; stroke-width: 2; stroke-dasharray: 3 3; }
.demo-ok { fill: #1fc787; }
.demo-check { fill: none; stroke: #04221a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.demo-bell, .demo-done, .demo-bubble, .demo-notice { transform-box: fill-box; transform-origin: center; }
.demo-scene--rule .demo-fill { fill: #ff8f80; }

/* Animations play when a step becomes the active panel */
@media (prefers-reduced-motion: no-preference) {
  .is-active .demo-bubble { animation: demo-bubble 500ms cubic-bezier(.3, 1.4, .5, 1) both; transform-origin: 0% 100%; }
  .is-active .demo-typing circle { animation: demo-typing 1.2s ease-in-out 3 both; }
  .is-active .demo-typing circle:nth-child(2) { animation-delay: .15s; }
  .is-active .demo-typing circle:nth-child(3) { animation-delay: .3s; }
  .is-active .demo-fill { animation: demo-drain 1.4s 200ms cubic-bezier(.5, 0, .3, 1) both; }
  .is-active .demo-bell { animation: demo-ring 600ms 1.3s ease-in-out both; }
  .is-active .demo-notice { animation: demo-slide 450ms cubic-bezier(.2, .8, .2, 1) both; }
  .is-active .demo-done { animation: demo-pop 400ms 350ms cubic-bezier(.3, 1.6, .5, 1) both; }
  .is-active .demo-check { animation: demo-draw 420ms 650ms ease-out both; }
}
@keyframes demo-bubble { from { opacity: 0; transform: translateY(10px) scale(.85); } }
@keyframes demo-typing { 0%, 100% { opacity: 0; } 40% { opacity: .9; } }
/* Gauge starts healthy (green), drains past the threshold, turns to alert colour */
@keyframes demo-drain { 0% { transform: scaleX(.92); fill: #39c79a; } 70% { fill: #39c79a; } 100% { transform: scaleX(.12); fill: #ff8f80; } }
@keyframes demo-ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 50% { transform: rotate(12deg); } 75% { transform: rotate(-6deg); } }
@keyframes demo-slide { from { opacity: 0; transform: translateY(-12px); } }
@keyframes demo-pop { from { opacity: 0; transform: scale(.3); } }
@keyframes demo-draw { from { stroke-dashoffset: 1; } }

@media (max-width: 44rem) {
  .founder-ambient { width: 7rem; opacity: .8; }
  .founder-demo-tabs button span { display: none; }
}

/* ===== OnthSky × AsTech: copy left, deep-navy scene right (stacked on mobile) ===== */
.partner-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); background: #e6eef1; }
.partner-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.partner-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.03em; }
.partner-text p { max-width: 44ch; margin-top: .8rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.1rem); }
.partner-stage { min-width: 0; padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid #1f3d50; border-radius: 1.25rem; background: radial-gradient(ellipse 70% 60% at 100% 0%, #14404d, transparent 70%), #0b2231; box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 1.5rem 3rem -2rem rgb(12 38 55 / .6); }
/* Equal-sized tiles so both marks read with the same weight; images keep their own aspect ratio */
.partner-logos { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(.5rem, 2vw, 1rem); }
.partner-logo { display: grid; place-items: center; overflow: hidden; height: clamp(3.4rem, 7vw, 4.6rem); padding: .55rem .9rem; border: 1px solid #24465a; border-radius: .85rem; background: #06141d; }
.partner-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
/* astech-mark.webp is astech.png cropped to the logo itself; its tile uses the logo's own black so the edge disappears */
.partner-logo--astech { background: #00040d; padding-block: .3rem; }
.partner-times { color: var(--aqua); font-size: 1.3rem; font-weight: 300; }
.partner-scene { display: block; width: 100%; height: auto; margin-top: clamp(.9rem, 2.5vw, 1.3rem); }
.ps-window { fill: #0f2d3d; stroke: #2c5367; stroke-width: 1.2; }
.ps-bar { fill: #143a4b; }
.ps-light { fill: #2c5367; }
.ps-slot { fill: none; stroke: #2c5367; stroke-width: 1; stroke-dasharray: 4 4; }
.ps-card { fill: #f3fafb; }
.ps-dot { fill: #87e7d8; }
.ps-text { stroke: #a6cbd1; stroke-width: 5; stroke-linecap: round; }
.ps-field { fill: #e3eef1; stroke: #b9d2d8; }
.ps-button { fill: #278a83; }
.ps-bar-a { fill: #278a83; }
.ps-bar-b { fill: #4a7fa8; }
.ps-done circle { fill: #1fc787; }
.ps-done path { fill: none; stroke: #04221a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }

/* 9 s cycle: modules settle into their slots one by one, check draws, hold, fade out, reassemble.
   Without JS or with reduced motion the completed screen above is shown. */
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .ps-module, .motion-ready .ps-done, .motion-ready .ps-done path { animation-duration: 9s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.25, .8, .25, 1); animation-fill-mode: both; }
  .motion-ready .ps-module--list { animation-name: ps-in-left; }
  .motion-ready .ps-module--form { animation-name: ps-in-top; }
  .motion-ready .ps-module--chart { animation-name: ps-in-bottom; }
  .motion-ready .ps-done { animation-name: ps-done; transform-box: fill-box; transform-origin: center; }
  .motion-ready .ps-done path { animation-name: ps-check; }
  .partner-scene:not([data-playing]) * { animation-play-state: paused; }
}
@keyframes ps-in-left { 0% { opacity: 0; transform: translateX(-18px); } 9%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: none; } }
@keyframes ps-in-top { 0%, 9% { opacity: 0; transform: translateY(-16px); } 18%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: none; } }
@keyframes ps-in-bottom { 0%, 18% { opacity: 0; transform: translateY(16px); } 27%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: none; } }
@keyframes ps-done { 0%, 28% { opacity: 0; transform: scale(.4); } 32%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: none; } }
@keyframes ps-check { 0%, 31% { stroke-dashoffset: 1; } 37%, 100% { stroke-dashoffset: 0; } }

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

/* ===== Project inquiry: intro left, dark form surface right (stacked on mobile) ===== */
.contact-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.25rem, 4vw, 3rem); text-align: left; }
.contact-intro { position: relative; isolation: isolate; padding: 0; }
.contact-intro h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.03em; line-height: 1.05; }
.contact-intro > p { margin-top: .9rem; color: #c7dce6; }
.contact-direct { display: grid; gap: .4rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.contact-direct a { color: var(--aqua); font-weight: 650; }
.contact-ambient { position: absolute; z-index: -1; left: -1rem; bottom: -2rem; width: min(100%, 15rem); height: auto; pointer-events: none; }
.ca-shape { fill: none; stroke: #87e7d8; stroke-width: 1.4; stroke-linecap: round; opacity: .18; }
@media (prefers-reduced-motion: no-preference) {
  .ca-shape { animation: ca-fade 8.4s var(--d) ease-in-out infinite; }
  .contact-ambient:not([data-playing]) * { animation-play-state: paused; }
}
@keyframes ca-fade { 0%, 100% { opacity: .08; } 50% { opacity: .38; } }

.contact-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .9rem; align-content: start;
  padding: clamp(1rem, 2.5vw, 1.5rem); border: 1px solid #24465a; border-radius: 1.1rem; background: #0b2231;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .04);
}
.contact-field { display: grid; gap: .4rem; align-content: start; min-width: 0; }
.contact-field > label { color: #d3e5ec; font-size: .85rem; font-weight: 650; }
.contact-form :is(input, select, textarea) {
  width: 100%; min-width: 0; min-height: 2.9rem; padding: .7rem .85rem;
  border: 1px solid #2f5566; border-radius: .7rem; background-color: #0f2c3d; color: #f2f9fc;
  font: inherit; font-size: 1rem;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.contact-form :is(input, select, textarea):hover { border-color: #477481; }
/* Only background-color changes on focus/error, so the select's chevron image and its no-repeat stay intact */
.contact-form :is(input, select, textarea):focus { outline: none; border-color: var(--aqua); background-color: #12354a; box-shadow: 0 0 0 3px rgb(135 231 216 / .22); }
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2387e7d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; background-size: .75rem .5rem;
}
.contact-form select option { background: #0f2c3d; color: #f2f9fc; }
.contact-form .has-error :is(input, textarea) { border-color: #ff8f80; background-color: #2a1d24; }
.contact-form .has-error :is(input, textarea):focus { box-shadow: 0 0 0 3px rgb(255 143 128 / .25); }
.contact-error { display: flex; align-items: flex-start; gap: .35rem; margin: 0; color: #ffb4aa; font-size: .82rem; font-weight: 600; }
.contact-error::before { content: "!"; display: grid; place-items: center; flex: none; width: 1rem; height: 1rem; margin-top: .05rem; border-radius: 50%; background: #ff8f80; color: #2a1d24; font-size: .7rem; font-weight: 900; }
.contact-error[hidden] { display: none; }
.contact-help { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; flex-wrap: wrap; }
.contact-help p { margin: 0; color: #9fb7c3; font-size: .8rem; max-width: 46ch; }
.contact-counter { flex: none; color: #9fb7c3; font-size: .78rem; font-variant-numeric: tabular-nums; }
.contact-counter.is-done { color: var(--aqua); }
.contact-wide { grid-column: 1 / -1; }
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-captcha { min-height: 65px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.contact-submit { margin-top: 0; border: 0; cursor: pointer; font: inherit; font-weight: 750; }
.contact-submit:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.contact-submit:disabled { opacity: .65; cursor: progress; }
.contact-actions small { color: #9fb7c3; font-size: .8rem; }
.contact-status { margin: 0; padding: .75rem 1rem; border: 1px solid var(--aqua); border-radius: .7rem; background: rgb(135 231 216 / .1); color: var(--aqua); font-weight: 600; }
.contact-status.is-error { border-color: #f08a7e; background: rgb(240 138 126 / .1); color: #ffb4aa; }
@media (max-width: 48rem) {
  .contact-panel, .contact-form { grid-template-columns: minmax(0, 1fr); }
  .contact-submit { width: 100%; text-align: center; }
  .contact-ambient { width: 11rem; bottom: -1rem; }
}

/* ===== Navbar motion ===== */
/* Shared active indicator (desktop). Only appears when a link is the current section. */
.nav-indicator { display: none; }
@media (min-width: 44.01rem) {
  .header .primary-nav.has-indicator { position: relative; isolation: isolate; }
  .has-indicator .nav-indicator {
    position: absolute; z-index: -1; left: 0; top: 0; display: block;
    width: var(--w, 0); height: var(--h, 0); border-radius: .72rem; background: #214755;
    transform: translate(var(--x, 0), var(--y, 0)); opacity: 0;
  }
  .has-indicator.has-active .nav-indicator { opacity: 1; }
  .header .primary-nav.has-indicator a[aria-current="location"] { background: transparent; }
  .header .primary-nav.has-indicator a:hover:not([aria-current]), .header .primary-nav.has-indicator a:focus-visible:not([aria-current]) { background: rgb(33 71 85 / .55); }
}
/* Language switch: fixed-width cells so the highlight can slide between them */
.language-switch { position: relative; isolation: isolate; }
.language-switch a { width: 2.2rem; padding-inline: 0; }
.language-switch a[aria-current="page"] { background: transparent; }
.lang-indicator {
  position: absolute; z-index: -1; top: .18rem; left: .18rem; width: 2.2rem; height: calc(100% - .36rem);
  border-radius: .5rem; background: var(--aqua);
  transform: translateX(calc(var(--lang-index, 0) * (2.2rem + .1rem)));
}
/* CTA arrow nudges right without changing the button's size */
.cta-arrow { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .nav-animate .nav-indicator { transition: transform 240ms cubic-bezier(.3, .7, .2, 1), width 240ms cubic-bezier(.3, .7, .2, 1), opacity 160ms ease; }
  .lang-indicator { transition: transform 180ms cubic-bezier(.3, .7, .2, 1); }
  .language-switch a { transition: color 180ms ease; }
  .cta-arrow { transition: transform 180ms ease; }
}
.site-header-cta:is(:hover, :focus-visible) .cta-arrow { transform: translateX(3px); }

/* ===== Product carousel ambient backdrop ===== */
.home-main .products-section { overflow: clip; }
.device-stage { isolation: isolate; }
.device-stage .showcase-track { position: relative; z-index: 1; }
.showcase-glow { position: absolute; z-index: 0; inset: -10% -6% -4%; pointer-events: none; }
/* One layer per product; the active one fades in while the previous fades out */
.showcase-glow-layer {
  --glow: 47 95 208;
  position: absolute; inset: 0; opacity: 0;
  background:
    radial-gradient(ellipse 42% 46% at 44% 42%, rgb(var(--glow) / .42), rgb(var(--glow) / .14) 55%, transparent 72%),
    radial-gradient(ellipse 34% 7% at 50% 86%, rgb(var(--glow) / .32), transparent 75%);
}
.showcase-glow-layer.is-active { opacity: 1; }
.showcase-glow-layer--isdostum { --glow: 47 95 208; }
.showcase-glow-layer--sefer-defterim { --glow: 17 128 118; }
.showcase-glow-layer--sanal-pos { --glow: 59 143 214; }
.showcase-glow-layer--senetyaz { --glow: 91 79 216; }
@media (prefers-reduced-motion: no-preference) {
  .showcase-glow-layer { transition: opacity 520ms ease; }
  /* Slow breathing while the carousel is on screen and the tab is visible (data-playing from the shared observer) */
  .showcase-glow { animation: showcase-breathe 11s ease-in-out infinite; }
  .showcase-glow:not([data-playing]) { animation-play-state: paused; }
}
@keyframes showcase-breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@media (max-width: 48rem) {
  .showcase-glow { inset: -4% -10% 6%; }
  .showcase-glow-layer { background: radial-gradient(ellipse 60% 44% at 46% 46%, rgb(var(--glow) / .3), transparent 72%); }
}

/* ===== Founder: stack intro + demo on mobile, keep every child shrinkable ===== */
.founder-inner > * { min-width: 0; }
.founder-profile > div { min-width: 0; }
.founder-profile h3, .founder-profile .team-role { overflow-wrap: anywhere; }
.founder-demo-tabs button { min-width: 0; min-height: 2.75rem; }
.founder-demo-tabs button:focus-visible { outline-offset: -3px; }
.founder-demo-panel { min-width: 0; }
@media (max-width: 52rem) {
  .founder-inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .founder-copy h2 { max-width: none; }
  .founder-demo { width: 100%; }
}
@media (max-width: 30rem) {
  .founder-demo { padding: .9rem; }
  .founder-demo-tabs { gap: .2rem; padding: .25rem; }
  .founder-demo-tabs button { padding-inline: .25rem; font-size: .85rem; }
  .founder-demo-tabs button span { display: none; }
  .founder-demo-panel { padding: .7rem; }
  .founder-ambient { width: 6rem; }
}

/* ===================== Navigation (three zones on desktop, bottom bar ≤ 52rem) ===================== */
.site-header .header { min-height: 4.5rem; }
.nav-icon { display: none; width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cta-icon { display: none; width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.site-header-cta { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }

@media (min-width: 52.01rem) {
  /* Logo | links | language + CTA; the side zones share the remaining space so the links sit centred */
  .site-header-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1.5rem; flex-wrap: nowrap; }
  .site-header-layout .brand { justify-self: start; }
  .site-header-layout .primary-nav { margin-inline: 0; }
  .site-header-actions { justify-self: end; }
  .header .primary-nav { position: relative; display: flex; gap: clamp(1rem, 2.6vw, 2.25rem); padding: 0; border: 0; border-radius: 0; background: none; animation: none; }
  .header .primary-nav a { min-height: 2.75rem; padding: .5rem .1rem; border-radius: .35rem; background: none !important; color: #c3d6df; font-size: .92rem; font-weight: 600; transition: color 180ms ease; }
  .header .primary-nav a:hover, .header .primary-nav a[aria-current="location"] { color: #fff; }
  .header .primary-nav a:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
  /* Short green stroke under the active link, echoing the joined "th" in the OnthSKY mark */
  .has-indicator .nav-indicator {
    z-index: 0; width: 1.5rem; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, #39e3a2, #87e7d8);
    box-shadow: 0 0 10px rgb(57 227 162 / .35);
    transform: translate(calc(var(--x, 0px) + var(--w, 0px) / 2 - .75rem), calc(var(--y, 0px) + var(--h, 0px) - 6px));
  }
}
@media (min-width: 52.01rem) and (prefers-reduced-motion: no-preference) {
  .nav-animate .nav-indicator { transition: transform 220ms cubic-bezier(.3, .7, .2, 1), opacity 160ms ease; }
}
/* Intermediate widths: the CTA collapses to an icon button so the three zones never collide */
@media (max-width: 68rem) {
  .site-header-cta { display: inline-flex; width: 2.6rem; height: 2.6rem; justify-content: center; padding: 0; }
  .site-header-cta .cta-text, .site-header-cta .cta-arrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .site-header-cta .cta-icon { display: block; }
}

@media (max-width: 52rem) {
  .site-header .header { min-height: 3.75rem; }
  .site-header-layout { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: .6rem; }
  .site-header-layout .brand img { max-width: 8.5rem; height: auto; }
  .site-header-actions { gap: .45rem; flex: none; }
  /* Bottom bar: four equal items, opaque navy, safe-area aware */
  .header .primary-nav {
    position: fixed; z-index: 10;
    inset: auto max(.6rem, env(safe-area-inset-right)) calc(.5rem + env(safe-area-inset-bottom)) max(.6rem, env(safe-area-inset-left));
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .25rem;
    margin: 0; padding: .3rem; border: 1px solid #24465a; border-radius: 1rem;
    background: rgb(9 30 43 / .97); box-shadow: 0 .6rem 2rem rgb(2 12 18 / .5); backdrop-filter: blur(10px);
  }
  .header .primary-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem;
    min-width: 0; min-height: 3.25rem; padding: .35rem .15rem; border-radius: .75rem;
    background: none; color: #a9c3cf; font-size: clamp(.68rem, 2.9vw, .78rem); font-weight: 650; line-height: 1.1; text-align: center;
    transition: color 160ms ease, background-color 160ms ease;
  }
  .header .primary-nav .nav-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header .primary-nav .nav-icon { display: block; }
  .header .primary-nav a[aria-current="location"] { background: rgb(135 231 216 / .12); color: #a8f3e4; }
  .header .primary-nav a:focus-visible { outline: 2px solid var(--aqua); outline-offset: -2px; }
  .nav-indicator { display: none !important; }
  /* Room for the bar so it never covers the last links or form controls */
  html { scroll-padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  html, body { overflow-x: clip; }
}
@media (max-width: 22rem) {
  .site-header-layout .brand img { max-width: 7rem; }
}

/* Corporate project illustrations (SANShine Cüzdan, Sanflex) */
.ent-scene { display: block; width: 100%; height: auto; }
.ent-paper { fill: #f3fafb; }
.ent-card { fill: #f3fafb; }
.ent-line { stroke: #a6cbd1; stroke-width: 5; stroke-linecap: round; }
.ent-rule { stroke: #c9dde2; stroke-width: 1.5; stroke-dasharray: 3 3; }
.ent-caption { fill: #153447; font: 700 9px system-ui, sans-serif; letter-spacing: .04em; }
.ent-small { fill: #406576; font: 600 9px system-ui, sans-serif; }
.ent-small--strong { fill: #0d5c56; font-weight: 800; }
.ent-chip { fill: #e3eef1; }
.ent-chip--accent { fill: #cbece5; }
.cz-scan { fill: #87e7d8; opacity: 0; }
.cz-arrow, .sf-tick { fill: none; stroke: #87e7d8; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sf-box { fill: #278a83; }
.sf-tick { stroke: #fff; stroke-width: 2; stroke-dasharray: 1; }
.sf-pill { fill: #278a83; }
.cz-row, .sf-option, .sf-pill, .cz-receipt { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  /* Cüzdan, 7 s: receipt appears, a scan line passes, the record fills row by row, rest, reset */
  .cz-receipt { animation: cz-receipt 7s ease-in-out infinite both; }
  .cz-scan { animation: cz-scan 7s ease-in-out infinite both; }
  .cz-row { animation: cz-row 7s calc(var(--i) * 180ms) ease-out infinite both; }
  /* Sanflex, 8 s (offset from Cüzdan): three choices tick in turn, then group into the summary */
  .sf-tick { animation: sf-tick 8s calc(var(--i) * 350ms) ease-out infinite both; }
  .sf-box { animation: sf-box 8s ease-in-out infinite both; }
  .sf-pill { animation: sf-pill 8s calc(var(--i) * 160ms) cubic-bezier(.3, 1.4, .5, 1) infinite both; }
  .ent-scene:not([data-playing]) * { animation-play-state: paused; }
}
@keyframes cz-receipt { 0% { opacity: 0; transform: translateY(8px); } 8%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes cz-scan { 0%, 10% { opacity: 0; transform: translateY(0); } 13% { opacity: .55; } 30% { opacity: .55; transform: translateY(66px); } 34%, 100% { opacity: 0; transform: translateY(66px); } }
@keyframes cz-row { 0%, 33% { opacity: 0; transform: translateX(-6px); } 42%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes sf-tick { 0%, 10% { stroke-dashoffset: 1; } 18%, 88% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 1; } }
@keyframes sf-box { 0%, 8% { fill: #c9dde2; } 14%, 88% { fill: #278a83; } 96%, 100% { fill: #c9dde2; } }
@keyframes sf-pill { 0%, 34% { opacity: 0; transform: scale(.3); } 42%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }


/* The header is its own stacking context (view-transition-name), which also holds the fixed bottom bar.
   Lift the whole header above page content so transformed/animated sections can't paint over the bar. */
.site-header { z-index: 30; }
@media (max-width: 52rem) { .site-header { position: relative; } }

/* ===== Mobile hero: artwork zoomed around its centre, headline and CTAs pulled closer ===== */
@media (max-width: 48rem) {
  /* The container crops; the frame (image + data-flow SVG together) is scaled so both stay aligned.
     1.38× makes the embedded OnthSKY logo about half the width; the visible window keeps logo + tagline. */
  .home-opening-art { position: relative; height: auto; aspect-ratio: 393 / 230; overflow: hidden; mask-image: linear-gradient(#000 78%, transparent); }
  .home-opening-frame { position: absolute; left: 50%; top: 54%; width: 138%; height: auto; margin: 0; translate: -50% -54%; }
  .home-opening-frame img { height: auto; }
  .home-opening-copy { width: min(100% - 1.5rem, 34rem); padding-block: .1rem clamp(1.5rem, 6vw, 2.5rem); margin-top: -.6rem; }
  .home-opening h1 { font-size: clamp(1.75rem, 7.8vw, 2.15rem); line-height: 1.1; letter-spacing: -.03em; }
  .home-opening p { margin-top: .65rem; font-size: .98rem; line-height: 1.5; }
  .home-opening .home-hero-actions { margin-top: 1.1rem; gap: .6rem; }
  .home-opening .home-hero-actions a { min-height: 2.9rem; display: inline-flex; align-items: center; }
}

/* ===== Statistics band ===== */
.stats-band { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse 50% 90% at 100% 0%, #12404c, transparent 70%), var(--hero-surface); border-block: 1px solid #1f3a4b; }
.stats-band .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-block: clamp(2.25rem, 6vw, 4rem); }
.stats-band .stat {
  display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: .55rem; min-width: 0;
  padding: .25rem clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid rgb(135 231 216 / .14);
}
.stats-band .stat:first-child { border-left: 0; padding-left: 0; }
.stat-icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: #87e7d8; stroke-opacity: .7; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Number above label; order set explicitly so wrapping labels never push the numbers out of line */
.stats-band .stat dd { order: -1; grid-row: 2; margin: 0; }
.stats-band .stat dt { grid-row: 3; color: #9fb7c3; font-size: .76rem; font-weight: 600; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; overflow-wrap: anywhere; }
.stats-band .stat-icon { grid-row: 1; }
.stat-value {
  display: block; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #8fb3c2); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stats-ambient { position: absolute; z-index: -1; top: clamp(.75rem, 2vw, 1.25rem); right: clamp(.75rem, 3vw, 2.5rem); width: clamp(4.5rem, 9vw, 6.5rem); height: auto; pointer-events: none; }
.stats-dot { fill: #87e7d8; opacity: .22; }
@media (prefers-reduced-motion: no-preference) {
  .stats-dot { animation: stats-dot 9s var(--d) ease-in-out infinite; }
  .stats-ambient:not([data-playing]) * { animation-play-state: paused; }
}
@keyframes stats-dot { 0%, 100% { opacity: .12; } 50% { opacity: .6; } }
@media (max-width: 48rem) {
  .stats-band .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: clamp(1.75rem, 7vw, 2.5rem); }
  .stats-band .stat { padding: clamp(.9rem, 4vw, 1.25rem) clamp(.6rem, 3.5vw, 1.1rem); border-left: 0; }
  .stats-band .stat:nth-child(even) { border-left: 1px solid rgb(135 231 216 / .14); }
  .stats-band .stat:nth-child(n + 3) { border-top: 1px solid rgb(135 231 216 / .14); }
  .stats-band .stat:first-child { padding-left: clamp(.6rem, 3.5vw, 1.1rem); }
  .stats-band .stat:nth-child(odd) { padding-left: 0; }
  .stat-value { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .stats-ambient { width: 3.5rem; top: .5rem; right: .5rem; opacity: .8; }
}

/* ===================== Shared footer ===================== */
.site-footer { position: relative; background: var(--navy); color: #eaf6fb; }
/* Mint rule on the top edge; drawn once when the footer enters view (static without JS) */
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, #87e7d8 20%, #39e3a2 50%, #87e7d8 80%, transparent); transform-origin: left; opacity: .7; }
.site-footer.rule-ready:not(.is-drawn)::before { transform: scaleX(0); }
@media (prefers-reduced-motion: no-preference) { .site-footer.rule-ready::before { transition: transform 900ms cubic-bezier(.4, .1, .2, 1); } }

.site-footer-inner {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 3.5vw, 3rem); padding-block: clamp(2.25rem, 5vw, 3.5rem);
}
.site-footer-inner > * { min-width: 0; }
.footer-logo { display: inline-block; }
.footer-logo img { display: block; width: clamp(8rem, 12vw, 9.5rem); height: auto; }
.footer-brand p { max-width: 32ch; margin-top: .75rem; color: #b8cfd9; font-size: .92rem; }
.footer-contact { display: grid; justify-items: start; gap: .35rem; margin-top: 1rem; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 2.25rem; color: var(--aqua); font-weight: 650; overflow-wrap: anywhere; }
.site-footer h2 { margin: 0; color: #fff; font-size: .95rem; letter-spacing: 0; }
.footer-group summary { list-style: none; }
.footer-group summary::-webkit-details-marker { display: none; }
.footer-chevron { display: none; }
.footer-links { display: grid; justify-items: start; gap: .2rem; margin-top: .7rem; }
.site-footer .footer-links a, .footer-contact a { border-radius: .35rem; }
.site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 2.25rem; color: #c7dce6; font-size: .92rem; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--aqua); }
.site-footer :is(a, summary):focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
/* Desktop: groups behave as plain headed lists even before JS opens them */
@media (min-width: 52.01rem) {
  .footer-group summary { cursor: default; }
  .footer-group::details-content { content-visibility: visible; display: contents; }
}
/* Partner: label beside a compact, proportional AsTech mark */
.footer-partner { display: grid; align-content: start; gap: .75rem; }
.footer-partner a { display: inline-block; justify-self: start; padding: .35rem .6rem; border: 1px solid #24465a; border-radius: .7rem; background: #00040d; }
.footer-partner img { display: block; width: auto; height: 2.6rem; max-width: 100%; }

@media (max-width: 68rem) and (min-width: 52.01rem) {
  .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 52rem) {
  .site-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 2rem 1.25rem; }
  .footer-brand { padding-bottom: 1.25rem; }
  .footer-group { border-top: 1px solid rgb(135 231 216 / .14); }
  .footer-group summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3rem; cursor: pointer; border-radius: .4rem; }
  .footer-chevron { display: block; width: 1.15rem; height: 1.15rem; fill: none; stroke: #87e7d8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .footer-links { margin: 0; padding-bottom: .75rem; }
  .footer-group[open] .footer-chevron { transform: rotate(180deg); }
  .footer-partner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-block: 1rem .25rem; border-top: 1px solid rgb(135 231 216 / .14); }
  .footer-partner img { height: 2.2rem; }
}
@media (max-width: 52rem) and (prefers-reduced-motion: no-preference) {
  .footer-chevron { transition: transform 200ms ease; }
  .footer-group[open] .footer-links { animation: footer-open 220ms ease-out both; }
  @keyframes footer-open { from { opacity: 0; transform: translateY(-4px); } }
}

/* ===== Mobile bottom bar fit + reserved space ===== */
@media (max-width: 52rem) {
  /* A filter on the header would make it the containing block for the fixed bar and misplace it */
  .site-header { backdrop-filter: none; }
  .header .primary-nav { left: max(.6rem, env(safe-area-inset-left)); right: max(.6rem, env(safe-area-inset-right)); width: auto; max-width: none; box-sizing: border-box; }
  /* The footer (navy) carries the space for the bar, so there is no pale strip below it */
  body:has(.header .primary-nav) .site-footer { padding-bottom: calc(5.25rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 40rem) {
  .product-page .site-footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

/* ===== Corporate projects in the product catalog ===== */
.showcase-glow-layer--sanshine-cuzdan { --glow: 33 142 132; }
.showcase-glow-layer--sanflex { --glow: 72 110 200; }
/* Carousel slide: the illustration sits in a window frame where other products show laptop + phone */
.device-pair--project { align-items: center; }
.project-frame { display: block; width: min(100%, 40rem); padding: clamp(.9rem, 2.5vw, 1.5rem); border: 1px solid #2c5367; border-radius: 1.25rem; background: radial-gradient(ellipse 70% 80% at 50% 0%, #17485a, transparent 70%), #0b2231; box-shadow: 0 2.5rem 5rem -1.5rem rgb(0 0 0 / .7); }
.project-badge { display: inline-flex; align-items: center; padding: .15rem .6rem; border: 1px solid rgb(135 231 216 / .35); border-radius: 99rem; color: var(--aqua); font-size: .78rem; font-weight: 700; }
.product-card-media--project { display: block; padding: clamp(.8rem, 2vw, 1.2rem); background: radial-gradient(ellipse 70% 80% at 50% 0%, #17485a, transparent 70%), #0b2231; }
.product-card .project-badge, .product .project-badge { color: var(--accent); border-color: rgb(7 103 99 / .35); }
/* Detail page */
.product-hero-project { padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid #2c5367; border-radius: 1.25rem; background: radial-gradient(ellipse 70% 80% at 50% 0%, #17485a, transparent 70%), #0b2231; box-shadow: 0 2.5rem 5rem -2rem rgb(0 0 0 / .65); }
.product-case-note { max-width: 52ch; margin-top: 1.1rem !important; padding: .7rem .9rem; border-left: 3px solid var(--aqua); border-radius: 0 .6rem .6rem 0; background: rgb(135 231 216 / .07); color: #c7dce6 !important; font-size: .86rem; }
.product-contrib, .product-tech { width: min(100% - 2rem, 80rem); padding-block: clamp(2.5rem, 6vw, 4rem); }
.product-scale { display: inline-flex; margin-top: 1rem; padding: .35rem .8rem; border-radius: 99rem; background: var(--soft-green); color: var(--accent); font-weight: 700; font-size: .9rem; }
.product-contrib-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.product-contrib-list li { display: flex; gap: .65rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .9rem; background: #fff; font-weight: 650; }
.product-contrib-list li::before { content: ""; flex: none; width: .55rem; height: .55rem; margin-top: .45rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--soft-green); }
.product-tech-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.product-tech-list li { padding: .45rem .85rem; border: 1px solid #b4cfcd; border-radius: 99rem; background: #f4faf9; color: #24505a; font-size: .88rem; font-weight: 650; }

/* ===== All products page ===== */
.catalog { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.catalog .catalog-breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.25rem; color: var(--muted); font-size: .85rem; }
.catalog h1 { margin-top: .55rem; font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.03em; }
.catalog-intro { max-width: 52ch; margin-top: .7rem; color: var(--muted); font-size: 1.05rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1.1rem; margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.catalog-grid > * { min-width: 0; }

/* Corporate project illustration inside the laptop screen: centred on a navy screen, scaled to fit */
.device-screen-scene { display: grid; place-items: center; height: 100%; padding: 6% 5%; background: radial-gradient(ellipse 70% 80% at 50% 0%, #17485a, transparent 70%), #0b2231; }
.device-screen-scene .ent-scene { width: 100%; height: 100%; max-height: 100%; }

/* ===== Living device mockups: motion inside every product's laptop and phone =====
   Runs only while the mockup is on screen and the tab is visible (data-playing from the shared observer). */
.device-laptop-screen, .device-phone-screen { position: relative; }
.device-laptop-screen::after, .device-phone-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .16) 48%, transparent 60%);
  transform: translateX(-120%); opacity: 0;
}
/* Tap ripple on the phone screenshot */
.device-phone-screen::before {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 70%; width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem;
  border-radius: 50%; background: rgb(135 231 216 / .45); box-shadow: 0 0 0 2px rgb(135 231 216 / .6); opacity: 0; pointer-events: none;
}
.device-phone-screen:has(.device-app)::before { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .device-pair .device-laptop-screen > img { transform-origin: 50% 0; animation: device-drift 14s ease-in-out infinite; }
  .device-pair .device-laptop-screen::after { animation: device-sheen 7s 1.2s ease-in-out infinite; }
  .device-pair .device-phone-screen::after { animation: device-sheen 7s 2.4s ease-in-out infinite; }
  .device-pair .device-phone-screen::before { animation: device-tap 6s 3s ease-out infinite; }
  /* App-style screens (no screenshot): rows light up in turn, then the action button pulses */
  .device-pair :is(.device-app li, .device-screen-preview li) { animation: device-row 6s calc(var(--row, 0) * .45s) ease-in-out infinite; }
  .device-pair :is(.device-app li, .device-screen-preview li):nth-child(2) { --row: 1; }
  .device-pair :is(.device-app li, .device-screen-preview li):nth-child(3) { --row: 2; }
  .device-pair .device-app-cta { animation: device-cta 6s 1.6s ease-in-out infinite; }
  .device-pair:not([data-playing]) :is(img, li, .device-app-cta),
  .device-pair:not([data-playing]) :is(.device-laptop-screen, .device-phone-screen)::after,
  .device-pair:not([data-playing]) .device-phone-screen::before { animation-play-state: paused; }
}
@keyframes device-drift { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045) translateY(-1.5%); } }
@keyframes device-sheen { 0%, 62% { opacity: 0; transform: translateX(-120%); } 66% { opacity: 1; } 86%, 100% { opacity: 0; transform: translateX(120%); } }
@keyframes device-tap { 0%, 70% { opacity: 0; transform: scale(.4); } 74% { opacity: 1; transform: scale(.8); } 90%, 100% { opacity: 0; transform: scale(1.8); } }
@keyframes device-row { 0%, 12%, 100% { filter: none; } 4% { filter: brightness(1.25) saturate(1.3); box-shadow: 0 0 0 2px rgb(135 231 216 / .55); } }
@keyframes device-cta { 0%, 20%, 100% { transform: none; } 8% { transform: scale(1.05); } }

/* ===== Inquiry success toast (OnthSKY style, timed) ===== */
.contact-toast { position: fixed; z-index: 60; top: clamp(5rem, 9vh, 6.5rem); left: 50%; width: min(100% - 2rem, 30rem); transform: translate(-50%, -.75rem); opacity: 0; pointer-events: none; }
.contact-toast.is-open { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.contact-toast[hidden] { display: none; }
.contact-toast-card {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: start; overflow: hidden;
  padding: 1.1rem 1rem 1.25rem 1.1rem; border: 1px solid rgb(135 231 216 / .3); border-radius: 1.1rem;
  background: radial-gradient(ellipse 80% 120% at 0% 0%, #17485a, transparent 60%), #0b2231; color: #eaf6fb;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .35), 0 1.75rem 3.5rem -1rem rgb(2 12 18 / .7), 0 0 2.5rem -1rem rgb(57 227 162 / .35);
}
.contact-toast-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgb(31 199 135 / .15); box-shadow: 0 0 0 6px rgb(31 199 135 / .08); }
.contact-toast-icon svg { width: 1.7rem; height: 1.7rem; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact-toast-icon circle { fill: #1fc787; }
.contact-toast-icon path { stroke: #03170f; stroke-width: 2.6; stroke-dasharray: 1; }
.contact-toast-body strong { display: block; color: #fff; font-size: 1.02rem; }
.contact-toast-body p { margin: .3rem 0 0; color: #c7dce6; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
.contact-toast-body small { display: inline-block; margin-top: .55rem; padding: .15rem .55rem; border: 1px solid rgb(135 231 216 / .25); border-radius: 99rem; color: var(--aqua); font-size: .76rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.contact-toast-close { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin: -.4rem -.35rem 0 0; padding: 0; border: 0; border-radius: .7rem; background: transparent; color: #9fb7c3; cursor: pointer; }
.contact-toast-close svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.contact-toast-close:hover { background: rgb(255 255 255 / .07); color: #fff; }
.contact-toast-close:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
/* Time remaining */
.contact-toast-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #39e3a2, #87e7d8); transform-origin: left; transform: scaleX(0); }
@media (prefers-reduced-motion: no-preference) {
  .contact-toast { transition: transform 280ms cubic-bezier(.2, .8, .2, 1), opacity 220ms ease; }
  .contact-toast.is-open .contact-toast-icon { animation: toast-pop 420ms 120ms cubic-bezier(.3, 1.6, .5, 1) both; }
  .contact-toast.is-open .contact-toast-icon path { animation: toast-draw 380ms 380ms ease-out both; }
  .contact-toast.is-open .contact-toast-timer { animation: toast-timer var(--toast-ms, 8000ms) linear both; }
  .contact-toast.is-paused .contact-toast-timer { animation-play-state: paused; }
}
@keyframes toast-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes toast-draw { from { stroke-dashoffset: 1; } }
@keyframes toast-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 52rem) {
  /* Top of the screen on phones, clear of the bottom navigation bar */
  .contact-toast { top: calc(4.25rem + env(safe-area-inset-top)); width: calc(100% - 1.5rem); }
  .contact-toast-card { gap: .75rem; padding: .95rem .85rem 1.1rem .95rem; }
  .contact-toast-icon { width: 2.3rem; height: 2.3rem; }
}
