/*
 * Prism — the default theme of the marketing website.
 * Dark ink surfaces, violet light and an italic serif for highlights.
 */

:root {
    --tm-ink: #0b0918;
    --tm-ink-2: #110e24;
    --tm-ink-3: #1a1636;
    --tm-ink-4: #241f47;
    --tm-bg: #0b0918;
    --tm-surface: #110e24;
    --tm-surface-2: #1a1636;
    --tm-line: rgba(255, 255, 255, 0.08);
    --tm-line-2: rgba(255, 255, 255, 0.14);
    --tm-strong: #fff;
    --tm-glass: rgba(255, 255, 255, 0.04);
    --tm-glass-2: rgba(255, 255, 255, 0.07);
    --tm-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    --tm-gridline: rgba(255, 255, 255, 0.045);
    --tm-pop: #fff;
    --tm-on-pop: #0b0918;
    --tm-text: #f4f2ff;
    --tm-soft: #d4d0ef;
    --tm-muted: #9f9abf;
    --tm-accent: #7b5cff;
    --tm-accent-2: #a68cff;
    --tm-highlight: #d4ff3a;
    --tm-pink: #ff6fd8;
    --tm-cyan: #43e0ff;
    --tm-radius: 20px;
    --tm-radius-sm: calc(var(--tm-radius) * 0.6);
    --tm-radius-lg: calc(var(--tm-radius) * 1.4);
    --tm-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --tm-serif: "Instrument Serif", ui-serif, Georgia, serif;
    --tm-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --tm-container: 1200px;
    --tm-gutter: clamp(20px, 4vw, 40px);
    --tm-section: clamp(72px, 10vw, 128px);
    --tm-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --tm-glow: 0 0 0 1px rgba(123, 92, 255, 0.35), 0 20px 60px -20px rgba(123, 92, 255, 0.55);
    --tm-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background: var(--tm-bg);
    color: var(--tm-text);
    font-family: var(--tm-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--tm-accent);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--tm-highlight);
    outline-offset: 3px;
    border-radius: 6px;
}

.ic {
    flex-shrink: 0;
}

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

.tm-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.tm-skip {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--tm-highlight);
    color: var(--tm-ink);
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 0.2s;
}

.tm-skip:focus {
    transform: none;
}

/* ---------- Background light ---------- */

.tm-glow-aurora::before,
.tm-glow-grid::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.tm-glow-aurora::before {
    background:
        radial-gradient(60% 40% at 15% 0%, rgba(123, 92, 255, 0.16), transparent 70%),
        radial-gradient(50% 35% at 100% 30%, rgba(255, 111, 216, 0.07), transparent 70%),
        radial-gradient(60% 40% at 40% 100%, rgba(67, 224, 255, 0.06), transparent 70%);
}

.tm-glow-grid::before {
    background-image:
        linear-gradient(var(--tm-gridline) 1px, transparent 1px),
        linear-gradient(90deg, var(--tm-gridline) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}

/* ---------- Layout ---------- */

.tm-container {
    width: 100%;
    max-width: calc(var(--tm-container) + var(--tm-gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--tm-gutter);
}

.tm-container--narrow {
    max-width: calc(780px + var(--tm-gutter) * 2);
}

.tm-section {
    position: relative;
    padding: var(--tm-section) 0;
}

.tm-section--tight {
    padding-top: clamp(24px, 4vw, 48px);
}

.tm-section + .tm-section.tm-tone-default {
    padding-top: calc(var(--tm-section) * 0.6);
}

.tm-tone-muted {
    background: linear-gradient(180deg, transparent, rgba(26, 22, 54, 0.6) 12%, rgba(26, 22, 54, 0.6) 88%, transparent);
}

.tm-tone-dark {
    background: #06050e;
    border-top: 1px solid var(--tm-line);
    border-bottom: 1px solid var(--tm-line);
    overflow: hidden;
}

.tm-tone-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--tm-gridline) 1px, transparent 1px),
        linear-gradient(90deg, var(--tm-gridline) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%);
    pointer-events: none;
}

.tm-tone-dark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(900px, 90vw);
    height: 420px;
    transform: translate(-50%, -45%);
    background: radial-gradient(closest-side, rgba(123, 92, 255, 0.45), transparent);
    filter: blur(20px);
    pointer-events: none;
}

.tm-tone-dark > * {
    position: relative;
    z-index: 1;
}

.tm-tone-accent {
    background:
        radial-gradient(80% 120% at 0% 0%, rgba(255, 111, 216, 0.35), transparent 60%),
        radial-gradient(80% 120% at 100% 100%, rgba(67, 224, 255, 0.25), transparent 60%),
        linear-gradient(120deg, #4f2fe0, var(--tm-accent) 50%, #9b5cff);
    overflow: hidden;
}

.tm-tone-accent .tm-muted,
.tm-tone-accent .tm-lead,
.tm-tone-accent .tm-stat dt {
    color: rgba(255, 255, 255, 0.82);
}

.tm-center {
    text-align: center;
}

.tm-center-row {
    justify-content: center;
}

.tm-mt {
    margin-top: 24px;
}

.tm-mt-lg {
    margin-top: clamp(32px, 5vw, 56px);
}

.tm-muted {
    color: var(--tm-muted);
}

.tm-grid {
    display: grid;
    gap: 20px;
}

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

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

/* ---------- Type ---------- */

.tm-display {
    font-size: clamp(44px, 7.6vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 800;
    text-wrap: balance;
}

.tm-h1 {
    font-size: clamp(38px, 5.6vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 800;
    text-wrap: balance;
}

.tm-h2 {
    font-size: clamp(32px, 4.4vw, 54px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 800;
    text-wrap: balance;
}

.tm-h3 {
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.tm-lead {
    font-size: clamp(17px, 1.5vw, 19px);
    line-height: 1.65;
    color: var(--tm-muted);
    text-wrap: pretty;
}

.hl {
    font-style: normal;
    background: linear-gradient(100deg, var(--tm-accent-2) 0%, var(--tm-pink) 45%, var(--tm-highlight) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: 0.04em;
}

.tm-serif-hl .hl {
    font-family: var(--tm-serif);
    white-space: nowrap;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    padding-right: 0.08em;
}

.tm-tone-accent .hl {
    background: none;
    color: var(--tm-highlight);
}

.tm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tm-accent-2);
}

.tm-eyebrow__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tm-highlight);
    box-shadow: 0 0 12px var(--tm-highlight);
}

.tm-tone-accent .tm-eyebrow {
    color: #fff;
}

.tm-heading {
    max-width: 760px;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.tm-heading--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tm-heading .tm-lead {
    margin-top: 18px;
}

.tm-heading--center .tm-lead {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.tm-heading--left {
    margin-bottom: 28px;
}

.tm-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--tm-accent-2);
}

/* ---------- Buttons, chips, tags ---------- */

.tm-btn {
    --pad: 14px 22px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--pad);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: transform 0.25s var(--tm-ease), box-shadow 0.25s var(--tm-ease), background 0.25s, color 0.25s, border-color 0.25s;
    isolation: isolate;
}

.tm-btn:hover {
    transform: translateY(-2px);
}

.tm-btn:active {
    transform: translateY(0) scale(0.98);
}

.tm-btn__icon {
    transition: transform 0.25s var(--tm-ease);
}

.tm-btn:hover .tm-btn__icon {
    transform: translateX(3px);
}

.tm-btn--primary {
    color: #fff;
    background: linear-gradient(180deg, #9277ff, var(--tm-accent) 55%, #5b3cf0);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px -10px rgba(123, 92, 255, 0.9), 0 0 0 1px rgba(123, 92, 255, 0.6);
}

.tm-btn--primary:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 16px 40px -10px rgba(123, 92, 255, 1), 0 0 0 1px rgba(166, 140, 255, 0.9);
}

.tm-btn--light {
    color: var(--tm-ink);
    background: #fff;
    box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.5);
}

.tm-btn--light:hover {
    background: var(--tm-highlight);
}

.tm-btn--secondary {
    color: var(--tm-ink);
    background: var(--tm-highlight);
}

.tm-btn--outline {
    color: var(--tm-text);
    background: var(--tm-glass);
    border: 1px solid var(--tm-line-2);
    backdrop-filter: blur(10px);
}

.tm-btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: var(--tm-glass-2);
}

.tm-btn--ghost {
    --pad: 12px 16px;
    color: var(--tm-soft);
}

.tm-btn--ghost:hover {
    color: var(--tm-strong);
    background: var(--tm-glass-2);
}

.tm-btn--sm {
    --pad: 10px 16px;
    font-size: 14px;
}

.tm-btn--block {
    width: 100%;
}

.tm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.tm-actions--center {
    justify-content: center;
}

.tm-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--tm-line-2);
    background: var(--tm-glass);
    font-size: 14px;
    font-weight: 600;
    color: var(--tm-soft);
    transition: all 0.2s;
}

.tm-chip:hover {
    color: var(--tm-strong);
    border-color: rgba(166, 140, 255, 0.6);
    background: rgba(123, 92, 255, 0.12);
}

.tm-chip.is-active {
    color: var(--tm-on-pop);
    background: var(--tm-pop);
    border-color: var(--tm-pop);
}

.tm-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--tm-glass-2);
    border: 1px solid var(--tm-line);
    font-size: 12px;
    font-weight: 700;
    color: var(--tm-soft);
    white-space: nowrap;
}

.tm-tag--premium {
    color: #1a1400;
    background: linear-gradient(120deg, #ffe58a, #f5b83d);
    border-color: transparent;
}

.tm-tag--accent {
    color: var(--tm-ink);
    background: var(--tm-highlight);
    border-color: transparent;
}

.tm-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    margin-bottom: 28px;
    border-radius: 999px;
    border: 1px solid rgba(166, 140, 255, 0.35);
    background: linear-gradient(90deg, rgba(123, 92, 255, 0.22), rgba(123, 92, 255, 0.05));
    font-size: 14px;
    font-weight: 600;
    color: var(--tm-soft);
    backdrop-filter: blur(10px);
}

.tm-pill__spark {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--tm-ink);
    background: var(--tm-highlight);
}

.tm-icon-tile {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--tm-strong);
    background: linear-gradient(145deg, rgba(166, 140, 255, 0.35), rgba(123, 92, 255, 0.08));
    border: 1px solid rgba(166, 140, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.tm-icon-tile--sm {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.tm-avatar {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tm-accent), var(--tm-pink));
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
}

.tm-swatches {
    display: inline-flex;
}

.tm-swatches i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--tm-surface-2);
    margin-left: -6px;
}

.tm-swatches i:first-child {
    margin-left: 0;
}

.tm-swatches--lg i {
    width: 34px;
    height: 34px;
    margin-left: -8px;
    border-width: 3px;
}

.tm-yes {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--tm-ink);
    background: var(--tm-highlight);
}

.tm-no {
    color: var(--tm-muted);
    opacity: 0.7;
}

.tm-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tm-muted);
}

.tm-back:hover {
    color: var(--tm-strong);
}

/* ---------- Cards ---------- */

.tm-card {
    position: relative;
    padding: 28px;
    border-radius: var(--tm-radius);
    background: var(--tm-card);
    border: 1px solid var(--tm-line);
    transition: border-color 0.3s, transform 0.4s var(--tm-ease), background 0.3s;
}

.tm-card:hover {
    border-color: var(--tm-line-2);
}

.tm-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 8px;
    font-size: 19px;
    letter-spacing: -0.015em;
    font-weight: 700;
}

.tm-card p {
    color: var(--tm-muted);
    font-size: 15px;
}

.tm-card--feature:hover {
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(123, 92, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.tm-empty {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 56px 24px;
    border-radius: var(--tm-radius);
    border: 1px dashed var(--tm-line-2);
    text-align: center;
    color: var(--tm-muted);
}

.tm-empty p {
    max-width: 460px;
}

.tm-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--tm-line);
    font-size: 15px;
}

.tm-list li:last-child {
    border-bottom: 0;
}

.tm-list small {
    color: var(--tm-muted);
}

.tm-checks {
    display: grid;
    gap: 12px;
}

.tm-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--tm-soft);
}

.tm-checks .ic {
    margin-top: 3px;
    padding: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--tm-ink);
    background: var(--tm-highlight);
}

/* ---------- Frames ---------- */

.tm-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--tm-radius-lg);
    border: 1px solid var(--tm-line-2);
    background: var(--tm-surface);
    box-shadow: var(--tm-shadow);
}

.tm-frame img {
    width: 100%;
}

.tm-frame__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 16px;
    background: var(--tm-glass);
    border-bottom: 1px solid var(--tm-line);
}

.tm-frame__bar i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--tm-line-2);
}

.tm-frame__bar i:first-child {
    background: #ff6b6b;
}

.tm-frame__bar i:nth-child(2) {
    background: #ffc94d;
}

.tm-frame__bar i:nth-child(3) {
    background: #3ddc84;
}

.tm-frame__bar span {
    margin: 0 auto;
    padding: 3px 14px;
    border-radius: 8px;
    background: var(--tm-glass-2);
    font-family: var(--tm-mono);
    font-size: 12px;
    color: var(--tm-muted);
    transform: translateX(-24px);
}

.tm-frame--glow {
    box-shadow: 0 0 0 1px rgba(166, 140, 255, 0.25), 0 40px 120px -30px rgba(123, 92, 255, 0.6), var(--tm-shadow);
}

.tm-frame--soft {
    border-radius: var(--tm-radius-lg);
}

/* ---------- Announcement ---------- */

.tm-announce {
    position: relative;
    z-index: 60;
    background: linear-gradient(90deg, #2a1a7a, #4b2fd6 40%, #2a1a7a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.tm-announce.is-hidden {
    display: none;
}

.tm-announce__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 42px;
    padding-top: 6px;
    padding-bottom: 6px;
    text-align: center;
}

.tm-announce__badge {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--tm-highlight);
    color: var(--tm-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tm-announce__text {
    color: rgba(255, 255, 255, 0.92);
}

.tm-announce__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.tm-announce__close {
    position: absolute;
    right: 16px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
}

.tm-announce__close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ---------- Header ---------- */

.tm-header {
    position: relative;
    z-index: 50;
    padding: 14px 0;
}

.tm-header.is-sticky {
    position: sticky;
    top: 0;
}

.tm-header__bar {
    display: flex;
    align-items: center;
    gap: 24px;
}

.tm-header--glass .tm-header__bar {
    height: 64px;
    max-width: calc(var(--tm-container) + 40px);
    padding: 0 10px 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.tm-header--glass.is-scrolled .tm-header__bar,
.tm-header--glass:hover .tm-header__bar {
    background: rgba(17, 14, 36, 0.72);
    border-color: var(--tm-line-2);
    box-shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.tm-header--minimal,
.tm-header--split {
    border-bottom: 1px solid var(--tm-line);
}

/* The blur sits on a pseudo-element so the fixed mobile drawer is not trapped inside the header. */
.tm-header--minimal::before,
.tm-header--split::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(11, 9, 24, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.tm-header--minimal .tm-header__bar,
.tm-header--split .tm-header__bar {
    height: 52px;
}

.tm-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.tm-logo__mark {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 6px 16px rgba(123, 92, 255, 0.6));
}

.tm-logo__img {
    height: 32px;
    width: auto;
}

.tm-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tm-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.tm-nav__item {
    position: relative;
}

.tm-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--tm-soft);
    transition: color 0.2s, background 0.2s;
}

.tm-nav__link:hover,
.tm-nav__link.is-active,
.has-menu.is-open > .tm-nav__link {
    color: var(--tm-strong);
    background: var(--tm-glass-2);
}

.tm-nav__chev {
    opacity: 0.7;
    transition: transform 0.25s;
}

.has-menu.is-open .tm-nav__chev {
    transform: rotate(180deg);
}

.tm-nav--pill .tm-nav__list {
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--tm-line);
    background: var(--tm-glass);
}

.tm-mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: 560px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(20, 17, 42, 0.96);
    border: 1px solid var(--tm-line-2);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(123, 92, 255, 0.1);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.2s, transform 0.25s var(--tm-ease), visibility 0.2s;
}

.tm-mega::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.has-menu.is-open .tm-mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
}

.tm-mega__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.tm-mega__link {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    transition: background 0.2s;
}

.tm-mega__link:hover {
    background: var(--tm-glass-2);
}

.tm-mega__link strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.tm-mega__link small {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--tm-muted);
}

.tm-mega__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(123, 92, 255, 0.18);
    color: var(--tm-accent-2);
    flex-shrink: 0;
}

.tm-mega__foot {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(100deg, rgba(123, 92, 255, 0.28), rgba(255, 111, 216, 0.12));
    border: 1px solid rgba(166, 140, 255, 0.3);
}

.tm-mega__foot > span:nth-child(2) {
    flex: 1;
}

.tm-mega__foot strong {
    display: block;
    font-size: 14px;
}

.tm-mega__foot small {
    font-size: 13px;
    color: var(--tm-soft);
}

.tm-mega__spark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--tm-highlight);
    color: var(--tm-ink);
}

.tm-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.tm-nav + .tm-header__actions {
    margin-left: 0;
}

.tm-header__login {
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--tm-soft);
}

.tm-header__login:hover {
    color: var(--tm-strong);
}

.tm-burger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--tm-line-2);
    background: var(--tm-glass);
}

.tm-burger span {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--tm-strong);
    transition: transform 0.3s var(--tm-ease), top 0.3s var(--tm-ease);
}

.tm-burger span:first-child {
    top: 17px;
}

.tm-burger span:last-child {
    top: 25px;
}

.is-drawer-open .tm-burger span:first-child {
    top: 21px;
    transform: rotate(45deg);
}

.is-drawer-open .tm-burger span:last-child {
    top: 21px;
    transform: rotate(-45deg);
}

.tm-drawer {
    display: none;
}

/* ---------- Hero ---------- */

.tm-s-hero-ai {
    padding-top: clamp(48px, 7vw, 96px);
    padding-bottom: 0;
}

.tm-hero {
    position: relative;
}

.tm-hero__bg {
    position: absolute;
    inset: -200px 0 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.tm-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: tm-drift 18s ease-in-out infinite alternate;
}

.tm-orb--a {
    width: 560px;
    height: 560px;
    left: 50%;
    top: 40px;
    margin-left: -520px;
    background: radial-gradient(closest-side, #7b5cff, transparent);
}

.tm-orb--b {
    width: 460px;
    height: 460px;
    left: 50%;
    top: 120px;
    margin-left: 80px;
    background: radial-gradient(closest-side, #ff6fd8, transparent);
    opacity: 0.32;
    animation-duration: 22s;
    animation-delay: -6s;
}

.tm-orb--c {
    width: 380px;
    height: 380px;
    left: 50%;
    top: 520px;
    margin-left: -180px;
    background: radial-gradient(closest-side, #43e0ff, transparent);
    opacity: 0.22;
    animation-duration: 26s;
}

.tm-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--tm-gridline) 1px, transparent 1px),
        linear-gradient(90deg, var(--tm-gridline) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 35%, #000 10%, transparent 75%);
}

@keyframes tm-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(60px, -30px, 0) scale(1.1);
    }
    100% {
        transform: translate3d(-40px, 40px, 0) scale(0.95);
    }
}

.tm-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tm-hero__inner .tm-display {
    max-width: 1000px;
}

.tm-hero__intro {
    max-width: 680px;
    margin-top: 26px;
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.6;
    color: var(--tm-muted);
    text-wrap: pretty;
}

.tm-prompt {
    width: 100%;
    max-width: 780px;
    margin-top: 40px;
}

.tm-prompt__box {
    --angle: 0deg;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 12px 12px 12px 18px;
    border-radius: 26px;
    background: rgba(17, 14, 36, 0.85);
    box-shadow: 0 30px 80px -30px rgba(123, 92, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    text-align: left;
}

.tm-prompt__box::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    z-index: -1;
    border-radius: 27px;
    padding: 1.5px;
    background: conic-gradient(from var(--angle), rgba(123, 92, 255, 0.2), #a68cff, #ff6fd8, var(--tm-highlight), rgba(123, 92, 255, 0.2) 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: tm-spin 6s linear infinite;
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes tm-spin {
    to {
        --angle: 360deg;
    }
}

.tm-prompt__box:focus-within {
    box-shadow: 0 30px 90px -25px rgba(123, 92, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tm-prompt__icon {
    align-self: flex-start;
    margin-top: 14px;
    color: var(--tm-accent-2);
}

.tm-prompt textarea {
    flex: 1;
    min-height: 56px;
    max-height: 200px;
    padding: 12px 0;
    border: 0;
    outline: 0;
    resize: none;
    background: transparent;
    font-size: 17px;
    line-height: 1.5;
    color: var(--tm-strong);
}

.tm-prompt textarea::placeholder {
    color: #77729a;
}

.tm-prompt__go {
    --pad: 15px 22px;
    flex-shrink: 0;
}

.tm-prompt__examples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-prompt__examples > span {
    margin-right: 4px;
}

.tm-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
    margin-top: 22px;
}

.tm-hero__trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-hero__trust .ic {
    color: var(--tm-highlight);
}

.tm-hero__visual {
    position: relative;
    z-index: 1;
    margin-top: clamp(56px, 7vw, 88px);
    perspective: 1600px;
}

.tm-frame--hero {
    transform: rotateX(14deg) scale(0.96);
    transform-origin: 50% 0;
    transition: transform 1.2s var(--tm-ease);
    box-shadow: 0 0 0 1px rgba(166, 140, 255, 0.25), 0 -20px 120px -20px rgba(123, 92, 255, 0.55), var(--tm-shadow);
}

.tm-frame--hero.is-flat,
.tm-preview .tm-frame--hero {
    transform: rotateX(0) scale(1);
}

.tm-hero__fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 40%;
    background: linear-gradient(transparent, var(--tm-bg));
    pointer-events: none;
}

.tm-float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(26, 22, 54, 0.85);
    border: 1px solid var(--tm-line-2);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
    text-align: left;
    animation: tm-bob 6s ease-in-out infinite;
}

.tm-float strong {
    display: block;
    font-size: 13px;
}

.tm-float small {
    display: block;
    font-size: 12px;
    color: var(--tm-muted);
    white-space: nowrap;
}

.tm-float--a {
    top: 18%;
    left: 0;
}

.tm-float--b {
    top: 42%;
    right: 0;
    animation-delay: -2s;
}

.tm-float--c {
    top: 66%;
    left: 6%;
    animation-delay: -4s;
}

.tm-float__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tm-float__dot.is-done {
    background: var(--tm-highlight);
    box-shadow: 0 0 12px var(--tm-highlight);
}

.tm-float__dot.is-live {
    background: var(--tm-pink);
    box-shadow: 0 0 0 0 rgba(255, 111, 216, 0.7);
    animation: tm-pulse 1.6s infinite;
}

.tm-typing {
    overflow: hidden;
    border-right: 2px solid var(--tm-accent-2);
    max-width: 0;
    animation: tm-type 5s steps(32) infinite;
}

@keyframes tm-type {
    0%,
    10% {
        max-width: 0;
    }
    60%,
    90% {
        max-width: 260px;
    }
    100% {
        max-width: 0;
    }
}

@keyframes tm-bob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes tm-pulse {
    70% {
        box-shadow: 0 0 0 10px rgba(255, 111, 216, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 111, 216, 0);
    }
}

.tm-page-hero {
    padding-top: clamp(48px, 8vw, 112px);
    padding-bottom: clamp(24px, 4vw, 48px);
    overflow: hidden;
}

.tm-page-hero .tm-container {
    position: relative;
    z-index: 1;
}

.tm-page-hero .tm-lead {
    max-width: 640px;
    margin: 20px auto 0;
}

/* ---------- Logos ---------- */

.tm-s-logos {
    padding: clamp(40px, 6vw, 80px) 0;
}

.tm-logos__title {
    margin-bottom: 28px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--tm-muted);
}

.tm-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.tm-marquee__track {
    display: flex;
    width: max-content;
    animation: tm-marquee 36s linear infinite;
}

.tm-marquee:hover .tm-marquee__track {
    animation-play-state: paused;
}

.tm-marquee__group {
    display: flex;
    align-items: center;
    gap: clamp(36px, 6vw, 72px);
    padding-right: clamp(36px, 6vw, 72px);
}

@keyframes tm-marquee {
    to {
        transform: translateX(-50%);
    }
}

.tm-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.tm-logo-item:hover {
    opacity: 1;
}

.tm-logo-item img {
    height: 30px;
    width: auto;
    filter: grayscale(1) brightness(2);
}

.tm-logo-item__name {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.tm-logo-item__mark {
    width: 24px;
    height: 24px;
    background: currentColor;
}

.tm-logo-item__mark--0 {
    border-radius: 50%;
}

.tm-logo-item__mark--1 {
    border-radius: 6px;
    transform: rotate(45deg) scale(0.8);
}

.tm-logo-item__mark--2 {
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.tm-logo-item__mark--3 {
    border-radius: 50% 50% 0 50%;
}

.tm-logo-item__mark--4 {
    border-radius: 4px;
    box-shadow: inset 0 0 0 7px var(--tm-bg);
}

/* ---------- Steps ---------- */

.tm-steps--visual {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.tm-steps__list {
    display: grid;
    gap: 10px;
}

.tm-step {
    position: relative;
    padding: 20px 22px;
    border-radius: var(--tm-radius);
    border: 1px solid transparent;
    transition: background 0.35s, border-color 0.35s;
}

.tm-step.is-active {
    background: linear-gradient(120deg, rgba(123, 92, 255, 0.16), rgba(255, 255, 255, 0.02));
    border-color: rgba(166, 140, 255, 0.28);
}

.tm-step__head {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.tm-step__num {
    font-family: var(--tm-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--tm-accent-2);
}

.tm-step__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--tm-glass-2);
    color: var(--tm-soft);
    transition: background 0.3s, color 0.3s;
}

.tm-step.is-active .tm-step__icon {
    background: var(--tm-highlight);
    color: var(--tm-ink);
}

.tm-step p {
    display: grid;
    grid-template-rows: 0fr;
    margin-left: 50px;
    color: var(--tm-muted);
    font-size: 15px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s var(--tm-ease), opacity 0.4s, margin 0.4s;
}

.tm-step.is-active p {
    max-height: 120px;
    opacity: 1;
    margin-top: 10px;
}

.tm-step__bar {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    opacity: 0;
}

.tm-step.is-active .tm-step__bar {
    opacity: 1;
}

.tm-step__bar i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--tm-accent), var(--tm-highlight));
}

.tm-step.is-active .tm-step__bar i {
    animation: tm-progress var(--tm-step-time, 5s) linear forwards;
}

[data-tm-steps].is-paused .tm-step__bar i {
    animation-play-state: paused;
}

@keyframes tm-progress {
    to {
        width: 100%;
    }
}

.tm-steps__stage {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--tm-radius-lg);
    overflow: hidden;
    border: 1px solid var(--tm-line-2);
    background: var(--tm-surface);
    box-shadow: 0 40px 100px -40px rgba(123, 92, 255, 0.6), var(--tm-shadow);
}

.tm-steps__shot {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s var(--tm-ease), transform 1.2s var(--tm-ease);
}

.tm-steps__shot.is-active {
    opacity: 1;
    transform: none;
}

.tm-steps__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-steps--cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    counter-reset: step;
}

.tm-card--step .tm-step__num {
    position: absolute;
    top: 24px;
    right: 24px;
}

/* ---------- Editor showcase ---------- */

.tm-showcase {
    display: grid;
    gap: 32px;
}

.tm-showcase.has-points {
    grid-template-columns: 220px minmax(0, 1fr) 220px;
    align-items: center;
}

.tm-showcase__points {
    display: grid;
    gap: 28px;
}

.tm-showcase__points li {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-showcase__points strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.tm-showcase__points span:not(.tm-icon-tile) {
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-showcase__points:last-child {
    text-align: right;
}

.tm-showcase__points:last-child li {
    align-items: flex-end;
}

/* ---------- Bento ---------- */

.tm-bento {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.tm-bento__tile {
    position: relative;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 260px;
    padding: 28px;
    border-radius: var(--tm-radius-lg);
    background: var(--tm-card);
    border: 1px solid var(--tm-line);
    transition: border-color 0.3s, transform 0.5s var(--tm-ease);
}

.tm-bento__tile:hover {
    border-color: rgba(166, 140, 255, 0.35);
}

.tm-bento__tile--span-3 {
    grid-column: span 3;
}

.tm-bento__tile--span-6 {
    grid-column: span 6;
    min-height: 0;
}

.tm-bento__tile--span-6 .tm-bento__copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 20px;
    align-items: center;
}

.tm-bento__tile--span-6 .tm-bento__copy .tm-icon-tile {
    grid-row: span 2;
}

.tm-bento__tile--span-6 .tm-bento__copy h3 {
    margin: 0;
}

.tm-bento__tile--span-6 .tm-bento__copy p {
    max-width: 760px;
}

.tm-bento__tile.is-large {
    grid-column: span 3;
    min-height: 460px;
    padding-bottom: 0;
}

.tm-bento__tile--0.is-large {
    background:
        radial-gradient(90% 70% at 100% 100%, rgba(123, 92, 255, 0.35), transparent 70%),
        var(--tm-card);
}

.tm-bento__tile--1.is-large {
    background:
        radial-gradient(90% 70% at 0% 100%, rgba(255, 111, 216, 0.22), transparent 70%),
        var(--tm-card);
}

.tm-bento__copy h3 {
    margin: 22px 0 8px;
    font-size: 21px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.tm-bento__copy p {
    max-width: 440px;
    color: var(--tm-muted);
    font-size: 15px;
}

.tm-bento__media {
    margin: 28px -28px 0 0;
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.tm-bento__media img {
    width: 100%;
    border-top-left-radius: 16px;
    border: 1px solid var(--tm-line-2);
    border-right: 0;
    border-bottom: 0;
    box-shadow: -20px -20px 60px -30px rgba(0, 0, 0, 0.8);
    transition: transform 0.8s var(--tm-ease);
}

.tm-bento__tile:hover .tm-bento__media img {
    transform: translate(-6px, -6px);
}

.tm-bento__shine {
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(166, 140, 255, 0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.tm-bento__tile:hover .tm-bento__shine {
    opacity: 1;
}

.tm-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 48px;
}

.tm-feature-list li {
    display: flex;
    gap: 16px;
}

.tm-feature-list h3 {
    font-size: 17px;
    font-weight: 700;
}

.tm-feature-list p {
    margin-top: 4px;
    color: var(--tm-muted);
    font-size: 15px;
}

/* ---------- Templates ---------- */

.tm-filters,
.tm-toolbar__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 36px;
}

.tm-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
}

.tm-toolbar .tm-toolbar__chips {
    justify-content: flex-start;
    margin: 0;
}

.tm-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    padding: 0 16px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--tm-line-2);
    background: var(--tm-glass);
    color: var(--tm-muted);
}

.tm-search:focus-within {
    border-color: var(--tm-accent-2);
}

.tm-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
}

.tm-tpl {
    display: flex;
    flex-direction: column;
    border-radius: var(--tm-radius-lg);
    overflow: hidden;
    background: var(--tm-surface);
    border: 1px solid var(--tm-line);
    transition: transform 0.5s var(--tm-ease), border-color 0.3s, box-shadow 0.5s;
}

.tm-tpl:hover {
    transform: translateY(-6px);
    border-color: rgba(166, 140, 255, 0.35);
    box-shadow: 0 30px 70px -35px rgba(123, 92, 255, 0.7);
}

.tm-tpl.is-filtered {
    display: none;
}

.tm-tpl__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--tm-surface-2);
}

.tm-tpl__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 1.6s var(--tm-ease), object-position 3s ease;
}

.tm-tpl:hover .tm-tpl__media img {
    transform: scale(1.04);
}

.tm-tpl__placeholder {
    position: absolute;
    inset: 16px;
    display: grid;
    grid-template-rows: 18px 1fr 40px;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(160deg, #221c4a, #120f28);
    border: 1px solid var(--tm-line);
}

.tm-tpl__placeholder i {
    display: block;
    border-radius: 8px;
    background: var(--tm-glass-2);
}

.tm-tpl__placeholder i:nth-child(2) {
    background: linear-gradient(120deg, rgba(123, 92, 255, 0.45), rgba(255, 111, 216, 0.25));
}

.tm-tpl__placeholder b {
    position: absolute;
    left: 28px;
    top: 50%;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.tm-tpl__overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(11, 9, 24, 0.45);
    opacity: 0;
    transition: opacity 0.3s;
}

.tm-tpl:hover .tm-tpl__overlay {
    opacity: 1;
}

.tm-tpl__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-top: 1px solid var(--tm-line);
}

.tm-tpl__body h3 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.tm-tpl__body p {
    font-size: 13px;
    color: var(--tm-muted);
}

.tm-tpl-detail {
    padding-top: clamp(40px, 6vw, 72px);
    overflow: hidden;
}

.tm-tpl-detail .tm-container {
    position: relative;
    z-index: 1;
}

.tm-tpl-detail__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 40px;
}

.tm-tpl-detail__head > div:first-child {
    max-width: 680px;
}

.tm-tpl-detail__head .tm-lead {
    margin-top: 14px;
}

.tm-device {
    border-radius: var(--tm-radius-lg);
    border: 1px solid var(--tm-line-2);
    background: var(--tm-surface);
    overflow: hidden;
    box-shadow: 0 40px 120px -40px rgba(123, 92, 255, 0.55), var(--tm-shadow);
}

.tm-device__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 52px;
    padding: 0 16px;
    border-bottom: 1px solid var(--tm-line);
    background: var(--tm-glass);
}

.tm-device__dots {
    display: flex;
    gap: 7px;
}

.tm-device__dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--tm-line-2);
}

.tm-device__switch {
    display: flex;
    padding: 3px;
    border-radius: 999px;
    background: var(--tm-glass-2);
    border: 1px solid var(--tm-line);
}

.tm-device__switch button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 32px;
    border-radius: 999px;
    color: var(--tm-muted);
}

.tm-device__switch button.is-active {
    background: var(--tm-pop);
    color: var(--tm-on-pop);
}

.tm-device__open {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--tm-muted);
}

.tm-device__open:hover {
    color: var(--tm-strong);
    background: var(--tm-glass-2);
}

.tm-device__screen {
    display: flex;
    justify-content: center;
    height: min(78vh, 820px);
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0 10px, transparent 10px 20px);
}

.tm-device__screen iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
    transition: width 0.5s var(--tm-ease);
}

.tm-device[data-size="tablet"] iframe {
    width: 820px;
}

.tm-device[data-size="mobile"] iframe {
    width: 390px;
}

.tm-tpl-detail__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.tm-tpl-detail__facts h3 {
    margin-top: 0;
    margin-bottom: 16px;
}

/* ---------- Integrations ---------- */

.tm-int {
    position: relative;
    padding: 24px;
    border-radius: var(--tm-radius);
    background: var(--tm-card);
    border: 1px solid var(--tm-line);
    overflow: hidden;
    transition: transform 0.4s var(--tm-ease), border-color 0.3s;
}

.tm-int::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.12;
    filter: blur(30px);
    transition: opacity 0.3s;
}

.tm-int:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--brand) 50%, transparent);
}

.tm-int:hover::after {
    opacity: 0.3;
}

.tm-int.is-filtered {
    display: none;
}

.tm-int__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.tm-int__logo {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 10px 24px -10px var(--brand), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.tm-int__logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.tm-int h3 {
    font-size: 17px;
    font-weight: 700;
}

.tm-int p {
    margin-top: 6px;
    font-size: 14px;
    color: var(--tm-muted);
}

/* ---------- Pricing ---------- */

.tm-cycle {
    display: flex;
    width: max-content;
    margin: -24px auto 40px;
    padding: 5px;
    border-radius: 999px;
    border: 1px solid var(--tm-line-2);
    background: var(--tm-glass);
}

.tm-cycle button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    color: var(--tm-muted);
    transition: all 0.25s;
}

.tm-cycle button.is-active {
    background: var(--tm-pop);
    color: var(--tm-on-pop);
}

.tm-cycle__badge {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--tm-highlight);
    color: var(--tm-ink);
    font-size: 11px;
    font-weight: 800;
}

.tm-plans {
    display: grid;
    gap: 16px;
    align-items: stretch;
}

.tm-plans--1 {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}

.tm-plans--2 {
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
}

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

.tm-plans--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tm-plan.tm-plan--wide {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 2fr) auto;
    align-items: center;
    gap: 28px;
    margin-top: 16px;
    padding: 26px 28px;
    background:
        radial-gradient(60% 140% at 100% 50%, rgba(123, 92, 255, 0.22), transparent 70%),
        var(--tm-card);
}

.tm-plan--wide .tm-plan__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 0 0 28px;
    border-top: 0;
    border-left: 1px solid var(--tm-line);
}

.tm-plan--wide__head p {
    margin-top: 4px;
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 24px;
    border-radius: var(--tm-radius-lg);
    background: var(--tm-card);
    border: 1px solid var(--tm-line);
}

.tm-plan.is-featured {
    background:
        radial-gradient(120% 60% at 50% 0%, rgba(123, 92, 255, 0.35), transparent 70%),
        linear-gradient(180deg, #1e1846, #130f2c);
    border-color: rgba(166, 140, 255, 0.55);
    box-shadow: var(--tm-glow);
}

.tm-plan__flag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--tm-highlight);
    color: var(--tm-ink);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.tm-plan h3 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tm-plan header p {
    margin-top: 4px;
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-plan__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    min-height: 56px;
}

.tm-plan__price strong {
    font-size: 46px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.tm-plan__price span {
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-plan__features {
    display: grid;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid var(--tm-line);
}

.tm-plan__features li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--tm-soft);
}

.tm-plan__features .ic {
    margin-top: 2px;
    color: var(--tm-highlight);
}

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

.tm-compare {
    margin-top: clamp(56px, 8vw, 96px);
}

.tm-compare h3 {
    margin-bottom: 28px;
}

.tm-compare__scroll {
    overflow-x: auto;
    border-radius: var(--tm-radius);
    border: 1px solid var(--tm-line);
}

.tm-compare table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 14px;
}

.tm-compare th,
.tm-compare td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid var(--tm-line);
}

.tm-compare th[scope="row"] {
    text-align: left;
    font-weight: 600;
    color: var(--tm-soft);
}

.tm-compare thead th {
    position: sticky;
    top: 0;
    padding: 18px;
    background: var(--tm-surface);
    font-size: 15px;
    font-weight: 800;
}

.tm-compare .is-featured {
    background: rgba(123, 92, 255, 0.08);
}

.tm-compare__group th {
    padding-top: 22px;
    text-align: left;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tm-accent-2);
    background: var(--tm-glass);
}

.tm-compare .tm-yes {
    width: 22px;
    height: 22px;
    padding: 3px;
}

/* ---------- Testimonials ---------- */

.tm-quotes {
    display: grid;
    gap: 16px;
    align-items: start;
}

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

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

.tm-quote {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    border-radius: var(--tm-radius-lg);
    background: var(--tm-card);
    border: 1px solid var(--tm-line);
}

.tm-quote.is-raised {
    margin-top: 40px;
    background:
        radial-gradient(100% 60% at 50% 0%, rgba(123, 92, 255, 0.25), transparent 70%),
        var(--tm-card);
    border-color: rgba(166, 140, 255, 0.3);
}

.tm-quote__stars {
    display: flex;
    gap: 2px;
    color: var(--tm-highlight);
}

.tm-quote__stars .ic {
    fill: currentColor;
}

.tm-quote blockquote {
    font-size: 17px;
    line-height: 1.6;
    color: var(--tm-soft);
}

.tm-quote figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.tm-quote figcaption img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(166, 140, 255, 0.4);
}

.tm-quote figcaption strong {
    display: block;
    font-size: 15px;
}

.tm-quote figcaption small {
    display: block;
    font-size: 13px;
    color: var(--tm-muted);
}

/* ---------- Showcase gallery ---------- */

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

.tm-gallery__item {
    position: relative;
    display: block;
    border-radius: var(--tm-radius-lg);
    overflow: hidden;
    border: 1px solid var(--tm-line);
    background: var(--tm-surface);
}

.tm-gallery__item--2 {
    grid-column: span 2;
}

.tm-gallery__item--3 {
    grid-column: 1 / -1;
}

.tm-gallery__item--3 .tm-gallery__media {
    aspect-ratio: 3 / 1;
}

.tm-gallery__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    height: 100%;
}

.tm-gallery__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--tm-ease);
}

.tm-gallery__item:hover img {
    transform: scale(1.05);
}

.tm-gallery__meta {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(11, 9, 24, 0.72);
    border: 1px solid var(--tm-line-2);
    backdrop-filter: blur(14px);
}

.tm-gallery__meta strong {
    display: block;
    font-size: 15px;
}

.tm-gallery__meta small {
    font-size: 13px;
    color: var(--tm-muted);
}

.tm-gallery__go {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--tm-ink);
}

/* ---------- Stats ---------- */

.tm-s-stats {
    padding: clamp(56px, 8vw, 96px) 0;
}

.tm-stats {
    display: grid;
    gap: 16px;
}

.tm-stats--2 {
    grid-template-columns: repeat(2, 1fr);
}

.tm-stats--3 {
    grid-template-columns: repeat(3, 1fr);
}

.tm-stats--4 {
    grid-template-columns: repeat(4, 1fr);
}

.tm-stat {
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    padding: 8px 24px;
    border-left: 1px solid var(--tm-line-2);
}

.tm-stat dd {
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.tm-stat dt {
    font-size: 15px;
    color: var(--tm-muted);
}

.tm-tone-default .tm-stat dd,
.tm-tone-muted .tm-stat dd {
    background: linear-gradient(180deg, #fff, #a99cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Split ---------- */

.tm-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.tm-split.is-reverse .tm-split__visual {
    order: -1;
}

.tm-split.is-text {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.tm-split__copy .tm-checks {
    margin-top: 24px;
}

.tm-split__visual {
    position: relative;
}

.tm-split__visual::before {
    content: "";
    position: absolute;
    inset: 10% 10% -6%;
    background: radial-gradient(closest-side, rgba(123, 92, 255, 0.5), transparent);
    filter: blur(40px);
    z-index: -1;
}

/* ---------- Prose ---------- */

.tm-prose {
    color: var(--tm-soft);
    font-size: 17px;
    line-height: 1.75;
}

.tm-prose > * + * {
    margin-top: 1.1em;
}

.tm-prose h2 {
    margin-top: 2em;
    font-size: clamp(24px, 2.6vw, 30px);
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--tm-strong);
}

.tm-prose h3 {
    margin-top: 1.6em;
    font-size: 21px;
    color: var(--tm-strong);
}

.tm-prose a {
    color: var(--tm-accent-2);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tm-prose ul,
.tm-prose ol {
    padding-left: 1.3em;
}

.tm-prose ul {
    list-style: disc;
}

.tm-prose ol {
    list-style: decimal;
}

.tm-prose li + li {
    margin-top: 0.4em;
}

.tm-prose li::marker {
    color: var(--tm-accent-2);
}

.tm-prose blockquote {
    padding: 4px 0 4px 22px;
    border-left: 3px solid var(--tm-accent);
    font-size: 1.1em;
    color: var(--tm-strong);
}

.tm-prose img {
    border-radius: var(--tm-radius);
}

.tm-prose code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--tm-glass-2);
    font-family: var(--tm-mono);
    font-size: 0.88em;
}

.tm-prose hr {
    border: 0;
    border-top: 1px solid var(--tm-line);
    margin: 2.4em 0;
}

.tm-doc {
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--tm-radius-lg);
    background: var(--tm-glass);
    border: 1px solid var(--tm-line);
}

.tm-doc__head {
    padding-bottom: 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--tm-line);
}

.tm-doc__head p {
    margin-top: 12px;
    color: var(--tm-muted);
    font-size: 14px;
}

.tm-doc .tm-h1 {
    font-size: clamp(34px, 4.4vw, 52px);
}

/* ---------- FAQ ---------- */

.tm-faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.tm-faq__intro {
    position: sticky;
    top: 120px;
}

.tm-faq__help {
    color: var(--tm-muted);
}

.tm-faq__help a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--tm-accent-2);
}

.tm-faq__list {
    display: grid;
    gap: 10px;
}

.tm-faq__item {
    border-radius: var(--tm-radius);
    background: var(--tm-glass);
    border: 1px solid var(--tm-line);
    transition: background 0.3s, border-color 0.3s;
}

.tm-faq__item[open] {
    background: rgba(123, 92, 255, 0.08);
    border-color: rgba(166, 140, 255, 0.3);
}

.tm-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    list-style: none;
}

.tm-faq__item summary::-webkit-details-marker {
    display: none;
}

.tm-faq__toggle {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tm-glass-2);
    flex-shrink: 0;
    transition: background 0.3s, transform 0.4s var(--tm-ease);
}

.tm-faq__toggle::before,
.tm-faq__toggle::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 13px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.tm-faq__toggle::after {
    transform: rotate(90deg);
    transition: transform 0.3s;
}

.tm-faq__item[open] .tm-faq__toggle {
    background: var(--tm-highlight);
    color: var(--tm-ink);
    transform: rotate(180deg);
}

.tm-faq__item[open] .tm-faq__toggle::after {
    transform: rotate(0);
}

.tm-faq__answer {
    padding: 0 24px 22px;
    color: var(--tm-muted);
    font-size: 16px;
}

/* ---------- Comparison ---------- */

.tm-versus {
    max-width: 880px;
    margin: 0 auto;
    border-radius: var(--tm-radius-lg);
    border: 1px solid var(--tm-line);
    overflow: hidden;
}

.tm-versus__head,
.tm-versus__row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}

.tm-versus__head > *,
.tm-versus__row > * {
    padding: 16px 22px;
}

.tm-versus__head {
    background: var(--tm-glass);
    border-bottom: 1px solid var(--tm-line);
    font-size: 15px;
}

.tm-versus__row + .tm-versus__row {
    border-top: 1px solid var(--tm-line);
}

.tm-versus__row > span:first-child {
    font-weight: 600;
}

.tm-versus .is-us {
    background: rgba(123, 92, 255, 0.1);
    color: var(--tm-strong);
}

.tm-versus__head .is-us {
    color: var(--tm-accent-2);
}

.tm-versus__row > span:not(:first-child) {
    text-align: center;
    font-size: 15px;
    color: var(--tm-muted);
}

.tm-versus__row .is-us {
    color: var(--tm-strong);
}

.tm-versus .tm-yes {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    padding: 4px;
}

/* ---------- CTA ---------- */

.tm-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 80px);
    border-radius: calc(var(--tm-radius) * 1.8);
    text-align: center;
    background:
        radial-gradient(70% 90% at 50% 120%, rgba(212, 255, 58, 0.25), transparent 60%),
        radial-gradient(60% 80% at 0% 0%, rgba(255, 111, 216, 0.4), transparent 60%),
        linear-gradient(135deg, #3d22c9, var(--tm-accent) 45%, #a35cff);
    box-shadow: 0 40px 120px -40px rgba(123, 92, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    isolation: isolate;
}

.tm-cta__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    mix-blend-mode: screen;
}

.tm-cta__beams {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.tm-cta__beams i {
    position: absolute;
    top: -50%;
    width: 120px;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: rotate(25deg);
    animation: tm-beam 7s ease-in-out infinite;
}

.tm-cta__beams i:nth-child(1) {
    left: 10%;
}

.tm-cta__beams i:nth-child(2) {
    left: 45%;
    animation-delay: -2.4s;
    width: 60px;
}

.tm-cta__beams i:nth-child(3) {
    left: 80%;
    animation-delay: -4.6s;
}

@keyframes tm-beam {
    0%,
    100% {
        opacity: 0.2;
        transform: rotate(25deg) translateX(-40px);
    }
    50% {
        opacity: 1;
        transform: rotate(25deg) translateX(40px);
    }
}

.tm-cta__inner {
    max-width: 760px;
    margin: 0 auto;
}

.tm-cta .tm-lead {
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.85);
}

.tm-cta .hl {
    background: none;
    color: var(--tm-highlight);
}

.tm-cta .tm-actions {
    justify-content: center;
    margin-top: 34px;
}

.tm-cta .tm-btn--outline {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

/* ---------- Blog ---------- */

.tm-post {
    display: flex;
    flex-direction: column;
    border-radius: var(--tm-radius-lg);
    overflow: hidden;
    background: var(--tm-glass);
    border: 1px solid var(--tm-line);
    transition: transform 0.5s var(--tm-ease), border-color 0.3s;
}

.tm-post:hover {
    transform: translateY(-5px);
    border-color: var(--tm-line-2);
}

.tm-post__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.tm-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--tm-ease);
}

.tm-post:hover .tm-post__media img {
    transform: scale(1.05);
}

.tm-post__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 24px 26px;
}

.tm-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--tm-muted);
}

.tm-post h3 {
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.tm-post h3 a:hover {
    color: var(--tm-accent-2);
}

.tm-post__body > p:last-child {
    font-size: 15px;
    color: var(--tm-muted);
}

.tm-feature-post {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    margin-bottom: 40px;
    padding: 16px;
    border-radius: calc(var(--tm-radius) * 1.6);
    background: linear-gradient(120deg, rgba(123, 92, 255, 0.12), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--tm-line-2);
}

.tm-feature-post__media {
    border-radius: var(--tm-radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.tm-feature-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-feature-post__body {
    display: grid;
    gap: 16px;
    padding: 16px 24px 16px 0;
}

.tm-article {
    padding-top: clamp(40px, 6vw, 80px);
    overflow: hidden;
}

.tm-article .tm-container {
    position: relative;
    z-index: 1;
}

.tm-article__head {
    display: grid;
    gap: 20px;
}

.tm-article__author {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--tm-muted);
    font-size: 15px;
}

.tm-article__author strong {
    color: var(--tm-strong);
}

.tm-article__cover {
    max-width: calc(1040px + var(--tm-gutter) * 2);
    margin-top: 48px;
    margin-bottom: 48px;
}

.tm-article__cover img {
    width: 100%;
    border-radius: calc(var(--tm-radius) * 1.6);
    border: 1px solid var(--tm-line);
}

.tm-article__share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--tm-line);
    font-weight: 700;
    font-size: 14px;
}

.tm-article__share span {
    margin-right: 8px;
    color: var(--tm-muted);
}

.tm-article__share a,
.tm-article__share button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--tm-line-2);
    color: var(--tm-soft);
}

.tm-article__share a:hover,
.tm-article__share button:hover {
    color: var(--tm-strong);
    border-color: var(--tm-accent-2);
}

/* ---------- Contact & forms ---------- */

.tm-contact {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.tm-contact.is-solo {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}

.tm-contact__details {
    display: grid;
    gap: 18px;
}

.tm-contact__details li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tm-contact__details small {
    display: block;
    font-size: 13px;
    color: var(--tm-muted);
}

.tm-contact__details a,
.tm-contact__details span:not(.tm-icon-tile) {
    font-size: 17px;
    font-weight: 600;
}

.tm-contact__details a:hover {
    color: var(--tm-accent-2);
}

.tm-form {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 36px);
    background: var(--tm-card);
}

.tm-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.tm-field {
    display: grid;
    gap: 8px;
}

.tm-field > span {
    font-size: 14px;
    font-weight: 600;
    color: var(--tm-soft);
}

.tm-field em {
    font-style: normal;
    font-weight: 500;
    color: var(--tm-muted);
}

.tm-field input,
.tm-field select,
.tm-field textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid var(--tm-line-2);
    background: rgba(11, 9, 24, 0.6);
    outline: 0;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tm-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a39fc0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.tm-field select option {
    background: var(--tm-surface);
}

.tm-field textarea {
    resize: vertical;
    min-height: 130px;
}

.tm-field input:focus,
.tm-field select:focus,
.tm-field textarea:focus {
    border-color: var(--tm-accent-2);
    box-shadow: 0 0 0 4px rgba(123, 92, 255, 0.2);
}

.tm-form__error {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 92, 92, 0.12);
    color: #ffb4b4;
    font-size: 14px;
}

.tm-form__msg:empty,
.tm-inline-form__msg:empty {
    display: none;
}

.tm-form__msg,
.tm-inline-form__msg {
    font-size: 14px;
    color: var(--tm-highlight);
}

.tm-form__msg.is-error,
.tm-inline-form__msg.is-error {
    color: #ff9b9b;
}

.tm-form__fine {
    font-size: 13px;
    color: var(--tm-muted);
    text-align: center;
}

.tm-form__fine a {
    text-decoration: underline;
}

.tm-form.is-sent {
    pointer-events: none;
}

.tm-form.is-sent > :not(.tm-form__msg) {
    opacity: 0.35;
}

.tm-inline-form {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 380px;
    padding: 5px;
    border-radius: 999px;
    border: 1px solid var(--tm-line-2);
    background: var(--tm-glass);
}

.tm-inline-form:focus-within {
    border-color: var(--tm-accent-2);
}

.tm-inline-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
}

.tm-inline-form > button:not(.tm-btn) {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--tm-accent);
    color: #fff;
    transition: background 0.2s;
}

.tm-inline-form > button:not(.tm-btn):hover {
    background: var(--tm-highlight);
    color: var(--tm-ink);
}

.tm-inline-form__msg {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
}

.tm-inline-form--lg {
    max-width: 460px;
    width: 100%;
}

.tm-inline-form--lg .tm-btn {
    --pad: 13px 22px;
}

.tm-newsletter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(28px, 5vw, 48px);
    border-radius: calc(var(--tm-radius) * 1.6);
    background:
        radial-gradient(60% 120% at 100% 50%, rgba(123, 92, 255, 0.3), transparent 70%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid var(--tm-line-2);
}

.tm-newsletter__copy {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 560px;
}

.tm-newsletter__copy p {
    margin-top: 6px;
    color: var(--tm-muted);
}

/* ---------- Video ---------- */

.tm-video {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: calc(var(--tm-radius) * 1.6);
    overflow: hidden;
    border: 1px solid var(--tm-line-2);
    box-shadow: 0 40px 120px -40px rgba(123, 92, 255, 0.6);
    background: var(--tm-surface);
}

.tm-video img,
.tm-video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.tm-video__play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: -48px 0 0 -48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.4s var(--tm-ease);
}

.tm-video__play span {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    color: var(--tm-ink);
    padding-left: 4px;
}

.tm-video__play:hover {
    transform: scale(1.08);
}

.tm-video__play::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: tm-ring 2.2s ease-out infinite;
}

@keyframes tm-ring {
    from {
        transform: scale(0.85);
        opacity: 1;
    }
    to {
        transform: scale(1.4);
        opacity: 0;
    }
}

.tm-video__soon {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(11, 9, 24, 0.7);
    border: 1px solid var(--tm-line-2);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
}

/* ---------- Pagination ---------- */

.tm-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    font-size: 14px;
    font-weight: 600;
}

.tm-pagination a,
.tm-pagination .is-disabled {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--tm-line-2);
}

.tm-pagination a:hover {
    border-color: var(--tm-accent-2);
}

.tm-pagination .is-disabled {
    opacity: 0.4;
}

.tm-pagination__info {
    color: var(--tm-muted);
}

/* ---------- Footer ---------- */

.tm-footer {
    position: relative;
    overflow: hidden;
    margin-top: var(--tm-section);
    border-top: 1px solid var(--tm-line);
    background: #07060f;
}

.tm-footer__glow {
    position: absolute;
    left: 50%;
    bottom: -320px;
    width: 1200px;
    height: 520px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(123, 92, 255, 0.35), transparent);
    pointer-events: none;
}

.tm-footer .tm-container {
    position: relative;
}

.tm-footer__statement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
    border-bottom: 1px solid var(--tm-line);
}

.tm-footer__statement p {
    max-width: 900px;
    font-size: clamp(36px, 6vw, 80px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.tm-footer__go {
    display: grid;
    place-items: center;
    width: clamp(64px, 9vw, 112px);
    height: clamp(64px, 9vw, 112px);
    border-radius: 50%;
    background: var(--tm-highlight);
    color: var(--tm-ink);
    flex-shrink: 0;
    transition: transform 0.5s var(--tm-ease);
}

.tm-footer__go:hover {
    transform: rotate(45deg) scale(1.05);
}

.tm-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 48px;
    padding: 56px 0;
}

.tm-footer__brand {
    display: grid;
    gap: 20px;
    align-content: start;
}

.tm-footer__brand > p {
    max-width: 380px;
    color: var(--tm-muted);
    font-size: 15px;
}

.tm-footer__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
}

.tm-footer__col h3 {
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tm-muted);
}

.tm-footer__col ul {
    display: grid;
    gap: 10px;
}

.tm-footer__col a,
.tm-footer__inline a,
.tm-footer__legal a {
    color: var(--tm-soft);
    font-size: 15px;
    transition: color 0.2s;
}

.tm-footer__col a:hover,
.tm-footer__inline a:hover,
.tm-footer__legal a:hover {
    color: var(--tm-strong);
}

.tm-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    padding: 24px 0 32px;
    border-top: 1px solid var(--tm-line);
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-footer__bottom > p {
    margin-right: auto;
}

.tm-footer__legal,
.tm-footer__inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.tm-footer__legal a {
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-socials {
    display: flex;
    gap: 8px;
}

.tm-socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--tm-line-2);
    color: var(--tm-soft);
    transition: all 0.2s;
}

.tm-socials a:hover {
    color: var(--tm-on-pop);
    background: var(--tm-pop);
    border-color: var(--tm-pop);
}

.tm-footer--minimal {
    margin-top: calc(var(--tm-section) * 0.6);
}

.tm-footer__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 36px;
    padding-bottom: 28px;
}

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

/* ---------- Cookies, flash ---------- */

.tm-cookies {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 90;
    display: grid;
    gap: 14px;
    max-width: 400px;
    padding: 20px;
    border-radius: var(--tm-radius);
    background: rgba(20, 17, 42, 0.95);
    border: 1px solid var(--tm-line-2);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
    font-size: 14px;
    color: var(--tm-soft);
    animation: tm-up 0.5s var(--tm-ease);
}

.tm-cookies[hidden] {
    display: none;
}

.tm-cookies a {
    color: var(--tm-strong);
    text-decoration: underline;
}

.tm-cookies__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.tm-flash {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 95;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--tm-highlight);
    color: var(--tm-ink);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 20px 50px -15px rgba(212, 255, 58, 0.6);
    animation: tm-up 0.5s var(--tm-ease);
}

@keyframes tm-up {
    from {
        opacity: 0;
        transform: translate(var(--tx, 0), 20px);
    }
}

.tm-flash {
    --tx: -50%;
}

.tm-html {
    overflow-x: auto;
}

/* ---------- Reveal on scroll ---------- */

.tm-js .tm-anim [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--tm-ease), transform 0.9s var(--tm-ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}

.tm-js .tm-anim [data-reveal].is-in,
.tm-preview [data-reveal] {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */

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

    .tm-burger {
        display: block;
    }

    .tm-header__actions {
        margin-left: auto !important;
    }

    .tm-header__login,
    .tm-header__actions > .tm-btn {
        display: none;
    }

    .tm-drawer {
        display: block;
        position: fixed;
        inset: 0;
        top: 0;
        z-index: -1;
        padding: 100px 0 32px;
        background: rgba(11, 9, 24, 0.97);
        backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        overflow-y: auto;
    }

    .is-drawer-open .tm-drawer {
        opacity: 1;
        visibility: visible;
    }

    .tm-drawer nav {
        display: grid;
        gap: 4px;
    }

    .tm-drawer__link,
    .tm-drawer__group summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 4px;
        border-bottom: 1px solid var(--tm-line);
        font-size: 20px;
        font-weight: 700;
        letter-spacing: -0.02em;
        list-style: none;
        cursor: pointer;
    }

    .tm-drawer__link--sub {
        padding-left: 18px;
        font-size: 16px;
        font-weight: 600;
        color: var(--tm-muted);
    }

    .tm-drawer__group summary::-webkit-details-marker {
        display: none;
    }

    .tm-drawer__group[open] summary .ic {
        transform: rotate(180deg);
    }

    .tm-drawer__group a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 8px;
        font-size: 16px;
        color: var(--tm-soft);
    }

    .tm-drawer__actions {
        display: grid;
        gap: 10px;
        margin-top: 24px;
    }

    .is-drawer-open {
        overflow: hidden;
    }

    .is-drawer-open .tm-header__bar {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    .tm-showcase.has-points {
        grid-template-columns: 1fr 1fr;
    }

    .tm-showcase.has-points .tm-showcase__visual {
        grid-column: 1 / -1;
        order: -1;
    }

    .tm-showcase__points:last-child {
        text-align: left;
    }

    .tm-showcase__points:last-child li {
        align-items: flex-start;
    }

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

    .tm-plan.tm-plan--wide {
        grid-template-columns: minmax(0, 1fr);
    }

    .tm-plan--wide .tm-plan__features {
        padding: 20px 0 0;
        border-left: 0;
        border-top: 1px solid var(--tm-line);
    }

    .tm-float--a {
        left: -8px;
    }

    .tm-float--b {
        right: -8px;
    }
}

@media (max-width: 860px) {
    .tm-grid--3,
    .tm-plans--3,
    .tm-quotes--3,
    .tm-tpl-detail__facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .tm-grid--3:has(.tm-tpl),
    .tm-grid--3:has(.tm-post) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tm-quote.is-raised {
        margin-top: 0;
    }

    .tm-steps--visual,
    .tm-split,
    .tm-faq,
    .tm-contact,
    .tm-feature-post,
    .tm-footer__top {
        grid-template-columns: minmax(0, 1fr);
    }

    .tm-split.is-reverse .tm-split__visual {
        order: 0;
    }

    .tm-faq__intro {
        position: static;
    }

    .tm-steps__stage {
        order: -1;
    }

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

    .tm-bento__tile,
    .tm-bento__tile.is-large,
    .tm-bento__tile--span-3,
    .tm-bento__tile--span-6 {
        grid-column: span 1;
    }

    .tm-bento__tile.is-large {
        grid-column: 1 / -1;
        min-height: 380px;
    }

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

    .tm-stats--4,
    .tm-stats--3 {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
    }

    .tm-feature-list {
        grid-template-columns: 1fr;
    }

    .tm-feature-post__body {
        padding: 8px;
    }

    .tm-float {
        display: none;
    }

    .tm-frame--hero {
        transform: none;
    }

    .tm-footer__statement {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .tm-grid--3:has(.tm-tpl),
    .tm-grid--3:has(.tm-post),
    .tm-grid--4,
    .tm-plans--2,
    .tm-plans--4,
    .tm-quotes--2,
    .tm-gallery,
    .tm-bento,
    .tm-form__row {
        grid-template-columns: minmax(0, 1fr);
    }

    .tm-gallery__item--2,
    .tm-gallery__item--3 {
        grid-column: auto;
    }

    .tm-prompt__box {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }

    .tm-prompt__icon {
        display: none;
    }

    .tm-prompt textarea {
        padding: 4px 4px 8px;
        min-height: 84px;
    }

    .tm-frame__bar span {
        display: none;
    }

    .tm-showcase.has-points {
        grid-template-columns: 1fr;
    }

    .tm-showcase__points li {
        flex-direction: row;
        align-items: flex-start;
    }

    .tm-announce__text {
        font-size: 13px;
    }

    .tm-announce__badge {
        display: none;
    }

    .tm-announce__inner {
        padding-right: 40px;
    }

    .tm-header--glass .tm-header__bar {
        padding: 0 6px 0 16px;
        height: 58px;
    }

    .tm-stat {
        padding: 4px 16px;
    }

    .tm-newsletter__copy {
        flex-direction: column;
        align-items: flex-start;
    }

    .tm-device__screen {
        height: 70vh;
    }

    .tm-versus__head > *,
    .tm-versus__row > * {
        padding: 12px 12px;
        font-size: 14px;
    }

    .tm-cookies {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .tm-search {
        width: 100%;
    }

    .tm-step p {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .tm-anim [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .tm-marquee__track {
        animation: none;
    }
}

.tm-prompt.is-shake .tm-prompt__box {
    animation: tm-shake 0.45s;
}

@keyframes tm-shake {
    20%,
    60% {
        transform: translateX(-6px);
    }
    40%,
    80% {
        transform: translateX(6px);
    }
}

.tm-chip.is-active[data-tm-example] {
    color: #fff;
    background: rgba(123, 92, 255, 0.25);
    border-color: rgba(166, 140, 255, 0.7);
}

[data-tm-copy].is-copied {
    color: var(--tm-ink) !important;
    background: var(--tm-highlight);
    border-color: var(--tm-highlight) !important;
}
