:root {
  --bg: #f4f8ff;
  --bg-alt: #edf4ff;
  --bg-deep: #dfeaff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.86);
  --surface-solid: rgba(247, 250, 255, 0.98);
  --surface-outline: rgba(49, 93, 170, 0.12);
  --surface-outline-strong: rgba(49, 93, 170, 0.2);
  --text: #0d1b3d;
  --text-soft: #26436d;
  --muted: #5e7397;
  --muted-strong: #41597f;
  --accent: #1271ef;
  --accent-strong: #0a4dc5;
  --accent-soft: rgba(18, 113, 239, 0.12);
  --accent-glow: rgba(102, 184, 255, 0.32);
  --accent-ice: #bfe8ff;
  --cyan: #64d5ff;
  --success: #256f63;
  --shadow-sm: 0 18px 40px rgba(11, 38, 94, 0.08);
  --shadow-md: 0 28px 84px rgba(9, 34, 88, 0.12);
  --shadow-lg: 0 40px 120px rgba(11, 33, 79, 0.16);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --content: 1160px;
  --header-height: 88px;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.58;
  letter-spacing: -0.01em;
  background:
    radial-gradient(circle at 16% 0%, rgba(145, 197, 255, 0.34), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(69, 146, 255, 0.2), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, var(--bg) 44%, #eef5ff 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at 80% 22%, rgba(59, 151, 255, 0.14), transparent 26%),
    radial-gradient(circle at 12% 80%, rgba(69, 204, 255, 0.1), transparent 24%);
}

body::after {
  background:
    linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      90deg,
      rgba(34, 103, 193, 0.035) 0,
      rgba(34, 103, 193, 0.035) 1px,
      transparent 1px,
      transparent 120px
    );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.1;
}

p,
li,
button,
input,
select,
textarea,
label {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.5rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 500;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--accent-strong);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 0.55rem;
  transition: padding 220ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: calc(100% + 0.6rem);
  background: linear-gradient(
    180deg,
    rgba(244, 249, 255, 0.92),
    rgba(244, 249, 255, 0.68)
  );
  backdrop-filter: blur(24px) saturate(135%);
  border-bottom: 1px solid rgba(36, 93, 170, 0.08);
  box-shadow: 0 10px 30px rgba(11, 38, 94, 0.04);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  transition: min-height 220ms ease;
}

.is-scrolled .site-header {
  padding-top: 0;
}

.is-scrolled .site-header::before {
  box-shadow: 0 12px 34px rgba(11, 38, 94, 0.07);
  border-bottom-color: rgba(36, 93, 170, 0.12);
}

.is-scrolled .header-inner {
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.95rem;
  height: 2.95rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(207, 229, 255, 0.66));
  border: 1px solid rgba(18, 113, 239, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 12px 30px rgba(18, 113, 239, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.08;
}

.brand-tag {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.12;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  position: relative;
  padding: 0.25rem 0;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--muted-strong);
  text-decoration: none;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-strong), var(--cyan));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  opacity: 1;
}

.page {
  padding: 1.25rem 0 4.8rem;
}

.section {
  margin-top: clamp(2.4rem, 5vw, 4.25rem);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.35rem;
}

.section-header p {
  max-width: 36rem;
}

.hero,
.page-hero,
.feature-card,
.app-card,
.callout,
.support-card,
.detail-card,
.policy-card,
.resource-card,
.catalog-note,
.preview-panel,
.footer-inner,
.hero-product,
.support-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 251, 255, 0.72));
  border: 1px solid var(--surface-outline);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px) saturate(132%);
}

.hero::before,
.page-hero::before,
.feature-card::before,
.app-card::before,
.callout::before,
.support-card::before,
.detail-card::before,
.policy-card::before,
.resource-card::before,
.catalog-note::before,
.preview-panel::before,
.support-primary::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 72px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero,
.page-hero {
  padding: clamp(2rem, 5vw, 3.4rem);
}

.hero-home {
  min-height: min(78vh, 820px);
}

.hero-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
  align-items: center;
}

.hero-ambient {
  position: absolute;
  inset: auto -8% -8% auto;
  width: min(42vw, 520px);
  opacity: 0.34;
  filter: blur(0.4px);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

.hero-ambient img {
  width: 100%;
  height: auto;
}

.hero-wordmark {
  width: min(100%, 430px);
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 16px 34px rgba(14, 73, 159, 0.14));
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--cyan), var(--accent));
  box-shadow: 0 0 0 6px rgba(18, 113, 239, 0.08);
}

.hero p,
.page-hero p {
  max-width: 44rem;
  font-size: 1.06rem;
}

.hero h1,
.page-hero h1 {
  margin-bottom: 1rem;
}

.hero-product h2,
.support-primary h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.feature-card h3,
.app-card h3,
.callout h3,
.support-card h3,
.detail-card h3,
.policy-card h3,
.resource-card h3,
.preview-panel h3 {
  margin-bottom: 0.7rem;
}

.button-row,
.inline-links,
.footer-links,
.pill-row,
.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button-row,
.inline-links {
  margin-top: 1.35rem;
}

.button,
.button-secondary,
.policy-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  appearance: none;
  font: inherit;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button {
  color: #fff;
  background: linear-gradient(180deg, #2b88ff, var(--accent-strong));
  box-shadow: 0 18px 34px rgba(18, 113, 239, 0.18);
}

.button:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(18, 113, 239, 0.22);
}

.button-secondary,
.policy-nav a {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(49, 93, 170, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.button-secondary:hover,
.policy-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 113, 239, 0.18);
}

.hero-metrics,
.feature-grid,
.support-layout,
.catalog-layout,
.split-panel,
.page-hero-grid,
.app-hero-grid,
.detail-grid,
.policy-grid,
.resource-grid {
  display: grid;
  gap: 1rem;
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.7rem;
}

.hero-metrics > div,
.support-email-display,
.preview-note {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(49, 93, 170, 0.1);
}

.metric-label,
.small-print {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-metrics strong,
.support-email-display strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.02rem;
  color: var(--text);
}

.hero-product,
.support-primary,
.preview-panel {
  padding: 1.45rem;
  align-self: stretch;
}

.support-primary {
  display: grid;
  gap: 1.1rem;
}

.hero-product h2,
.support-primary h2,
.preview-panel h3 {
  margin-bottom: 0.75rem;
}

.feature-list,
.support-list {
  list-style: none;
  padding: 0;
}

.feature-list li,
.support-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--text-soft);
}

.feature-list li::before,
.support-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--cyan), var(--accent));
  box-shadow: 0 0 0 0.28rem rgba(18, 113, 239, 0.08);
}

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

.feature-card,
.app-card,
.callout,
.support-card,
.detail-card,
.policy-card,
.resource-card,
.catalog-note {
  padding: 1.4rem;
}

.feature-card p:last-child,
.app-card p:last-child,
.callout p:last-child,
.support-card p:last-child,
.detail-card p:last-child,
.policy-card p:last-child,
.resource-card p:last-child,
.catalog-note p:last-child,
.preview-panel p:last-child {
  margin-bottom: 0;
}

.app-card {
  display: grid;
  gap: 1rem;
}

.app-card-head,
.card-headline,
.catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 0.85rem;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill,
.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 650;
}

.pill {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.status-tag {
  color: var(--success);
  background: rgba(37, 111, 99, 0.12);
}

.status-tag.pending {
  color: var(--accent-strong);
  background: rgba(18, 113, 239, 0.11);
}

.catalog-layout,
.split-panel,
.support-layout,
.detail-grid,
.policy-grid,
.resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-hero-grid,
.app-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.82fr);
  align-items: center;
}

.page-hero-note,
.catalog-note,
.resource-card,
.preview-panel,
.support-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 249, 255, 0.82));
}

.page-hero-note {
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-outline);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.page-hero-note strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: var(--text);
}

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

.preview-frame {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 1.4rem;
  border-radius: calc(var(--radius-lg) - 2px);
  background:
    radial-gradient(circle at 50% 30%, rgba(90, 189, 255, 0.24), rgba(90, 189, 255, 0)),
    linear-gradient(180deg, rgba(11, 30, 71, 0.98), rgba(9, 23, 53, 0.98));
  border: 1px solid rgba(151, 212, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 50px rgba(4, 18, 48, 0.18);
}

.preview-frame img {
  width: min(100%, 224px);
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 10px 32px rgba(130, 212, 255, 0.16));
}

.preview-note {
  margin-top: 1rem;
}

.support-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: start;
}

.support-form,
.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(49, 93, 170, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
  line-height: 1.45;
}

.field textarea {
  min-height: 10.5rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: rgba(18, 113, 239, 0.36);
  box-shadow:
    0 0 0 4px rgba(18, 113, 239, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.field-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.other-field[hidden] {
  display: none;
}

.support-stack {
  display: grid;
  gap: 1rem;
}

.support-email-display {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
}

.support-email-display span {
  font-size: 0.88rem;
  color: var(--muted);
}

.support-email-display strong {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.step + .step {
  margin-top: 0.95rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.policy-nav {
  margin-top: 1.5rem;
}

.policy-section + .policy-section {
  margin-top: 2.5rem;
}

.policy-section .section-header {
  margin-bottom: 1rem;
}

.muted-link {
  color: var(--muted-strong);
}

[data-support-form-status] {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(18, 113, 239, 0.08);
  border: 1px solid rgba(18, 113, 239, 0.12);
}

.site-footer {
  padding-bottom: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  align-items: center;
  gap: 1rem 1.6rem;
  padding: 1.35rem 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.footer-title {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
  color: var(--text);
}

.footer-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-note--small {
  text-align: right;
}

.footer-links {
  justify-content: center;
}

.footer-links a {
  color: var(--muted-strong);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text);
}

.centered {
  text-align: center;
}

.centered .button-row {
  justify-content: center;
}

.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 460ms ease,
    transform 460ms ease;
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.feature-card,
.app-card,
.callout,
.support-card,
.detail-card,
.policy-card,
.resource-card,
.preview-panel,
.hero-product,
.support-primary {
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.feature-card:hover,
.app-card:hover,
.callout:hover,
.support-card:hover,
.detail-card:hover,
.policy-card:hover,
.resource-card:hover,
.preview-panel:hover,
.hero-product:hover,
.support-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--surface-outline-strong);
}

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

@media (max-width: 1040px) {
  .hero-home .hero-grid,
  .page-hero-grid,
  .app-hero-grid,
  .support-layout,
  .catalog-layout,
  .split-panel,
  .callout-grid,
  .detail-grid,
  .policy-grid,
  .feature-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-ambient {
    width: min(70vw, 460px);
    inset: auto -14% -12% auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links {
    justify-content: start;
  }

  .footer-note--small {
    text-align: left;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    padding: 0.95rem 0 1rem;
    flex-direction: column;
    align-items: start;
  }

  .nav {
    width: 100%;
    gap: 1rem;
  }

  .nav a::after {
    bottom: -0.25rem;
  }

  .hero,
  .page-hero,
  .feature-card,
  .app-card,
  .callout,
  .support-card,
  .detail-card,
  .policy-card,
  .resource-card,
  .preview-panel,
  .hero-product,
  .support-primary,
  .footer-inner {
    padding: 1.15rem;
    border-radius: 24px;
  }

  .page {
    padding-top: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
