:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f7f9fb;
  --surface-strong: #eef4f3;
  --text: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --accent: #00897b;
  --accent-strong: #00695c;
  --shadow: 0 20px 60px rgb(60 64 67 / 0.14);
  --section-y: clamp(5rem, 9vw, 8rem);
  font-family: Nunito, "Marlin Soft SQ", Helvetica, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", EmojiSymbols, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgb(0 137 123 / 0.12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0, #f7f9fb 100%);
}

a {
  color: inherit;
}

.site {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 22px 0;
}

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

.brand img {
  width: 34px;
  height: 34px;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100svh - 78px);
  padding: 44px 0 clamp(4rem, 7vw, 6rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

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

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 18px;
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.button.primary {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #ffffff;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.chrome-bar {
  display: flex;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: #f1f3f4;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c4c7c5;
}

.dot:nth-child(1) {
  background: #ff5f57;
}

.dot:nth-child(2) {
  background: #ffbd2e;
}

.dot:nth-child(3) {
  background: #28c840;
}

.mock {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 360px;
}

.mock-list {
  border-right: 1px solid var(--line);
  min-width: 0;
}

.mock-row {
  display: block;
  width: 100%;
  border: 0;
  padding: 15px 16px;
  border-bottom: 1px solid #edf0f2;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mock-row:hover {
  background: #f1f8f7;
}

.mock-row.active {
  background: #e0f2f1;
}

.mock-row:focus-visible,
.mock-tabs button:focus-visible {
  outline: 3px solid rgb(0 137 123 / 0.28);
  outline-offset: -3px;
}

.method {
  display: inline-block;
  min-width: 4ch;
  font-weight: 800;
}

.method.get {
  color: #00796b;
}

.method.post {
  color: #1967d2;
}

.method.patch {
  color: #7e57c2;
}

.mock-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.mock-meta {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.mock-panel {
  min-width: 0;
  padding: 16px;
}

.mock-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--muted);
  font-weight: 700;
}

.mock-tabs button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.mock-tabs button.active {
  color: var(--accent-strong);
}

.code {
  margin: 16px 0 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  max-width: 100%;
  overflow: auto;
  background: #fafafa;
  font: 13px/1.6 "SFMono-Regular", Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.section {
  padding: var(--section-y) 0;
}

.section h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.text-link {
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.demo-section {
  padding-top: var(--section-y);
}

.video-frame {
  position: relative;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111111;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.video-facade-btn img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: relative;
  z-index: 1;
  transition: transform 0.15s ease;
}

.video-facade-btn:hover .play-icon,
.video-facade-btn:focus-visible .play-icon {
  transform: scale(1.1);
}

.video-facade-btn:focus-visible {
  outline: 3px solid rgb(0 137 123 / 0.5);
  outline-offset: -3px;
}

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

.feature {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: #ffffff;
}

.feature h3 {
  margin: 0;
  font-size: 18px;
}

.feature p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.privacy-page {
  max-width: 820px;
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
}

.privacy-page h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.policy-updated {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.privacy-page h2 {
  margin: 38px 0 10px;
  font-size: 24px;
}

.privacy-page p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

.footer a {
  text-decoration: none;
}

@media (max-width: 820px) {
  :root {
    --section-y: clamp(4rem, 12vw, 5.5rem);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px 0 64px;
  }

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

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .mock-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
