:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", "Microsoft JhengHei UI", "Microsoft JhengHei", system-ui, sans-serif;
  background: #090b12;
  color: #f7f8fc;
  font-synthesis: none;
  --surface: rgba(22, 25, 38, 0.88);
  --surface-strong: #181c2a;
  --line: rgba(255, 255, 255, 0.1);
  --muted: #adb4c8;
  --accent: #8b7cff;
  --accent-strong: #a89cff;
  --teal: #55dbc8;
  --max-width: 1120px;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% -8%, rgba(77, 216, 198, 0.17), transparent 31rem),
    radial-gradient(circle at 92% 5%, rgba(139, 124, 255, 0.24), transparent 34rem),
    #090b12;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(9, 11, 18, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: linear-gradient(145deg, #5146a9, #217f78);
  box-shadow: 0 10px 28px rgba(51, 102, 153, 0.25);
  color: white;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.nav-links a:hover {
  color: white;
}

.language-switcher {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.language-switcher a {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.language-switcher a.active {
  background: rgba(139, 124, 255, 0.22);
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 72px;
  padding: 92px 0 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
  content: "";
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 span {
  background: linear-gradient(110deg, #ffffff 15%, #a99dff 55%, #65dfce);
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: linear-gradient(135deg, #7869e8, #5a4bc5);
  box-shadow: 0 12px 32px rgba(91, 74, 199, 0.26);
  color: white;
  font-size: 14px;
  font-weight: 730;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

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

.availability {
  margin: 17px 0 0;
  color: #858da4;
  font-size: 13px;
}

.preview-window {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(29, 33, 50, 0.94), rgba(16, 19, 30, 0.94));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.preview-window::before {
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(85, 219, 200, 0.5), transparent 35%, rgba(139, 124, 255, 0.55));
  filter: blur(18px);
  opacity: 0.34;
  content: "";
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 2px 15px;
}

.window-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a5062;
}

.window-bar span {
  margin-left: 8px;
  color: #767f96;
  font-size: 11px;
}

.article-preview {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;
  background: #111520;
}

.article-preview h3 {
  margin-bottom: 17px;
  font-size: 21px;
  line-height: 1.35;
}

.original,
.translation {
  font-size: 14px;
  line-height: 1.75;
}

.original {
  margin-bottom: 12px;
  color: #959db2;
}

.translation {
  margin-bottom: 22px;
  padding: 12px 14px;
  border-left: 3px solid var(--teal);
  border-radius: 5px 10px 10px 5px;
  background: rgba(85, 219, 200, 0.075);
  color: #e7fffb;
}

.translation:last-child {
  margin-bottom: 0;
}

.edge-button {
  position: absolute;
  right: -12px;
  top: 46%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px 0 0 13px;
  background: linear-gradient(145deg, #7264df, #3f8e86);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  font-weight: 800;
}

.section {
  padding: 76px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading h2,
.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p,
.card p,
.card li,
.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.75;
}

.feature-grid,
.steps,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.card {
  padding: 24px;
}

.card-number,
.card-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(139, 124, 255, 0.25);
  border-radius: 11px;
  background: rgba(139, 124, 255, 0.11);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 780;
}

.card h3,
.policy-card h2 {
  margin-bottom: 10px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.card p:last-child,
.policy-card p:last-child,
.policy-card ul:last-child {
  margin-bottom: 0;
}

.privacy-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 34px;
  border: 1px solid rgba(85, 219, 200, 0.22);
  border-radius: 22px;
  background: linear-gradient(130deg, rgba(31, 83, 79, 0.28), rgba(31, 34, 54, 0.78));
}

.privacy-banner h2 {
  margin-bottom: 9px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.privacy-banner p {
  max-width: 750px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.page-hero {
  max-width: 780px;
  padding: 78px 0 40px;
}

.page-content {
  padding: 0 0 84px;
}

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

.support-grid .card h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.support-grid code,
.policy-card code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: #d9d3ff;
}

.policy-stack {
  display: grid;
  gap: 16px;
}

.policy-card {
  padding: 26px 28px;
}

.policy-card ul,
.card ul {
  padding-left: 21px;
}

.notice {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 6px 12px 12px 6px;
  background: rgba(139, 124, 255, 0.08);
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #858da4;
  font-size: 13px;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 68px;
  }

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

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

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

  .nav {
    min-height: 62px;
    gap: 12px;
  }

  .nav-links > a {
    display: none;
  }

  .language-switcher {
    margin-left: auto;
  }

  .hero {
    padding: 54px 0 58px;
  }

  h1 {
    font-size: 45px;
  }

  .preview-window {
    padding: 12px;
    border-radius: 20px;
  }

  .article-preview {
    padding: 19px;
  }

  .section {
    padding: 56px 0;
  }

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

  .page-hero {
    padding-top: 56px;
  }

  .privacy-banner,
  .policy-card {
    padding: 23px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
