/*
Theme Name: BrandTinker
Theme URI: https://brandtinker.com
Author: BrandTinker
Description: Clean, mobile-first theme for the BrandTinker domain name generator. Works with the BrandTinker Domain Generator plugin.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: brandtinker-theme
*/

:root {
  --navy: #1e2a44;
  --navy-2: #26355a;
  --teal: #14b88a;
  --teal-dark: #0e9470;
  --ink: #1e2a44;
  --muted: #5b6475;
  --line: #e3e7ee;
  --soft: #f5f7fa;
  --white: #ffffff;
  --radius: 8px;
  --wrap: 1120px;
  --c-common: #14cc77; --c-similar: #8fbf3f; --c-new: #e8a92a; --c-seo: #f0776c;
  --c-short: #d27aa8; --c-fun: #9c6fd0; --c-extra: #4f86d6; --c-mix: #2ea9d6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: relative; }
.site-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--c-common) 0 12.5%, var(--c-similar) 0 25%, var(--c-new) 0 37.5%, var(--c-seo) 0 50%, var(--c-short) 0 62.5%, var(--c-fun) 0 75%, var(--c-extra) 0 87.5%, var(--c-mix) 0); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand svg { flex: 0 0 auto; }
.brand span b { color: var(--teal); font-weight: 700; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 6px; padding: 6px 10px; font-size: 15px; cursor: pointer; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 6px; display: block; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 8px 20px 16px; z-index: 20; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
}

/* Hero */
.hero { background: radial-gradient(1200px 400px at 50% -10%, var(--navy-2), var(--navy)); color: #fff; padding: 64px 0 72px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; text-align: center; margin: 0 0 12px; }
.hero p.lead { text-align: center; font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.8); margin: 0 auto 32px; max-width: 640px; }
.hero .bt-app { color: #fff; }
.hero .bt-favs, .hero .bt-results { color: var(--ink); }
.hero .bt-status { color: rgba(255,255,255,.85); }
.hero .bt-tip code { background: rgba(255,255,255,.15); }
.notice-box { background: #fff4d6; color: #8a6100; border-radius: var(--radius); padding: 14px 18px; max-width: 760px; margin: 0 auto; }

/* Sections */
.section { padding: 72px 0; }
.section--soft { background: var(--soft); }
.section h2 { font-size: clamp(26px, 3.4vw, 36px); text-align: center; margin: 0 0 10px; }
.section p.sub { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 640px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c, var(--teal)); border-radius: var(--radius); padding: 20px; box-shadow: 0 2px 8px rgba(16,24,40,.05); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .eg { margin-top: 10px; font-size: 13px; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.step { text-align: center; padding: 8px 12px; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.center { text-align: center; }
.button { display: inline-block; background: var(--teal); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: var(--radius); }
.button:hover { background: var(--teal-dark); color: #fff; }

/* Content pages */
.page-head { background: var(--navy); color: #fff; padding: 48px 0 40px; }
.page-head h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); }
.page-head p { margin: 8px 0 0; color: rgba(255,255,255,.8); max-width: 680px; }
.content { padding: 48px 0 72px; }
.content .entry { max-width: 760px; margin: 0 auto; font-size: 17px; }
.content .entry--wide { max-width: var(--wrap); }
.post-list { max-width: 760px; margin: 0 auto; }
.post-list article { border-bottom: 1px solid var(--line); padding: 20px 0; }
.post-list h2 { margin: 0 0 6px; font-size: 22px; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-meta { color: var(--muted); font-size: 14px; }
.pagination { margin-top: 24px; text-align: center; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-note { width: 100%; font-size: 13px; color: rgba(255,255,255,.55); }
