:root {
  color-scheme: light;
  --bg: #f4f6f4;
  --surface: #ffffff;
  --surface-soft: #eef2ef;
  --ink: #17211b;
  --muted: #5c6a61;
  --line: #d7ddd8;
  --accent: #126b4f;
  --accent-ink: #ffffff;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(23, 33, 27, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100dvh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(215, 221, 216, 0.86);
  background: rgba(244, 246, 244, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--accent);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100dvh - 72px);
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero.compact {
  min-height: auto;
  padding-top: 72px;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.app-hero h1 {
  font-size: clamp(2.9rem, 6vw, 5.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

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

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

.visual-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.company-card {
  padding: 28px;
}

.company-card img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--surface-soft);
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.signal-list strong {
  color: var(--ink);
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 28px;
}

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

.app-card {
  display: grid;
  min-height: 268px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: var(--shadow);
}

.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.app-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--tile, var(--surface-soft));
  color: #fff;
  font-weight: 900;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-pill,
.domain-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: start;
}

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

.detail-list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.detail-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.app-visual {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.app-showcase {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.showcase-icon {
  width: 116px;
  height: 116px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--tile, var(--surface-soft));
  box-shadow: 0 14px 30px rgba(23, 33, 27, 0.12);
}

.showcase-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.showcase-copy {
  color: var(--muted);
}

.phone-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #101815;
  color: #fff;
}

.phone-frame img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.phone-screen {
  display: grid;
  gap: 14px;
  min-height: 330px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%),
    var(--tile, #1c3f34);
}

.screen-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.screen-line.short {
  width: 58%;
}

.screen-panel {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
}

.notice {
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  color: var(--muted);
}

.notice strong {
  color: var(--ink);
}

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

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.legal-page {
  width: min(840px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.legal-page article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal-page h2 {
  margin-top: 32px;
  font-size: 1.45rem;
}

@media (max-width: 920px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }
}

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

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .section {
    padding: 48px 0;
  }

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

  .app-showcase,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .showcase-icon {
    width: 96px;
    height: 96px;
  }
}
