:root {
  color-scheme: light;
  --blue-950: #07162f;
  --blue-900: #0b1f42;
  --blue-800: #12366d;
  --blue-700: #1550a8;
  --blue-600: #1769e0;
  --blue-500: #2383f6;
  --blue-100: #dbeafe;
  --sky-50: #eff8ff;
  --ink: #102033;
  --muted: #5b6b80;
  --line: #d9e3f2;
  --surface: #ffffff;
  --surface-soft: #f6f9fd;
  --accent: #10b981;
  --warning: #f59e0b;
  --shadow: 0 18px 50px rgba(13, 38, 76, 0.12);
  --radius: 8px;
  --radius-lg: 20px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(35, 131, 246, 0.14), transparent 34rem),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 48%, #f6f9fd 100%);
  line-height: 1.65;
}

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

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

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 227, 242, 0.82);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--blue-950);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: #fff;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.brand-title {
  display: block;
  line-height: 1.1;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

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

.site-nav a {
  border-radius: 999px;
  color: #2f4055;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 9px 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--blue-100);
  color: var(--blue-800);
  outline: none;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-900);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.hero {
  padding: 88px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  border: 1px solid #c9daf4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-700);
  font-size: 0.83rem;
  font-weight: 800;
  padding: 7px 12px;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.hero h1 {
  max-width: 780px;
  color: var(--blue-950);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.hero-copy {
  max-width: 660px;
  color: #41546b;
  font-size: 1.08rem;
  margin-bottom: 30px;
}

.hero-actions,
.card-actions,
.policy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  padding: 10px 16px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: #fff;
  box-shadow: 0 16px 28px rgba(23, 105, 224, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--blue-800);
}

.button-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--blue-700);
}

.hero-panel {
  position: relative;
  padding: 22px;
}

.studio-signature {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  margin: 28px 0 0;
  max-width: 520px;
  border: 1px solid rgba(217, 227, 242, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(13, 38, 76, 0.08);
  padding: 16px;
}

.studio-signature img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
}

.studio-signature strong {
  display: block;
  color: var(--blue-950);
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.studio-signature span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

.device-shell {
  overflow: hidden;
  border: 1px solid rgba(217, 227, 242, 0.9);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(35, 131, 246, 0.16), rgba(16, 185, 129, 0.1));
  box-shadow: var(--shadow);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(217, 227, 242, 0.85);
  padding: 16px;
}

.traffic {
  display: flex;
  gap: 6px;
}

.traffic span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cbd5e1;
}

.traffic span:nth-child(1) {
  background: #ef4444;
}

.traffic span:nth-child(2) {
  background: #f59e0b;
}

.traffic span:nth-child(3) {
  background: var(--accent);
}

.device-url {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 750;
}

.app-stack {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.mini-app {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(217, 227, 242, 0.86);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
}

.mini-app img,
.app-logo {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  object-fit: cover;
}

.mini-app strong {
  display: block;
  color: var(--blue-950);
}

.mini-app span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(239, 248, 255, 0.72), rgba(255, 255, 255, 0.92));
}

.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-kicker {
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section h2 {
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 12px;
}

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

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 46px rgba(13, 38, 76, 0.08);
  padding: 22px;
}

.app-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.app-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-title-row h3 {
  color: var(--blue-950);
  font-size: 1.28rem;
  line-height: 1.2;
  margin: 0;
}

.app-title-row span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 5px 10px;
  white-space: nowrap;
}

.status.soon {
  background: #fef3c7;
  color: #92400e;
}

.app-card p {
  margin-bottom: 18px;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 9px;
  color: #41546b;
  font-size: 0.94rem;
}

.feature-list li::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--blue-500);
  content: "";
}

.app-card .card-actions {
  margin-top: auto;
}

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

.info-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
}

.info-box h3 {
  color: var(--blue-950);
  font-size: 1rem;
  margin-bottom: 8px;
}

.info-box p {
  margin-bottom: 0;
}

.app-hero {
  padding: 68px 0 46px;
}

.app-hero-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  padding: 28px;
}

.app-hero-logo {
  width: 116px;
  height: 116px;
  border-radius: 26px;
  object-fit: cover;
}

.app-hero h1 {
  color: var(--blue-950);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.meta-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 780;
  padding: 7px 11px;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.policy-sidebar {
  position: sticky;
  top: 98px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
}

.policy-sidebar strong {
  display: block;
  color: var(--blue-950);
  margin-bottom: 10px;
}

.policy-sidebar a {
  display: block;
  border-radius: 8px;
  color: #4b5f77;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 10px;
}

.policy-sidebar a:hover {
  background: var(--sky-50);
  color: var(--blue-800);
}

.policy-content {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(13, 38, 76, 0.07);
  padding: clamp(24px, 4vw, 44px);
}

.policy-content h2 {
  margin-top: 34px;
  font-size: 1.6rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  color: var(--blue-900);
  margin-top: 24px;
}

.policy-content ul {
  color: #45586f;
  padding-left: 20px;
}

.policy-content li + li {
  margin-top: 7px;
}

.notice {
  border-left: 4px solid var(--blue-500);
  border-radius: 8px;
  background: var(--sky-50);
  color: #334155;
  padding: 16px 18px;
}

.contact-band {
  border-top: 1px solid var(--line);
  background: var(--blue-950);
  color: #fff;
  padding: 46px 0;
}

.contact-band p {
  color: #c7d8ef;
  margin-bottom: 0;
}

.contact-band a {
  color: #fff;
  font-weight: 800;
}

.footer {
  border-top: 1px solid rgba(217, 227, 242, 0.82);
  background: #fff;
  color: #607086;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 750;
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 76px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid,
  .apps-grid,
  .info-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    position: static;
  }

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

@media (max-width: 560px) {
  .header-inner {
    min-height: 68px;
  }

  .brand-subtitle,
  .device-url {
    display: none;
  }

  .hero {
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-actions,
  .card-actions,
  .policy-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .app-card-header,
  .app-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-hero-logo {
    width: 94px;
    height: 94px;
  }

  .studio-signature {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Utility classes for inline styles */
.policy-actions-margin {
  margin-top: 28px;
}

.policy-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.policy-header-image {
  margin-bottom: 1em;
}

.policy-title-main {
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1;
  font-size: 2em;
}

.policy-title-sub {
  margin-bottom: 0;
  margin-top: 20px;
  line-height: 1;
  font-size: 1.5em;
  font-weight: 500;
}

.policy-date {
  margin-top: 12px;
}

.policy-section-title {
  margin-bottom: 0;
  margin-top: 0;
}
