@import url('https://fonts.cdnfonts.com/css/google-sans');

:root {
  --teal: #22d3c5;
  --teal-dark: #14b8a6;
  --teal-soft: #e9fbf9;
  --amber: #f5b942;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-100: #f1f5f9;
  --light-gray: #fafafa;
  --line: #e2e8f0;
  --panel: #ffffff;
  --danger-bg: #fee2e2;
  --danger-text: #b91c1c;
  --success-bg: #d1fae5;
  --success-text: #047857;
  --shadow-card: 0 18px 42px rgba(15, 23, 42, 0.06);
  --shadow-mockup: 0 32px 72px rgba(15, 23, 42, 0.16);
  --radius: 12px;
  --container: 1230px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--slate-900);
  font-family: "Google Sans", "Product Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a:hover {
  color: var(--teal-dark);
}

svg {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(34, 211, 197, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--slate-900);
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 48px, var(--container));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand,
.download-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--slate-900);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 1.35rem;
}

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

.nav-links a:not(.button) {
  color: var(--slate-600);
  font-size: 0.98rem;
  font-weight: 600;
}

.nav-links a:not(.button):hover {
  color: var(--slate-900);
}

.nav-cta {
  justify-self: end;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  justify-self: end;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--slate-900);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-links .mobile-menu-cta {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 14px 24px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(34, 211, 197, 0.24);
}

.button-primary:hover {
  background: var(--teal-dark);
  color: #ffffff;
}

.button-on-dark {
  color: var(--slate-900);
  background: var(--teal);
  box-shadow: none;
}

.button-on-dark:hover {
  color: var(--slate-900);
  background: #2dd4bf;
}

.hero {
  overflow: hidden;
  background: #ffffff;
  padding: 124px 0 144px;
}

.hero-inner {
  display: grid;
  gap: 72px;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

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

h1 {
  margin-bottom: 28px;
  color: var(--slate-900);
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--slate-900);
  font-size: clamp(2.35rem, 4vw, 3.45rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  color: var(--slate-900);
  font-size: 1.24rem;
  line-height: 1.25;
}

.hero-copy p {
  max-width: 740px;
  margin: 0 auto 36px;
  color: var(--slate-600);
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  line-height: 1.5;
}

.mockup-wrap {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.app-window {
  overflow: hidden;
  border: 1px solid #d6dee8;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-mockup);
}

.window-bar {
  min-height: 58px;
  display: grid;
  grid-template-columns: 132px 1fr 132px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  padding: 0 20px;
}

.window-controls {
  display: flex;
  gap: 10px;
}

.window-controls span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.control-red {
  background: #ff5f57;
}

.control-amber {
  background: #febc2e;
}

.control-green {
  background: #28c840;
}

.window-title {
  overflow: hidden;
  color: var(--slate-600);
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diff-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  background: #f1f5f9;
}

.diff-head div {
  padding: 12px 22px;
  color: var(--slate-700);
  font-size: 0.9rem;
  font-weight: 800;
}

.diff-head div + div {
  border-left: 1px solid var(--line);
}

.diff-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 405px;
}

.pane {
  min-width: 0;
  background: #ffffff;
}

.pane + .pane {
  border-left: 1px solid var(--line);
}

.code-lines {
  margin: 0;
  padding: 18px 0 26px;
  list-style: none;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.94rem;
  line-height: 1.85;
}

.code-lines li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 28px;
  padding-right: 24px;
}

.code-lines span {
  color: var(--slate-400);
  text-align: center;
  user-select: none;
}

.code-lines code {
  overflow: hidden;
  color: var(--slate-700);
  padding: 0 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.removed-line {
  background: var(--danger-bg);
}

.removed-line span {
  color: var(--danger-text);
  opacity: 0.65;
}

.removed-line code {
  color: var(--danger-text);
  background: transparent;
}

.added-line {
  background: var(--teal-soft);
}

.added-line span {
  color: var(--success-text);
  opacity: 0.65;
}

.added-line code {
  color: var(--success-text);
  background: transparent;
}

.value-strip {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 28px 0;
}

.value-list {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-700);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.value-check-icon {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex: 0 0 auto;
}

.section {
  padding: 132px 0;
  scroll-margin-top: 98px;
}

.section-alt {
  background: var(--light-gray);
}

.section-heading {
  margin-bottom: 58px;
}

.section-heading.centered {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--slate-600);
  font-size: 1.25rem;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

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

.feature-card,
.use-grid article,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-card);
}

.feature-card {
  min-height: 242px;
  padding: 30px;
}

.icon-card {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
}

.icon-card svg,
.shield-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.feature-card p,
.use-grid p,
.pricing-card p,
.faq-grid p,
.privacy-grid p {
  margin-bottom: 0;
  color: var(--slate-600);
  font-size: 1.04rem;
}

.privacy-section {
  background: #ffffff;
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.94fr);
  gap: 72px;
  align-items: center;
}

.privacy-grid > div {
  max-width: 600px;
}

.privacy-card {
  min-height: 300px;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 48px;
  text-align: center;
}

.shield-icon {
  display: inline-flex;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--teal);
}

.shield-icon svg {
  width: 58px;
  height: 58px;
  stroke-width: 1.8;
}

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

.use-grid article {
  min-height: 214px;
  background: #f8fafc;
  padding: 36px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
}

.pricing-card.highlighted {
  border: 2px solid var(--teal);
  box-shadow: 0 26px 58px rgba(34, 211, 197, 0.14);
}

.pricing-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pricing-title-row span {
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 800;
}

.pricing-card strong {
  display: block;
  color: var(--slate-900);
  font-size: 2.4rem;
  line-height: 1.1;
}

.faq-section {
  background: #ffffff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 84px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-grid h3 {
  margin-bottom: 12px;
  font-size: 1.06rem;
}

.download-section {
  background: var(--slate-900);
  color: #ffffff;
  padding: 126px 0 72px;
  scroll-margin-top: 98px;
}

.download-inner {
  text-align: center;
}

.download-brand {
  justify-content: center;
  color: #ffffff;
  font-size: 1.44rem;
  margin-bottom: 42px;
}

.download-section h2 {
  color: #ffffff;
  margin-bottom: 22px;
}

.download-section p {
  max-width: 760px;
  margin: 0 auto 34px;
  color: var(--slate-400);
  font-size: 1.23rem;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 110px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--slate-500);
  padding-top: 32px;
  text-align: left;
}

.footer-row a {
  color: var(--slate-500);
}

.footer-row a:hover {
  color: #ffffff;
}

.footer-domain-hidden {
  display: none;
}

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
  }

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

  .value-list {
    flex-wrap: wrap;
    gap: 18px 32px;
  }

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

  .privacy-grid > div,
  .pricing-grid {
    max-width: 760px;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    min-height: 72px;
    grid-template-columns: 1fr auto;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 73px;
    right: 18px;
    left: 18px;
    display: none;
    justify-content: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    padding: 10px;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a:not(.button) {
    border-radius: 8px;
    padding: 13px 12px;
  }

  .nav-links .mobile-menu-cta {
    display: inline-flex;
    margin-top: 8px;
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 88px 0 104px;
  }

  .section {
    padding: 96px 0;
  }

  .diff-view,
  .diff-head {
    grid-template-columns: 1fr;
  }

  .diff-head div + div,
  .pane + .pane {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-shell {
    width: min(100% - 30px, var(--container));
  }

  .hero {
    padding-top: 70px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy p {
    margin-left: 0;
  }

  .hero-cta {
    width: 100%;
  }

  .mockup-wrap {
    margin-inline: -15px;
    width: calc(100% + 30px);
  }

  .window-bar {
    grid-template-columns: 82px 1fr;
  }

  .window-title {
    text-align: right;
  }

  .code-lines {
    font-size: 0.78rem;
  }

  .code-lines li {
    grid-template-columns: 42px minmax(0, 1fr);
    padding-right: 10px;
  }

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

  .feature-card,
  .use-grid article,
  .pricing-card {
    min-height: auto;
    padding: 28px;
  }

  .privacy-card {
    min-height: auto;
    padding: 36px 24px;
  }

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

  .pricing-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-section {
    padding-top: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
