/* TinkerTech — premium studio landing (static) */
:root {
  --bg: #07090d;
  --bg-elev: #0e131b;
  --bg-card: #121925;
  --line: rgba(139, 156, 255, 0.16);
  --line-strong: rgba(86, 214, 194, 0.35);
  --text: #eef3fb;
  --muted: #9aa8bd;
  --accent: #56d6c2;
  --accent-deep: #3eb8a8;
  --accent-2: #8b9cff;
  --accent-soft: rgba(86, 214, 194, 0.12);
  --radius: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  --max: 1080px;
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --header-h: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #061016; padding: 0.6rem 1rem;
  font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; outline: 2px solid #fff; outline-offset: 2px; }

.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.ambient-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55;
}
.ambient-orb-a {
  width: 52vw; height: 52vw; max-width: 640px; max-height: 640px;
  top: -12%; left: 15%;
  background: radial-gradient(circle, rgba(86, 214, 194, 0.28), transparent 70%);
}
.ambient-orb-b {
  width: 40vw; height: 40vw; max-width: 480px; max-height: 480px;
  top: 8%; right: -5%;
  background: radial-gradient(circle, rgba(139, 156, 255, 0.22), transparent 70%);
}
.ambient-grain {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139, 156, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 156, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.muted { color: var(--muted); }
.muted a { color: var(--accent-2); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 9, 13, 0.88);
}
.header-inner {
  max-width: calc(var(--max) + 2rem);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.logo {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: var(--text); font-weight: 700; letter-spacing: -0.03em;
  text-decoration: none !important;
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background:
    linear-gradient(145deg, var(--accent) 0%, transparent 55%),
    linear-gradient(225deg, var(--accent-2), #151c2a 72%);
  box-shadow: 0 0 0 1px rgba(86, 214, 194, 0.4), 0 8px 24px rgba(86, 214, 194, 0.15);
}
.logo-mark.sm { width: 22px; height: 22px; border-radius: 7px; }
.logo-text { font-size: 1.05rem; }

.nav { display: flex; align-items: center; gap: 1.35rem; font-size: 0.92rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 0.45rem 0.95rem !important;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text) !important;
  background: rgba(139, 156, 255, 0.08);
}
.nav-cta:hover {
  border-color: var(--line-strong);
  background: var(--accent-soft);
  text-decoration: none !important;
}

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-elev); cursor: pointer;
  position: relative;
}
.nav-toggle span:not(.sr-only),
.nav-toggle::before,
.nav-toggle::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--text); border-radius: 2px;
}
.nav-toggle span:not(.sr-only) { top: 50%; margin-top: -1px; }
.nav-toggle::before { top: 13px; }
.nav-toggle::after { bottom: 13px; }

.hero { padding: 5rem 1.25rem 3.5rem; }
.hero-inner { max-width: var(--max); margin: 0 auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0 0 1.25rem; padding: 0.4rem 0.9rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(86, 214, 194, 0.28); border-radius: 999px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px rgba(86, 214, 194, 0.25);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 7vw, 4.35rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1.05;
  color: #fff;
}
.hero-accent {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  background: linear-gradient(120deg, #fff 10%, var(--accent) 50%, var(--accent-2) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lede {
  margin: 0 auto 2rem; max-width: 36rem;
  font-size: 1.15rem; color: var(--muted);
}

.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.trust-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 0 auto; max-width: 48rem; padding: 0;
  text-align: left;
}
.trust-strip > div {
  padding: 1rem 1.1rem; border-radius: 14px;
  background: rgba(18, 25, 37, 0.65);
  border: 1px solid var(--line);
}
.trust-strip dt {
  margin: 0 0 0.25rem; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2);
}
.trust-strip dd { margin: 0; font-size: 0.92rem; color: var(--text); font-weight: 500; }
.trust-strip a { color: var(--accent); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.8rem 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; font-family: inherit;
  border: 1px solid transparent; text-decoration: none !important; cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #061016;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 10px 32px rgba(86, 214, 194, 0.28);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  color: var(--text); background: transparent; border-color: var(--line);
}
.btn-ghost:hover {
  border-color: rgba(139, 156, 255, 0.45);
  background: rgba(139, 156, 255, 0.08);
}
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1.05rem; }

.section { padding: 3.5rem 1.25rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-kicker {
  margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
.section-head { margin-bottom: 1.75rem; max-width: 36rem; }
.section-head h2 {
  margin: 0 0 0.5rem; font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em; line-height: 1.15; font-weight: 700;
}
.section-sub { margin: 0; color: var(--muted); font-size: 1.05rem; }

.featured .section-head { max-width: none; }

.feature-panel {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem;
  padding: 1.75rem; border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(155deg, rgba(86, 214, 194, 0.1), transparent 42%),
    var(--bg-card);
  border: 1px solid rgba(86, 214, 194, 0.28);
  box-shadow: var(--shadow);
  align-items: center;
}
.feature-badge {
  display: inline-block; margin: 0 0 0.85rem; padding: 0.28rem 0.7rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-2); background: rgba(139, 156, 255, 0.12);
  border: 1px solid rgba(139, 156, 255, 0.28); border-radius: 999px;
}
.feature-panel-copy h3 {
  margin: 0 0 0.75rem; font-size: 1.55rem; letter-spacing: -0.03em; line-height: 1.2;
}
.feature-panel-copy > p { margin: 0 0 1rem; color: var(--muted); }
.feature-points {
  margin: 0 0 1.5rem; padding: 0; list-style: none;
}
.feature-points li {
  position: relative; padding: 0.4rem 0 0.4rem 1.35rem;
  color: var(--muted); font-size: 0.95rem;
  border-top: 1px solid rgba(139, 156, 255, 0.1);
}
.feature-points li:first-child { border-top: none; }
.feature-points li::before {
  content: ""; position: absolute; left: 0; top: 0.85rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(86, 214, 194, 0.2);
}
.feature-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.feature-panel-visual { display: flex; justify-content: center; }
.llm-card {
  width: 100%; max-width: 280px; padding: 1.35rem 1.25rem;
  border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #182233, #0f1520);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.llm-card-top {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 1rem;
}
.llm-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(86, 214, 194, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(86, 214, 194, 0); }
}
.llm-quote {
  margin: 0 0 1.25rem; font-family: var(--serif); font-size: 1.15rem;
  font-style: italic; line-height: 1.45; color: var(--text);
}
.llm-meta { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }

.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.card {
  padding: 1.4rem 1.3rem; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--line);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: rgba(139, 156, 255, 0.35); transform: translateY(-2px); }
.card-emphasis {
  background: linear-gradient(160deg, rgba(86, 214, 194, 0.08), var(--bg-elev));
  border-color: rgba(86, 214, 194, 0.25);
}
.card-label {
  margin: 0 0 0.45rem; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2);
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; letter-spacing: -0.02em; }
.card p { margin: 0; font-size: 0.94rem; color: var(--muted); }

.craft { background: linear-gradient(180deg, transparent, rgba(18, 25, 37, 0.45), transparent); }
.craft-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.craft-item {
  padding: 1.5rem 0 0;
  border-top: 2px solid rgba(86, 214, 194, 0.35);
}
.craft-item h3 { margin: 0 0 0.5rem; font-size: 1.15rem; letter-spacing: -0.02em; }
.craft-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.about-panel {
  padding: 1.75rem; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--line);
}
.about-panel p { margin: 0 0 0.9rem; max-width: 42rem; }
.about-panel p:last-child { margin-bottom: 0; }

.contact { padding-bottom: 4.5rem; }
.contact-panel {
  text-align: center; padding: 3rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(86, 214, 194, 0.12), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--line);
}
.contact-panel h2 { margin: 0 0 0.5rem; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; }
.contact-panel .section-sub { margin: 0 auto 1.75rem; max-width: 28rem; }
.contact-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 1rem;
}
.contact-note { margin: 0; font-size: 0.9rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem 3rem;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand p { margin: 0.1rem 0 0; font-size: 0.85rem; }
.footer-copy { margin: 0; font-size: 0.85rem; }

@media (max-width: 880px) {
  .feature-panel { grid-template-columns: 1fr; }
  .feature-panel-visual { order: -1; }
  .llm-card { max-width: none; }
  .card-grid, .craft-grid, .trust-strip { grid-template-columns: 1fr; }
  .trust-strip { text-align: left; max-width: 24rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(7, 9, 13, 0.96); border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 0.5rem; text-align: center; border-bottom: none !important; }
  .hero { padding-top: 3.25rem; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .llm-pulse { animation: none; }
}


/* —— Products page —— */
.hero-compact { padding-bottom: 2rem; }
.hero-compact .lede { max-width: 40rem; margin-left: auto; margin-right: auto; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.product-card {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  border-color: rgba(86, 214, 194, 0.35);
  transform: translateY(-2px);
}

.product-icon {
  flex: 0 0 52px;
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--icon, var(--accent));
  background: color-mix(in srgb, var(--icon, var(--accent)) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon, var(--accent)) 35%, transparent);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--icon, var(--accent)) 18%, transparent);
}
.product-icon svg { display: block; }

.product-body { min-width: 0; }
.product-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.65rem;
  margin-bottom: 0.35rem; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.product-kind { color: var(--accent); }
.product-status { color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }
.product-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.product-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.products-cta-card {
  margin-top: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: var(--accent-soft);
}
