/* Shared navigation and page framing, used by every public page. */
:root{scroll-padding-top:100px}.header-shell{position:sticky;top:0;z-index:30;background:#202020;color:#f4f3f1;border-bottom:1px solid #ffffff13}.header-shell .wrap{width:min(1200px,calc(100% - 96px));margin-inline:auto}.header-shell .header{height:82px;display:flex;align-items:center;justify-content:space-between;gap:25px;border:0;padding:0}.header-shell .brand{display:inline-flex;align-items:center;font-size:25px;font-weight:750;line-height:1;letter-spacing:-1.2px}.header-shell .brand-logo{display:block;width:36px;height:36px;margin-right:11px}.header-shell .brand-light{font-weight:450}.header-shell .nav{display:flex;align-items:center;gap:24px;font-size:12px}.header-shell .nav>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 2px;color:#d2cfc9;transition:color .18s}.header-shell .nav>a:hover,.header-shell .nav>a[aria-current=page]{color:#ffd17c}.header-shell .nav>a[aria-current=page]:not(.nav-account){box-shadow:inset 0 -1px #ffd17c}.header-shell .nav .nav-account{padding:0 15px;gap:14px;border:1px solid #ffffff25;border-radius:8px;color:#f4f2ef}.header-shell .nav .nav-account[aria-current=page]{background:#ffd17c14;border-color:#bbbab859}.header-shell .menu{display:none;width:44px;height:44px;border:1px solid #ffffff30;border-radius:8px;background:transparent;color:inherit;align-items:center;justify-content:center;flex-direction:column;gap:6px}.header-shell .menu span{display:block;width:18px;height:1px;background:currentColor}.header-shell .menu[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}.header-shell .menu[aria-expanded=true] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}
.page-intro{padding-block:38px 40px}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:11px;color:#757574;margin-bottom:24px}.breadcrumbs a{display:inline-flex;align-items:center;min-height:32px}.breadcrumbs a:hover{text-decoration:underline;text-underline-offset:4px}.page-intro h1{font-size:clamp(34px,4.5vw,54px);font-weight:600;line-height:1.18;letter-spacing:-2px;white-space:normal}.page-intro>p{font-size:14px;color:#6c6c6b;line-height:1.9;max-width:640px;margin-top:16px}.interior .section{padding-top:0;padding-bottom:75px}.interior .plans{background:transparent}.interior .setup{background:transparent;border:0}.client-controls{padding:20px 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dddbd7;background:#f7f5f2;gap:20px}.client-switch{display:flex;gap:6px}.client-switch button{min-height:44px;border:1px solid #d5d2cb;border-radius:8px;background:transparent;color:#595856;font-size:12px;font-weight:650;padding:10px 18px}.client-switch button span{font-size:9px;font-weight:500;margin-left:6px;opacity:.85}.client-switch button[aria-pressed=true]{background:#353432;color:#f8f6f1;border-color:#353432}.setup-extra{border-block:1px solid #dddbd7;margin-top:30px}.setup-extra summary{display:flex;align-items:center;justify-content:space-between;min-height:56px;font-size:13px;font-weight:650;gap:20px}.setup-extra>p{font-size:13px;line-height:1.9;color:#686867;padding-bottom:22px;max-width:830px}.setup-extra a{text-decoration:underline;text-underline-offset:3px}.faq-page-wrap{max-width:850px}.faq-page .faq-list{margin:0}.faq-page .faq-list details>p{max-width:740px}.faq-contact{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:30px}.faq-contact p{font-size:15px;font-weight:650}.dark{background:#353432;color:#f7f5f1}.dark:hover{background:#464543}.outline{background:transparent;border-color:#b4b3b2;color:#424140}.outline:hover{background:#eeece7}.homepage .hero{min-height:560px;padding-block:55px 60px}.homepage .hero h1.wordmark{font-size:clamp(64px,6.7vw,94px);letter-spacing:-5px;line-height:1.1}.homepage .hero h1.wordmark>span{font-weight:450}.homepage .hero-description{font-size:18px;max-width:440px;margin-top:25px}.homepage .network-art{max-width:490px;justify-self:end}.home-overview{padding-block:0 65px}.home-trial .trial-strip{margin-top:35px}.trial-seal .icon{width:25px;height:25px}.page-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:28px}.page-cards>a{padding:27px;border:1px solid #dcd9d3;background:#fbfaf8;border-radius:12px;transition:border-color .18s,background .18s}.page-cards>a:hover{border-color:#999897;background:#f2efea}.page-cards .micro{color:#767675;font-size:8px}.page-cards h2{font-size:25px;letter-spacing:-.8px;display:flex;align-items:center;justify-content:space-between;margin-top:17px;gap:16px}.page-cards h2>span{font-size:23px;font-weight:450;color:#6f6e6c}.page-cards p{font-size:12px;color:#6f6e6d;margin-top:16px;line-height:1.9}.page-cards p strong{font-weight:550}.footer .footer-links{grid-template-columns:1fr 1.7fr}.page-heading h1{white-space:normal}.header-shell .brand img{flex:none}
@media(max-width:1100px){.header-shell .wrap{width:calc(100% - 64px)}.header-shell .nav{gap:18px;font-size:11px}.header-shell .nav .nav-account{padding-inline:12px;gap:9px}.page-cards>a{padding:22px}.page-cards h2{font-size:23px}.homepage .hero-description{font-size:16px}}
@media(max-width:800px){.header-shell .nav{gap:12px;font-size:10px}.header-shell .brand{font-size:23px}.header-shell .nav .nav-account{padding-inline:10px;gap:6px}.page-cards{gap:12px}.page-cards>a{padding:19px}.page-cards h2{font-size:20px}.page-cards p{font-size:11px}}
@media(max-width:700px){.header-shell .wrap{width:calc(100% - 40px)}.header-shell .header{height:70px}.header-shell .brand-logo{width:32px;height:32px;margin-right:9px}.header-shell .menu{display:flex}.header-shell .nav{display:none;position:absolute;top:69px;left:0;right:0;padding:12px 20px 20px;background:#1e1e1d;border-bottom:1px solid #ffffff22;box-shadow:0 16px 30px #0002;flex-direction:column;align-items:stretch;gap:4px;font-size:14px}.header-shell .nav.open{display:flex}.header-shell .nav>a{padding:10px 13px;justify-content:flex-start;min-height:44px}.header-shell .nav>a[aria-current=page]:not(.nav-account){box-shadow:none;background:#ffd17c0c;border-radius:7px}.header-shell .nav .nav-account{margin-top:7px;justify-content:space-between;padding:12px 13px}.page-intro{padding-block:25px 28px}.breadcrumbs{font-size:10px;margin-bottom:17px}.page-intro h1{font-size:35px;letter-spacing:-1.4px}.page-intro>p{font-size:13px;line-height:1.85;margin-top:14px}.interior .section{padding-bottom:50px}.client-controls{padding:18px 17px;align-items:flex-start;flex-direction:column;gap:12px}.client-switch{width:100%}.client-switch button{flex:1;padding:10px 9px;font-size:12px}.client-switch button span{display:block;font-size:9px;margin:2px 0 0}.setup-extra summary,.setup-extra>p{font-size:12px}.faq-contact{align-items:stretch;flex-direction:column;gap:16px;padding-top:24px}.faq-contact .button{width:100%}.homepage .hero{min-height:0;padding-block:45px 38px;gap:28px}.homepage .hero h1.wordmark{font-size:67px;letter-spacing:-3.8px}.homepage .hero-description{font-size:16px;line-height:1.8;margin-top:19px}.homepage .network-art{justify-self:center}.home-overview{padding-bottom:45px}.home-trial .trial-strip{margin-top:25px}.page-cards{grid-template-columns:1fr;gap:12px;margin-top:20px}.page-cards>a{padding:23px}.page-cards h2{font-size:24px;margin-top:11px}.page-cards p{font-size:12px;margin-top:11px}.footer .footer-links{grid-template-columns:1fr}.trial-strip h3{font-size:17px}.trial-strip p{font-size:12px}}
@media(max-width:370px){.header-shell .wrap{width:calc(100% - 32px)}.homepage .hero h1.wordmark{font-size:59px}.page-intro h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){.page-cards>a,.header-shell .nav>a{transition:none}}

/* Keep the header, page content and footer on the same grid. */
:root {
  --page-width: 1200px;
  --page-gutter: clamp(16px, 4.25vw, 48px);
  scroll-padding-top: 96px;
}

.wrap, .header-shell .wrap {
  width: min(var(--page-width), calc(100% - var(--page-gutter) * 2));
}

.header-shell .header { height: 76px; }
.header-shell .nav { gap: clamp(14px, 2.3vw, 30px); font-size: 14px; }
.header-shell .nav .nav-account { padding-inline: 15px; }

.page-intro { padding-block: clamp(24px, 4vw, 54px) clamp(26px, 4vw, 42px); }
.breadcrumbs { font-size: 13px; margin-bottom: 14px; }
.page-intro h1 { text-wrap: balance; }
.page-intro > p, .page-heading > p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  margin-top: 12px;
  text-wrap: pretty;
}

.footer .footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 26px 36px;
  padding-block: 34px 23px;
  align-items: start;
}
.footer .footer-identity { display: grid; justify-items: start; gap: 9px; }
.footer .footer-identity .brand { width: auto; }
.footer .footer-tagline { display: block; margin: 0; font-size: 13px; }
.footer .footer-links { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 2px 18px; font-size: 13px; }
.footer .footer-links a { display: flex; align-items: center; gap: 7px; min-height: 44px; color: #d4d0c7; line-height: 1.4; }
.footer .footer-links .footer-contact { grid-column: auto; white-space: normal; }
.footer .footer-bottom { font-size: 12px; }

.setup-workspace .control-label { font-size: 13px; font-weight: 700; color: #515150; }
.setup-workspace .step h3 { font-size: clamp(18px, 2vw, 22px); }
.setup-workspace .step p, .setup-extra > p { font-size: 14px; line-height: 1.65; }
.setup-workspace .step-number { margin-bottom: 15px; }
.setup-workspace .download-link, .setup-workspace .small-link, .setup-assist { font-size: 13px; }
.setup-workspace .download-link { white-space: normal; }
.setup-extra { margin-top: 0; border-top: 0; }
.setup-assist + .setup-extra { border-top: 1px solid #dddbd7; margin-top: 23px; }
.setup-extra summary { font-size: 15px; }
.setup-region { margin-top: 18px; border-top: 1px solid #dddbd7; }
.setup-region ol { padding-inline-start: 1.4em; max-width: 830px; color: #686867; font-size: 14px; line-height: 1.65; }
.setup-region li + li { margin-top: 8px; }

.faq-list summary { font-size: clamp(15px, 1.7vw, 17px); min-height: 60px; padding-block: 16px; }
.faq-list details > p { font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.faq-contact { margin-top: 24px; padding: 18px 22px; border: 1px solid #dddbd7; border-radius: 14px; background: #faf9f8; }
.faq-page-wrap { max-width: 850px; }

.page-heading { padding-block: 24px clamp(28px, 4vw, 44px); }
.page-heading > .back-link { margin-bottom: 15px; }
.page-heading h1 { overflow-wrap: normal; text-wrap: balance; }
.document-page { max-width: 790px; }
.document-page .document-lead { margin-top: 0; }
.document-page section h2 { margin-bottom: 10px; text-wrap: balance; }
.document-page section p, .document-page li { font-size: clamp(14px, 1.5vw, 16px); line-height: 1.75; }
.document-page .document-toc {
  background: #f8f7f5;
  border: 1px solid #dcd9d3;
  border-radius: 14px;
  padding: 14px 18px;
  gap: 2px 24px;
  font-size: 14px;
}
.document-toc a { min-height: 44px; display: flex; align-items: center; }
.document-toc a:hover { text-decoration: underline; }
.document-page section { scroll-margin-top: 14px; }

@media (max-width: 700px) {
  :root { scroll-padding-top: 84px; }
  .header-shell .header { height: 68px; }
  .header-shell .nav { top: 67px; gap: 4px; }
  .footer .footer-row { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .setup-workspace .platforms button { font-size: 12px; padding-inline: 4px; }
  .setup-workspace .step-number { margin-bottom: 0; }
  .setup-workspace .step { grid-template-columns: 28px minmax(0, 1fr); }
  .page-heading h1 { font-size: clamp(25px, 7.8vw, 38px); }
  .faq-contact .button { align-self: stretch; }
}

.skip { z-index: 40; }

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

/* Keep word spacing legible when display headings are reused inside cards. */
main h2 { letter-spacing: -.035em; }
main h3 { letter-spacing: -.02em; }
.skip { transform: none; clip-path: inset(50%); }
.skip:focus { clip-path: none; }

/* Directional icons are vector artwork and inherit the action color. */
.icon.action-icon {
  display: inline-block;
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  vertical-align: middle;
  stroke-width: 1.7;
}
a > .action-icon:last-child { margin-inline-start: .28em; }
.button > .action-icon:last-child, .text-link > .action-icon:last-child,
.section-link > .action-icon:last-child, .footer-contact > .action-icon:last-child,
.account-link > .action-icon:last-child, .home-plan > .action-icon:last-child {
  margin-inline-start: 0;
}
.back-link, .tg-browser-link, .tg-native-link { display: inline-flex; align-items: center; gap: .5em; }
.back-link > .action-icon { width: 1rem; height: 1rem; }

.setup .client-switch{flex-wrap:wrap}
@media(max-width:700px){.setup .client-switch button{flex-basis:calc(50% - 3px)}}
