:root {
  --ink: #101418;
  --muted: #66707a;
  --soft: #eef2f6;
  --line: #dce3ea;
  --blue: #087ff7;
  --blue-dark: #075ec2;
  --cyan: #27b4c9;
  --green: #2fb66d;
  --panel: #ffffff;
  --dark: #071017;
  --radius: 8px;
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans",
    "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fafc;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(248, 250, 252, 0.86);
  border-bottom: 1px solid rgba(220, 227, 234, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--dark);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  min-height: calc(100svh - 69px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(39, 180, 201, 0.18), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #eef4f8 42%, #dceef1 100%);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 9vw, 112px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  margin-bottom: 18px;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.26;
}

.intro {
  max-width: 610px;
  color: #3f4a54;
  font-size: 18px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 20, 24, 0.1);
}

.hero-visual {
  position: relative;
  min-height: 660px;
}

.device {
  position: absolute;
  width: min(42vw, 320px);
  min-width: 230px;
  border: 10px solid #101418;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 70px rgba(16, 20, 24, 0.24);
}

.device img {
  width: 100%;
  height: auto;
}

.device-back {
  top: 52px;
  right: clamp(110px, 16vw, 220px);
  transform: rotate(-7deg);
  opacity: 0.96;
}

.device-front {
  top: 0;
  right: 0;
  transform: rotate(5deg);
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

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

.flow article,
.feature-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.flow p,
.feature-grid p,
.privacy-section p,
.feature-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.step {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  color: #fff;
  background: #101418;
}

.feature-band .eyebrow {
  color: #7ed9e6;
}

.feature-copy {
  position: sticky;
  top: 112px;
}

.feature-copy p {
  color: #c6ced6;
}

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

.feature-grid article {
  color: var(--ink);
}

.screens-section {
  background: #fff;
}

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

figure {
  margin: 0;
}

.screens figure {
  min-width: 0;
}

.screens img {
  width: 100%;
  border: 8px solid #11161b;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 20px 44px rgba(16, 20, 24, 0.16);
}

figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
  background: #edf4f6;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.document-page {
  background: #fff;
}

.document-shell {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 32px);
}

.markdown-body {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

.markdown-body h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.05;
}

.markdown-body h2 {
  margin: 46px 0 14px;
  padding-top: 4px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.22;
}

.markdown-body p,
.markdown-body li {
  color: #3f4a54;
}

.markdown-body a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.markdown-body ul,
.markdown-body ol {
  margin: 0 0 22px;
  padding-left: 1.4em;
}

.markdown-body li + li {
  margin-top: 6px;
}

.markdown-body hr {
  margin: clamp(54px, 8vw, 78px) 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #6d7782;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .device {
    width: min(48vw, 300px);
  }

  .device-back {
    left: 6%;
    right: auto;
  }

  .device-front {
    right: 8%;
  }

  .flow,
  .feature-band,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 42px 18px 44px;
  }

  h1 {
    font-size: clamp(48px, 18vw, 74px);
  }

  .lead {
    font-size: 24px;
  }

  .intro {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 510px;
    margin-top: 8px;
  }

  .device {
    min-width: 0;
    width: 58vw;
    border-width: 7px;
    border-radius: 28px;
  }

  .device-back {
    top: 58px;
    left: 0;
  }

  .device-front {
    top: 0;
    right: 0;
  }

  .section {
    padding: 58px 18px;
  }

  .feature-grid,
  .screens {
    grid-template-columns: 1fr;
  }

  .screens {
    max-width: 330px;
    margin: 0 auto;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 18px;
  }
}
