/* Tomson Studio — marketing site
   Clean, premium, minimal theme: white canvas, generous whitespace,
   soft shadows, rounded cards, a refined indigo→cyan accent. */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --card: #ffffff;
  --ink: #0b0b12;
  --ink-2: #545465;
  --muted: #8a8a99;
  --line: #ececf1;
  --accent: #f56b5d;
  --accent-2: #ff9e7a;
  --accent-soft: rgba(245, 107, 93, 0.1);
  --grad: linear-gradient(100deg, #ff8d63 0%, #f56b5d 55%, #f5577e 100%);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 1px 2px rgba(11, 11, 18, 0.04), 0 10px 30px -14px rgba(11, 11, 18, 0.16);
  --shadow: 0 24px 60px -24px rgba(11, 11, 18, 0.28);
  --container: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--bg-soft);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: 0 12px 26px -12px rgba(11, 11, 18, 0.55); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.4); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(79, 70, 229, 0.6); }
.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; height: 70px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}
.brand svg { color: var(--accent); }
.brand img { height: 28px; width: auto; display: block; }
.footer-brand .brand img { height: 32px; margin-bottom: 4px; }
.nav-links { display: flex; gap: 4px; margin-left: 22px; }
.nav-links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 9px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}
.mobile-menu { display: none; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu .container { padding-top: 12px; padding-bottom: 18px; }
.mobile-menu a {
  display: block;
  padding: 13px 4px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(245, 107, 93, 0.1), transparent 70%),
    radial-gradient(40% 40% at 80% 10%, rgba(255, 158, 122, 0.09), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; padding: 96px 0 64px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.eyebrow svg { color: var(--accent); }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 26px auto 20px;
  font-weight: 700;
  max-width: 14ch;
}
.hero p.lede {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-trust {
  margin-top: 28px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--muted);
  font-size: 0.86rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--accent); }

/* Hero product preview */
.preview-wrap { position: relative; z-index: 1; padding: 28px 0 96px; }
.mock {
  max-width: 940px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; background: #d7d7e0; }
.mock-bar i:nth-child(1) { background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: 10px; font-size: 0.78rem; color: var(--muted); }
.mock-body { padding: 22px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mock-tile { aspect-ratio: 4 / 3; border-radius: 14px; position: relative; overflow: hidden; }
.mock-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-soft);
}
.mock-play {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center; color: #fff; flex: 0 0 auto;
}
.mock-line { height: 10px; border-radius: 6px; background: #e6e6ee; }

/* Soft gradient tiles */
.t1 { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.t2 { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.t3 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.t4 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.t5 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.t6 { background: linear-gradient(135deg, #8b5cf6, #6366f1); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 86px; }
.section { padding: 100px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 12px 0 14px;
  font-weight: 700;
}
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }

/* keep .center as a harmless modifier */
.section-head.center { text-align: center; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat .label { color: var(--ink-2); font-size: 0.92rem; margin-top: 8px; }

/* Feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: #e2e2ea; }
.card .icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center; color: var(--accent); margin-bottom: 18px;
  background: var(--accent-soft);
}
.card h3 { margin: 0 0 9px; font-size: 1.14rem; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  padding: 32px 30px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.step .n {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.15rem;
  color: #fff; background: var(--grad); margin-bottom: 18px;
}
.step h3 { margin: 0 0 9px; font-size: 1.18rem; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

/* Models pills */
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px;
  font-weight: 500; font-size: 0.92rem; background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.16s ease;
}
.pill:hover { transform: translateY(-2px); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }

/* CTA band */
.cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 76px 48px;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 50% -20%, rgba(245, 87, 126, 0.45), transparent 60%),
    radial-gradient(50% 100% at 90% 120%, rgba(255, 141, 99, 0.4), transparent 60%);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 0 0 14px; font-weight: 700; letter-spacing: -0.03em; }
.cta p { color: rgba(255, 255, 255, 0.72); max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 72px 0 44px;
}
.footer-brand p { color: var(--ink-2); font-size: 0.95rem; max-width: 300px; }
.footer-col h4 { font-size: 0.84rem; letter-spacing: 0.01em; margin: 0 0 16px; color: var(--ink); font-weight: 600; }
.footer-col a { display: block; color: var(--ink-2); font-size: 0.93rem; padding: 7px 0; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 24px 0 48px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.86rem;
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Article / Legal ---------- */
.page-hero {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(245, 107, 93, 0.09), transparent 70%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); margin: 14px 0 10px; font-weight: 700; letter-spacing: -0.03em; }
.page-hero p { color: var(--ink-2); margin: 0; font-size: 1.06rem; }
.breadcrumb { font-size: 0.86rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.prose { max-width: 720px; margin: 0 auto; padding: 64px 0 88px; }
.prose h2 { font-size: 1.5rem; margin: 42px 0 14px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.16rem; margin: 28px 0 10px; }
.prose p { color: var(--ink-2); margin: 0 0 16px; }
.prose ul { color: var(--ink-2); margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose .updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 10px; }
.prose .lead { font-size: 1.16rem; color: var(--ink); }

/* Blog list */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: #e2e2ea; }
.post-thumb { aspect-ratio: 16 / 9; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .tag { font-size: 0.78rem; font-weight: 600; color: var(--accent); }
.post-card h3 { margin: 9px 0 9px; font-size: 1.18rem; line-height: 1.28; letter-spacing: -0.02em; }
.post-card p { margin: 0 0 18px; color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.post-card .meta { color: var(--muted); font-size: 0.84rem; }
.read-more { color: var(--accent); font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .steps, .posts { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-3, .steps, .posts, .footer-grid, .stats { grid-template-columns: 1fr; }
  .hero-inner { padding: 72px 0 48px; }
  .section { padding: 72px 0; }
  .cta { padding: 52px 26px; }
}
