:root {
  color-scheme: light;
  --background: #f7f7f5;
  --surface: #efefed;
  --text: #171717;
  --secondary: #686868;
  --line: #d8d8d5;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-break: strict;
  text-wrap: balance;
  word-break: normal;
}

.site-header,
.hero,
.content-section,
.support-callout,
.support-main,
.site-footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.brand-wordmark {
  width: 132px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 72px;
  min-height: 620px;
  padding: 80px 0 88px;
}

.overline,
.section-label {
  margin-bottom: 16px;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  font-weight: 560;
  line-height: 1.2;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--secondary);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.8;
}

.hero-links,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 450px;
}

.hero-visual img {
  width: min(100%, 430px);
  height: auto;
}

.content-section {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 56px;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-content {
  max-width: 720px;
}

.section-content h2,
.support-callout h2 {
  margin-bottom: 22px;
  font-size: clamp(1.65rem, 2.1vw, 2.15rem);
  font-weight: 500;
  line-height: 1.42;
}

.section-content h2 span,
.support-callout h2 span {
  white-space: nowrap;
}

.section-content > p {
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.85;
}

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

.feature-list article {
  padding: 0 0 42px;
}

.feature-list span {
  display: block;
  margin-bottom: 22px;
  color: #999;
  font-size: 11px;
}

.feature-list h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 520;
  line-height: 1.45;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.75;
}

.privacy-copy {
  max-width: 760px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
}

.inline-links a {
  color: var(--secondary);
  font-size: 14px;
  text-underline-offset: 4px;
}

.support-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 56px;
  padding: 88px 0 96px;
  border-top: 1px solid var(--line);
}

.support-callout h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.support-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 5px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: #888;
  font-size: 12px;
}

.support-main {
  max-width: 800px;
  padding: 88px 0 104px;
}

.page-intro {
  padding-bottom: 64px;
}

.page-intro h1 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.2vw, 3.35rem);
  font-weight: 560;
  line-height: 1.2;
}

.page-intro > p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.8;
}

.support-section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.support-section h2 {
  margin-bottom: 28px;
  font-size: 22px;
  font-weight: 520;
  line-height: 1.4;
}

.support-section > p {
  max-width: 680px;
  color: var(--secondary);
}

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

details {
  border-top: 1px solid var(--line);
}

summary {
  position: relative;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 4px;
  color: #777;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 680px;
  margin: -2px 0 22px;
  color: var(--secondary);
  font-size: 15px;
}

.email-link {
  display: inline-block;
  margin-top: 12px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
  text-underline-offset: 6px;
}

.document-links {
  border-bottom: 1px solid var(--line);
}

.document-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  text-decoration: none;
}

.document-links a:hover {
  color: var(--text);
}

.english-support p a {
  color: var(--text);
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .content-section,
  .support-callout,
  .support-main,
  .site-footer {
    width: min(100% - 32px, var(--max-width));
  }

  .site-header {
    min-height: 72px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .brand-wordmark {
    width: 112px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a:first-child {
    display: none;
  }

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

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9.5vw, 2.75rem);
    line-height: 1.24;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual img {
    width: min(88%, 420px);
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 64px 0;
  }

  .section-content h2 span,
  .support-callout h2 span {
    display: block;
  }

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

  .feature-list article {
    padding-bottom: 44px;
  }

  .feature-list article:last-child {
    padding-bottom: 0;
  }

  .support-callout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    padding: 64px 0 72px;
  }

  .site-footer {
    flex-direction: column;
    gap: 4px;
  }

  .support-main {
    padding: 68px 0 80px;
  }

  .page-intro {
    padding-bottom: 52px;
  }

  .support-section {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .hero-links {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 span {
    white-space: normal;
  }

}
