@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #071735;
  --muted: #60718f;
  --muted-2: #7d8ba4;
  --blue: #1766ff;
  --blue-soft: #eef5ff;
  --teal: #13b6a1;
  --teal-dark: #079889;
  --line: #d9e5f2;
  --card: rgba(255, 255, 255, 0.94);
  --shadow: 0 20px 50px rgba(24, 67, 112, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: #f8fbff;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 7%, rgba(210, 234, 255, 0.72), transparent 25rem),
    radial-gradient(circle at 94% 36%, rgba(222, 243, 255, 0.76), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, #f6fbff 55%, #fbfdff 100%);
}

a {
  color: inherit;
}

.migration-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.migration-brand {
  display: inline-flex;
  align-items: center;
}

.migration-brand img {
  display: block;
  width: 170px;
  height: auto;
}

.header-signin {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.header-signin a {
  min-width: 94px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #075bd8;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(24, 67, 112, 0.08);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.migration-main {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 96px;
}

.migration-hero {
  text-align: center;
  margin-bottom: 40px;
}

.migration-hero h1 {
  margin: 0;
  font-size: clamp(48px, 6.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 850;
}

.migration-hero h1 span {
  color: #7184a2;
}

.migration-lede {
  max-width: 780px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.migration-lede strong {
  color: var(--ink);
  font-weight: 850;
}

.migration-card {
  width: 100%;
  border: 1px solid rgba(204, 219, 234, 0.85);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.signup-card {
  padding: 28px 32px 30px;
}

.google-cta {
  width: 100%;
  min-height: 70px;
  padding: 12px 22px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 12px;
  color: white;
  background: linear-gradient(100deg, var(--teal-dark), #13bda7);
  box-shadow: 0 12px 26px rgba(11, 158, 142, 0.17);
  text-decoration: none;
  font-size: 20px;
  font-weight: 780;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.google-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(11, 158, 142, 0.22);
}

.google-cta:focus-visible,
.header-signin a:focus-visible {
  outline: 3px solid rgba(23, 102, 255, 0.28);
  outline-offset: 3px;
}

.google-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #4285f4;
  background: #fff;
  font-size: 24px;
  font-weight: 900;
}

.cta-arrow {
  justify-self: end;
  font-size: 30px;
  font-weight: 400;
}

.signup-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.benefit-grid {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid #e4edf6;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.benefit-item {
  min-width: 0;
  padding: 2px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-item + .benefit-item {
  border-left: 1px solid #e4edf6;
}

.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #04a992;
  background: #e7faf5;
}

.benefit-icon-blue {
  color: var(--blue);
  background: #eaf3ff;
}

.benefit-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-item h2 {
  margin: 3px 0 6px;
  font-size: 16px;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.benefit-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

#demo {
  scroll-margin-top: 32px;
}

.demo-intro {
  max-width: 720px;
  margin: 66px auto 28px;
  text-align: center;
}

.demo-intro h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 840;
}

.demo-intro > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.demo-intro .demo-description {
  max-width: 650px;
  margin: 8px auto 0;
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.55;
}

.demo-card {
  overflow: hidden;
  padding: 16px 16px 18px;
}

.demo-window-bar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 10px;
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
}

.demo-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.demo-dots {
  display: flex;
  gap: 8px;
}

.demo-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e4eaf2;
}

.migration-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #e2eaf3;
  border-radius: 14px;
  background: #f1f5fa;
}

@media (max-width: 780px) {
  .migration-header {
    width: min(100% - 30px, 980px);
    padding-top: 18px;
  }

  .migration-brand img {
    width: 145px;
  }

  .header-signin span {
    display: none;
  }

  .header-signin a {
    min-width: auto;
    padding: 10px 16px;
  }

  .migration-main {
    width: min(100% - 30px, 980px);
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .migration-hero h1 {
    font-size: clamp(44px, 12vw, 62px);
  }

  .migration-lede br {
    display: none;
  }

  .signup-card {
    padding: 18px;
  }

  .google-cta {
    min-height: 62px;
    grid-template-columns: 38px 1fr 30px;
    font-size: 17px;
  }

  .google-mark {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .benefit-item {
    padding: 18px 4px;
  }

  .benefit-item + .benefit-item {
    border-left: 0;
    border-top: 1px solid #e4edf6;
  }

  .demo-intro {
    margin-top: 48px;
  }

  .demo-card {
    padding: 10px;
  }

  .demo-window-bar {
    height: 40px;
  }
}

@media (max-width: 460px) {
  .migration-header {
    gap: 12px;
  }

  .migration-brand img {
    width: 132px;
  }

  .migration-main {
    padding-top: 32px;
  }

  .migration-hero h1 {
    font-size: 43px;
  }

  .migration-lede {
    font-size: 16px;
  }

  .google-cta {
    padding-left: 12px;
    padding-right: 12px;
  }

  .signup-note {
    font-size: 13px;
  }

  .demo-intro > p {
    font-size: 17px;
  }

  .demo-intro .demo-description {
    font-size: 14px;
  }
}
