:root {
  --bg: #06111f;
  --bg-2: #0b1d33;
  --surface: rgba(12, 30, 52, 0.78);
  --surface-strong: #102744;
  --text: #eef7ff;
  --muted: #a8b8cc;
  --border: rgba(117, 196, 255, 0.18);
  --accent: #2ea0f2;
  --accent-2: #5ed7ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

body.theme-light {
  --bg: #f7fbff;
  --bg-2: #e9f4ff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #06182a;
  --muted: #42556d;
  --border: rgba(18, 87, 142, 0.16);
  --shadow: 0 24px 72px rgba(24, 86, 145, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(46, 160, 242, 0.24), transparent 34rem),
    linear-gradient(145deg, var(--bg), var(--bg-2));
}
body.theme-light {
  background:
    radial-gradient(circle at 14% 6%, rgba(46, 160, 242, 0.2), transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(94, 215, 255, 0.18), transparent 28rem),
    linear-gradient(145deg, var(--bg), var(--bg-2));
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 72px);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.brand img, .footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.site-nav { display: flex; gap: 24px; color: var(--muted); font-weight: 650; }
.site-nav a:hover { color: var(--text); }
.site-actions { display: flex; align-items: center; gap: 10px; }
.language-switcher {
  display: flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.language-switcher a, .theme-toggle {
  min-width: 34px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.language-switcher a.active, .theme-toggle:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #00101d;
}
.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}
.menu-toggle, .license-link {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  color: var(--text);
  font-weight: 800;
}
.license-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-size: 13px;
}
.menu-toggle {
  display: none;
  width: 38px;
  height: 34px;
}

main { overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero, .product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(56px, 8vw, 118px) clamp(18px, 5vw, 92px) clamp(44px, 6vw, 82px);
}
.product-hero--image {
  position: relative;
  min-height: clamp(520px, 66vh, 760px);
  grid-template-columns: minmax(0, 760px);
  align-items: end;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(3, 10, 20, .92) 0%, rgba(3, 10, 20, .78) 44%, rgba(3, 10, 20, .34) 100%),
    linear-gradient(0deg, rgba(3, 10, 20, .86) 0%, rgba(3, 10, 20, .14) 45%, rgba(3, 10, 20, .62) 100%),
    var(--product-hero-image);
  background-size: cover;
  background-position: center;
}
.product-hero--image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 72%, rgba(46,160,242,.24), transparent 30rem),
    linear-gradient(180deg, transparent, var(--bg));
}
.product-hero-copy {
  max-width: 760px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: 24px;
  background: rgba(4, 14, 28, .64);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
}
body.theme-light .product-hero-copy {
  background: rgba(4, 14, 28, .74);
  color: #f4fbff;
}
body.theme-light .product-hero-copy p { color: #d7e7f8; }
.premium-hero {
  min-height: calc(100vh - 76px);
  padding-top: clamp(54px, 7vw, 90px);
  background:
    radial-gradient(circle at 72% 18%, rgba(46, 160, 242, .28), transparent 28rem),
    radial-gradient(circle at 44% 58%, rgba(94, 215, 255, .12), transparent 26rem);
}
.hero-mark {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-weight: 850;
  font-size: 14px;
}
.hero-mark span { color: var(--accent-2); }
.premium-hero h1 {
  max-width: 900px;
  font-size: clamp(46px, 6.4vw, 84px);
}
.premium-hero h1::after {
  content: "";
  display: block;
  width: min(420px, 70%);
  height: 6px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent);
}
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: var(--muted);
  font-weight: 700;
}
.hero-benefits span { white-space: nowrap; }
.screen-mockup {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}
.screen-frame {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 16 / 10;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  border-radius: 26px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.02)),
    #071424;
  box-shadow: 0 38px 110px rgba(0,0,0,.42), 0 0 80px rgba(46,160,242,.22);
}
.screen-frame::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -34px;
  height: 34px;
  border-radius: 0 0 42px 42px;
  background: linear-gradient(180deg, rgba(46,160,242,.36), rgba(3,10,19,.1));
  filter: blur(.2px);
  pointer-events: none;
}
.screen-toolbar {
  height: 24px;
  display: flex;
  gap: 7px;
  align-items: center;
  padding-left: 3px;
}
.screen-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--accent-2) 52%, var(--surface));
}
.screen-slides {
  position: relative;
  height: calc(100% - 24px);
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #08192c, #0f2845);
}
.screen-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.screen-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.screen-slide > img, .fallback-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.screen-slide > img.carousel-fallback-image {
  object-position: center;
}
.fallback-slide {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(46,160,242,.26), transparent 17rem),
    linear-gradient(135deg, #08192c, #0d2340);
}
.fallback-slide img { width: min(40%, 220px); }
.slide-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(3, 12, 24, .88);
  backdrop-filter: blur(14px);
  color: #f4fbff;
}
.slide-caption strong { color: #f4fbff; }
.slide-caption span { color: #c9d8e9; }
body.theme-light .slide-caption {
  border-color: rgba(94, 215, 255, .26);
  background: rgba(3, 12, 24, .9);
  color: #f4fbff;
}
body.theme-light .slide-caption strong { color: #f4fbff; }
body.theme-light .slide-caption span { color: #c9d8e9; }
.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  translate: 0 -50%;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: rgba(5, 17, 31, .82);
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
  pointer-events: auto;
}
.carousel-arrow.prev { left: 28px; }
.carousel-arrow.next { right: 28px; }
.carousel-dots {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: -56px;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: auto;
}
.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: color-mix(in srgb, var(--muted) 48%, transparent);
}
.carousel-dots button.active {
  width: 24px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.screen-mockup.is-static .carousel-arrow,
.screen-mockup.is-static .carousel-dots {
  display: none;
}
.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 92px) clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--border);
  box-shadow: var(--shadow);
}
.benefit-strip article {
  padding: 22px;
  background: var(--surface);
}
.ainitia-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--accent-2);
  background: rgba(46,160,242,.14);
}
.ainitia-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-strip .ainitia-icon { margin-bottom: 14px; }
.benefit-strip strong { display: block; margin-bottom: 6px; }
.benefit-strip p { margin: 0; color: var(--muted); line-height: 1.55; }
body.theme-light .ainitia-icon {
  color: #0879c8;
  background: linear-gradient(145deg, rgba(46, 160, 242, .14), rgba(94, 215, 255, .2));
  box-shadow: inset 0 0 0 1px rgba(30, 120, 190, .1);
}
.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.featured-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(46,160,242,.13), transparent), var(--surface);
  box-shadow: var(--shadow);
}
.software-box-wrap {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 286px;
  padding: 12px 0;
}

.software-box-scene {
  --box-front-w: 180px;
  --box-front-h: 260px;
  --box-depth: 55px;
  --box-scene-w: 240px;
  --box-scene-h: 315px;
  position: relative;
  width: var(--box-scene-w);
  height: var(--box-scene-h);
  perspective: 700px;
  overflow: visible;
  filter:
    drop-shadow(0 30px 44px rgba(0, 0, 0, .36))
    drop-shadow(0 0 34px color-mix(in srgb, var(--box-accent) 22%, transparent));
}
.software-box-scene--detail {
  --box-front-w: min(280px, 58vw);
  --box-front-h: min(404px, 84vw);
  --box-depth: min(84px, 18vw);
  --box-scene-w: min(378px, 90vw);
  --box-scene-h: min(476px, 104vw);
}
.software-box-scene--hero {
  --box-front-w: 220px;
  --box-front-h: 318px;
  --box-depth: 66px;
  --box-scene-w: 292px;
  --box-scene-h: 384px;
}
.software-box-3d {
  width: var(--box-front-w);
  height: var(--box-front-h);
  transform-style: preserve-3d;
  transform: rotateX(-7deg) rotateY(18deg);
  position: relative;
  transition: transform .25s ease, filter .25s ease;
}
.featured-card:hover .software-box-3d,
.product-hero:hover .software-box-3d {
  transform: rotateX(-7deg) rotateY(16deg) translateY(-5px);
}
.software-box-face {
  position: absolute;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--box-accent) 45%, rgba(255,255,255,.18));
  backface-visibility: hidden;
  background:
    radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--box-accent) 32%, transparent), transparent 46%),
    linear-gradient(160deg, #102e50, #061528 62%, #0b2c5e);
}
.software-box-front {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--box-front-w);
  height: var(--box-front-h);
  border-radius: 4px;
  background:
    radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--box-accent) 26%, transparent), transparent 44%),
    linear-gradient(160deg, #102e50, #061528 62%, #0b2c5e);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 18px 0 28px rgba(255,255,255,.035),
    inset -14px 0 22px rgba(0,0,0,.28);
}
.software-box-front::after {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.18), color-mix(in srgb, var(--box-accent) 52%, transparent), rgba(0,0,0,.28));
  z-index: 3;
}
.software-box-front > .software-box-cover-image,
.software-box-right > .software-box-spine-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.software-box-cover-image.is-empty,
.software-box-spine-image.is-empty {
  display: none;
}
.software-box-scene.has-cover .software-box-front-auto,
.software-box-scene.has-spine .software-box-spine-auto {
  display: none;
}
.software-box-right {
  position: absolute;
  left: calc(-1 * var(--box-depth));
  top: 0;
  width: var(--box-depth);
  height: var(--box-front-h);
  transform-origin: right center;
  transform: rotateY(-90deg);
  border-radius: 4px 0 0 4px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.36), transparent 42%),
    linear-gradient(160deg, color-mix(in srgb, var(--box-accent) 28%, #214566), #071321 74%);
  filter: brightness(.82) saturate(1.08);
  box-shadow:
    inset -14px 0 26px rgba(0,0,0,.34),
    inset 10px 0 20px rgba(255,255,255,.08);
}
.software-box-top {
  position: absolute;
  left: 0;
  top: calc(-1 * var(--box-depth));
  width: var(--box-front-w);
  height: var(--box-depth);
  transform-origin: bottom center;
  transform: rotateX(90deg);
  border-radius: 4px 4px 0 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--box-accent) 46%, #1b3857), #06111f 74%);
  opacity: .92;
  box-shadow: inset 0 -14px 22px rgba(0,0,0,.22);
}
.software-box-front-auto {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto;
  place-items: center;
  gap: 11px;
  padding: 20px 16px;
  color: #f4fbff;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 27%, color-mix(in srgb, var(--box-accent) 42%, transparent), transparent 78px),
    linear-gradient(160deg, #0e2a49, #061528 58%, #0b2f67);
}
.software-box-front-auto img { width: 82px; height: 82px; object-fit: contain; }
.software-box-front-auto strong { font-size: 18px; line-height: 1.15; }
.software-box-front-auto small { color: #7de5ff; font-weight: 800; }
.software-box-spine-auto {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: 42px 1fr;
  place-items: center;
  padding: 10px 0;
  color: #e8f8ff;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(160deg, color-mix(in srgb, var(--box-accent) 36%, #0b2646), #06111f 76%);
}
.software-box-spine-auto img { width: 28px; height: 28px; object-fit: contain; }
.software-box-spine-auto span {
  position: absolute;
  left: 50%;
  top: 50%;
  color: #dff5ff;
  font-weight: 900;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  font-size: 15px;
}
.software-box-gloss {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 36%, rgba(255,255,255,.13) 48%, transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.09), transparent 32%, rgba(0,0,0,.18));
  mix-blend-mode: screen;
}
.software-box-shadow-floor,
.software-box-shadow {
  position: absolute;
  left: 0;
  top: calc(var(--box-front-h) + 18px);
  width: var(--box-scene-w);
  height: 30px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, color-mix(in srgb, var(--box-accent) 26%, transparent), transparent 66%),
    radial-gradient(ellipse at center, rgba(0,0,0,.5), transparent 72%);
  filter: blur(4px);
  transform: rotate(-2deg);
}
.featured-copy h3 { margin-top: 0; font-size: 28px; }
.featured-copy p, .featured-copy li { color: var(--muted); line-height: 1.6; }
.featured-copy ul { padding-left: 18px; }
.premium-panels .feature-block { min-height: 300px; }
.section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}
.origin-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 0 clamp(18px, 5vw, 92px) 36px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.origin-strip div { display: grid; gap: 4px; }
.origin-strip span { color: var(--muted); }
.origin-strip a { color: var(--accent-2); font-weight: 900; }
.continuous-section {
  padding-top: clamp(18px, 3vw, 42px);
}
.continuous-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, rgba(94, 215, 255, .14), transparent 20rem),
    linear-gradient(145deg, rgba(46, 160, 242, .11), rgba(94, 215, 255, .04)),
    var(--surface);
  box-shadow: var(--shadow);
}
.continuous-card--home {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  padding: clamp(26px, 5vw, 54px);
}
.continuous-card--home h2 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}
.continuous-copy {
  grid-column: 2;
  display: grid;
  gap: 14px;
}
.continuous-copy p,
.continuous-card--support p,
.continuous-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}
.continuous-kicker {
  grid-column: 1 / -1;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.continuous-link {
  grid-column: 2;
  width: fit-content;
  color: var(--accent-2);
  font-weight: 900;
}
.continuous-card--support {
  margin: 28px 0;
  padding: clamp(22px, 4vw, 34px);
}
.continuous-card--support h2 {
  margin: 6px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}
.continuous-note {
  background:
    linear-gradient(145deg, rgba(46, 160, 242, .16), rgba(94, 215, 255, .05)),
    var(--surface);
}
.origin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  padding-top: clamp(14px, 2vw, 24px);
}
.origin-hero {
  padding-bottom: clamp(8px, 2vw, 18px);
}
.origin-copy {
  max-width: 840px;
}
.origin-copy p {
  margin-top: 0;
  line-height: 1.78;
}
.origin-note {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 12%, rgba(46, 160, 242, .16), transparent 9rem),
    var(--surface);
}
.origin-note img { width: 86px; margin-bottom: 18px; }
.origin-note p { color: var(--muted); line-height: 1.65; }
.hero h1, .product-hero h1, .page-hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}
.hero p, .product-hero p, .page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}
.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 800;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  position: relative;
  z-index: 1;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #00111f;
  border-color: transparent;
}
.btn.secondary { background: color-mix(in srgb, var(--surface-strong) 78%, var(--accent) 22%); }
.btn.disabled {
  cursor: default;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: none;
}
.btn.disabled:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}
.btn.small { min-height: 40px; padding: 0 15px; border-radius: 11px; font-size: 14px; }
.hero-panel, .product-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(46, 160, 242, 0.16), rgba(94, 215, 255, 0.06)),
    var(--surface);
  box-shadow: var(--shadow);
}
.hero-logo { width: min(68%, 360px); filter: drop-shadow(0 28px 60px rgba(46, 160, 242, 0.24)); }
.hero-panel div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
}
.hero-panel strong { color: var(--text); }
.page-hero.compact {
  padding: clamp(48px, 8vw, 90px) clamp(18px, 5vw, 92px) 32px;
}
.page-hero.compact h1 { font-size: clamp(38px, 6vw, 72px); }
.content-section, .section-grid, .detail-layout {
  padding: clamp(28px, 5vw, 72px) clamp(18px, 5vw, 92px);
}
section.content-section.origin-layout {
  padding-top: clamp(8px, 1.5vw, 20px);
}
section.page-hero.compact.origin-hero {
  padding-bottom: clamp(8px, 1.5vw, 18px);
}
.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.feature-block, .product-card, .info-panel, .download-row, details, .support-grid article {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.16);
}
.feature-block { padding: clamp(24px, 4vw, 42px); }
.feature-block h2, .section-heading h2, .detail-main h2 { margin-top: 0; font-size: clamp(26px, 3vw, 40px); }
.feature-block p, .product-card p, .detail-main p, .info-panel p, .download-row p, .prose p { color: var(--muted); line-height: 1.7; }
.feature-block.accent { background: linear-gradient(145deg, rgba(46, 160, 242, 0.25), var(--surface)); }
.feature-block a, .section-heading a, .info-panel a { color: var(--accent-2); font-weight: 800; }
.prose-page {
  display: grid;
  justify-items: center;
}
.prose-content {
  width: min(100%, 900px);
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
}
.prose-content--compact {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: inherit;
  line-height: 1.72;
}
.prose-content p {
  margin: 0 0 1.05em;
  color: var(--muted);
}
.prose-content h2,
.prose-content h3 {
  margin: 1.8em 0 .65em;
  color: var(--text);
  line-height: 1.22;
}
.prose-content h2:first-child,
.prose-content h3:first-child,
.prose-content p:first-child {
  margin-top: 0;
}
.prose-content h2 {
  font-size: clamp(22px, 2vw, 30px);
}
.prose-content h3 {
  font-size: clamp(18px, 1.5vw, 22px);
}
.prose-content ul {
  display: grid;
  gap: .45em;
  margin: .75em 0 1.3em;
  padding-left: 1.35rem;
}
.prose-content li {
  padding-left: .2rem;
  color: var(--muted);
}
.prose-content a {
  color: var(--accent-2);
  font-weight: 800;
  text-decoration: none;
}
.prose-content a:hover {
  text-decoration: underline;
}
.faq-card .prose-content {
  margin-top: 12px;
}
.support-page > .prose-content {
  max-width: 920px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}
.product-card.large { min-height: 360px; }
.product-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}
.product-card h2, .product-card h3 { margin: 0; font-size: 24px; }
.card-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
}
.card-meta strong { color: var(--text); }
.plan-summary {
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.product-visual > img { width: min(76%, 430px); max-height: 390px; object-fit: contain; }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}
.detail-main, .detail-side { min-width: 0; }
.detail-side { display: grid; gap: 16px; align-content: start; }
.info-panel { padding: 20px; }
.info-panel span { display: block; color: var(--muted); margin-bottom: 8px; }
.info-panel strong { font-size: 28px; }
.faq-page { display: grid; gap: 26px; }
.faq-group-list { display: grid; gap: 22px; }
.faq-group {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(46,160,242,.12), transparent 20rem),
    color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 22px 70px rgba(0,0,0,.18);
}
.faq-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.faq-group-heading span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.faq-group-heading h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); }
.faq-list { display: grid; gap: 12px; }
details {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
summary { cursor: pointer; font-weight: 800; }
details p { color: var(--muted); line-height: 1.7; }
.faq-card[open] {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  background: rgba(46,160,242,.08);
}
.empty-state { padding: 24px; }
.empty-state h2 { margin-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; border: 1px solid var(--border); }
.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  cursor: zoom-in;
}
.gallery-thumb img {
  display: block;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gallery-thumb:hover img {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  box-shadow: 0 20px 56px rgba(0,0,0,.28);
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(0, 7, 16, .86);
  backdrop-filter: blur(10px);
}
.image-lightbox[hidden] { display: none; }
.image-lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  border: 1px solid rgba(94,215,255,.28);
  border-radius: 18px;
  box-shadow: 0 34px 120px rgba(0,0,0,.58);
  background: #04101e;
}
.image-lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 99px;
  background: rgba(4,14,28,.86);
  color: #f4fbff;
  font-size: 28px;
  cursor: pointer;
}
body.lightbox-open { overflow: hidden; }
.download-list { display: grid; gap: 14px; }
.download-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 20px; }
.download-row h2 { margin: 0; }
.download-row > div:last-child { display: grid; gap: 8px; justify-items: end; color: var(--muted); }
.pending { color: var(--accent-2); font-weight: 800; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.support-grid article { padding: 20px; }
.support-page {
  position: relative;
}
.support-intro {
  max-width: 850px;
}
.support-card {
  position: relative;
  overflow: hidden;
  padding: 26px !important;
  min-height: 230px;
}
.support-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(94, 215, 255, .16), transparent 14rem),
    linear-gradient(145deg, rgba(46, 160, 242, .08), transparent);
  pointer-events: none;
}
.support-card .ainitia-icon,
.support-card h2,
.support-card p {
  position: relative;
}
.support-card .ainitia-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
}
.support-card .ainitia-icon svg {
  width: 31px;
  height: 31px;
}
.support-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}
.support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.support-contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.support-contact-panel p {
  margin: 0;
}
body.theme-light .support-card,
body.theme-light .support-contact-panel,
body.theme-light .continuous-card,
body.theme-light .continuous-note,
body.theme-light .benefit-strip article,
body.theme-light .featured-card,
body.theme-light .feature-block,
body.theme-light .info-panel,
body.theme-light .download-row,
body.theme-light details {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 52px rgba(24, 86, 145, .12);
}
.preline { white-space: pre-line; }
.intro-text { color: var(--muted); }
.contact-email a { font-size: clamp(24px, 4vw, 40px); color: var(--accent-2); font-weight: 900; }
.empty { color: var(--muted); }
.error-stack { overflow: auto; padding: 18px; border-radius: 16px; background: #040b14; color: #d7eaff; }
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 42px clamp(18px, 5vw, 92px);
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; align-content: start; }
.site-footer strong, .site-footer a:hover { color: var(--text); }

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 70px;
    display: none;
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }
  .nav-open .site-nav { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
  .license-link { display: none; }
  .hero, .product-hero, .detail-layout, .section-grid, .site-footer { grid-template-columns: 1fr; }
  .product-grid, .gallery-grid, .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-panel, .product-visual { min-height: 320px; }
  .screen-mockup { min-height: 420px; }
  .benefit-strip, .premium-grid, .origin-layout { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 640px) {
  .site-header { align-items: flex-start; }
  .brand span { display: none; }
  .product-grid, .gallery-grid, .support-grid { grid-template-columns: 1fr; }
  .download-row { grid-template-columns: 1fr; }
  .download-row > div:last-child { justify-items: start; }
  .hero h1, .product-hero h1, .page-hero h1 { font-size: 42px; }
  .site-actions { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  .premium-hero { min-height: 0; padding-top: 40px; }
  .screen-mockup { min-height: 330px; }
  .screen-frame { padding: 12px; border-radius: 20px; }
  .slide-caption { left: 10px; right: 10px; bottom: 10px; flex-direction: column; gap: 4px; }
  .carousel-arrow { display: none; }
  .benefit-strip { margin-inline: 18px; grid-template-columns: 1fr; }
  .support-contact-panel { align-items: flex-start; flex-direction: column; }
  .continuous-card--home {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .continuous-card--home h2,
  .continuous-copy,
  .continuous-link {
    grid-column: 1;
  }
  .origin-strip { align-items: flex-start; flex-direction: column; }
  .software-box-scene {
    --box-front-w: 165px;
    --box-front-h: 220px;
    --box-depth: 56px;
    width: calc(var(--box-front-w) + var(--box-depth) + 44px);
  }
  .software-box-scene--detail {
    --box-front-w: min(240px, 62vw);
    --box-front-h: min(320px, 83vw);
    --box-depth: min(72px, 20vw);
    width: min(390px, 94vw);
    height: min(430px, 112vw);
  }
}
