
:root {
  color-scheme: light;
  --bg: #eaf3ff;
  --bg-2: #d9ebff;
  --bg-3: #f7fbff;
  --ink: #0e2450;
  --ink-soft: #29456d;
  --muted: #5d7396;
  --line: rgba(255, 255, 255, 0.62);
  --line-strong: rgba(147, 178, 223, 0.44);
  --glass: rgba(255, 255, 255, 0.42);
  --glass-strong: rgba(255, 255, 255, 0.62);
  --glass-deep: rgba(236, 245, 255, 0.66);
  --accent: #1787ff;
  --accent-deep: #0d3e88;
  --accent-soft: #84c4ff;
  --shadow: 0 24px 60px rgba(34, 71, 130, 0.16);
  --shadow-strong: 0 36px 80px rgba(25, 55, 107, 0.18);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --content-width: min(1280px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.92), transparent 34rem),
    radial-gradient(circle at 88% 10%, rgba(155, 218, 255, 0.52), transparent 30rem),
    radial-gradient(circle at 52% 86%, rgba(255, 255, 255, 0.55), transparent 30rem),
    linear-gradient(180deg, var(--bg-3), var(--bg) 28%, var(--bg-2) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(10px);
}

body::before {
  top: 82px;
  left: -6vw;
  width: 54vw;
  height: 34vw;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 44%, rgba(255, 255, 255, 0.82), transparent 28%),
    radial-gradient(circle at 68% 46%, rgba(133, 197, 255, 0.32), transparent 36%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.1));
  opacity: 0.75;
}

body::after {
  right: -10vw;
  top: 140px;
  width: 44vw;
  height: 26vw;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.9), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(126, 208, 255, 0.14));
  opacity: 0.72;
}

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

img {
  max-width: 100%;
}

.site-width {
  position: relative;
  z-index: 1;
  width: var(--content-width);
  margin: 0 auto;
}

.glass-panel,
.glass-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(112, 189, 255, 0.08));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(175%);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
}

.glass-card {
  border-radius: var(--radius-md);
}

.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 30;
  padding: 16px 0 12px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px 22px;
  border-radius: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  height: 54px;
  width: auto;
  max-width: 100%;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.menu-toggle,
.menu-button {
  display: none;
}

.page-main {
  padding-bottom: 48px;
}

.hero {
  padding: 10px 0 0;
}

.hero-band,
.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 20px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.app-hero-copy,
.app-hero-visual,
.hero-banner {
  border-radius: var(--radius-xl);
}

.hero-copy,
.hero-banner,
.app-hero-copy,
.app-hero-visual {
  padding: clamp(24px, 3.4vw, 42px);
}

.hero-visual {
  padding: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

.hero-visual::before,
.app-hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.85), transparent 16%),
    radial-gradient(circle at 74% 76%, rgba(147, 214, 255, 0.34), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.04));
  opacity: 0.82;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 40px rgba(32, 73, 139, 0.12));
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(2.7rem, 5.3vw, 4.6rem);
}

h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

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

.lead {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
  color: var(--ink-soft);
}

.button-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(19, 93, 180, 0.22);
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(32, 69, 130, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(32, 69, 130, 0.1);
}

.button.primary {
  background: linear-gradient(135deg, #1f8fff, #0d56d7);
  color: #fff;
  border-color: transparent;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.32);
}

.pill-row {
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.section {
  padding: 24px 0 0;
}

.section-panel,
.hero-banner {
  padding: clamp(26px, 3vw, 36px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-head p {
  max-width: 580px;
}

.featured-app {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: center;
}

.app-head,
.title-with-icon {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-icon {
  width: 94px;
  height: 94px;
  border-radius: 26px;
  display: block;
  flex: 0 0 auto;
  box-shadow: 0 18px 42px rgba(17, 50, 104, 0.22);
}

.app-title p {
  margin-top: 8px;
}

.feature-list {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 8px;
}

.screenshot-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 1fr);
  gap: 16px;
  align-items: end;
}

.device-card,
.media-card,
.info-card,
.text-card {
  padding: 18px;
}

.device-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.device-card h3,
.media-card h3,
.info-card h3,
.text-card h3 {
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

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

.device-frame {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(222, 236, 255, 0.66));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 34px rgba(24, 54, 106, 0.12);
}

.device-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.device-frame.phone {
  aspect-ratio: 451 / 980;
  border-radius: 34px;
  padding: 14px;
}

.device-frame.tablet {
  aspect-ratio: 975 / 1300;
  border-radius: 28px;
  padding: 14px;
}

.device-frame.tv {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  padding: 12px;
}

.device-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.three-up,
.device-comparison,
.media-grid,
.footer-grid,
.app-grid,
.content-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.content-grid {
  grid-template-columns: minmax(0, 1.22fr) 320px;
  align-items: start;
}

.rich-text {
  padding: clamp(24px, 3vw, 34px);
}

.rich-text h2,
.rich-text h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: clamp(1.38rem, 2.2vw, 1.84rem);
}

.rich-text h2:first-child,
.rich-text h3:first-child {
  margin-top: 0;
}

.rich-text p + p,
.rich-text ul + p,
.rich-text p + ul,
.rich-text p + ol,
.rich-text ul + ul,
.rich-text ol + p,
.rich-text h2 + p,
.rich-text h3 + p {
  margin-top: 14px;
}

.rich-text ul,
.rich-text ol {
  color: var(--muted);
  padding-left: 20px;
}

.rich-text li + li {
  margin-top: 8px;
}

.rich-text a {
  color: #0b68df;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-shot,
.rich-text figure {
  margin: 22px 0;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.56);
}

.guide-shot img,
.rich-text figure img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(24, 54, 106, 0.12);
}

.guide-shot figcaption,
.rich-text figure figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-align: center;
}

.aside-stack {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 16px;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.detail-list div {
  display: grid;
  gap: 2px;
}

.detail-list strong {
  font-size: 0.94rem;
  color: var(--ink);
}

.meta-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.meta-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(152, 178, 213, 0.3);
}

.meta-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.meta-row span:first-child {
  color: var(--muted);
}

.meta-row span:last-child {
  justify-self: start;
  text-align: left;
}

.hero-banner {
  display: grid;
  gap: 18px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.breadcrumbs a {
  color: var(--ink-soft);
}

.app-hero-copy {
  display: grid;
  gap: 22px;
  align-content: start;
}

.app-hero-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-hero-visual .screenshot-stage {
  position: relative;
  z-index: 1;
  width: 100%;
}

.diff-list {
  margin-top: 14px;
  padding-left: 20px;
  color: var(--muted);
}

.diff-list li + li {
  margin-top: 6px;
}

.report-list {
  margin-top: 16px;
  padding-left: 20px;
  color: var(--muted);
}

.app-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 18px;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  height: 100%;
}

.app-card .app-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  justify-items: start;
  min-height: 250px;
}

.app-card .app-title {
  min-width: 0;
  max-width: 100%;
}

.app-card .app-title h3 {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  max-width: 100%;
}

.app-card p {
  color: var(--muted);
  line-height: 1.45;
}

.app-card .pill-row {
  min-height: 210px;
  align-content: flex-start;
}

.app-card .button-row {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  margin-top: auto;
}

.app-card .button {
  width: 100%;
  min-height: 58px;
  padding-inline: 18px;
  text-align: center;
}

.placeholder-screen {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 26px;
  text-align: center;
}

.placeholder-screen strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
}

.placeholder-screen span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.footer {
  padding: 28px 0 48px;
}

.footer-panel {
  padding: 26px;
  border-radius: 32px;
}

.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
}

.footer-title {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

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

.footer-copy img {
  width: min(240px, 100%);
  height: auto;
}

.fine-print {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(152, 178, 213, 0.3);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .hero-band,
  .app-hero,
  .featured-app,
  .content-grid,
  .three-up,
  .app-card-grid,
  .app-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .aside-stack {
    position: static;
  }

  .hero-visual,
  .app-hero-visual {
    min-height: 320px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  :root {
    --content-width: calc(100vw - 20px);
  }

  .site-width {
    max-width: calc(100vw - 20px);
  }

  body::before,
  body::after {
    display: none;
  }

  .nav-wrap {
    top: 0;
    padding-top: 10px;
  }

  .nav-shell {
    position: relative;
    padding: 10px 12px;
    min-height: 62px;
    border-radius: 24px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .brand img {
    height: 38px;
    width: auto;
  }

  .menu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    gap: 3px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 12px 28px rgba(31, 68, 125, 0.12);
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle:focus-visible + .menu-button {
    outline: 3px solid rgba(37, 99, 235, 0.34);
    outline-offset: 3px;
  }

  .menu-toggle:checked + .menu-button span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle:checked + .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-button span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    width: min(220px, calc(100vw - 32px));
    padding: 8px;
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.58)),
      linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(112, 189, 255, 0.08));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(26px) saturate(175%);
    -webkit-backdrop-filter: blur(26px) saturate(175%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links a {
    padding: 9px 12px;
    text-align: center;
    font-size: 0.96rem;
  }

  .meta-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .menu-toggle:checked ~ .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  h1 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .hero-copy,
  .hero-banner,
  .hero-visual,
  .app-hero-copy,
  .app-hero-visual,
  .section-panel,
  .footer-panel {
    padding: 22px;
  }

  .screenshot-stage,
  .device-comparison,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .app-head,
  .title-with-icon {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .title-with-icon .app-title {
    min-width: min(100%, 12rem);
    flex: 1 1 12rem;
  }

  .title-with-icon .app-title h1 {
    overflow-wrap: anywhere;
  }

  .app-icon {
    width: 78px;
    height: 78px;
    border-radius: 22px;
  }

  .device-frame.phone {
    max-width: 340px;
    margin: 0 auto;
  }

  .app-card .app-head,
  .app-card .pill-row {
    min-height: 0;
  }
}
