:root {
  color-scheme: light;
  --bg: #f4f8f8;
  --panel: #ffffff;
  --ink: #101719;
  --text: #111827;
  --muted: #5f6b72;
  --soft: #edf6f7;
  --line: #dbe7e8;
  --brand: #05a8c6;
  --brand-dark: #00677a;
  --brand-soft: #e8fbff;
  --lime: #d8f65f;
  --sand: #f4e7c7;
  --danger: #d13c3c;
  --legal-max: 960px;
  --wide-max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
  letter-spacing: 0;
}

body {
  margin: 0;
  background: var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 23, 25, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  width: min(100% - 32px, var(--wide-max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo,
.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 103, 122, 0.12);
}

.brand-mark {
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 20px;
}

.brand-text {
  min-width: 0;
  line-height: 1.2;
}

.brand-text small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  color: rgba(16, 23, 25, 0.74);
  white-space: nowrap;
}

.nav a:hover {
  color: var(--brand-dark);
  text-decoration: none;
}

.language-toggle {
  min-width: 52px;
  min-height: 36px;
  border: 1px solid rgba(16, 23, 25, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-toggle:hover {
  border-color: rgba(5, 168, 198, 0.42);
}

.page {
  width: min(100% - 32px, var(--legal-max));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero {
  padding: 12px 0 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

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

.link-tile {
  display: block;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
}

.link-tile:hover {
  border-color: rgba(0, 169, 197, 0.45);
  text-decoration: none;
}

.link-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.link-tile span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.25;
}

.section h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.section p,
.section li {
  color: var(--muted);
}

.section p {
  margin: 10px 0;
}

.section ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.notice {
  margin: 22px 0 4px;
  padding: 16px 18px;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  color: var(--text);
}

.notice p {
  margin: 0;
  color: var(--text);
}

.home-body {
  background: #f6faf9;
  color: var(--ink);
}

.home-main {
  overflow: hidden;
}

.home-container {
  width: min(100% - 32px, var(--wide-max));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  min-height: clamp(600px, 82svh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(246, 250, 249, 0.98) 0%, rgba(246, 250, 249, 0.88) 48%, rgba(246, 250, 249, 0.18) 100%),
    #dfeff0;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: min(100% - 32px, var(--wide-max));
  margin: 0 auto;
  z-index: -1;
  overflow: visible;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0 -12%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.72) 58%),
    linear-gradient(120deg, transparent 0 54%, rgba(216, 246, 95, 0.18) 54% 66%, transparent 66% 100%);
  pointer-events: none;
}

.hero-device {
  position: absolute;
  width: clamp(230px, 23vw, 330px);
  aspect-ratio: 1320 / 2868;
  overflow: hidden;
  border: 6px solid rgba(16, 23, 25, 0.72);
  border-radius: 30px;
  background: #edf7f8;
  box-shadow: 0 30px 78px rgba(16, 23, 25, 0.2);
}

.hero-device img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.hero-device-main {
  right: 0;
  top: 34px;
  width: clamp(300px, 29vw, 420px);
  z-index: 2;
  transform: rotate(2deg);
}

.hero-device-qr {
  right: clamp(250px, 26vw, 330px);
  top: 136px;
  width: clamp(190px, 18vw, 260px);
  z-index: 1;
  transform: rotate(-5deg);
  opacity: 0.42;
}

.hero-device-nfc {
  display: none;
}

.hero-copy {
  width: min(100% - 32px, var(--wide-max));
  margin: 0 auto;
  padding: 76px 0 92px;
}

.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.96;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(16, 23, 25, 0.72);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.62;
  font-weight: 650;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.primary-action {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 34px rgba(16, 23, 25, 0.16);
}

.primary-action:hover {
  background: #253033;
  text-decoration: none;
}

.secondary-action {
  border: 1px solid rgba(16, 23, 25, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.secondary-action:hover {
  border-color: rgba(5, 168, 198, 0.48);
  text-decoration: none;
}

.signal-strip {
  position: relative;
  margin-top: -1px;
  padding: 26px 0;
  border-top: 1px solid rgba(16, 23, 25, 0.08);
  border-bottom: 1px solid rgba(16, 23, 25, 0.08);
  background: #101719;
  color: #fff;
}

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

.signal-grid div {
  min-height: 76px;
  padding: 4px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.signal-grid div:last-child {
  border-right: 0;
}

.signal-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--lime);
  font-size: 23px;
  line-height: 1.15;
}

.signal-grid span {
  display: block;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.home-section {
  padding: clamp(58px, 7vw, 96px) 0;
}

#features {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(237, 246, 247, 0.68)),
    #f6faf9;
}

.section-heading {
  max-width: var(--wide-max);
}

.section-heading h2,
.scene-copy h2,
.privacy-layout h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow),
.scene-copy p:not(.eyebrow),
.privacy-layout p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.feature-card {
  border: 1px solid rgba(16, 23, 25, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 23, 25, 0.05);
}

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

.feature-kicker {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
}

.feature-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.scene-section {
  padding: clamp(62px, 8vw, 104px) 0;
  background:
    linear-gradient(180deg, #fbfffd 0%, #edf8f7 100%),
    #f7fbfa;
}

.scene-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.9fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.scene-copy {
  max-width: 560px;
}

.scene-media {
  margin: 0;
  display: flex;
  justify-content: center;
}

.scene-crop-image {
  width: min(100%, 460px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(16, 23, 25, 0.18);
}

.privacy-band {
  padding: clamp(58px, 7vw, 96px) 0;
  background: var(--sand);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: end;
}

.privacy-links {
  display: grid;
  gap: 10px;
}

.privacy-links a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid rgba(16, 23, 25, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-weight: 900;
}

.privacy-links a:hover {
  border-color: rgba(16, 23, 25, 0.32);
  text-decoration: none;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 38px;
  color: var(--muted);
  font-size: 13px;
  background: #fff;
}

.footer-inner {
  width: min(100% - 32px, var(--wide-max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 960px) {
  .feature-grid,
  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-grid div:nth-child(2) {
    border-right: 0;
  }

  .signal-grid div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 20px;
  }

  .scene-layout,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .scene-copy {
    max-width: 760px;
  }

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

@media (max-width: 760px) {
  .topbar-inner {
    min-height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 13px;
  }

  .page {
    padding-top: 34px;
  }

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

  .home-hero {
    min-height: 860px;
    align-items: flex-start;
    background:
      linear-gradient(180deg, rgba(246, 250, 249, 0.98) 0%, rgba(246, 250, 249, 0.9) 54%, rgba(246, 250, 249, 0.2) 100%),
      #dfeff0;
  }

  .hero-copy {
    padding: 48px 0 430px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-device {
    border-width: 5px;
    border-radius: 28px;
  }

  .hero-device-main {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -28px;
    width: 190px;
    transform: translateX(-50%) rotate(2deg);
  }

  .hero-device-qr {
    display: none;
  }

  .hero-device-nfc {
    display: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .feature-grid,
  .signal-grid,
  .privacy-links {
    grid-template-columns: 1fr;
  }

  .signal-grid div,
  .signal-grid div:nth-child(2),
  .signal-grid div:last-child {
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .signal-grid div:first-child {
    border-top: 0;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-kicker {
    margin-bottom: 34px;
  }

  .scene-section {
    padding: 52px 0 58px;
  }

  .scene-media {
    margin-top: 8px;
  }

  .scene-crop-image {
    width: min(100%, 380px);
  }

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