/* textbot.cc — the website. The same design as trackerserver.net: Inter, one teal, hairline
   rules, a tint for alternate sections and a near-black band for emphasis. No pills, no
   gradients, no uppercase labels. Screenshots sit in a CSS laptop or phone. */

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
[hidden] { display: none !important; }
code, pre { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.tsw {
  --ink: #0c0f10; --text: #3a4045; --muted: #61686d; --faint: #8b9196; --line: #e6e8e7; --line-2: #d8dbda;
  --tint: #f6f7f6; --teal: #0f766e; --teal-2: #0b5f5a; --dark: #0f0f0f; --dark-2: #171717;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.5;
  color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color-scheme: light;
  font-feature-settings: "cv11", "ss01", "ss03";
}
.tsw h1, .tsw h2, .tsw h3 { color: var(--ink); }
.tsw ::selection { background: rgba(15, 118, 110, .16); }
.tsw input[type="checkbox"] { accent-color: var(--teal); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 600; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
@keyframes tsw-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.tsw-pop { animation: tsw-pop .18s cubic-bezier(.16, 1, .3, 1) both; }

/* ---------------------------------------------------------------- type */
.tsw-h1 { font-size: clamp(2.45rem, 5.4vw, 4.1rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.042em; color: var(--ink); text-wrap: balance; }
.tsw-h1-page { font-size: clamp(2.2rem, 4.3vw, 3.35rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.036em; color: var(--ink); text-wrap: balance; }
.tsw-h2 { font-size: clamp(1.85rem, 3.3vw, 2.7rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.032em; color: var(--ink); text-wrap: balance; }
.tsw-h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.018em; color: var(--ink); }
.tsw-lead { font-size: clamp(1.05rem, 1.3vw, 1.19rem); line-height: 1.62; color: var(--text); }
.tsw-lead p + p, .tsw-body p + p { margin-top: 1rem; }
.tsw-lead strong { font-weight: 600; color: var(--ink); }
.tsw-label { font-size: 14px; font-weight: 500; color: var(--teal); }
.tsw-muted { color: var(--muted); }
.tsw-small { font-size: 14px; color: var(--muted); }

.tsw-tint { background: var(--tint); }
.tsw-dark { background: var(--dark); color: rgba(255, 255, 255, .7); color-scheme: dark; }
.tsw-dark h1, .tsw-dark h2, .tsw-dark h3, .tsw-dark .tsw-h2, .tsw-dark .tsw-h3 { color: #fff; }
.tsw-dark .tsw-lead { color: rgba(255, 255, 255, .72); }
.tsw-dark .tsw-label { color: #45c4b4; }

/* ---------------------------------------------------------------- buttons and links */
.tsw-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 44px; padding: 0 18px;
  border-radius: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.006em; white-space: nowrap;
  transition: background-color .15s, box-shadow .15s, color .15s; }
.tsw-btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 7px; }
.tsw-btn-primary { background: var(--teal); color: #fff; }
.tsw-btn-primary:hover { background: var(--teal-2); }
.tsw-btn-secondary { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.tsw-btn-secondary:hover { background: var(--tint); }
.tsw-btn:disabled { opacity: .6; cursor: default; }
.tsw-dark .tsw-btn-secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.tsw-dark .tsw-btn-secondary:hover { background: rgba(255, 255, 255, .06); }
.tsw-link { color: var(--teal); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.tsw-link:hover { color: var(--teal-2); }
.tsw-link svg { width: 14px; height: 14px; }
.tsw-dark .tsw-link { color: #45c4b4; }
.tsw-dark .tsw-link:hover { color: #7dd8cc; }
.tsw-inline { color: var(--teal); font-weight: 500; }
.tsw-inline:hover { color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 768px; }
.sec { padding: 80px 0; }
.sec-rule { border-top: 1px solid var(--line); }
.sec-compact { padding: 64px 0; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; } .mt-6 { margin-top: 24px; }
.mt-7 { margin-top: 28px; } .mt-8 { margin-top: 32px; } .mt-9 { margin-top: 36px; } .mt-10 { margin-top: 40px; } .mt-12 { margin-top: 48px; } .mt-14 { margin-top: 56px; } .mt-16 { margin-top: 64px; }
.center { text-align: center; }
.max-2xl { max-width: 672px; } .max-3xl { max-width: 768px; } .mx-auto { margin-left: auto; margin-right: auto; }
.grid-2 { display: grid; gap: 48px; }
.split { display: grid; gap: 48px; }

.heading { max-width: 768px; }
.heading.center { margin: 0 auto; text-align: center; }
.heading .tsw-label { margin-bottom: 12px; }
.heading .tsw-lead { margin-top: 20px; max-width: 672px; }
.heading.center .tsw-lead { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- header */
.hdr { position: sticky; top: 0; z-index: 95; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hdr-in { max-width: 1280px; height: 72px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hdr-logo { flex-shrink: 0; display: flex; align-items: center; }
.hdr-logo img { width: auto; height: 42px; }
.hdr-nav, .hdr-actions { display: none; align-items: center; }
.hdr-actions { gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 4px; white-space: nowrap; border-radius: 6px; padding: 8px; font-size: 14.5px; font-weight: 500;
  color: #4b5257; transition: color .15s; }
.nav-item:hover, .nav-item.on { color: var(--ink); }
.nav-wide { display: none; }
.menu { position: relative; }
.menu-btn { display: grid; place-items: center; width: 20px; height: 24px; margin-right: -4px; color: inherit; }
.menu-btn svg { width: 14px; height: 14px; opacity: .6; transition: transform .15s; }
.menu.open .menu-btn svg { transform: rotate(180deg); }
.menu-pop { position: absolute; top: 100%; left: 0; z-index: 96; padding-top: 8px; width: 20rem; }
.menu-pop.mega { width: min(94vw, 46rem); transform: translateX(-24%); }
.menu-card { border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 12px; box-shadow: 0 18px 48px -20px rgba(12, 15, 16, .28); }
.menu-grid { display: grid; gap: 16px 8px; }
.menu-head { padding: 4px 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
.menu-link { display: block; border-radius: 8px; padding: 10px 12px; transition: background-color .15s; }
.menu-link:hover { background: var(--tint); }
.menu-link b { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.menu-link span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.menu-foot .tsw-link { font-size: 13.5px; }
.burger { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; color: var(--ink); }
.burger:hover { background: var(--tint); }
.burger svg { width: 20px; height: 20px; }

.drawer { position: fixed; inset: 0; z-index: 500; display: flex; justify-content: flex-end; background: rgba(0, 0, 0, .6); }
.drawer-panel { display: flex; flex-direction: column; width: 100%; max-width: 384px; height: 100%; background: #fff; padding: 16px 24px 24px; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer-top img { height: 40px; width: auto; }
.drawer-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; color: var(--ink); }
.drawer-close:hover { background: var(--tint); }
.drawer-close svg, .dlg-x svg { width: 16px; height: 16px; }
.drawer-nav { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -4px; padding: 0 4px; }
.drawer-row { display: block; border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--ink); }
.drawer-sub { border-bottom: 1px solid var(--line); padding: 8px 0; }
.drawer-sub a { display: block; padding: 6px 0 6px 12px; font-size: 15px; color: var(--muted); }
.drawer-sub a:hover { color: var(--ink); }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
body.no-scroll { overflow: hidden; }

/* ---------------------------------------------------------------- heroes */
.home-hero { overflow: hidden; }
.home-hero .wrap { padding-top: 56px; }
.home-hero-copy { max-width: 768px; margin: 0 auto; text-align: center; }
.home-hero-copy .tsw-lead { max-width: 672px; margin: 24px auto 0; }
.home-hero-copy .actions { justify-content: center; margin-top: 36px; }
.home-hero-copy .tsw-small { margin-top: 20px; }
.home-hero-media { margin-top: 56px; }

.page-hero { border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 48px; padding-bottom: 64px; }
.crumbs { margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--line-2); }
.crumbs [aria-current] { color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 48px; }
.hero-copy { max-width: 768px; }
.hero-copy .tsw-lead { margin-top: 24px; max-width: 672px; }
.hero-copy .tsw-ticks { margin-top: 28px; }
.hero-copy .actions { margin-top: 36px; }
.hero-below { margin-top: 56px; }

/* ---------------------------------------------------------------- content blocks */
.tsw-points { display: grid; gap: 30px 44px; }
.tsw-point { display: block; border-top: 1px solid var(--line); padding-top: 18px; }
.tsw-point h3 { font-size: 16.5px; line-height: 1.35; font-weight: 600; letter-spacing: -0.012em; color: var(--ink); }
a.tsw-point h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
a.tsw-point h3 svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--teal); transition: transform .15s; }
a.tsw-point:hover h3 svg { transform: translateX(2px); }
.tsw-point p { margin-top: 6px; font-size: 15px; line-height: 1.62; color: var(--muted); }
.tsw-dark .tsw-point { border-color: rgba(255, 255, 255, .1); }
.tsw-dark .tsw-point h3 { color: #fff; }
.tsw-dark .tsw-point p { color: rgba(255, 255, 255, .58); }
.tsw-ticks { display: grid; gap: 11px; }
.tsw-ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.tsw-ticks svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--teal); }
.tsw-ticks.small { gap: 8px; }
.tsw-ticks.small li { font-size: 14.5px; }
.tsw-dark .tsw-ticks li { color: rgba(255, 255, 255, .78); }
.tsw-dark .tsw-ticks svg { color: #45c4b4; }
.callout { border-left: 2px solid var(--teal); padding-left: 16px; font-size: 16px; font-weight: 500; color: var(--ink); }

.showcase { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 48px; }
.showcase .tsw-lead { margin-top: 20px; }
.showcase .tsw-ticks { margin-top: 28px; }
.showcase .tsw-link.more { margin-top: 32px; }
.showcase .tsw-label { margin-bottom: 12px; }

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 40px; padding-bottom: 40px; }
.stat b { display: block; font-size: 1.9rem; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

.steps { display: grid; gap: 32px; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 20px; }
.steps .n { font-size: 14px; font-weight: 500; color: var(--teal); }
.steps h3 { margin-top: 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.012em; color: var(--ink); }
.steps p { margin-top: 6px; font-size: 15px; line-height: 1.62; color: var(--muted); }
.tsw-dark .steps li { border-color: rgba(255, 255, 255, .12); }
.tsw-dark .steps .n { color: #45c4b4; }
.tsw-dark .steps p { color: rgba(255, 255, 255, .58); }

.index { display: grid; gap: 40px 32px; }
.index h3 { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.index ul { display: grid; gap: 10px; margin-top: 12px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.index a { display: block; }
.index a b { font-size: 15px; font-weight: 500; color: var(--ink); transition: color .15s; }
.index a:hover b { color: var(--teal); }
.index a span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }

.tsw-faq { margin-top: 32px; border-top: 1px solid var(--line); }
.tsw-faq details { border-bottom: 1px solid var(--line); }
.tsw-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 20px 0; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.tsw-faq summary::-webkit-details-marker { display: none; }
.tsw-faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; line-height: 1; color: var(--faint); transition: transform .2s; }
.tsw-faq details[open] summary::after { transform: rotate(45deg); }
.tsw-faq details p { padding: 0 44px 22px 0; font-size: 15.5px; line-height: 1.66; color: var(--text); }

.related { display: grid; column-gap: 40px; margin-top: 24px; }
.related a { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line-2); padding: 16px 0; }
.related b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.related span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.related svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 4px; color: var(--teal); transition: transform .15s; }
.related a:hover svg { transform: translateX(2px); }

.cta-band .wrap { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.cta-band .tsw-lead { margin-top: 16px; max-width: 672px; }

.terms { display: grid; gap: 30px 44px; margin-top: 48px; }
.terms div { border-top: 1px solid var(--line); padding-top: 18px; }
.terms dt { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.terms dd { margin-top: 6px; font-size: 15px; line-height: 1.62; color: var(--muted); }

/* code, for the developer pages */
.code { overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); background: var(--tint); padding: 16px 18px; font-size: 13.5px; line-height: 1.65; color: var(--ink); white-space: pre; }
.tsw-dark .code { border-color: rgba(255, 255, 255, .1); background: var(--dark-2); color: rgba(255, 255, 255, .86); }
.code .k { color: var(--teal); }
.tsw-dark .code .k { color: #45c4b4; }
.code .c { color: var(--faint); }
.endpoint { border-top: 1px solid var(--line); padding-top: 20px; }
.endpoint h3 { display: flex; align-items: baseline; gap: 10px; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.endpoint h3 code { font-size: 13px; font-weight: 600; color: var(--teal); }
.endpoint p { margin-top: 6px; font-size: 15px; line-height: 1.62; color: var(--muted); }
.endpoint .code { margin-top: 14px; }
.inline-code { font-size: .88em; padding: 1px 5px; border-radius: 5px; background: var(--tint); border: 1px solid var(--line); color: var(--ink); }

/* ---------------------------------------------------------------- devices */
.tsw-laptop { position: relative; isolation: isolate; }
.tsw-laptop-lid { position: relative; margin: 0 5.2%; background: #0b0c0e; border-radius: 1.5% / 2.4%; padding: 1.8% 1.8% 2.3%; box-shadow: inset 0 0 0 1px #2c2e33; }
.tsw-laptop-lid::before { content: ""; position: absolute; top: .75%; left: 50%; width: .55%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #1d1f23; }
.tsw-laptop-lid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-radius: 2px; background: #151515; }
.tsw-laptop-base { position: relative; height: 0; padding-bottom: 2.1%; background: #d4d7db; border-radius: 0 0 1.6% 1.6% / 0 0 60% 60%; box-shadow: inset 0 1px 0 #f1f2f4, inset 0 -2px 0 #adb2b8; }
.tsw-laptop-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 12%; height: 36%; transform: translateX(-50%); background: #bcc0c6; border-radius: 0 0 6px 6px; }
.tsw-laptop::after { content: ""; position: absolute; z-index: -1; left: 3%; right: 3%; bottom: -2.2%; height: 4%; border-radius: 50%; background: rgba(12, 15, 16, .32); filter: blur(16px); }
.tsw-dark .tsw-laptop-lid { box-shadow: inset 0 0 0 1px #2c2e33, 0 0 0 1px rgba(255, 255, 255, .07); }
.tsw-dark .tsw-laptop::after { background: rgba(0, 0, 0, .6); }

.tsw-phone { position: relative; isolation: isolate; container-type: inline-size; width: 100%; }
.tsw-phone-body { background: #0b0c0e; border-radius: 15.5cqw; padding: 3.3cqw; box-shadow: inset 0 0 0 .55cqw #36383d, 0 0 0 1px rgba(12, 15, 16, .1); }
.tsw-phone-screen { position: relative; overflow: hidden; border-radius: 12.4cqw; background: #0f0f0f; }
.tsw-phone-bar { position: relative; height: 11.3cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 7.5cqw 0 10.5cqw; font-size: 3.75cqw; font-weight: 600; letter-spacing: -0.01em; }
.tsw-phone-bar svg { height: 3.4cqw; width: auto; }
.tsw-phone-bar span:last-child { display: flex; align-items: center; gap: 1.3cqw; }
.tsw-phone-bar[data-bar="dark"] { background: #0f0f0f; color: #fff; }
.tsw-phone-bar[data-bar="light"] { background: #fff; color: #000; }
.tsw-phone-island { position: absolute; z-index: 2; top: 2.3cqw; left: 50%; width: 27cqw; height: 7.8cqw; transform: translateX(-50%); border-radius: 4cqw; background: #000; }
.tsw-phone-screen img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 797; object-fit: cover; object-position: top; }
.tsw-phone::after { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -1.5%; height: 3%; border-radius: 50%; background: rgba(12, 15, 16, .3); filter: blur(12px); }
.tsw-dark .tsw-phone-body { box-shadow: inset 0 0 0 .55cqw #36383d, 0 0 0 1px rgba(255, 255, 255, .08); }
.tsw-dark .tsw-phone::after { background: rgba(0, 0, 0, .6); }

.devices { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 6% 4% 0; }
.devices .devices-phone { position: absolute; right: 0; bottom: 0; width: 23%; }
.phone-pair { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; max-width: 560px; margin: 0 auto; }
.phone-pair > :last-child { margin-top: 48px; }
.phone-one { max-width: 300px; margin: 0 auto; }
.phones-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; max-width: 880px; margin: 56px auto 0; }
.phones-3 > :nth-child(2) { margin-top: 40px; }

/* ---------------------------------------------------------------- pricing */
.plan-group + .plan-group { margin-top: 56px; }
.plan-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.plan-group-head p { font-size: 15.5px; color: var(--muted); }
.plans { display: grid; gap: 20px; margin-top: 24px; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 28px; }
.plan.featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 24px 48px -32px rgba(15, 118, 110, .45); }
.plan-flag { margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--teal); }
.plan h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.018em; color: var(--ink); }
.plan-desc { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 24px; color: var(--ink); }
.plan-price b { font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing: -0.045em; }
.plan-price .cur { font-size: 1.4rem; font-weight: 600; align-self: flex-start; margin-top: 4px; }
.plan-price .per { font-size: 16px; color: var(--muted); }
.plan-month { margin-top: 8px; font-size: 14px; color: var(--muted); }
.plan .tsw-ticks { margin-top: 22px; gap: 9px; }
.plan .tsw-ticks li { font-size: 14.5px; }
.plan .tsw-btn { width: 100%; margin-top: auto; }
.plan-cta { padding-top: 28px; margin-top: auto; }
.plans-note { margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.price-big { display: flex; align-items: baseline; gap: 8px; margin-top: 40px; }
.price-big b { font-size: 3.6rem; font-weight: 600; line-height: 1; letter-spacing: -0.045em; color: var(--ink); }
.price-big span { font-size: 16px; color: var(--muted); }

/* ---------------------------------------------------------------- forms and dialogs */
.tsw-field { width: 100%; height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff;
  font-size: 15px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
textarea.tsw-field { height: auto; padding: 11px 14px; resize: vertical; }
.tsw-field::placeholder { color: var(--faint); }
.tsw-field:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, .14); }
.form-grid { display: grid; gap: 16px; }
.form-grid label, .dlg label.fld { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.form-card { border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.form-msg { min-height: 1.2em; font-size: 14px; color: var(--muted); }
.form-msg.error { color: #b42318; }
.form-msg.ok { color: var(--teal); }

.dlg { width: calc(100% - 32px); max-width: 520px; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 14px; color: var(--text);
  background: #fff; box-shadow: 0 32px 80px -24px rgba(12, 15, 16, .45); }
.dlg::backdrop { background: rgba(12, 15, 16, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.dlg[open] { animation: tsw-pop .18s cubic-bezier(.16, 1, .3, 1) both; }
.dlg-in { position: relative; padding: 28px; }
.dlg-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; color: var(--muted); }
.dlg-x:hover { background: var(--tint); color: var(--ink); }
.dlg h2 { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.024em; color: var(--ink); padding-right: 36px; }
.dlg-lede { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.dlg-steps { display: flex; gap: 18px; margin-top: 14px; font-size: 13.5px; color: var(--faint); }
.dlg-steps li.active { color: var(--teal); font-weight: 600; }
.dlg-steps li.done { color: var(--ink); }
.dlg-summary { margin-top: 18px; border-radius: 8px; background: var(--tint); padding: 12px 16px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.dlg-fields { display: grid; gap: 14px; margin-top: 18px; }
.dlg-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--text); }
.dlg-check input { margin-top: 3px; width: 16px; height: 16px; }
.dlg-note { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.dlg .actions { margin-top: 20px; }
.dlg-terms { max-width: 640px; }
.dlg-terms-body { max-height: 55vh; overflow-y: auto; margin-top: 16px; padding-right: 6px; white-space: pre-wrap; font-size: 14.5px; line-height: 1.65; color: var(--text); }

/* ---------------------------------------------------------------- footer */
.ftr { border-top: 1px solid rgba(255, 255, 255, .1); }
.ftr .wrap { padding-top: 64px; padding-bottom: 64px; }
.ftr-grid { display: grid; gap: 48px; }
.ftr-brand { max-width: 20rem; }
.ftr-brand img { height: 48px; width: auto; }
.ftr-brand p { margin-top: 16px; font-size: 14px; line-height: 1.62; color: rgba(255, 255, 255, .55); }
.ftr-cols { display: grid; gap: 40px; }
.ftr-head { font-size: 13.5px; font-weight: 600; color: #fff; }
.ftr-links { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ftr-links a, .ftr-links button { text-align: left; font-size: 14px; color: rgba(255, 255, 255, .6); transition: color .15s; }
.ftr-links a:hover, .ftr-links button:hover { color: #fff; }
.ftr-bottom { display: flex; flex-direction: column; gap: 8px; margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .45); }
.ftr-bottom a:hover { color: rgba(255, 255, 255, .7); }

/* ---------------------------------------------------------------- the founder page */
.profile .wrap { padding-top: 48px; padding-bottom: 80px; }
.profile-role { margin-top: 12px; font-size: 17px; font-weight: 500; color: var(--muted); }
.profile-body { margin-top: 40px; }
.profile-body p + p { margin-top: 24px; }

/* ---------------------------------------------------------------- breakpoints: sm 640, lg 1024, xl 1280 */
@media (min-width: 640px) {
  .wrap, .hdr-in { padding-left: 32px; padding-right: 32px; }
  .hdr-logo img { height: 48px; }
  .stats .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tsw-points.c2, .tsw-points.c3, .tsw-points.c4, .steps, .index, .related, .plans, .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy .tsw-ticks.two, .tsw-ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-pair { gap: 32px; }
  .phone-pair > :last-child { margin-top: 64px; }
  .phones-3 { gap: 32px; }
  .phones-3 > :nth-child(2) { margin-top: 56px; }
  .devices { padding-right: 9%; }
  .devices .devices-phone { width: 21%; }
  .menu-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .dlg-fields .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (min-width: 1024px) {
  .sec { padding: 112px 0; }
  .sec-compact { padding: 80px 0; }
  .hdr-nav, .hdr-actions { display: flex; }
  .burger { display: none; }
  .home-hero .wrap { padding-top: 80px; }
  .home-hero-media { margin-top: 80px; }
  .page-hero .wrap { padding-top: 64px; padding-bottom: 96px; }
  .hero-grid.has-media { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; }
  .hero-below { margin-top: 80px; }
  .showcase { gap: 64px; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .showcase.flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .showcase.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .showcase.flip > :first-child { order: 2; }
  .showcase.flip > :last-child { order: 1; }
  .stats .wrap { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tsw-points.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tsw-points.c4, .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .index.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .index.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .related, .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
  .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; }
  .split.contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .cta-band .wrap { flex-direction: row; align-items: center; padding-top: 80px; padding-bottom: 80px; }
  .ftr-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
  .ftr-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ftr-bottom { flex-direction: row; justify-content: space-between; }
  .profile .wrap { padding-top: 64px; padding-bottom: 112px; }
}
@media (min-width: 1280px) {
  .nav-wide { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tsw-pop, .dlg[open] { animation: none; }
}

/* contact rows */
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 16px 0; }
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-row span { font-size: 14px; color: var(--muted); }
.contact-row b { font-size: 15px; font-weight: 600; color: var(--ink); text-align: right; }
.contact-row:hover b { color: var(--teal); }
