/* TenSeconds.ai Studio: shared styles for the AI search service page and client quotes */
:root {
  --navy: #0a0d14;
  --card: #111622;
  --ring: #1e2638;
  --hover: #1a2234;
  --cyan: #00f0ff;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --teal: #0e7490;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --body: #cbd5e1;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  background-image: radial-gradient(rgba(30, 38, 56, 0.7) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  font: 16px/1.65 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-400); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 4px; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 52rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgb(10 13 20 / .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ring); }
.top .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 4.25rem; }
.top .logo img { height: 34px; width: auto; }
.top .sub { font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-400); border: 1px solid rgb(34 211 238 / .35); border-radius: 999px; padding: .35rem .65rem; }
.top nav { margin-left: auto; display: flex; gap: 1.25rem; font-size: .875rem; }
.top nav a { color: var(--body); text-decoration: none; }
.top nav a:hover { color: var(--cyan); }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none; } .top .sub { display: none; } }

/* Type */
.eyebrow { font: 500 .75rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-400); margin: 0 0 .75rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--body); margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--body); max-width: 44rem; }
.grad { color: var(--cyan-400); }
@supports (background-clip: text) {
  .grad { background: linear-gradient(90deg, var(--cyan), var(--cyan-400), #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.small { font-size: .85rem; color: var(--muted); }

/* Layout blocks */
section { padding: 5rem 0; }
section + section { border-top: 1px solid var(--ring); }
.hero { padding: 6rem 0 5rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.grid { display: grid; gap: 1.25rem; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { background: var(--card); border: 1px solid var(--ring); border-radius: 1.25rem; padding: 1.75rem; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .tag { font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-400); margin-bottom: .9rem; display: block; }
.card.feature { border-color: rgb(6 182 212 / .55); box-shadow: 0 0 25px -5px rgba(0, 240, 255, .3); }
ul.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.ticks li { position: relative; padding-left: 1.6rem; margin: .45rem 0; color: var(--body); }
ul.ticks li::before { content: ''; position: absolute; left: 0; top: .55em; width: .7rem; height: .4rem; border-left: 2px solid var(--cyan-400); border-bottom: 2px solid var(--cyan-400); transform: rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; font-size: .9rem; text-decoration: none; border-radius: .8rem; padding: .85rem 1.35rem; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--cyan-500); color: #000; box-shadow: 0 0 25px -5px rgba(0, 240, 255, .3); }
.btn-primary:hover { background: var(--cyan-400); color: #000; }
.btn-ghost { background: transparent; color: var(--cyan-400); border-color: rgb(6 182 212 / .4); }
.btn-ghost:hover { background: var(--cyan-600); color: #fff; }
.btn-sm { padding: .55rem .9rem; font-size: .8rem; }
.btn-block { width: 100%; }

/* "Why monthly" reasons */
.reasons { counter-reset: r; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.reasons .card { position: relative; padding-top: 2.6rem; }
.reasons .card::before { counter-increment: r; content: '0' counter(r); position: absolute; top: 1.1rem; left: 1.75rem; font: 600 .8rem/1 var(--mono); color: var(--cyan); }

/* Pricing */
.price { font-size: 2.4rem; font-weight: 800; color: #fff; margin: .25rem 0 0; }
.price span { font-size: .9rem; font-weight: 400; color: var(--muted); }
.plan { display: flex; flex-direction: column; }
.plan ul { flex: 1; }
.plan .btn { margin-top: 1rem; }

/* Tables */
.table { overflow-x: auto; border: 1px solid var(--ring); border-radius: 1rem; margin: 1.5rem 0; }
.table table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 34rem; text-align: left; }
.table th, .table td { padding: .9rem 1rem; border-bottom: 1px solid var(--ring); vertical-align: top; }
.table thead th { background: var(--card); color: var(--text); font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.table td { color: var(--body); }
.table tr:last-child td { border-bottom: 0; }
.table tfoot td { color: #fff; font-weight: 700; background: var(--card); }
.num { white-space: nowrap; text-align: right; }

/* FAQ */
details { border-bottom: 1px solid var(--ring); padding: 1.15rem 0; }
summary { cursor: pointer; font-weight: 600; color: var(--text); list-style-position: outside; }
details p { margin: .75rem 0 0; }

/* Forms */
form .row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
label { display: block; font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
input, select, textarea { display: block; width: 100%; margin-top: .4rem; font: 400 1rem/1.4 Inter, system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--text); background: var(--navy); border: 1px solid var(--ring); border-radius: .7rem; padding: .8rem .9rem; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan-500); outline: none; }
.hp { position: absolute; left: -9999px; }
.notice { border: 1px solid rgb(6 182 212 / .4); background: rgb(6 182 212 / .08); color: var(--text); border-radius: .9rem; padding: 1rem 1.15rem; }

/* Callout */
.callout { border-left: 3px solid var(--cyan-500); background: var(--card); border-radius: 0 1rem 1rem 0; padding: 1.25rem 1.5rem; }

/* Footer */
footer { border-top: 1px solid var(--ring); padding: 2.5rem 0; font-size: .85rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
footer a { color: var(--muted); }
footer a:hover { color: var(--cyan); }

/* Quote document */
.doc { max-width: 60rem; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.doc section { padding: 2.5rem 0; }
.doc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: flex-start; padding-bottom: 2rem; border-bottom: 1px solid var(--ring); }
.doc-head img { height: 44px; width: auto; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: .9rem; margin: 0; }
.meta dt { font: 500 .72rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 0; color: var(--text); }
.sign { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: 2rem; }
.sign div { border-top: 1px solid var(--muted); padding-top: .5rem; font-size: .8rem; color: var(--muted); }
.print-bar { display: flex; gap: .75rem; justify-content: flex-end; margin-bottom: 1.5rem; }
.logo-light { display: none !important; }

/* AI Visibility Check report */
.pill { display: inline-block; font: 600 .68rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: .35rem .6rem; white-space: nowrap; border: 1px solid; }
.pill.cited { color: #34d399; border-color: rgb(52 211 153 / .45); background: rgb(52 211 153 / .1); }
.pill.mentioned { color: #fbbf24; border-color: rgb(251 191 36 / .45); background: rgb(251 191 36 / .1); }
.pill.absent { color: var(--muted); border-color: var(--ring); }
.table table.report { min-width: 52rem; }

@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #111827; font-size: 10.5pt; }
  .top, .print-bar, .no-print { display: none !important; }
  .logo-dark { display: none !important; }
  .logo-light { display: block !important; }
  h1, h2, h3, .price, .table tfoot td, .meta dd, summary, .notice { color: #0a0d14 !important; }
  p, li, .table td, ul.ticks li { color: #374151 !important; }
  .grad { color: var(--teal) !important; background: none !important; }
  .eyebrow, .card .tag { color: var(--teal) !important; }
  .card, .table thead th, .table tfoot td, .callout { background: #f8fafc !important; border-color: #d1d5db !important; box-shadow: none !important; }
  .table, .table th, .table td, .doc-head { border-color: #d1d5db !important; }
  .table thead th { color: #111827 !important; }
  .doc section, .card, .table, .callout { break-inside: avoid; }
  .doc section { padding: 1.25rem 0; }
  section + section { border-color: #d1d5db; }
  a { color: #0a0d14; text-decoration: none; }
  .notice { background: #ecfeff !important; border-color: var(--cyan-600) !important; }
  .pill.cited { color: #047857 !important; }
  .pill.mentioned { color: #b45309 !important; }
  .table table.report { min-width: 0; font-size: 8.5pt; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
