:root {
  color-scheme: light;
  --page: #f6f7fc;
  --surface: #ffffff;
  --surface-soft: #f1f3fb;
  --surface-tint: #eceefe;
  --stroke: rgba(25, 28, 62, 0.1);
  --stroke-strong: rgba(25, 28, 62, 0.17);
  --text: #16182d;
  --text-secondary: #5f647c;
  --text-tertiary: #858aa0;
  --indigo: #4c5fc7;
  --indigo-deep: #3547ad;
  --indigo-soft: rgba(76, 95, 199, 0.12);
  --mint: #4fc7b2;
  --shadow: 0 24px 72px rgba(32, 38, 89, 0.14);
  --small-shadow: 0 12px 32px rgba(32, 38, 89, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 5%, rgba(101, 111, 234, 0.17), transparent 30rem),
    radial-gradient(circle at 8% 62%, rgba(79, 199, 178, 0.1), transparent 27rem),
    var(--page);
  line-height: 1.6;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

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

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

.site-header {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.header-actions,
.site-nav,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(46, 50, 128, 0.2);
}

.brand strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.header-actions {
  gap: 20px;
}

.site-nav {
  gap: 22px;
}

.site-nav a,
.footer-links a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

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

.language-link {
  display: inline-flex;
  min-width: 46px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 680;
  text-decoration: none;
}

.hero {
  padding: 74px 0 92px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.13em;
}

.hero h1,
.page-intro h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 770;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero-lead,
.page-intro > p:not(.eyebrow, .updated) {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--text-secondary);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #6072db, var(--indigo-deep));
  box-shadow: 0 11px 25px rgba(56, 72, 178, 0.25);
}

.button-secondary {
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 7px 20px rgba(31, 36, 80, 0.06);
}

.platform-note {
  margin: 17px 0 0;
  color: var(--text-tertiary);
  font-size: 13px;
}

.app-preview {
  position: relative;
  max-width: 1100px;
  margin: 62px auto 0;
}

.app-preview::before {
  content: "";
  position: absolute;
  inset: -8% 5% 3%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(98, 108, 226, 0.17);
  filter: blur(62px);
}

.app-preview img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(35, 39, 85, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.app-preview img[data-language-copy] {
  width: 100%;
}

.section {
  padding: 94px 0;
}

.section-soft {
  border-block: 1px solid rgba(25, 28, 62, 0.055);
  background: rgba(238, 240, 251, 0.48);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading h2,
.privacy-panel h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.section-heading p:not(.eyebrow),
.privacy-panel p,
.contact-panel p {
  margin: 15px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
}

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

.feature-card,
.policy-card,
.support-card,
.info-card {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--small-shadow);
  backdrop-filter: blur(18px);
}

.feature-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 19px;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 12px;
  color: var(--indigo);
  background: var(--indigo-soft);
  font-size: 20px;
  font-weight: 780;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

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

.showcase-card {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--small-shadow);
}

.showcase-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.showcase-copy {
  padding: 24px 26px 27px;
}

.showcase-copy h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.showcase-copy p {
  margin: 8px 0 0;
  color: var(--text-secondary);
}

.split-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.split-heading > div {
  max-width: 720px;
}

.text-link,
.card-link {
  color: var(--indigo-deep);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

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

.guide-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--stroke);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--small-shadow);
}

.guide-card h3 {
  margin: 7px 0 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.guide-card h3 a {
  text-decoration: none;
}

.guide-card > p:not(.guide-kicker) {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 14px;
}

.guide-kicker {
  margin: 0;
  color: var(--indigo);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guide-card .card-link {
  margin-top: auto;
}

.guide-index {
  padding: 0 0 96px;
}

.article-shell {
  padding: 30px 0 100px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 44px;
  color: var(--text-tertiary);
  font-size: 13px;
}

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

.breadcrumbs a[aria-current="page"] {
  color: var(--text-secondary);
}

.guide-article {
  max-width: 840px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
}

.article-header h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.article-lead {
  max-width: 760px;
  margin: 23px auto 0;
  color: var(--text-secondary);
  font-size: 19px;
}

.answer-box {
  margin-top: 42px;
  padding: 28px 30px;
  border: 1px solid rgba(76, 95, 199, 0.2);
  border-radius: 18px;
  background: var(--surface-tint);
}

.answer-box h2,
.article-section > h2,
.related-guides h2,
.article-cta h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.answer-box p,
.article-section p,
.article-cta p {
  margin: 9px 0 0;
  color: var(--text-secondary);
}

.article-image {
  overflow: hidden;
  margin: 28px 0 0;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--small-shadow);
}

.article-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.article-section {
  margin-top: 62px;
}

.step-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.step-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 21px;
  border: 1px solid var(--stroke);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
  counter-increment: guide-step;
}

.step-list li::before {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: var(--indigo-deep);
  background: var(--indigo-soft);
  content: counter(guide-step);
  font-weight: 780;
}

.step-list h3,
.note-grid h3 {
  margin: 2px 0 0;
  font-size: 17px;
}

.step-list p {
  margin-top: 5px;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.note-grid article {
  padding: 21px;
  border: 1px solid var(--stroke);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
}

.article-cta {
  margin-top: 62px;
  padding: 32px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 0%, rgba(79, 199, 178, 0.16), transparent 14rem),
    var(--surface-tint);
}

.article-cta .button {
  margin-top: 20px;
}

.related-guides {
  margin-top: 90px;
  padding-top: 54px;
  border-top: 1px solid var(--stroke);
}

.related-guides .split-heading {
  margin-bottom: 25px;
}

.guide-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-grid.compact .guide-card {
  min-height: 230px;
}

.privacy-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 38px;
  border: 1px solid rgba(76, 95, 199, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 0%, rgba(79, 199, 178, 0.16), transparent 18rem),
    var(--surface-tint);
}

.privacy-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--indigo);
  font-size: 25px;
  font-weight: 800;
}

.privacy-panel h2 {
  font-size: clamp(27px, 3vw, 38px);
}

.privacy-panel a {
  color: var(--indigo-deep);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.page-intro {
  padding: 82px 0 58px;
  text-align: center;
}

.page-intro h1 {
  font-size: clamp(40px, 6vw, 66px);
}

.updated {
  margin: 18px 0 0;
  color: var(--text-tertiary);
  font-size: 13px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 22px;
  padding-bottom: 90px;
}

.policy-card,
.support-card,
.info-card {
  border-radius: 20px;
}

.policy-card,
.support-card {
  padding: clamp(28px, 5vw, 54px);
}

.info-card {
  position: sticky;
  top: 22px;
  padding: 28px;
}

.info-card img {
  width: 66px;
  height: 66px;
  border-radius: 15px;
  box-shadow: 0 8px 21px rgba(46, 50, 128, 0.2);
}

.info-card h2 {
  margin: 16px 0 4px;
  font-size: 20px;
}

.info-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.info-links {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.info-links a,
.content-section a {
  color: var(--indigo-deep);
  font-weight: 650;
}

.content-section + .content-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--stroke);
}

.content-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.content-section p {
  margin: 0 0 12px;
  color: var(--text-secondary);
}

.content-section ul {
  margin: 14px 0 0;
  padding-left: 21px;
  color: var(--text-secondary);
}

.content-section li + li {
  margin-top: 7px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 13px;
  background: rgba(246, 247, 252, 0.72);
}

.faq-item summary {
  padding: 17px 19px;
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  padding: 0 19px 18px;
}

.contact-panel {
  margin-top: 38px;
  padding: 28px;
  border-radius: 18px;
  background: var(--surface-tint);
}

.contact-panel h2 {
  font-size: 27px;
}

.contact-panel .button {
  margin-top: 20px;
}

.site-footer {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--stroke);
  color: var(--text-tertiary);
  font-size: 13px;
}

.footer-links {
  gap: 20px;
}

@media (max-width: 980px) {
  .feature-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .info-card {
    position: static;
  }

  .guide-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-shell {
    width: min(100% - 28px, 1160px);
  }

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

  .header-actions {
    gap: 10px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .brand strong {
    display: none;
  }

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

  .app-preview {
    margin-top: 42px;
  }

  .app-preview img {
    border-radius: 14px;
  }

  .section {
    padding: 68px 0;
  }

  .feature-grid,
  .showcase-grid,
  .guide-grid,
  .guide-grid.compact,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .guide-card {
    min-height: 0;
  }

  .article-shell {
    padding-top: 12px;
  }

  .breadcrumbs {
    padding-bottom: 32px;
  }

  .article-lead {
    font-size: 17px;
  }

  .answer-box,
  .article-cta {
    padding: 24px;
  }

  .step-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 18px;
  }

  .page-intro {
    padding-top: 58px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 26px 0;
  }
}

@media (max-width: 460px) {
  .site-nav {
    display: none;
  }

  .hero h1,
  .page-intro h1 {
    font-size: 39px;
  }

  .hero-lead,
  .page-intro > p:not(.eyebrow, .updated) {
    font-size: 17px;
  }

  .footer-links {
    flex-wrap: wrap;
    row-gap: 10px;
  }
}

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

  .button {
    transition: none;
  }
}
