:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #eef6fb;
  --text: #102033;
  --muted: #5e6b7a;
  --line: #d8e1ea;
  --brand: #0677c8;
  --brand-dark: #064f91;
  --teal: #06a7a7;
  --success: #15803d;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 248, 251, 0.88);
  border-bottom: 1px solid rgba(216, 225, 234, 0.8);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 760;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand .brand-logo-image {
  width: auto;
  height: 42px;
  border-radius: 0;
  object-fit: contain;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 820;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 620;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(6, 119, 200, 0.22);
}

.button:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.button.secondary {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--line);
  box-shadow: none;
}

.hero,
.section,
.policy,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: center;
  padding: 78px 0 54px;
}

.hero h1,
.policy h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

.hero-card {
  padding: 28px;
  background: linear-gradient(145deg, #ffffff, #eef8ff);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card img {
  display: block;
  width: 148px;
  height: 148px;
  margin-bottom: 22px;
  border-radius: 30px;
  box-shadow: 0 16px 40px rgba(6, 79, 145, 0.22);
}

.hero-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.hero-card div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-card dt {
  color: var(--muted);
}

.hero-card dd {
  margin: 0;
  font-weight: 760;
}

.company-hero {
  min-height: 620px;
}

.company-visual {
  display: grid;
  gap: 24px;
  padding: 30px;
  background:
    radial-gradient(circle at 80% 0%, rgba(6, 167, 167, 0.18), transparent 34%),
    linear-gradient(145deg, #ffffff, #eef6fb);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.logo-showcase {
  display: block;
  width: min(100%, 520px);
  height: auto;
  border-radius: 8px;
  background: transparent;
}

.company-visual h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.company-visual p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.lab-mark-large {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand-dark), var(--teal));
  color: #fff;
  font-size: 2rem;
  font-weight: 840;
  box-shadow: 0 18px 44px rgba(6, 79, 145, 0.22);
}

.app-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.app-card-copy > p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.app-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-card-head h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.app-card-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 660;
}

.app-icon-sm {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(6, 79, 145, 0.18);
}

.device-stack,
.screenshot-band {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.device-stack {
  min-height: 360px;
  overflow: hidden;
}

.screenshot-band {
  padding-top: 22px;
  padding-bottom: 34px;
}

.phone-shot {
  width: min(190px, 28vw);
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 32, 51, 0.18);
}

.device-stack .phone-shot {
  width: min(180px, 22vw);
}

.phone-shot.raised {
  transform: translateY(-28px);
}

.app-summary {
  align-self: stretch;
}

.section {
  padding: 52px 0;
}

.section h2,
.policy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.section-intro {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.card,
.support-card,
.policy-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card h3,
.support-card h3,
.policy-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card p,
.support-card p,
.policy-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
}

.notice {
  padding: 18px 20px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #7c2d12;
}

.policy {
  max-width: 900px;
  padding: 58px 0 72px;
}

.policy h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.policy .updated {
  margin: 16px 0 32px;
  color: var(--muted);
}

.policy-card {
  margin: 18px 0;
}

.policy ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.support-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.contact-box {
  background: linear-gradient(135deg, var(--brand), var(--teal));
  color: #fff;
  border: 0;
}

.contact-box p,
.contact-box a {
  color: rgba(255, 255, 255, 0.9);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 720;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.not-found {
  display: grid;
  min-height: 54vh;
  place-items: center;
  padding: 58px 0 72px;
}

.not-found-card {
  max-width: 680px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.not-found-card h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.not-found-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .app-card,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
    gap: 28px;
  }

  .hero-card img {
    width: 112px;
    height: 112px;
    border-radius: 24px;
  }

  .brand .brand-logo-image {
    height: 38px;
  }

  .company-hero {
    min-height: auto;
  }

  .device-stack {
    min-height: auto;
  }

  .phone-shot,
  .device-stack .phone-shot {
    width: min(31vw, 150px);
    border-radius: 22px;
  }

  .phone-shot.raised {
    transform: translateY(-16px);
  }

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

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