/*
Theme Name: Talosboard
Theme URI: https://talosboard.com
Description: Landing page theme for talosboard.com, a child of Twenty Twenty-Five with the Talosboard app's colors and type.
Author: Borgware
Template: twentytwentyfive
Version: 0.1.0
Requires at least: 6.6
Text Domain: talosboard
*/

/*
 * Component styles for the landing page. Colors come from the theme.json palette through its CSS variables.
 * Blocks opt in with the class names below (Additional CSS class in the block editor).
 */

:root {
  --tb-base: var(--wp--preset--color--base);
  --tb-panel: var(--wp--preset--color--panel);
  --tb-ink: var(--wp--preset--color--ink);
  --tb-ink-2: var(--wp--preset--color--ink-2);
  --tb-ink-3: var(--wp--preset--color--ink-3);
  --tb-line: var(--wp--preset--color--line);
  --tb-line-2: #eceef2;
  --tb-sunk: #f7f8fa;
  --tb-accent: var(--wp--preset--color--accent);
  --tb-accent-ink: var(--wp--preset--color--accent-ink);
  --tb-accent-bg: var(--wp--preset--color--accent-bg);
  --tb-agent: var(--wp--preset--color--agent);
  --tb-agent-ink: var(--wp--preset--color--agent-ink);
  --tb-agent-bg: var(--wp--preset--color--agent-bg);
  --tb-finding: var(--wp--preset--color--finding);
  --tb-task: var(--wp--preset--color--task);
  --tb-mono: var(--wp--preset--font-family--jetbrains-mono);
  --tb-shadow: 0 24px 64px rgba(15, 17, 21, 0.12);
}

body {
  -webkit-font-smoothing: antialiased;
}

/* Header */

.tb-header {
  border-bottom: 1px solid var(--tb-line);
}

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

.tb-brand:hover {
  color: var(--tb-ink);
}

.tb-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.tb-brand-name strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tb-brand-name span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--tb-ink-3);
}

.tb-header .wp-block-navigation a {
  color: var(--tb-ink-2);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.tb-header .wp-block-navigation a:hover {
  color: var(--tb-ink);
}

/* Shared text pieces */

.tb-eyebrow {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tb-ink-3);
}

.tb-lead {
  color: var(--tb-ink-2);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

.tb-mono {
  font-family: var(--tb-mono);
}

.tb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--tb-agent-bg);
  color: var(--tb-agent-ink);
  font-size: 13.5px;
  font-weight: 600;
}

.tb-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tb-agent);
}

.tb-accent-text {
  color: var(--tb-accent);
}

.tb-closing {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: var(--tb-panel);
  color: var(--tb-ink);
  border: 1px solid var(--tb-line);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--tb-ink-3);
}

/* Sections */

.tb-band {
  background: var(--tb-panel);
  border-top: 1px solid var(--tb-line);
  border-bottom: 1px solid var(--tb-line);
}

.tb-card {
  background: var(--tb-panel);
  border: 1px solid var(--tb-line);
  border-radius: 10px;
  padding: 24px;
}

.tb-band .tb-card {
  background: var(--tb-base);
}

.tb-card h3 {
  margin-top: 0;
}

.tb-card p {
  color: var(--tb-ink-2);
}

.tb-card-agent,
.tb-band .tb-card-agent {
  background: var(--tb-agent-bg);
  border-color: var(--tb-agent);
}

.tb-step {
  padding-top: 18px;
  border-top: 2px solid var(--tb-accent);
}

.tb-step p {
  color: var(--tb-ink-2);
}

.tb-step .tb-step-label {
  font-family: var(--tb-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--tb-accent-ink);
}

.tb-step-agent { border-top-color: var(--tb-agent); }
.tb-step-agent .tb-step-label { color: var(--tb-agent-ink); }
.tb-step-finding { border-top-color: var(--tb-finding); }
.tb-step-finding .tb-step-label { color: var(--tb-finding); }
.tb-step-task { border-top-color: var(--tb-task); }
.tb-step-task .tb-step-label { color: var(--tb-task); }

.tb-byoa {
  font-family: var(--tb-mono);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--tb-agent-bg);
  color: var(--tb-agent-ink);
  font-weight: 500;
  font-size: 14px;
}

.tb-diagram {
  background: var(--tb-panel);
  border: 1px solid var(--tb-line);
  border-radius: 14px;
  overflow-x: auto;
}

.tb-diagram img {
  display: block;
  min-width: 720px;
  margin: 0 auto;
}

/* Comparison table */

.tb-compare {
  background: var(--tb-panel);
  border: 1px solid var(--tb-line);
  border-radius: 12px;
  overflow-x: auto;
}

.tb-compare table {
  min-width: 720px;
  border-collapse: collapse;
  font-size: 16px;
}

.tb-compare th,
.tb-compare td {
  border: 0;
  border-bottom: 1px solid var(--tb-line-2);
  padding: 16px 24px;
  text-align: left;
  vertical-align: top;
}

.tb-compare thead th {
  border-bottom: 1px solid var(--tb-line);
  color: var(--tb-ink-3);
  font-weight: 600;
}

.tb-compare thead th:last-child {
  border-bottom-color: var(--tb-accent);
  color: var(--tb-accent-ink);
  font-weight: 700;
}

.tb-compare thead {
  border-bottom: 0;
}

.tb-compare td:first-child {
  font-weight: 600;
  width: 20%;
}

.tb-compare td:nth-child(2) {
  color: var(--tb-ink-2);
}

.tb-compare th:last-child,
.tb-compare td:last-child {
  background: var(--tb-accent-bg);
}

.tb-compare tr:last-child td {
  border-bottom: 0;
}

.tb-compare tr:last-child td:last-child {
  font-weight: 700;
  color: var(--tb-accent-ink);
}

/* FAQ */

.tb-faq .wp-block-details {
  border-top: 1px solid var(--tb-line);
  padding: 14px 0;
  margin: 0;
}

.tb-faq .wp-block-details:last-child {
  border-bottom: 1px solid var(--tb-line);
}

.tb-faq summary {
  font-weight: 600;
  font-size: 17.5px;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.tb-faq .wp-block-details p {
  color: var(--tb-ink-2);
  margin-top: 8px;
}

/* Early-access band */

.tb-cta {
  background: #1b1f27;
  color: #ffffff;
  border-radius: 16px;
  padding: clamp(32px, 5vw, 64px);
}

.tb-cta p {
  color: rgba(255, 255, 255, 0.75);
}

.tb-cta h2 {
  color: #ffffff;
}

/* Product mockup */

.tb-mock {
  background: var(--tb-panel);
  border: 1px solid var(--tb-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--tb-shadow);
  font-size: 13.5px;
  line-height: 1.5;
}

.tb-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tb-line);
  background: var(--tb-sunk);
}

.tb-mock-bar .tb-key {
  margin-left: auto;
  font-family: var(--tb-mono);
  font-size: 11.5px;
  color: var(--tb-ink-3);
  border: 1px solid var(--tb-line);
  border-radius: 4px;
  padding: 1px 6px;
}

.tb-mock-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tb-mock-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tb-mock-label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tb-ink-3);
}

.tb-mock-task {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  border: 1px solid var(--tb-line);
  border-radius: 8px;
}

.tb-mock-task .tb-title {
  flex: 1 1 180px;
  min-width: 0;
  font-weight: 500;
}

.tb-tid,
.tb-fid {
  font-family: var(--tb-mono);
  font-weight: 500;
  font-size: 12.5px;
}

.tb-tid { color: var(--tb-task); }
.tb-fid { color: var(--tb-finding); }

.tb-claim {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--tb-agent-bg);
  color: var(--tb-agent-ink);
  font-size: 12px;
  font-weight: 600;
}

.tb-claim::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tb-agent);
}

.tb-mock-list {
  border: 1px solid var(--tb-line);
  border-radius: 8px;
  overflow: hidden;
}

.tb-mock-finding {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--tb-line-2);
}

.tb-mock-finding:last-child {
  border-bottom: 0;
}

.tb-mock-finding .tb-title {
  flex: 1;
  min-width: 0;
}

.tb-mock-finding .tb-by {
  color: var(--tb-ink-3);
  font-size: 12px;
}

.tb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.tb-dot-high { background: #d64938; }
.tb-dot-medium { background: #dfa635; }
.tb-dot-low { background: #8c9aab; }

.tb-mock-event {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--tb-sunk);
  font-size: 12.5px;
  color: var(--tb-ink-2);
}

.tb-mock-event strong {
  color: var(--tb-ink);
  font-weight: 600;
}

/* Footer */

.tb-footer {
  border-top: 1px solid var(--tb-line);
  color: var(--tb-ink-3);
  font-size: 14px;
}

.tb-footer a {
  color: var(--tb-ink-2);
  text-decoration: none;
}

/* Early-access form (WPForms) on the dark band */

.tb-cta .wpforms-container {
  margin: 0;
}

.tb-cta .wpforms-field-label,
.tb-cta .wpforms-field-sublabel {
  color: rgba(255, 255, 255, 0.85) !important;
}

.tb-cta .wpforms-form input[type='email'],
.tb-cta .wpforms-form input[type='text'] {
  min-height: 48px;
  border-radius: 7px !important;
  border: 1px solid var(--tb-line) !important;
  font: inherit;
  font-size: 16px;
}

.tb-cta .wpforms-form button[type='submit'] {
  min-height: 48px;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: var(--tb-accent) !important;
  color: #ffffff !important;
  font: inherit;
  font-weight: 600;
}

.tb-cta .wpforms-form button[type='submit']:hover {
  background: var(--tb-accent-ink) !important;
}
