/* AI Websites — Thinglet Marketing Package 03
   Primary: #0a9dcc | Secondary: #3d3d3d
   Mobile-first, accessible, no stock photos */

:root {
  --primary: #0a9dcc;
  --primary-dark: #0780a8;
  --primary-light: #e8f7fc;
  --primary-mid: #b8e4f3;
  --secondary: #3d3d3d;
  --secondary-light: #5a5a5a;
  --bg: #ffffff;
  --bg-alt: #f4fafc;
  --bg-dark: #2a2a2a;
  --text: #2a2a2a;
  --text-muted: #666666;
  --border: #dce8ee;
  --success: #1a9a5c;
  --warning: #c47a00;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(10, 157, 204, 0.12);
  --shadow-lg: 0 12px 40px rgba(10, 157, 204, 0.18);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.logo-link { flex-shrink: 0; }
.logo-link img { height: 40px; width: auto; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: flex; }
.site-nav a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.site-nav .nav-cta {
  background: var(--primary);
  color: #fff !important;
  text-align: center;
  margin-top: 0.5rem;
}
.site-nav .nav-cta:hover { background: var(--primary-dark); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    border: none;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    background: transparent;
  }
  .site-nav a { padding: 0.45rem 0.65rem; font-size: 0.88rem; }
  .site-nav .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
    padding: 0.55rem 1rem !important;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  font-family: inherit;
  line-height: 1.2;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff !important; }
.btn-secondary {
  background: transparent;
  color: var(--secondary) !important;
  border-color: var(--secondary);
}
.btn-secondary:hover { background: var(--secondary); color: #fff !important; }
.btn-ghost {
  background: var(--primary-light);
  color: var(--primary-dark) !important;
  border-color: transparent;
}
.btn-ghost:hover { background: var(--primary-mid); }
.btn-lg { padding: 1.05rem 1.85rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* —— Typography —— */
h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 38rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.price-callout {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-callout span { font-size: 0.4em; font-weight: 700; color: var(--secondary); }

/* —— Sections —— */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark);
  color: #e8e8e8;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #b0b0b0; }
.section-header { margin-bottom: 2.5rem; max-width: 40rem; }
.section-header.centered { text-align: center; margin-inline: auto; }

/* —— Hero —— */
.hero {
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(10, 157, 204, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(10, 157, 204, 0.08), transparent),
    var(--bg);
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}
.hero-trust li { list-style: none; display: flex; align-items: center; gap: 0.4rem; }
.hero-trust li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* —— Cards / grids —— */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 600px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 900;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.98rem; }

/* —— Pricing —— */
.pricing-hero-card {
  background: #fff;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 1.5rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
.pricing-list { list-style: none; margin: 1.5rem 0; }
.pricing-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 500;
}
.pricing-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
  flex-shrink: 0;
}
.cancel-callout {
  background: #fff8e6;
  border: 2px solid #f0c36a;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.cancel-callout strong { color: var(--warning); display: block; margin-bottom: 0.35rem; }

/* —— Steps —— */
.steps { counter-reset: step; list-style: none; display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* —— Gallery / examples —— */
.example-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}
.example-preview {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-light), #fff 60%);
  position: relative;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.example-preview .bar { height: 8px; border-radius: 4px; background: var(--primary); opacity: 0.7; }
.example-preview .bar.short { width: 40%; }
.example-preview .bar.med { width: 70%; }
.example-preview .blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex: 1;
}
.example-preview .block {
  background: rgba(10, 157, 204, 0.15);
  border-radius: 6px;
  border: 1px dashed var(--primary-mid);
}
.example-body { padding: 1.25rem; }
.example-body .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* Variants for gallery */
.ex-warm .example-preview { background: linear-gradient(135deg, #fff0e6, #fff 60%); }
.ex-warm .example-preview .bar { background: #e07a3a; }
.ex-warm .example-preview .block { background: rgba(224, 122, 58, 0.15); border-color: #f0c4a8; }
.ex-green .example-preview { background: linear-gradient(135deg, #e6f7ef, #fff 60%); }
.ex-green .example-preview .bar { background: #1a9a5c; }
.ex-green .example-preview .block { background: rgba(26, 154, 92, 0.15); border-color: #a8dcc0; }
.ex-dark .example-preview { background: linear-gradient(135deg, #3d3d3d, #2a2a2a); }
.ex-dark .example-preview .bar { background: #0a9dcc; }
.ex-dark .example-preview .block { background: rgba(10, 157, 204, 0.25); border-color: #0a9dcc; }

/* —— Compare table —— */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
}
.compare-table th:nth-child(2) { background: var(--primary); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:nth-child(2) { font-weight: 700; color: var(--primary-dark); background: var(--primary-light); }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* —— FAQ —— */
.faq-list { max-width: 720px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--secondary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* —— Forms —— */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--secondary);
}
.form-group .hint { font-weight: 400; color: var(--text-muted); font-size: 0.85rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: var(--primary-mid); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 157, 204, 0.2);
}
.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 640px;
}
.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* —— CTA band —— */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 32rem; margin: 0 auto 1.75rem; font-size: 1.1rem; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--primary-dark) !important;
  border-color: #fff;
}
.cta-band .btn-primary:hover { background: var(--primary-light); }
.cta-band .btn-secondary {
  border-color: #fff;
  color: #fff !important;
}
.cta-band .btn-secondary:hover { background: #fff; color: var(--primary-dark) !important; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* —— About / contact —— */
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}
.contact-info a { font-weight: 700; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 900;
  color: var(--primary);
}

/* —— Audience pills —— */
.audience-card {
  text-align: left;
  border-top: 4px solid var(--primary);
}

/* —— Footer —— */
.site-footer {
  background: var(--secondary);
  color: #c8c8c8;
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0;
}
.site-footer a { color: #c8c8c8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-brand p { margin-top: 0.75rem; max-width: 22rem; line-height: 1.6; }
.footer-contact { margin-top: 1rem; }
.footer-contact a { color: var(--primary-mid); font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
}
.lang-note { opacity: 0.85; }

/* —— Utilities —— */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3rem 0 2.5rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero .lead { margin-top: 0.75rem; }

/* Coming soon chip */
.coming-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-top: 0.75rem;
}

/* —— Footer logo (Thinglet mark on dark) —— */
.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* —— Domain lookup —— */
.domain-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.domain-search-row input {
  flex: 1 1 200px;
  min-width: 0;
}
.domain-search-row .btn {
  flex: 0 0 auto;
}
.domain-results {
  margin-top: 1.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg-alt);
}
.domain-results.is-available {
  border-color: var(--success);
  background: #eefaf3;
}
.domain-results.is-taken {
  border-color: var(--warning);
  background: #fff8e6;
}
.domain-results.is-error {
  border-color: #c44;
  background: #fff0f0;
}
.domain-results h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}
.domain-results .disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.domain-results .domain-cta {
  margin-top: 1rem;
}
.domain-card code {
  font-size: 0.9em;
  background: var(--primary-light);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--primary-dark);
}
