/* Tickingora — visual language of the wizard prototype (navy sidebar, teal accent). */
:root {
  --navy: #102330;
  --navy-2: #183340;
  --navy-3: #1b3c47;
  --teal: #12ae92;
  --teal-dark: #07836d;
  --teal-soft: #e4f8f0;
  --ink: #1b2e39;
  --ink-2: #435d68;
  --muted: #73838e;
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #f6f9fa;
  --stroke: #e3e9ec;
  --stroke-2: #d8e3e7;
  --red: #c74756;
  --red-soft: #fff1f2;
  --blue: #456e7d;
  --blue-soft: #eef8fc;
  --shadow: 0 16px 42px rgba(22, 48, 58, .055);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #9be7d8; outline-offset: 2px; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 30px; line-height: 1.18; letter-spacing: -1px; margin-bottom: 10px; }
h2 { font-size: 19px; letter-spacing: -.35px; margin-bottom: 6px; }
h3 { font-size: 15px; margin-bottom: 8px; }
code, .mono { font-family: var(--mono); font-size: .92em; }
small, .hint { color: #8798a1; font-size: 12px; }
.hint { display: block; margin-top: 6px; }
.muted { color: var(--muted); }

/* ---------- App shell ---------- */
.app { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.sidebar { background: var(--navy); color: #fff; padding: 28px 22px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 22px; letter-spacing: -.9px; font-weight: 770; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-dot { color: #44deb8; }
.brand-mark { width: 36px; height: 36px; border: 1px solid #3ba38f; background: #173b42; display: grid; place-items: center; border-radius: 11px; color: #6aebc5; flex: 0 0 auto; }
.brand-mark svg { width: 25px; height: 25px; }
.tagline { color: #7edfc5; font-size: 12px; margin: 8px 0 0 47px; letter-spacing: .2px; }
.side-label { font-size: 10px; color: #7896a5; text-transform: uppercase; letter-spacing: 1.7px; font-weight: 750; margin: 44px 0 14px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a, .step { width: 100%; background: none; color: #9ab0bc; border: 1px solid transparent; text-align: left; display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 12px; font-weight: 650; font-size: 13px; }
.side-nav a:hover, .step:hover { background: var(--navy-2); text-decoration: none; color: #fff; }
.side-nav a.active, .step.active { background: var(--navy-3); border-color: #31525d; color: #fff; }
.side-nav svg { width: 18px; height: 18px; flex: 0 0 auto; }
.step.done { color: #c0eee0; }
.step:disabled { cursor: default; opacity: .7; }
.step:disabled:hover { background: none; color: #9ab0bc; }
.step-no { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #587481; font-size: 12px; flex: 0 0 auto; }
.step.active .step-no { background: #22c6a6; border-color: #22c6a6; color: #073c37; font-weight: 800; }
.step.done .step-no { border-color: #45bd9d; color: #45bd9d; }
.step-meta { display: block; font-size: 11px; color: #7796a3; font-weight: 400; margin-top: 2px; }
.side-bottom { margin-top: auto; }
.signal-panel { border: 1px solid #31515b; border-radius: 15px; padding: 16px; background: #18313d; }
.signal-line { width: 100%; height: 36px; }
.signal-caption { color: #b3ced1; font-size: 11px; }
.signal-status { display: flex; align-items: center; gap: 8px; margin: 8px 0 4px; font-weight: 650; font-size: 13px; }
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: #22d6ac; box-shadow: 0 0 0 4px rgba(34, 214, 172, .13); }
.signal-dot.bad { background: #f0645c; box-shadow: 0 0 0 4px rgba(240, 100, 92, .15); }
.side-user { margin-top: 16px; color: #7d9ba6; font-size: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.side-user form { margin: 0; }
.side-user button { background: none; border: 0; color: #9ab0bc; padding: 0; font-size: 12px; }
.side-user button:hover { color: #fff; text-decoration: underline; }

.main { min-width: 0; }
.topbar { height: 72px; border-bottom: 1px solid var(--stroke); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 64px); background: #fff; gap: 12px; }
.breadcrumb { font-size: 13px; color: #82939d; }
.breadcrumb a { color: #82939d; }
.breadcrumb strong { color: #344d5a; }
.breadcrumb .sep { padding: 0 10px; color: #bdc8cc; }
.top-right { display: flex; align-items: center; gap: 14px; }
.pill { background: #f0f5f2; color: #55736b; border: 1px solid #dfebe6; border-radius: 99px; font-size: 11px; font-weight: 700; padding: 6px 11px; white-space: nowrap; }
.avatar { background: #dff0e9; color: #2b7467; border-radius: 10px; width: 31px; height: 31px; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.canvas { padding: 34px clamp(20px, 4vw, 64px) 72px; max-width: 1440px; margin: 0 auto; }
.eyebrow { font-size: 11px; color: var(--teal-dark); font-weight: 800; letter-spacing: 1.35px; text-transform: uppercase; margin-bottom: 10px; }
.intro { margin-bottom: 26px; }
.intro p { color: #71838b; margin-bottom: 0; }

/* ---------- Surfaces ---------- */
.card, .paper, .preview-card { background: var(--surface); border: 1px solid #e5ebee; border-radius: 18px; box-shadow: var(--shadow); }
.card { padding: 24px; margin-bottom: 22px; }
.card > h2:first-child { margin-bottom: 14px; }
.card.flush { padding: 0; }
.card.flush > .card-head { padding: 22px 24px 4px; }
.paper { padding: 30px 32px 26px; min-height: 480px; }
.paper-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.paper-header p { color: var(--muted); font-size: 13px; margin: 0; }
.counter { background: #e9f8f2; color: #158873; font-weight: 750; font-size: 11px; padding: 6px 9px; border-radius: 7px; white-space: nowrap; }
.preview-card { padding: 23px; position: sticky; top: 24px; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 305px; gap: 25px; align-items: start; }
.soft-box { background: var(--surface-2); border: 1px solid #e5ebed; border-radius: 12px; padding: 17px; margin: 18px 0; }
.soft-box h3 { display: flex; align-items: center; gap: 8px; }
.divider { height: 1px; background: #e9eeef; margin: 22px 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { margin-bottom: 6px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }

/* ---------- Buttons ---------- */
.btn { border: 1px solid #d9e4e7; background: #fff; color: var(--ink-2); border-radius: 10px; padding: 10px 16px; font-weight: 760; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.3; }
.btn:hover { background: #f6faf9; text-decoration: none; }
.btn svg { width: 16px; height: 16px; }
.btn.primary, .btn-primary { background: #14ae8f; border-color: #14ae8f; color: #fff; box-shadow: 0 7px 15px rgba(16, 162, 132, .17); }
.btn.primary:hover, .btn-primary:hover { background: #098d77; }
.btn.ghost, .btn-link { border-color: transparent; background: transparent; box-shadow: none; }
.btn.danger, .btn-danger { color: var(--red); }
.btn-sm { padding: 6px 11px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; }
.text-action { border: 0; background: none; color: #118c76; font-size: 12px; font-weight: 750; padding: 5px 0; display: inline-flex; align-items: center; gap: 5px; }
.text-action:hover { text-decoration: underline; }
.icon-btn { background: #fff; border: 1px solid #e0e6e9; color: #788a94; border-radius: 9px; padding: 8px 10px; display: inline-grid; place-items: center; }
.icon-btn:hover { color: var(--red); }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field > label, .field-label { display: block; font-weight: 680; font-size: 12px; margin-bottom: 7px; }
.input, input[type=text], input[type=email], input[type=password], input[type=url], input[type=time], input[type=number], select, textarea {
  width: 100%; border: 1px solid var(--stroke-2); background: #fff; color: #1e3843; border-radius: 9px; padding: 10px 12px; transition: border .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #35bf9e; box-shadow: 0 0 0 3px #d9f7ea; }
input::placeholder, textarea::placeholder { color: #b2bec3; }
textarea { min-height: 82px; resize: vertical; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > .field { flex: 1 1 160px; }
.checkline { display: flex; align-items: center; gap: 11px; margin: 10px 0; color: #46606b; font-size: 13px; font-weight: 400; }
.checkline input { accent-color: #18ad8d; width: 16px; height: 16px; flex: 0 0 auto; }
.segment { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.segment button { background: #fff; border: 1px solid #dce6e9; border-radius: 9px; padding: 9px 13px; font-weight: 650; font-size: 12px; color: #607681; }
.segment button.active { background: var(--teal-soft); border-color: #32b994; color: #0d806a; }
.weekdays { display: flex; gap: 7px; flex-wrap: wrap; }
.day { width: 42px; height: 36px; border: 1px solid #dae5e8; background: #fff; border-radius: 8px; font-size: 12px; font-weight: 700; color: #78909b; }
.day.active { border-color: #1fb995; background: var(--teal-soft); color: #0f856b; }
.custom-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 9px; align-items: center; margin-bottom: 8px; }
.header-row { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 8px; margin: 8px 0; }
.heading-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 24px; }
.type-card { text-align: left; border: 1.5px solid #dee8eb; border-radius: 13px; padding: 18px; background: #fff; min-height: 168px; position: relative; color: var(--ink); }
.type-card:hover { border-color: #52cbb1; }
.type-card.active { border-color: #18b693; background: #f4fcf9; box-shadow: 0 0 0 3px #e8f9f3; }
.type-card:disabled { cursor: not-allowed; opacity: .55; }
.type-icon { width: 40px; height: 40px; border-radius: 11px; background: #e8f4f6; display: grid; place-items: center; color: #2b8791; margin-bottom: 14px; }
.type-card.active .type-icon { background: #d6f3e7; color: #078a72; }
.type-title { font-size: 16px; font-weight: 760; margin: 0 0 5px; }
.type-copy { font-size: 12px; color: #738993; line-height: 1.55; max-width: 230px; }
.type-selected { position: absolute; right: 15px; top: 15px; color: #079477; }
.type-limit { font-size: 11px; color: var(--muted); margin-top: 10px; }
.connection-preview, pre { background: #102d3a; color: #d8f3ed; border-radius: 11px; padding: 16px 18px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; margin: 0 0 10px; font-family: var(--mono); }
.secure-hint { display: flex; gap: 11px; background: #f1f9f6; border: 1px solid #dcf1e9; color: #397163; border-radius: 10px; padding: 12px 13px; font-size: 12px; margin: 14px 0; }
.secure-hint svg { flex: 0 0 auto; }
.copy { display: flex; gap: 8px; }
.copy input { font-family: var(--mono); font-size: 12px; }
.tag { font-size: 10px; border-radius: 6px; background: #f4f7f8; color: #647e8a; padding: 4px 7px; font-weight: 700; }
.wizard-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e9edef; margin-top: 26px; padding-top: 22px; gap: 12px; }

/* ---------- Feedback ---------- */
.error-text { color: var(--red); font-size: 12px; margin-top: 6px; }
.errors, .error-box { font-size: 12px; color: var(--red); margin: 12px 0; background: var(--red-soft); border-radius: 8px; padding: 10px 12px; }
.errors ul { margin: 0; padding-left: 18px; }
.flash { padding: 12px 14px; border-radius: 10px; margin-bottom: 20px; font-size: 13px; }
.flash-ok { background: #e9f8f2; color: #0d806a; border: 1px solid #cdeee1; }
.flash-bad { background: var(--red-soft); color: var(--red); border: 1px solid #f6d5da; }
.info-banner { background: var(--blue-soft); border: 1px solid #d6ecf5; border-radius: 10px; padding: 13px; font-size: 12px; color: var(--blue); margin-top: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; font-size: 10px; font-weight: 750; letter-spacing: .03em; white-space: nowrap; text-transform: uppercase; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tone-ok { background: #e4f8f0; color: #0d806a; }
.tone-bad { background: #fde8ea; color: #c03d4d; }
.tone-info { background: #edf6f5; color: #358b83; }
.tone-muted { background: #eef1f3; color: #6b7d86; }

/* ---------- Preview panel ---------- */
.preview-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.preview-title h3 { margin: 0; font-size: 14px; }
.preview-kicker { color: var(--teal-dark); font-size: 10px; font-weight: 780; letter-spacing: 1px; }
.mini-monitor { padding: 15px; border: 1px solid #deebeb; border-radius: 12px; background: linear-gradient(145deg, #fafffd, #f5f9fb); margin-bottom: 18px; }
.mini-head { display: flex; align-items: center; gap: 10px; }
.mini-icon { width: 33px; height: 33px; background: #dcf6eb; border-radius: 9px; color: #088b74; display: grid; place-items: center; flex: 0 0 auto; }
.mini-title { font-weight: 740; font-size: 13px; overflow-wrap: anywhere; }
.mini-sub { font-size: 11px; color: #82969f; }
.preview-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #8aa0a9; font-weight: 790; margin-bottom: 8px; }
.slot { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #edf1f2; font-size: 12px; }
.slot:last-child { border-bottom: 0; }
.slot strong { color: #3b5d68; }
.slot span { color: #8297a0; text-align: right; }
.preview-foot { color: #91a1a8; font-size: 11px; line-height: 1.5; margin-top: 14px; }
.limit-row { display: flex; justify-content: space-between; font-size: 12px; color: #667e89; margin-top: 8px; }
.summary-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #eef1f2; font-size: 12px; }
.summary-row:last-child { border-bottom: 0; }
.summary-row b { font-weight: 700; text-align: right; max-width: 60%; overflow-wrap: anywhere; }
.summary-row span { color: #7e929c; }

/* ---------- Tables & data ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #eef1f2; vertical-align: middle; font-size: 13px; }
th { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #8aa0a9; font-weight: 790; }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; }
.monitor-name { font-weight: 700; color: var(--ink); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 13px; }
.kv dt { color: #7e929c; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.usage { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.event-line { font-size: 12px; color: #6b7d86; padding: 5px 0; border-bottom: 1px dashed #eef1f2; }
.event-line:last-child { border-bottom: 0; }
.success-wrap { text-align: center; max-width: 640px; margin: 10px auto 0; }
.success-ring { width: 70px; height: 70px; background: #e4faf1; color: #0caa86; display: grid; place-items: center; border-radius: 24px; margin: 0 auto 22px; }
.success-wrap .soft-box, .success-wrap .left { text-align: left; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pagination a, .pagination span { padding: 4px 10px; border: 1px solid var(--stroke); border-radius: 7px; font-size: 12px; }
.pagination .current { background: #14ae8f; color: #fff; border-color: #14ae8f; }

/* ---------- Auth & landing ---------- */
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; background: var(--navy); }
.auth .brand { margin-bottom: 6px; }
.auth .tagline { margin: 0 0 22px; }
.auth .card { width: 100%; max-width: 420px; padding: 28px; }
.auth-foot { margin-top: 14px; text-align: center; color: #9ab0bc; font-size: 13px; }
.auth-foot a { color: #7edfc5; }
.card .auth-foot { color: var(--muted); }
.card .auth-foot a { color: var(--teal-dark); }
.landing-top { background: var(--navy); }
.landing-top .inner { max-width: 1120px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.landing-top .spacer { flex: 1; }
.landing-top .btn.ghost { color: #c0d5dd; }
.hero { background: var(--navy); color: #fff; padding: 64px 20px 80px; text-align: center; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -1.6px; margin-bottom: 16px; }
.hero .lead { font-size: 17px; color: #b3ced1; max-width: 640px; margin: 0 auto 28px; }
.hero .eyebrow { color: #7edfc5; }
.timeline { display: flex; gap: 8px; justify-content: center; margin: 0 auto 32px; flex-wrap: wrap; }
.timeline span { padding: 7px 11px; border-radius: 8px; font-family: var(--mono); font-size: 12px; }
.features { max-width: 1120px; margin: -40px auto 0; padding: 0 20px 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.features .card p { color: var(--muted); margin: 0; }

@media (max-width: 1160px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .preview-card { position: static; }
  .app { grid-template-columns: 230px minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .app { display: block; }
  .sidebar { height: auto; position: relative; padding: 16px; }
  .side-label, .signal-panel, .step-meta, .tagline { display: none; }
  .side-nav, .steps { flex-direction: row; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
  .side-nav a, .step { width: auto; padding: 7px 10px; }
  .step .step-label { display: none; }
  .side-user { margin-top: 10px; }
  .topbar { height: 60px; padding: 0 16px; }
  .canvas { padding: 24px 16px 56px; }
  .paper { padding: 22px 18px; }
  .hide-sm { display: none; }
}
@media (max-width: 530px) {
  h1 { font-size: 26px; }
  .type-grid, .two-col { grid-template-columns: 1fr; }
  .header-row { grid-template-columns: 1fr 1fr; }
  .header-row .icon-btn { grid-column: 2; justify-self: end; }
  .pill { display: none; }
}

/* ---------- Language switch, legal pages, site footer ---------- */
.lang-switch { display: inline-flex; gap: 2px; background: rgba(255, 255, 255, .06); border: 1px solid #31525d; border-radius: 9px; padding: 2px; }
.lang-switch a { color: #9ab0bc; font-size: 11px; font-weight: 750; padding: 4px 8px; border-radius: 7px; }
.lang-switch a:hover { color: #fff; text-decoration: none; }
.lang-switch a.active { background: #22c6a6; color: #073c37; }
.auth-top { width: 100%; max-width: 420px; display: flex; justify-content: flex-end; margin-bottom: 18px; }
.test-pill { background: #2a2414; color: #f1c46b; border-color: #5a4a22; }
.site-footer { max-width: 760px; margin: 28px auto 0; text-align: center; color: #9ab0bc; font-size: 12px; line-height: 1.6; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: #7edfc5; }
.site-footer .pill { margin-right: 6px; }
.test-note .pill { background: #2a2414; color: #f1c46b; border-color: #5a4a22; }
.landing-footer { background: var(--navy); padding: 8px 20px 36px; }
.legal { background: var(--navy); min-height: calc(100vh - 72px); padding: 32px 16px 48px; }
.legal-doc { max-width: 820px; margin: 0 auto; padding: 36px 40px; font-size: 14px; line-height: 1.65; }
.legal-doc h1 { margin-bottom: 18px; }
.legal-doc h2 { font-size: 16px; margin: 28px 0 10px; }
.legal-doc ol, .legal-doc ul { padding-left: 22px; margin: 0 0 12px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc ol ol { margin-top: 6px; }
.legal-warning { margin: 0 0 8px; font-size: 13px; background: #fff8e6; border-color: #f3dfa6; color: #6b5210; }
.terms-check { align-items: flex-start; font-size: 12px; line-height: 1.5; margin: 4px 0 18px; }
.terms-check input { margin-top: 2px; }
@media (max-width: 640px) {
  .legal-doc { padding: 24px 18px; }
  .landing-top .inner { flex-wrap: wrap; }
  .landing-top .test-pill { display: none; }
}

/* ---------- Landing: how it works, screenshots, CTA ---------- */
.section { max-width: 1120px; margin: 0 auto; padding: 24px 20px 56px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.section-head h2, .showcase-text h2, .cta-band h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.8px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 15px; margin: 0; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.how-steps .card { margin: 0; }
.how-steps h3 { margin: 14px 0 6px; }
.how-steps p { color: var(--muted); margin: 0; font-size: 13px; }
.how-no { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; font-weight: 800; }
.showcase-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 64px; }
.showcase-row.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.showcase-row.reverse .shot { order: 2; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid #dbe4e8; background: #fff; box-shadow: 0 24px 60px rgba(16, 35, 48, .14); }
.shot-bar { height: 28px; background: #eef2f4; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #e1e8eb; }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #cfd9de; }
.shot img { display: block; width: 100%; height: auto; }
.showcase-text p { color: var(--muted); font-size: 15px; }
.showcase-text ul { list-style: none; padding: 0; margin: 0; }
.showcase-text li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.showcase-text li svg { color: var(--teal); flex: 0 0 auto; margin-top: 3px; }
.screens-note { text-align: center; color: var(--muted); font-size: 12px; margin: -24px 0 0; }
.cta-band { background: linear-gradient(135deg, #12ae92, #07836d); color: #fff; text-align: center; padding: 56px 20px; }
.cta-band p { color: #d9f7ea; margin: 0 auto 22px; max-width: 560px; }
.cta-band .btn.primary { background: #fff; color: #07836d; border-color: #fff; }
.cta-band .btn.primary:hover { background: #f0fbf7; }
@media (max-width: 900px) {
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; gap: 22px; margin-bottom: 48px; }
  .showcase-row.reverse .shot { order: 0; }
}

/* ---------- API documentation ---------- */
.docs-pill { background: #173b42; color: #7edfc5; border-color: #31525d; }
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); max-width: 1280px; margin: 0 auto; }
.docs-nav { position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto; padding: 28px 18px 40px 20px; border-right: 1px solid var(--stroke); }
.docs-nav-group { font-size: 10px; text-transform: uppercase; letter-spacing: 1.4px; color: #8aa0a9; font-weight: 790; margin: 18px 0 6px; }
.docs-nav-group:first-child { margin-top: 0; }
.docs-nav a { display: block; color: var(--ink-2); padding: 6px 10px; border-radius: 8px; font-size: 13px; }
.docs-nav a:hover { background: var(--surface-2); text-decoration: none; }
.docs-nav a.active { background: var(--teal-soft); color: #0d806a; font-weight: 700; }
.docs-main { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; padding: 32px 32px 64px; align-items: start; }
.docs-content { min-width: 0; grid-column: 1; grid-row: 1; font-size: 15px; line-height: 1.7; max-width: 820px; }
.docs-toc { grid-column: 2; grid-row: 1; position: sticky; top: 24px; font-size: 12px; max-height: calc(100vh - 48px); overflow-y: auto; }
.docs-toc a { display: block; color: var(--muted); padding: 4px 0; }
.docs-toc a:hover { color: var(--teal-dark); }
.docs-content h1 { font-size: 32px; margin-bottom: 18px; }
.docs-content h2 { font-size: 22px; margin: 40px 0 12px; padding-top: 8px; border-top: 1px solid var(--stroke); }
.docs-content h3 { font-size: 17px; margin: 28px 0 10px; }
.docs-content .anchor { color: inherit; }
.docs-content .anchor:hover { text-decoration: none; color: var(--teal-dark); }
.docs-content p, .docs-content ul, .docs-content ol { margin: 0 0 14px; }
.docs-content li { margin-bottom: 4px; }
.docs-content :not(pre) > code { background: #eef3f5; color: #1b4b57; padding: 1px 6px; border-radius: 5px; font-size: .88em; }
.docs-content pre { background: #102d3a; color: #d8f3ed; padding: 16px 18px; border-radius: 11px; overflow-x: auto; font-size: 13px; line-height: 1.55; margin: 0 0 18px; white-space: pre; }
.docs-content pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.docs-content table { width: 100%; margin: 0 0 18px; border: 1px solid var(--stroke); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.docs-content th, .docs-content td { font-size: 13px; padding: 9px 12px; vertical-align: top; }
.docs-content th { background: var(--surface-2); }
.docs-content blockquote { margin: 0 0 18px; padding: 12px 16px; background: #fff8e6; border: 1px solid #f3dfa6; border-radius: 10px; color: #6b5210; }
.docs-content blockquote p { margin: 0; }
.docs-foot { grid-column: 1 / -1; border-top: 1px solid var(--stroke); padding-top: 18px; color: var(--muted); font-size: 12px; }
.method { display: inline-block; min-width: 54px; text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .5px; padding: 3px 6px; border-radius: 6px; font-family: var(--mono); }
.method-get { background: #e8effc; color: #2f62c9; }
.method-post { background: #e4f8f0; color: #0d806a; }
.method-patch { background: #fff3e0; color: #a3600b; }
.method-delete { background: #fde8ea; color: #c03d4d; }
.docs-toc .method { min-width: 44px; font-size: 9px; }
.operation { border: 1px solid var(--stroke); border-radius: 14px; padding: 4px 22px 8px; margin-bottom: 22px; scroll-margin-top: 16px; }
.operation h3 { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.operation h3 code { font-size: 15px; background: none !important; padding: 0 !important; }
.op-summary { color: var(--muted); }
.req { font-size: 10px; color: #c03d4d; font-weight: 700; margin-left: 4px; }
.code-title { font-size: 12px; font-weight: 700; color: var(--muted); margin: 6px 0 6px; }
.schema { scroll-margin-top: 16px; }
td.type { font-family: var(--mono); font-size: 12px; color: #1b4b57; }
@media (max-width: 1100px) {
  .docs-main { grid-template-columns: minmax(0, 1fr); }
  .docs-toc { display: none; }
}
@media (max-width: 800px) {
  .docs { grid-template-columns: 1fr; }
  .docs-nav { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--stroke); padding: 16px; }
  .docs-main { padding: 22px 16px 48px; }
  .docs-content table { display: block; overflow-x: auto; }
}

/* ---------- Landing: Tickingora + AI ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.ai-band { background: var(--navy); color: #fff; padding: 64px 20px; margin: 8px 0 56px; }
.ai-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.ai-text .eyebrow { color: #7edfc5; }
.ai-text h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -1px; margin-bottom: 14px; }
.ai-text p { color: #b3ced1; font-size: 15px; }
.ai-text ul { list-style: none; padding: 0; margin: 0 0 18px; }
.ai-text li { display: flex; gap: 10px; padding: 5px 0; color: #d8e7ea; font-size: 14px; }
.ai-text li svg { color: #44deb8; flex: 0 0 auto; margin-top: 3px; }
.ai-link { color: #7edfc5; font-size: 13px; }
.ai-card { background: #18313d; border: 1px solid #31515b; border-radius: 18px; padding: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.ai-card .preview-label { color: #7d9ba6; }
.ai-prompt { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: #fff; font-weight: 500; }
.ai-steps { margin: 0; padding-left: 20px; color: #7d9ba6; font-size: 12px; }
.ai-steps li { padding: 3px 0; }
.ai-steps code { color: #c0eee0; font-size: 12px; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 900px) { .ai-inner { grid-template-columns: 1fr; gap: 28px; } .ai-band { padding: 44px 20px; } }
