

:root {
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #eaecf0;
  --line-2: #f2f4f7;
  --bg: #ffffff;
  --bg-2: #fafbfc;
  --surface: #ffffff;

  --brand: #1a73e8;          
  --brand-600: #1765cc;
  --brand-700: #12508f;
  --brand-soft: #eef4fd;
  --brand-ring: rgba(26, 115, 232, .16);

  --ok: #067647;
  --ok-soft: #ecfdf3;
  --warn: #b54708;
  --warn-soft: #fffaeb;
  --danger: #b42318;
  --danger-soft: #fef3f2;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --sh-md: 0 6px 20px rgba(16, 24, 40, .07);
  --sh-lg: 0 24px 60px rgba(16, 24, 40, .14);
  --sh-brand: 0 6px 18px rgba(26, 115, 232, .26);

  --maxw: 1160px;
}



*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.3; letter-spacing: -.015em; }
h1 { font-size: 42px; }
h2 { font-size: 28px; }
h3 { font-size: 17px; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

::selection { background: var(--brand-ring); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.main--narrow { max-width: 940px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 80;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top .15s ease;
}
.skip:focus { top: 0; color: #fff; }



.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }

.brand__mark {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
}
.brand__mark img { width: 28px; height: 28px; }

.brand__text { display: grid; line-height: 1.2; }
.brand__text b { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.brand__text i { font-size: 11.5px; font-style: normal; color: var(--muted-2); }

.nav__links { display: flex; align-items: center; gap: 24px; margin-inline-start: auto; font-size: 14px; }
.nav__links a { color: var(--ink-2); }
.nav__links a:hover { color: var(--brand); }

.nav__cta { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav__links + .nav__cta { margin-inline-start: 18px; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__inner { height: 58px; }
  .brand__text i { display: none; }
}


.langmenu { position: relative; }
.langmenu > summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  background: #fff;
}
.langmenu > summary::-webkit-details-marker { display: none; }
.langmenu[open] > summary { border-color: var(--brand); color: var(--brand); }

.langmenu ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  min-width: 150px;
  margin: 0; padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  z-index: 50;
}
.langmenu li a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.langmenu li a:hover { background: var(--brand-soft); color: var(--brand-700); }
.langmenu li a[aria-current] { background: var(--brand-soft); color: var(--brand-700); font-weight: 600; }


.langmenu--footer > summary { font-size: 12.5px; color: var(--muted); }



.btn {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .1s ease, color .18s ease;
}
.btn:hover { border-color: #d0d5dd; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--brand-ring); border-color: var(--brand); }

.btn--primary { --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand); box-shadow: var(--sh-brand); }
.btn--primary:hover { --btn-bg: var(--brand-600); --btn-bd: var(--brand-600); color: #fff; }

.btn--outline { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #d0d5dd; }
.btn--outline:hover { --btn-bd: var(--brand); --btn-fg: var(--brand); }

.btn--ghost { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--muted); }
.btn--ghost:hover { background: var(--bg-2); border-color: var(--line); color: var(--ink); }

.btn--danger { --btn-fg: var(--danger); --btn-bd: #fecdca; --btn-bg: var(--danger-soft); }
.btn--danger:hover { --btn-bg: #fee4e2; --btn-bd: #fda29b; color: var(--danger); }

.btn--lg { height: 48px; padding: 0 24px; font-size: 15px; border-radius: var(--r-lg); }
.btn--sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: var(--r-sm); }
.btn--block { width: 100%; }

.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after {
  content: '';
  position: absolute; inset: 0; margin: auto;
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn:not(.btn--primary).is-busy::after { border-color: rgba(16, 24, 40, .18); border-top-color: var(--ink); }
.btn[disabled] { opacity: .55; pointer-events: none; }

@keyframes spin { to { transform: rotate(360deg); } }



.section { padding: 72px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line-2); }

.section__head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section__head h2 { font-size: 30px; }
.section__head p { margin-top: 12px; color: var(--muted); font-size: 16px; }



.section__head .guarantee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1;
}
.guarantee__icon { display: inline-flex; color: var(--brand); }
.guarantee__icon svg { width: 18px; height: 18px; }


.tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  cursor: help;
}
.tip__bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  inset-inline-start: 50%;
  z-index: 30;
  width: max-content;
  max-width: min(340px, 76vw);
  padding: 10px 13px;
  border-radius: 10px;
  background: #1f2733;
  color: #fff;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
  text-align: start;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.tip:hover .tip__bubble,
.tip:focus-visible .tip__bubble {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.card--pad { padding: 26px; }

.h-sm { font-size: 16px; }
.page-head { max-width: 620px; margin: 0 auto 36px; text-align: center; }
.page-head h1 { font-size: 32px; }
.page-head p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.page-head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; text-align: start;
}
.page-head--row h1 { font-size: 28px; }

.row-split { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .grid--3 { grid-template-columns: 1fr; } }



.hero {
  padding: 76px 0 0;
  background:
    radial-gradient(900px 420px at 12% -12%, rgba(26, 115, 232, .10), transparent 62%),
    radial-gradient(700px 380px at 92% -6%, rgba(26, 115, 232, .06), transparent 60%),
    var(--bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 64px;
}

.hero h1 { font-size: 46px; letter-spacing: -.03em; max-width: 15ch; }
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero__lead { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 34em; }

.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__points {
  margin: 26px 0 0; padding: 0;
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 13.5px; color: var(--muted);
}
.hero__points li { display: inline-flex; align-items: center; gap: 7px; }
.hero__points li::before {
  content: '';
  width: 15px; height: 15px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
  color: #17b26a;
}


.mock { margin: 0; }
.mock__img { display: block; width: 100%; height: auto; }

.works {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 22px 0 40px;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
}
.works__label { color: var(--muted-2); }
.works__items { color: var(--ink-2); font-weight: 500; }

@media (max-width: 940px) {
  .hero { padding-top: 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 33px; }
  .hero__lead { font-size: 16px; }
}



.feature { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s ease, border-color .2s ease; }
.feature:hover { box-shadow: var(--sh-md); border-color: #dfe3ea; }

.feature__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 15px;
}
.feature__icon svg { width: 19px; height: 19px; }
.feature h3 { font-size: 16px; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 14px; }




.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }

@media (max-width: 1000px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan--featured { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.plan--featured { border-color: var(--brand); box-shadow: 0 14px 36px rgba(26, 115, 232, .12); }
.plan--free { background: var(--bg-2); }
.plan--disabled { opacity: .55; }

.plan__tag {
  position: absolute;
  top: -10px;
  inset-inline-start: 22px;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  box-shadow: var(--sh-brand);
}

.plan__name { font-size: 15px; font-weight: 650; }
.plan__desc { margin-top: 5px; font-size: 13px; color: var(--muted); min-height: 40px; }

.plan__price { margin-top: 16px; display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.plan__price b { font-size: 32px; letter-spacing: -.02em; }
.plan__price span { font-size: 13.5px; color: var(--muted); }

.plan__was { margin-inline-start: 4px; white-space: nowrap; }
.plan__was s { color: var(--muted-2); text-decoration-thickness: 1px; }
.plan__was[hidden] { display: none; }


.plan__price .plan__save {
  align-self: center;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 12px;
  font-weight: 650;
}
.plan__save[hidden] { display: none; }
.plan__note { margin-top: 4px; font-size: 12.5px; color: var(--muted-2); }

.plan__features {
  list-style: none;
  margin: 20px 0 22px; padding: 0;
  display: grid; gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.plan__features li { display: flex; gap: 8px; align-items: flex-start; }
.plan__features svg { width: 16px; height: 16px; color: #17b26a; flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }

.pricing__foot { margin-top: 28px; text-align: center; font-size: 13.5px; color: var(--muted); }



.install {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 940px) { .install { grid-template-columns: 1fr; gap: 32px; } }

.install__copy p { margin: 12px 0 22px; color: var(--muted); font-size: 16px; }
.install__copy .hint { margin-top: 14px; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; text-align: start; }
.steps li { counter-increment: step; position: relative; padding-inline-start: 38px; font-size: 14px; color: var(--ink-2); }
.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0; top: -1px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}

.steps--card li {
  padding: 18px 20px 18px 58px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  font-size: 14px;
}
.steps--card li::before { inset-inline-start: 20px; top: 18px; }
.steps--card b { display: block; color: var(--ink); margin-bottom: 4px; font-weight: 650; }
.steps--card span { color: var(--muted); }



.field { display: block; }
.label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }

.input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: var(--muted-2); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }

.hint { margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.hint--center { text-align: center; }

.alert { margin-top: 12px; font-size: 13px; padding: 10px 12px; border-radius: var(--r-md); display: none; }
.alert.is-on { display: block; }
.alert--error { background: var(--danger-soft); color: var(--danger); }
.alert--info { background: var(--brand-soft); color: var(--brand-700); }

.notice {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--warn-soft);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--warn);
}



.panel { max-width: 540px; margin: 0 auto; text-align: center; }
.panel h2 { font-size: 22px; margin-top: 10px; }
.panel .muted { margin-top: 8px; font-size: 14.5px; }
.panel__h3 { margin: 26px 0 14px; font-size: 15px; }
.panel__actions { display: flex; gap: 10px; margin-top: 24px; }
.panel__actions .btn { flex: 1; }

.keybox {
  display: flex; align-items: center;
  margin-top: 20px;
  padding: 13px 15px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #e7edf7;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 14.5px;
  word-break: break-all;
}

.spinner {
  width: 42px; height: 42px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid var(--brand-soft);
  border-top-color: var(--brand);
  animation: spin .8s linear infinite;
}

.progress {
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--line-2);
  overflow: hidden;
  margin-top: 22px;
}
.progress i {
  display: block; height: 100%; width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #62b0f7);
  animation: slide 1.3s ease-in-out infinite;
}
@keyframes slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}


body.is-return .hero,
body.is-return #features,
body.is-return #pricing,
body.is-return #install,
body.is-return #faq { display: none; }
body.is-return .nav__links { display: none; }



.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.badge--ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge--warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge--danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge--brand { background: var(--brand-soft); color: var(--brand-700); border-color: transparent; }



.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } }
.auth__aside { display: grid; gap: 16px; }

.notelist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.notelist li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.notelist svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 3px; }


.code { display: flex; gap: 9px; margin-top: 18px; direction: ltr; }
.code input {
  width: 44px; height: 54px;
  text-align: center;
  font-size: 21px; font-weight: 600;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
}
.code input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
@media (max-width: 440px) { .code input { width: 38px; height: 48px; font-size: 18px; } }

.summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin-top: 22px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.summary > div { background: #fff; padding: 14px 16px; }
.summary dt { font-size: 12px; color: var(--muted); }
.summary dd { margin: 5px 0 0; font-size: 15px; font-weight: 650; }

.devices { display: grid; gap: 10px; }
.device {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}
.device.is-primary { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.device.is-going { opacity: .45; pointer-events: none; }

.device__icon {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--bg-2);
  color: var(--ink-2);
  border: 1px solid var(--line-2);
}
.device__icon svg { width: 18px; height: 18px; }
.device__body { flex: 1; min-width: 0; }
.device__name { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.device__meta { margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
}

.support-line { margin-top: 24px; text-align: center; font-size: 13px; color: var(--muted); }



.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 8px; height: 8px; flex: none;
  border-inline-end: 2px solid var(--muted-2);
  border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq p { padding: 0 18px 16px; font-size: 14px; color: var(--muted); }



.legal { max-width: 720px; margin: 0 auto; padding: 56px 0 76px; }
.legal h1 { font-size: 32px; }
.legal h2 { font-size: 16px; margin: 30px 0 8px; }
.legal p, .legal li { font-size: 14.5px; color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.legal__meta { color: var(--muted-2); font-size: 13px; margin-top: 8px; margin-bottom: 28px; }
.legal__back { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }



.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 52px 0 28px; }
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer__op { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 280px; }
.footer__op b { color: var(--ink-2); font-weight: 600; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h3 { font-size: 13px; font-weight: 650; color: var(--ink); margin-bottom: 2px; }
.footer__col a { font-size: 13.5px; color: var(--muted); }
.footer__col a:hover { color: var(--brand); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted-2);
}

@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}



.langpage { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.langpage img { border-radius: 14px; }
.langpage h1 { font-size: 30px; }
.langpage p { color: var(--muted); }
.langpage__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.langpage__list a { display: block; padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink-2); }
.langpage__list a:hover { border-color: var(--brand); color: var(--brand); }



.toasts {
  position: fixed;
  inset-inline-start: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 80;
  display: grid; gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.toast {
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #e7edf7;
  font-size: 13.5px;
  box-shadow: var(--sh-md);
  animation: toastin .18s ease-out;
}
.toast--ok { background: #05603a; }
.toast--error { background: #912018; }
@keyframes toastin { from { opacity: 0; transform: translateY(6px); } }



@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}


[dir="rtl"] .hero h1 { letter-spacing: 0; }
[dir="rtl"] .faq summary::after { transform: rotate(-135deg); }
[dir="rtl"] .faq details[open] summary::after { transform: rotate(45deg); }
[dir="rtl"] .plan__price { letter-spacing: 0; }
[dir="rtl"] .keybox, [dir="rtl"] .input, [dir="rtl"] .toast { text-align: start; }
