:root {
  color-scheme: dark;
  --bg: #030a11;
  --bg-deep: #01060b;
  --surface: #091725;
  --surface-2: #0d2032;
  --surface-3: #12283d;
  --line: #1c3a54;
  --line-strong: #2d5f89;
  --blue: #2998ff;
  --blue-deep: #1269e8;
  --blue-soft: #a9d4ff;
  --green: #31c967;
  --orange: #ff9418;
  --red: #ff3349;
  --text: #f4f7fc;
  --muted: #a6b6ca;
  --subtle: #788da6;
  --shadow: 0 32px 90px rgba(0, 0, 0, .48);
  --radius: 22px;
  --wrap: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 0, rgba(27, 101, 164, .14), transparent 32rem),
    linear-gradient(180deg, #06111c 0, var(--bg) 32rem, var(--bg-deep) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.manual-body { background: #030a11; }

img {
  max-width: 100%;
  height: auto;
}

a { color: inherit; }

button,
input,
select { font: inherit; }

:focus-visible {
  outline: 3px solid #8ac8ff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #00101d;
  background: white;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.wrap {
  width: min(var(--wrap), calc(100% - 44px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(84, 130, 171, .2);
  background: rgba(3, 10, 17, .82);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.brand-live { color: var(--blue); }
.brand-file { color: #65d7b0; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.desktop-nav a,
.mobile-links a {
  color: var(--muted);
  font-size: .93rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a:hover,
.mobile-links a:hover,
.desktop-nav a[aria-current="page"],
.mobile-links a[aria-current="page"] { color: white; }

.nav-cta {
  padding: 9px 14px;
  border: 1px solid #287fc8;
  border-radius: 10px;
  color: #d9ecff !important;
  background: rgba(24, 119, 210, .13);
}

.mobile-menu { display: none; }

.mobile-menu summary {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: white;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker { display: none; }

.mobile-links {
  position: absolute;
  top: 62px;
  right: 22px;
  display: grid;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #091725;
  box-shadow: var(--shadow);
}

.mobile-links a { padding: 11px 12px; border-radius: 8px; }
.mobile-links a:hover { background: rgba(255, 255, 255, .05); }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-row-spaced {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: #e5f2ff;
  background: rgba(255, 255, 255, .035);
  font-weight: 750;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.button:hover {
  border-color: #4aa7f7;
  background: rgba(42, 150, 255, .1);
  transform: translateY(-2px);
}

.button.primary {
  border-color: #43a8ff;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 15px 42px rgba(18, 105, 232, .34);
}

.eyebrow,
.kicker,
.version-badge {
  color: var(--blue-soft);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(67, 168, 255, .45);
  border-radius: 99px;
  background: rgba(34, 133, 224, .1);
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(49, 201, 103, .9);
  content: "";
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 58px;
}

.product-hero::before {
  position: absolute;
  width: 48rem;
  height: 48rem;
  top: -22rem;
  right: -8rem;
  border-radius: 50%;
  background: rgba(31, 117, 190, .18);
  filter: blur(80px);
  content: "";
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(520px, 1.48fr);
  align-items: center;
  gap: 54px;
}

.hero-copy h1 {
  margin: 22px 0 22px;
  font-size: clamp(3.4rem, 6.5vw, 6.8rem);
  letter-spacing: -.068em;
  line-height: .92;
}

.hero-copy h1 span { color: var(--blue); }

.hero-copy .lead {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.62;
}

.hero-note {
  margin-top: 19px;
  color: var(--subtle);
  font-size: .88rem;
}

.media-frame {
  position: relative;
  margin: 0;
  padding: 7px;
  border: 1px solid #284a67;
  border-radius: 20px;
  background: #0d1924;
  box-shadow: var(--shadow);
}

.media-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
  content: "";
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.hero-media { transform: none; }

.value-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 45px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 24, 38, .88);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
}

.value-item { padding: 22px 24px; }
.value-item + .value-item { border-left: 1px solid var(--line); }
.value-item strong { display: block; margin-bottom: 5px; font-size: 1rem; }
.value-item span { color: var(--muted); font-size: .88rem; line-height: 1.5; }

.section { padding: 102px 0; }
.section.compact { padding: 76px 0; }
.section.tinted { border-block: 1px solid rgba(71, 113, 150, .2); background: #06111b; }

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading.center { margin-inline: auto; text-align: center; }

.section-heading h2,
.story-copy h2,
.cta-panel h2,
.manual-hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.15rem, 4.7vw, 4rem);
  letter-spacing: -.052em;
  line-height: 1.03;
}

.section-heading p,
.story-copy > p,
.cta-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.feature-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(17, 40, 61, .92), rgba(7, 20, 32, .92));
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: rgba(41, 152, 255, .12);
  font-size: 1.25rem;
  font-weight: 800;
}

.feature-card h3 { margin: 0 0 9px; font-size: 1.16rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.64; }

.story-list { display: grid; gap: 100px; }

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, .78fr);
  align-items: center;
  gap: 66px;
}

.story.reverse { grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); }
.story.reverse .story-media { order: 2; }
.story.reverse .story-copy { order: 1; }

.story-copy ul,
.manual-content ul,
.manual-content ol {
  padding-left: 1.25rem;
}

.story-copy li { margin-top: 11px; color: var(--muted); }

.story-fact {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  margin-top: 22px;
  color: #c6def7;
}

.story-fact span:first-child { color: var(--green); font-weight: 900; }

.device-showcase {
  position: relative;
  min-height: 590px;
}

.device-showcase.single-device { min-height: 0; }

.device-showcase .tablet { width: 86%; margin: 0; }
.device-showcase .phone {
  position: absolute;
  right: 0;
  bottom: -28px;
  width: 27%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .55);
}

.security-note,
.notice,
.tip,
.warning {
  padding: 16px 18px;
  border: 1px solid #275b86;
  border-radius: 13px;
  color: #cfe8ff;
  background: rgba(20, 111, 191, .11);
  line-height: 1.6;
}

.security-note { margin-top: 28px; }
.warning { border-color: #8b6526; color: #ffe3af; background: rgba(181, 112, 12, .11); }
.tip { border-color: #237547; color: #c9f6d6; background: rgba(36, 164, 83, .1); }
.notice strong,
.tip strong,
.warning strong,
.security-note strong { color: white; }

.screenshot-tabs { display: grid; min-width: 0; gap: 54px; }
.gallery-group { min-width: 0; }
.gallery-group h3 { margin: 0 0 18px; font-size: 1.35rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.shot {
  margin: 0;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #091521;
}

.shot img { display: block; width: 100%; height: auto; border-radius: 11px; }
.shot figcaption { padding: 11px 9px 7px; color: var(--muted); font-size: .86rem; line-height: 1.48; }

.phone-gallery {
  display: grid;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.phone-gallery .shot { border-radius: 28px; }
.phone-gallery .shot img { border-radius: 22px; }

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: product-step;
}

.step-card {
  position: relative;
  padding: 4px 0 0 56px;
  counter-increment: product-step;
}

.step-card::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue-deep);
  content: counter(product-step);
  font-weight: 850;
}

.step-card h3 { margin: 0 0 8px; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.requirements-panel,
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .68fr);
  align-items: center;
  gap: 55px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(125deg, #10263a, #091522 76%);
}

.requirements-list { display: grid; gap: 14px; }

.requirement {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: #d6e2ef;
}

.requirement span:first-child { color: var(--green); font-weight: 900; }

.cta-panel { grid-template-columns: minmax(0, 1fr) auto; }
.cta-panel .button-row { justify-content: flex-end; }

.site-footer {
  padding: 38px 0 48px;
  border-top: 1px solid rgba(71, 113, 150, .2);
  color: var(--subtle);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-origin {
  color: var(--muted);
  font-size: .88rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: white; }

/* Manual */
.manual-hero {
  padding: 62px 0 50px;
  border-bottom: 1px solid rgba(71, 113, 150, .2);
  background: radial-gradient(circle at 80% 20%, rgba(28, 119, 195, .18), transparent 30rem);
}

.manual-hero .breadcrumb { margin-bottom: 20px; color: var(--subtle); font-size: .9rem; }
.manual-hero .breadcrumb a { color: var(--blue-soft); text-decoration: none; }
.manual-hero h1 { max-width: 850px; }
.manual-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.12rem; line-height: 1.68; }
.version-badge { display: inline-block; margin-top: 21px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; }

.manual-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 850px);
  justify-content: center;
  gap: 58px;
  padding-block: 58px 90px;
}

.manual-sidebar { align-self: start; }

.manual-nav {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 3px;
}

.manual-nav strong {
  margin-bottom: 10px;
  color: white;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.manual-nav a {
  padding: 9px 11px;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  font-size: .92rem;
  text-decoration: none;
}

.manual-nav a:hover { color: white; background: rgba(255, 255, 255, .035); }
.manual-nav a[aria-current="page"] { border-left-color: var(--blue); color: white; background: rgba(41, 152, 255, .09); }

.file-manual .manual-nav a[aria-current="page"] {
  border-left-color: #45a88a;
  background: rgba(69, 168, 138, .1);
}

.file-manual .manual-card:hover {
  border-color: #45a88a;
  background: rgba(14, 48, 50, .72);
}

.file-manual .procedure li::before {
  background: #238c75;
}

.file-manual .version-badge {
  border-color: rgba(69, 168, 138, .45);
}

.manual-content { min-width: 0; }
.manual-content > :first-child { margin-top: 0; }

.manual-content h2 {
  margin: 54px 0 16px;
  padding-top: 12px;
  color: white;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -.035em;
  line-height: 1.16;
}

.manual-content h3 { margin: 34px 0 12px; color: #eaf3ff; font-size: 1.25rem; }
.manual-content p { color: #bac8d8; line-height: 1.72; }
.manual-content li { margin: 8px 0; color: #bac8d8; line-height: 1.65; }
.manual-content strong { color: white; }
.manual-content code { padding: .12em .38em; border: 1px solid #26435d; border-radius: 5px; color: #cfe7ff; background: #091827; }

.manual-content pre {
  margin: 24px 0;
  padding: 18px 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #d8ecff;
  background: #06131f;
  line-height: 1.62;
}

.manual-content pre code {
  padding: 0;
  border: 0;
  background: transparent;
}

.manual-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-block: 28px;
}

.manual-card {
  display: block;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #081725;
  text-decoration: none;
}

.manual-card:hover { border-color: #3b86c3; background: #0b1d2d; }
.manual-card strong { display: block; margin-bottom: 7px; color: white; }
.manual-card span { color: var(--muted); font-size: .91rem; line-height: 1.5; }

.signal-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.signal-node {
  position: relative;
  display: grid;
  min-height: 94px;
  padding: 15px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #dcecff;
  background: #0a1a29;
  text-align: center;
  font-weight: 700;
}

.signal-node:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  right: -18px;
  color: var(--blue);
  content: "→";
  font-size: 1.3rem;
}

.procedure {
  margin: 28px 0;
  padding: 0;
  counter-reset: manual-step;
  list-style: none;
}

.procedure li {
  position: relative;
  min-height: 48px;
  margin: 0 0 16px;
  padding: 5px 0 0 54px;
  counter-increment: manual-step;
}

.procedure li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #1668e8;
  content: counter(manual-step);
  font-weight: 850;
}

.table-scroll { margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }

table {
  width: 100%;
  border-collapse: collapse;
  color: #c3d0de;
  font-size: .92rem;
}

th,
td { padding: 13px 15px; border-bottom: 1px solid rgba(54, 88, 117, .48); text-align: left; vertical-align: top; }
th { color: white; background: #0d2031; font-size: .82rem; letter-spacing: .035em; }
tr:last-child td { border-bottom: 0; }
td:not(:first-child), th:not(:first-child) { text-align: right; }

.manual-shot {
  margin: 30px 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #081521;
}

.manual-shot img { display: block; width: 100%; height: auto; border-radius: 11px; }
.manual-shot figcaption { padding: 11px 10px 7px; color: var(--subtle); font-size: .86rem; }

.manual-shot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin-block: 30px;
}

.manual-shot-pair .manual-shot { margin: 0; }
.manual-shot-pair.phone { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }

.detail-list {
  display: grid;
  grid-template-columns: minmax(150px, .36fr) minmax(0, 1fr);
  margin: 25px 0;
  border-top: 1px solid var(--line);
}

.detail-list dt,
.detail-list dd { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { padding-right: 18px; color: white; font-weight: 750; }
.detail-list dd { color: var(--muted); line-height: 1.65; }

.page-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.page-nav a {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
}

.page-nav a:last-child { text-align: right; }
.page-nav a:hover { border-color: #3b86c3; color: white; }

.home-landing {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 0;
}

.home-card { max-width: 860px; text-align: center; }
.home-card > img { width: 88px; height: 88px; border-radius: 23px; box-shadow: var(--shadow); }
.home-card h1 { margin: 23px 0 12px; font-size: clamp(3.4rem, 9vw, 6.8rem); letter-spacing: -.07em; line-height: .95; }
.home-card > p { max-width: 650px; margin: 0 auto 30px; color: var(--muted); font-size: 1.18rem; line-height: 1.65; }
.home-card .button-row { justify-content: center; }

/* Product home */
.home-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0, rgba(31, 117, 190, .2), transparent 32rem),
    radial-gradient(circle at 84% 18%, rgba(45, 163, 125, .14), transparent 32rem),
    linear-gradient(180deg, #06111c 0, var(--bg) 34rem, var(--bg-deep) 100%);
}

.home-hub {
  min-height: calc(100vh - 138px);
  padding-block: 84px 76px;
}

.home-intro {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.home-intro h1 {
  margin: 10px 0 16px;
  font-size: clamp(4.2rem, 11vw, 8rem);
  letter-spacing: -.075em;
  line-height: .9;
}

.home-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.home-product-grid {
  display: grid;
  max-width: 980px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.home-product-card {
  display: flex;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(17, 40, 61, .94), rgba(6, 17, 28, .96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
  flex-direction: column;
}

.home-product-card.file-card-accent {
  border-color: rgba(69, 168, 138, .45);
  background: linear-gradient(145deg, rgba(14, 48, 50, .94), rgba(6, 20, 28, .96));
}

.home-product-heading {
  display: flex;
  align-items: center;
  gap: 17px;
}

.home-product-heading img {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  box-shadow: 0 13px 36px rgba(0, 0, 0, .4);
}

.home-product-mode {
  margin-bottom: 3px;
  color: var(--subtle);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-product-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: -.045em;
}

.home-product-card > p {
  margin: 24px 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-product-media {
  margin: 0 0 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #06101a;
}

.home-product-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.44;
  object-fit: cover;
}

.file-home-media img {
  object-position: center top;
}

.home-product-card .button-row { margin-top: auto; }

.about-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 5%, rgba(31, 117, 190, .18), transparent 31rem),
    radial-gradient(circle at 88% 25%, rgba(69, 168, 138, .13), transparent 34rem),
    var(--bg-deep);
}

.about-hero {
  padding: 104px 0 88px;
  border-bottom: 1px solid rgba(71, 113, 150, .22);
}

.about-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: 80px;
}

.about-hero h1 {
  max-width: 850px;
  margin: 16px 0 24px;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  letter-spacing: -.065em;
  line-height: .94;
}

.about-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.68;
}

.about-mark {
  position: relative;
  width: 292px;
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid rgba(84, 168, 216, .28);
  border-radius: 68px;
  background: linear-gradient(145deg, rgba(18, 45, 64, .82), rgba(4, 13, 21, .96));
  box-shadow:
    0 34px 100px rgba(0, 0, 0, .5),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.about-mark::after {
  position: absolute;
  content: "";
}

.about-mark::after {
  right: 12%;
  bottom: -19px;
  left: 12%;
  z-index: -1;
  height: 45px;
  border-radius: 50%;
  background: rgba(69, 168, 138, .24);
  filter: blur(24px);
}

.about-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 59px;
  object-fit: cover;
}

.about-mark span {
  position: absolute;
  bottom: -35px;
  left: 50%;
  z-index: 2;
  color: #cfe7ff;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: 80px;
}

.about-story h2 {
  margin: 12px 0 0;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  letter-spacing: -.055em;
  line-height: 1.02;
}

.about-story-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.76;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-values article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(17, 40, 61, .88), rgba(6, 17, 28, .94));
}

.about-values span {
  display: block;
  margin-bottom: 34px;
  color: #65d7b0;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.about-values h3 { margin: 0 0 10px; font-size: 1.3rem; }
.about-values p { margin: 0; color: var(--muted); line-height: 1.67; }

.about-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.about-products a {
  display: grid;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: white;
  background: linear-gradient(145deg, rgba(17, 40, 61, .92), rgba(6, 17, 28, .96));
  text-decoration: none;
}

.about-products a:hover { border-color: #45a88a; transform: translateY(-2px); }
.about-products span { color: var(--subtle); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.about-products strong { margin: 22px 0 10px; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.05em; }
.about-products strong i { font-style: normal; }
.about-products p { margin: 0; color: var(--muted); line-height: 1.65; }
.about-products b { align-self: end; margin-top: 28px; color: #cfe7ff; font-size: .92rem; }

.contact-section { border-top: 1px solid rgba(71, 113, 150, .2); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 75px;
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-copy h2 {
  margin: 13px 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  letter-spacing: -.055em;
  line-height: 1;
}

.contact-copy > p { color: var(--muted); font-size: 1.08rem; line-height: 1.72; }

.contact-form {
  display: grid;
  gap: 19px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 20, 32, .92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.contact-field {
  display: grid;
  gap: 8px;
  color: #dce9f6;
  font-size: .86rem;
  font-weight: 750;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #31516d;
  border-radius: 10px;
  color: white;
  background: #0a1b2a;
  font: inherit;
  font-weight: 500;
  outline: none;
}

.contact-field textarea {
  min-height: 190px;
  resize: vertical;
  line-height: 1.55;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #65d7b0;
  box-shadow: 0 0 0 3px rgba(69, 168, 138, .18);
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.contact-submit p {
  max-width: 470px;
  margin: 0;
  color: var(--subtle);
  font-size: .8rem;
  line-height: 1.55;
}

.contact-submit button { flex: 0 0 auto; cursor: pointer; }

.contact-result {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding-block: 50px;
}

.contact-result-card {
  max-width: 720px;
  padding: 55px;
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(145deg, rgba(17, 40, 61, .94), rgba(6, 17, 28, .97));
  box-shadow: 0 30px 100px rgba(0, 0, 0, .4);
}

.contact-result-card h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: -.055em;
  line-height: 1;
}

.contact-result-card p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.contact-result-card .button-row { justify-content: center; }

.contact-result-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
}

.contact-result-icon.success { background: #238c75; }
.contact-result-icon.error { background: #b64a4a; }

.home-file-visual {
  display: grid;
  min-height: 255px;
  margin-bottom: 26px;
  padding: 28px;
  place-items: center;
  border: 1px solid rgba(69, 168, 138, .3);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 25%, rgba(81, 204, 164, .18), transparent 13rem),
    #06171a;
}

.home-file-visual > img {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .46);
}

.home-file-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.home-file-chain span {
  padding: 7px 10px;
  border: 1px solid rgba(101, 215, 176, .3);
  border-radius: 999px;
  color: #c9f6e8;
  background: rgba(75, 180, 146, .08);
  font-size: .74rem;
  font-weight: 760;
}

.file-button {
  border-color: #5ad7ad !important;
  background: linear-gradient(135deg, #2fb889, #167fab) !important;
  box-shadow: 0 15px 42px rgba(31, 149, 133, .28) !important;
}

/* VinylRest File */
.file-product {
  --blue: #42c89b;
  --blue-deep: #1689a6;
  --blue-soft: #b8f3df;
  --line-strong: #337f78;
}

.file-preview-frame {
  display: grid;
  min-height: 520px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(58, 196, 151, .2), transparent 18rem),
    linear-gradient(145deg, #0c2c30, #07131e 72%);
}

.file-preview-placeholder {
  display: grid;
  max-width: 520px;
  padding: 45px;
  place-items: center;
  text-align: center;
}

.file-preview-placeholder img {
  width: 190px;
  height: 190px;
  margin-bottom: 24px;
  border-radius: 38px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .5);
}

.file-preview-placeholder strong {
  font-size: 1.45rem;
  letter-spacing: -.025em;
}

.file-preview-placeholder span {
  margin-top: 10px;
  color: var(--muted);
  font-size: .9rem;
}

.file-workflow-visual {
  padding: 28px;
  background:
    radial-gradient(circle at 30% 20%, rgba(58, 196, 151, .13), transparent 17rem),
    #06151f;
}

.file-chain-diagram {
  display: grid;
  gap: 10px;
}

.file-chain-diagram > div {
  position: relative;
  display: grid;
  min-height: 78px;
  padding: 15px 20px 15px 68px;
  align-content: center;
  border: 1px solid #275262;
  border-radius: 13px;
  background: rgba(10, 35, 44, .88);
}

.file-chain-diagram > div:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  bottom: -20px;
  left: 31px;
  color: #5ad7ad;
  content: "↓";
  font-size: 1.2rem;
}

.file-chain-diagram span {
  position: absolute;
  left: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #04130f;
  background: #5ad7ad;
  font-weight: 900;
}

.file-chain-diagram strong { color: white; }
.file-chain-diagram small { margin-top: 3px; color: var(--muted); }

.file-batch-visual {
  padding: 22px;
  border: 1px solid #28515f;
  border-radius: 20px;
  background: linear-gradient(145deg, #0c2933, #07131e);
  box-shadow: var(--shadow);
}

.batch-window {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 15px;
  background: #091521;
}

.batch-title,
.batch-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.batch-title {
  padding-bottom: 18px;
  color: white;
  font-weight: 800;
}

.batch-title span:last-child { color: var(--muted); font-size: .86rem; font-weight: 650; }

.batch-row {
  margin-top: 9px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #dce8f3;
  background: rgba(255, 255, 255, .02);
  font-size: .88rem;
}

.batch-row strong { color: var(--muted); font-weight: 700; }
.batch-row.active { border-color: #3ca78a; background: rgba(50, 176, 137, .08); }
.batch-row.active strong { color: #9ae4cb; }

.batch-progress {
  height: 7px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 99px;
  background: #17303b;
}

.batch-progress i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2fb889, #37aee0); }

.format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.format-grid article {
  display: grid;
  gap: 7px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(16, 42, 51, .92), rgba(7, 20, 32, .92));
}

.format-grid strong { color: white; font-size: 1.08rem; }
.format-grid span { color: var(--muted); line-height: 1.55; }

/* Screenshot zoom */
body.lightbox-open { overflow: hidden; }

.zoomable-image {
  cursor: zoom-in;
}

.zoomable-image:focus-visible {
  outline: 3px solid #8ac8ff;
  outline-offset: 4px;
}

.image-lightbox[hidden] { display: none; }

.image-lightbox {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(0, 5, 10, .94);
}

.image-lightbox-panel {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 1800px;
  max-height: calc(100vh - 40px);
  place-items: center;
}

.image-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 112px);
  border: 1px solid #315b7e;
  border-radius: 16px;
  background: #07131e;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .72);
  object-fit: contain;
}

.image-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #4b789d;
  border-radius: 11px;
  color: white;
  background: rgba(3, 10, 17, .9);
  cursor: pointer;
  font-weight: 760;
}

.image-lightbox-close:hover { background: #102b42; }

.image-lightbox-caption {
  max-width: min(900px, 90vw);
  margin: 13px 0 0;
  color: #c2d2e2;
  font-size: .9rem;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 1040px) {
  .home-product-grid { grid-template-columns: 1fr; }
  .home-product-card > p { min-height: 0; }
  .about-hero-layout { grid-template-columns: 1fr; gap: 52px; }
  .about-mark {
    width: 220px;
    border-radius: 54px;
    justify-self: center;
  }
  .about-mark img { border-radius: 46px; }
  .about-story, .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .contact-copy { position: static; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; text-align: center; margin-inline: auto; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .button-row { justify-content: center; }
  .hero-media { transform: none; }
  .value-strip { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .value-item:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .story, .story.reverse { grid-template-columns: 1fr; gap: 40px; }
  .story.reverse .story-media, .story.reverse .story-copy { order: initial; }
  .story-copy { max-width: 780px; }
  .device-showcase { width: min(100%, 900px); }
  .manual-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 38px; }
}

@media (max-width: 800px) {
  .desktop-nav { display: none; }
  .mobile-menu { position: relative; display: block; }
  .product-hero { padding-top: 58px; }
  .section { padding: 78px 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-gallery { grid-template-columns: repeat(3, minmax(210px, 1fr)); overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
  .phone-gallery .shot { scroll-snap-align: center; }
  .step-grid { grid-template-columns: 1fr; gap: 30px; }
  .requirements-panel, .cta-panel { grid-template-columns: 1fr; padding: 32px; }
  .cta-panel .button-row { justify-content: flex-start; }
  .manual-layout { display: block; padding-top: 30px; }
  .manual-sidebar { margin-bottom: 38px; }
  .manual-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manual-nav strong { grid-column: 1 / -1; }
  .manual-nav a { border-left: 0; border-bottom: 2px solid transparent; border-radius: 8px; }
  .manual-nav a[aria-current="page"] { border-bottom-color: var(--blue); }
  .file-manual .manual-nav a[aria-current="page"] {
    border-left-color: transparent;
    border-bottom-color: #45a88a;
  }
  .about-values, .about-products { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .wrap { width: min(var(--wrap), calc(100% - 26px)); }
  .nav-shell { min-height: 64px; }
  .brand img { width: 37px; height: 37px; }
  .hero-copy h1 { font-size: clamp(3rem, 18vw, 4.8rem); }
  .value-strip { grid-template-columns: 1fr; }
  .value-item + .value-item { border-top: 1px solid var(--line); border-left: 0; }
  .feature-grid, .gallery-grid, .gallery-grid.three { grid-template-columns: 1fr; }
  .device-showcase { min-height: 480px; }
  .device-showcase .tablet { width: 100%; }
  .device-showcase .phone { width: 34%; bottom: 0; }
  .requirements-panel, .cta-panel { padding: 25px; }
  .home-hub { padding-block: 58px; }
  .home-product-card { padding: 21px; }
  .about-hero { padding: 65px 0 55px; }
  .about-hero-layout { gap: 42px; }
  .about-hero h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .about-mark { width: 172px; border-radius: 44px; }
  .about-mark img { border-radius: 37px; }
  .about-values article, .about-products a { padding: 24px; }
  .contact-form { padding: 23px; }
  .contact-field-grid { grid-template-columns: 1fr; }
  .contact-submit { align-items: stretch; flex-direction: column; }
  .contact-submit .button { width: 100%; }
  .contact-result-card { padding: 35px 24px; }
  .home-product-heading img { width: 58px; height: 58px; border-radius: 15px; }
  .home-file-chain { flex-wrap: wrap; }
  .file-preview-frame { min-height: 400px; }
  .file-preview-placeholder { padding: 28px; }
  .file-preview-placeholder img { width: 145px; height: 145px; border-radius: 30px; }
  .batch-row { align-items: flex-start; flex-direction: column; }
  .format-grid { grid-template-columns: 1fr; }
  .footer-layout { align-items: flex-start; flex-direction: column; }
  .manual-hero { padding: 44px 0 38px; }
  .manual-nav { grid-template-columns: 1fr; }
  .manual-cards, .manual-shot-pair, .manual-shot-pair.phone, .page-nav { grid-template-columns: 1fr; }
  .signal-flow { grid-template-columns: 1fr; }
  .signal-node:not(:last-child)::after { right: auto; bottom: -20px; transform: rotate(90deg); }
  .detail-list { grid-template-columns: 1fr; }
  .detail-list dt { padding-bottom: 3px; border-bottom: 0; }
  .detail-list dd { padding-top: 3px; }
  .page-nav a:last-child { text-align: left; }
}

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

@media print {
  .site-header,
  .manual-sidebar,
  .site-footer,
  .page-nav { display: none; }
  body { color: #111; background: white; }
  .manual-layout { display: block; width: 100%; padding: 0; }
  .manual-content p,
  .manual-content li,
  .manual-content dd { color: #222; }
  .manual-content h2,
  .manual-content h3,
  .manual-content strong { color: #000; }
}
