:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5d6975;
  --line: #d8e0e8;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --deep: #12343b;
  --teal: #158c8c;
  --green: #2f7d4f;
  --amber: #d88a1d;
  --coral: #c85f49;
  --shadow: 0 18px 50px rgba(18, 52, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 224, 232, 0.78);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: #fff;
  font-size: 14px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

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

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #2b3742;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #eaf1f2;
  outline: none;
}

.nav-links .nav-cta {
  background: var(--ink);
  color: #fff;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: var(--deep);
}

.hero {
  width: calc(100% - 32px);
  max-width: 1160px;
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 64px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero > *,
.portfolio > *,
.download-panel > *,
.grid > *,
.ownership > *,
.trust-strip > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 28px;
  color: #44515c;
  font-size: 18px;
  overflow-wrap: anywhere;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: #0d7373;
  outline: 3px solid rgba(21, 140, 140, 0.22);
  outline-offset: 2px;
}

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

.button.secondary:hover,
.button.secondary:focus-visible {
  background: #eff5f5;
}

.button.dark {
  background: var(--ink);
}

.button.dark:hover,
.button.dark:focus-visible {
  background: var(--deep);
}

.trust-strip {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 52, 59, 0.08);
}

.trust-strip div {
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.value {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.device-frame {
  width: min(360px, 100%);
  aspect-ratio: 9 / 16;
  padding: 12px;
  border: 1px solid rgba(23, 32, 38, 0.14);
  border-radius: 28px;
  background: #11181d;
  box-shadow: var(--shadow);
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #dceff4;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(18, 52, 59, 0.78);
  color: #fff;
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #40d47e;
  box-shadow: 0 0 0 5px rgba(64, 212, 126, 0.16);
}

.screen-badge strong {
  display: block;
  font-size: 14px;
}

.screen-badge span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.floating-note {
  position: absolute;
  right: 0;
  top: 48px;
  width: min(248px, 48%);
  padding: 16px;
  border: 1px solid rgba(216, 224, 232, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(18, 52, 59, 0.12);
}

.floating-note.bottom {
  top: auto;
  right: auto;
  left: 0;
  bottom: 50px;
}

.floating-note strong {
  display: block;
  margin-bottom: 5px;
}

.floating-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.section.compact {
  padding-top: 38px;
}

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

.section-header h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-header p {
  color: var(--muted);
  font-size: 17px;
}

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

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

.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(18, 52, 59, 0.07);
}

.card {
  min-height: 220px;
  padding: 24px;
}

.card h3,
.panel h3 {
  margin-bottom: 9px;
  font-size: 21px;
  line-height: 1.18;
}

.card p,
.panel p,
.legal-text p,
.legal-text li {
  color: var(--muted);
}

.card .kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8f4f2;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 22px;
  align-items: stretch;
}

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

.portfolio-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.panel {
  padding: 28px;
}

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

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: #31404b;
  font-weight: 650;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #eef6f4 100%);
  box-shadow: var(--shadow);
}

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

.download-meta li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(216, 224, 232, 0.82);
}

.download-meta li:last-child {
  border-bottom: 0;
}

.download-meta span:first-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hash {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

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

.record {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.record strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.record span {
  display: block;
  font-weight: 820;
  overflow-wrap: anywhere;
}

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

.footer-inner {
  width: calc(100% - 32px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.footer-links a {
  font-weight: 750;
}

.page-shell {
  width: calc(100% - 32px);
  max-width: 920px;
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 58px 0 76px;
}

.page-title {
  margin-bottom: 28px;
}

.page-title h1 {
  margin-bottom: 12px;
  font-size: clamp(38px, 5vw, 60px);
}

.legal-text {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(18, 52, 59, 0.07);
}

.legal-text h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 24px;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.legal-text ul {
  padding-left: 20px;
}

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

  .hero {
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .grid,
  .grid.two,
  .ownership {
    grid-template-columns: 1fr;
  }

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

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }
}

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

  .nav {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 14px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-content: stretch;
  }

  .brand span:last-child,
  .hero-copy,
  .record span,
  .value {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .brand,
  .nav-links,
  .hero > div:first-child,
  .hero-actions,
  .trust-strip,
  .section-header,
  .portfolio,
  .download-panel,
  .grid,
  .ownership,
  .panel,
  .card {
    width: 100%;
    max-width: 358px;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    padding: 0 10px;
    font-size: 13px;
  }

  .nav-links .nav-cta {
    grid-column: 1 / -1;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 44px 16px 24px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  .section,
  .footer-inner,
  .page-shell {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions .button,
  .action-row .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .device-frame {
    width: min(292px, 86vw);
  }

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .floating-note.bottom {
    position: static;
  }

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

  .portfolio-media img {
    min-height: 260px;
  }

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

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

  .legal-text {
    padding: 24px;
  }
}
