:root {
  --ink: #030305;
  --ink-2: #111114;
  --surface: rgba(28, 28, 31, 0.68);
  --surface-strong: rgba(44, 44, 48, 0.86);
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --blue: #0a84ff;
  --aqua: #64d2ff;
  --violet: #bf5af2;
  --rose: #ff375f;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  width: min(1160px, calc(100% - 32px));
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 18, 20, 0.62);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(160%);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-weight: 850;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(10, 132, 255, 0.24);
}

.brand span {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a,
.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 760;
}

.main-nav a:hover,
.header-action:hover {
  background: rgba(255, 255, 255, 0.09);
}

.header-action {
  color: var(--white);
  background: rgba(10, 132, 255, 0.92);
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(3, 3, 5, 0.18), rgba(3, 3, 5, 0.94)),
    #050507;
}

#liquid-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-sheen {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(255, 255, 255, 0.11), transparent 44%),
    linear-gradient(180deg, rgba(3, 3, 5, 0.05), rgba(3, 3, 5, 0.78));
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 164px 0 78px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-logo {
  width: min(820px, 78vw);
  height: auto;
  margin: -10px 0 0;
  filter: drop-shadow(0 28px 80px rgba(10, 132, 255, 0.22));
}

.hero-line {
  max-width: 710px;
  margin: 30px 0 0;
  color: #d1d1d6;
  font-size: clamp(1.22rem, 2.4vw, 1.75rem);
  line-height: 1.34;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(10, 132, 255, 0.24);
}

.button-primary:hover {
  background: #2997ff;
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-panel {
  position: absolute;
  right: max(16px, calc((100vw - 1160px) / 2));
  bottom: 42px;
  display: grid;
  grid-template-columns: 132px minmax(0, 240px);
  gap: 16px;
  align-items: center;
  max-width: calc(100vw - 32px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(28, 28, 31, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(170%);
}

.hero-panel > *,
.panel-copy,
.proof-strip div,
.glass-card,
.method-grid article {
  min-width: 0;
}

.device-card {
  overflow: hidden;
  min-height: 164px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.device-top {
  display: flex;
  gap: 5px;
  padding: 12px;
}

.device-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #636366;
}

.device-screen {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.signal {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.98), rgba(100, 210, 255, 0.82)),
    var(--blue);
  box-shadow: 0 18px 42px rgba(10, 132, 255, 0.28);
}

.device-screen strong {
  font-size: 1.28rem;
}

.device-screen em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.85rem;
}

.panel-copy {
  display: grid;
  gap: 8px;
}

.panel-copy span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-copy strong {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1160px, calc(100% - 32px));
  margin: -28px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(28, 28, 31, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(160%);
}

.proof-strip div {
  padding: 24px;
  border-right: 1px solid var(--line-dark);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  color: var(--text);
  font-size: 1.06rem;
}

.proof-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading h2,
.web-copy h2,
.contact-inner h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.4rem, 5.8vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.glass-card {
  min-height: 270px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
}

.large-card {
  grid-row: span 2;
  min-height: 554px;
}

.card-index {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 950;
}

.glass-card h3,
.method-grid h3 {
  margin: 24px 0 12px;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.glass-card p,
.method-grid p,
.web-copy p,
.contact-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.large-card p {
  max-width: 560px;
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

.web-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.web-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 22px;
}

.web-showcase {
  min-height: 440px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.browser-window {
  width: min(440px, calc(100% - 36px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(18, 18, 20, 0.72);
  box-shadow: 0 24px 60px rgba(10, 132, 255, 0.12);
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #636366;
}

.browser-content {
  padding: 28px;
}

.browser-title {
  width: 64%;
  height: 30px;
  border-radius: 999px;
  background: #f5f5f7;
}

.browser-row {
  width: 86%;
  height: 12px;
  margin-top: 24px;
  border-radius: 999px;
  background: #3a3a3c;
}

.browser-row.short {
  width: 58%;
  margin-top: 10px;
}

.browser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.browser-grid span {
  min-height: 92px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.72), rgba(100, 210, 255, 0.3)),
    #10243d;
}

.method-section {
  padding-bottom: 92px;
}

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

.method-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.method-grid span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--blue);
  font-weight: 950;
}

.contact-section {
  padding: 92px max(16px, calc((100vw - 1160px) / 2));
  background:
    linear-gradient(145deg, rgba(3, 3, 5, 0.92), rgba(15, 23, 42, 0.94)),
    #030305;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(150%);
}

.contact-inner h2 {
  max-width: 820px;
  color: var(--white);
}

.contact-inner p {
  max-width: 620px;
  margin-top: 22px;
  color: #d1d1d6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px max(16px, calc((100vw - 1160px) / 2));
  color: #a1a1a6;
  background: #030305;
  font-size: 0.92rem;
}

.site-footer a {
  color: #d1d1d6;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-bottom: 290px;
  }

  .hero-panel {
    left: 16px;
    right: 16px;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .proof-strip,
  .split-grid,
  .web-section,
  .method-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .large-card {
    grid-row: auto;
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100vw - 20px);
    top: 10px;
    padding: 8px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .header-action {
    display: none;
    min-height: 38px;
    padding: 0 12px;
  }

  .hero-inner {
    width: calc(100vw - 24px);
    padding: 120px 0 300px;
  }

  .hero-logo {
    width: min(100%, 560px);
    margin-top: -4px;
  }

  .hero-line {
    max-width: 330px;
    font-size: 1.08rem;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .device-card {
    min-height: 150px;
  }

  .proof-strip,
  .section {
    width: calc(100vw - 24px);
  }

  .section {
    padding-top: 74px;
  }

  .section-heading h2,
  .web-copy h2,
  .contact-inner h2 {
    font-size: clamp(2.2rem, 13vw, 3.6rem);
    line-height: 1.02;
  }

  .glass-card,
  .method-grid article {
    min-height: auto;
  }

  .web-showcase {
    min-height: 320px;
  }

  .method-section {
    padding-bottom: 74px;
  }

  .contact-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .site-footer {
    flex-direction: column;
  }
}
