:root {
  --blue: #1a73e8;
  --blue-hover: #1558b0;
  --red: #ea4335;
  --ink: #202124;
  --muted: #5f6368;
  --line: #eef1f4;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: #fff;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  height: 60px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 10px rgba(20, 40, 70, .03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.site-header p {
  margin: 0;
  color: #6f7782;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.pause {
  position: absolute;
  right: 28px;
  top: 77px;
  border: 0;
  border-radius: 18px;
  background: #eaf2ff;
  color: #263343;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 13px;
  cursor: pointer;
}

.pause span {
  font-size: 10px;
  margin-right: 4px;
}

main {
  width: 100%;
  padding-top: 36px;
}

.download-hero {
  width: 1040px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chrome-logo {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 0 10px;
}

h1 {
  margin: 0;
  font-size: 59px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 750;
}

.second-line {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 59px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0;
}

.custom-word {
  display: inline-flex;
  align-items: center;
  height: 92px;
  border-radius: 48px;
  background: #fde8e5;
  color: var(--red);
  padding: 0 38px 0 30px;
  font-size: 48px;
}

.custom-word b {
  font-size: 42px;
  line-height: 1;
  margin-right: 12px;
  transform: rotate(90deg);
}

.download-button {
  min-width: 204px;
  height: 62px;
  margin-top: 27px;
  border-radius: 33px;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 3px 7px rgba(26, 115, 232, .15);
  transition: transform .2s ease, background .2s ease;
}

.download-button:hover {
  background: var(--blue-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.download-button span {
  font-size: 25px;
  line-height: 1;
}

.system-line {
  margin: 10px 0 25px;
  color: #68717d;
  font-size: 12px;
}

.usage-option {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  color: #68717d;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
  max-width: 760px;
}

.usage-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-ui {
  width: 19px;
  height: 19px;
  border-radius: 3px;
  display: inline-grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  flex: none;
}

.usage-option input:not(:checked) + .checkbox-ui {
  background: #fff;
  border: 2px solid #8a929d;
  color: transparent;
}

.terms-copy {
  max-width: 680px;
  font-size: 12px;
  line-height: 1.65;
  color: #68717d;
  margin: 20px 0 37px;
}

.browser-demo {
  width: 1040px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  border: 1px solid #d7dee5;
  border-radius: 19px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(35, 55, 75, .09);
}

.official-preview {
  height: auto;
  aspect-ratio: 2160 / 1248;
}

.official-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customize-shot {
  width: 1120px;
  max-width: calc(100% - 40px);
  margin: 92px auto 84px;
}

.customize-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-strip {
  width: 1040px;
  max-width: calc(100% - 40px);
  margin: 92px auto 70px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.feature-strip h2,
.info-copy h2,
.faq-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.15;
  font-weight: 740;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.feature-grid article {
  min-height: 236px;
  border: 1px solid #e4e8ee;
  border-radius: 18px;
  padding: 34px 28px 28px;
  text-align: left;
  background: #fff;
  box-shadow: 0 8px 24px rgba(60, 64, 67, .06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  margin-bottom: 24px;
}

.feature-icon.blue {
  background: #1a73e8;
}

.feature-icon.green {
  background: #34a853;
}

.feature-icon.red {
  background: #ea4335;
}

.feature-grid h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.feature-grid p,
.info-copy p,
.faq-section p {
  margin: 0;
  color: #5f6368;
  font-size: 16px;
  line-height: 1.8;
}

.info-band {
  width: 1040px;
  max-width: calc(100% - 40px);
  margin: 0 auto 78px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: center;
}

.info-band.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.info-band.reverse .info-copy {
  order: 2;
}

.info-copy p:not(.section-kicker) {
  margin-top: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  font-size: 16px;
  font-weight: 700;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.small-preview {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 18px;
}

.device-stack {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.device {
  border: 1px solid #dce3ea;
  background: #f8fbff;
  box-shadow: 0 18px 48px rgba(60, 64, 67, .14);
}

.desktop-device {
  width: 100%;
  height: 300px;
  border-radius: 18px;
  padding: 26px;
}

.device-bar {
  height: 34px;
  border-radius: 18px;
  background: #e3f2fd;
  margin-bottom: 44px;
}

.device-search {
  height: 54px;
  border-radius: 28px;
  background: #fff;
  display: flex;
  align-items: center;
  padding-left: 28px;
  color: #67717c;
  box-shadow: 0 3px 10px rgba(60, 64, 67, .14);
}

.phone-device {
  position: absolute;
  right: 32px;
  bottom: 4px;
  width: 128px;
  height: 216px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 18px;
  background: #fff;
}

.phone-device img {
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
}

.phone-device span {
  width: 78px;
  height: 12px;
  border-radius: 8px;
  background: #d7e8ff;
  margin-bottom: 12px;
}

.security-section {
  width: 1040px;
  max-width: calc(100% - 40px);
  margin: 18px auto 92px;
}

.security-section h2 {
  margin: 0 0 58px;
  text-align: center;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.14;
  font-weight: 760;
  letter-spacing: 0;
}

.security-section h2 span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  border-radius: 30px;
  padding: 0 24px 0 18px;
  background: #e8f0fe;
  color: #1967d2;
}

.security-section h2 b {
  font-size: 26px;
  line-height: 1;
}

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

.security-card {
  position: relative;
  min-height: 410px;
  border-radius: 18px;
  padding: 44px 50px;
  overflow: hidden;
}

.security-card p {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
}

.security-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: 0;
}

.security-card button {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

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

.card-blue button,
.card-navy button {
  background: #fff;
  color: var(--blue);
}

.card-light {
  background: #e8f0fe;
  color: var(--ink);
}

.card-white {
  background: #fff;
  border: 1px solid #d7dce2;
  color: var(--ink);
}

.card-navy {
  background: #185abc;
  color: #fff;
}

.password-ui {
  position: absolute;
  left: 90px;
  right: 84px;
  bottom: 76px;
  color: #6d747d;
}

.password-ui > div {
  height: 54px;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  padding: 0 26px;
  font-size: 15px;
}

.password-ui .saved-box {
  position: relative;
  width: 86%;
  height: 94px;
  margin: -16px auto 0;
  display: block;
  padding: 20px 24px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.saved-box strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  margin-bottom: 18px;
}

.saved-box span {
  color: #5f6368;
}

.shield-art {
  position: absolute;
  left: 76px;
  right: 76px;
  bottom: -62px;
  height: 256px;
  display: grid;
  place-items: center;
  color: rgba(232, 240, 254, .75);
  font-size: 132px;
  font-weight: 800;
  background: linear-gradient(90deg, #1b63c7 0 50%, #4285f4 50%);
  clip-path: polygon(50% 0, 100% 22%, 100% 62%, 84% 100%, 50% 100%, 16% 100%, 0 62%, 0 22%);
}

.faq-section {
  width: 1040px;
  max-width: calc(100% - 40px);
  margin: 26px auto 72px;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 46px;
}

.faq-section details {
  border-top: 1px solid #e4e8ee;
}

.faq-section details:last-child {
  border-bottom: 1px solid #e4e8ee;
}

.faq-section summary {
  cursor: pointer;
  padding: 28px 0;
  color: #0b57d0;
  font-size: 22px;
  font-weight: 700;
  list-style: none;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
}

.faq-section details[open] summary::after {
  content: "−";
}

.faq-section details p {
  padding: 0 0 26px;
}

.compliance-footer {
  width: 1040px;
  max-width: calc(100% - 40px);
  margin: 34px auto 44px;
  text-align: center;
  color: #6f7782;
  font-size: 12px;
  line-height: 1.6;
}

.compliance-footer p {
  margin: 0 0 10px;
}

.compliance-footer nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.pause.paused span {
  display: inline-block;
  transform: rotate(90deg);
}

body.paused * {
  animation-play-state: paused !important;
}

@media (max-width: 760px) {
  .site-header {
    height: 52px;
  }

  .site-header p {
    font-size: 11px;
  }

  .pause {
    display: none;
  }

  main {
    padding-top: 32px;
  }

  .chrome-logo {
    width: 53px;
    height: 53px;
  }

  h1 {
    font-size: 39px;
  }

  .second-line {
    height: 72px;
    font-size: 39px;
  }

  .custom-word {
    height: 66px;
    font-size: 33px;
    padding: 0 24px 0 20px;
  }

  .custom-word b {
    font-size: 32px;
  }

  .download-button {
    margin-top: 23px;
  }

  .usage-option {
    max-width: 350px;
    text-align: left;
  }

  .terms-copy {
    margin-bottom: 28px;
  }

  .customize-shot {
    max-width: calc(100% - 24px);
    margin: 56px auto 54px;
  }

  .feature-strip {
    margin: 58px auto 48px;
  }

  .feature-strip h2,
  .info-copy h2,
  .faq-section h2 {
    font-size: 32px;
  }

  .feature-grid,
  .info-band,
  .info-band.reverse {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 14px;
  }

  .feature-grid article {
    min-height: 0;
    padding: 26px 22px;
  }

  .info-band,
  .info-band.reverse {
    gap: 28px;
    margin-bottom: 56px;
  }

  .info-band.reverse .info-copy {
    order: 0;
  }

  .device-stack {
    min-height: 290px;
  }

  .desktop-device {
    height: 230px;
    padding: 20px;
  }

  .phone-device {
    width: 96px;
    height: 166px;
    right: 20px;
  }

  .security-section {
    margin: 8px auto 58px;
  }

  .security-section h2 {
    font-size: 34px;
    margin-bottom: 34px;
  }

  .security-section h2 span {
    height: 44px;
    padding: 0 18px 0 14px;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .security-card {
    min-height: 320px;
    padding: 30px 28px;
  }

  .security-card h3 {
    font-size: 25px;
  }

  .password-ui {
    left: 44px;
    right: 44px;
    bottom: 66px;
  }

  .shield-art {
    left: 44px;
    right: 44px;
    height: 200px;
    font-size: 100px;
  }

  .faq-section summary {
    font-size: 18px;
    padding: 22px 0;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 34px;
  }

  .second-line {
    font-size: 34px;
  }

  .custom-word {
    font-size: 29px;
    padding: 0 18px;
  }

  .download-hero,
  .browser-demo {
    max-width: calc(100% - 24px);
  }

  .usage-option,
  .terms-copy,
  .compliance-footer {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
