/* SilberWerks storefront — bright white + green CTA (GoDaddy-style) */

:root {
  /* Light surfaces */
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-alt: #eef6f3;
  --bg-card: #ffffff;
  --bg-tint: #f5f7fb;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.05);

  /* Text — slate on white */
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  /* Brand silver (secondary) */
  --silver: #64748b;
  --silver-bright: #334155;
  --silver-mid: #94a3b8;
  --silver-glow: #e2e8f0;

  /* Bright green primary CTA */
  --accent: #00a86b;
  --accent-bright: #12c281;
  --accent-deep: #008f5b;
  --accent-soft: #eef6f3;
  --accent-glow: rgba(0, 168, 107, 0.22);
  --accent-contrast: #ffffff;

  /* Pastel hero blobs */
  --pastel-mint: #d4f5e8;
  --pastel-sky: #dbe8ff;
  --pastel-lavender: #ebe4ff;
  --pastel-peach: #ffe8d9;

  --focus: #008f5b;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --narrow: 680px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-glow { animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

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

.wrap-narrow {
  width: min(100% - 2rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wordmark:hover { color: var(--accent-deep); }

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  background: linear-gradient(145deg, #e8eef5 0%, #94a3b8 55%, #cbd5e1 100%);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(100, 116, 139, 0.18);
}

.wordmark-text {
  color: var(--text);
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.wordmark-sm .wordmark-mark {
  width: 1.45rem;
  height: 1.45rem;
  font-size: 0.8rem;
}

.wordmark-sm .wordmark-text { font-size: 0.98rem; }

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem 1.35rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  padding: 0.35rem 0;
}

.site-nav a:hover { color: var(--text); }

.site-nav .nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--accent);
  color: var(--accent-contrast) !important;
  font-weight: 650;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.site-nav .nav-cta:hover {
  background: var(--accent-deep);
  color: #fff !important;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  color: var(--text);
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 767px) {
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0.15rem;
  }

  .site-nav.is-open a {
    padding: 0.8rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav.is-open .nav-cta {
    margin-top: 0.65rem;
    text-align: center;
    border-bottom: none;
  }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 6px 20px var(--accent-glow), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 143, 91, 0.28);
}

.btn-ghost {
  background: var(--bg);
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--silver-mid);
  color: var(--text);
}

.btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  width: 100%;
  max-width: 340px;
}

/* Hero — bright white + pastel wash */
.hero {
  position: relative;
  padding: 3.25rem 0 4.5rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 45%, #eef6f3 100%);
  border-bottom: 1px solid var(--border);
}

.hero-glow {
  position: absolute;
  inset: -10% -5% auto;
  height: 75%;
  background:
    radial-gradient(ellipse 45% 55% at 15% 20%, var(--pastel-mint) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 15%, var(--pastel-sky) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 55% 80%, var(--pastel-lavender) 0%, transparent 70%),
    radial-gradient(ellipse 30% 35% at 70% 60%, var(--pastel-peach) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-pulse 10s ease-in-out infinite alternate;
  opacity: 0.85;
}

@keyframes glow-pulse {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 0.95; transform: scale(1.03); }
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    text-align: left;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-pills {
    justify-content: flex-start;
  }

  .hero-note {
    text-align: left;
  }
}

.hero-copy {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 168, 107, 0.22);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 5.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text);
}

.hero-brand {
  color: var(--accent-deep);
}

.hero-title-line {
  display: block;
}

.hero-sub {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

@media (min-width: 900px) {
  .hero-lede { margin-left: 0; margin-right: 0; }
}

@media (max-width: 899px) {
  .hero-lede { margin-inline: auto; }
}

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

.hero-note {
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-pills li {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

/* Hero product preview card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.preview-card {
  width: min(100%, 380px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}

.preview-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.preview-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--silver-mid);
}

.preview-dot:nth-child(1) { background: #e07a7a; }
.preview-dot:nth-child(2) { background: #d4a84b; }
.preview-dot:nth-child(3) { background: #5aa88a; }

.preview-url {
  margin-left: 0.5rem;
  flex: 1;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-body {
  padding: 1.35rem 1.25rem 1.5rem;
  background:
    linear-gradient(160deg, var(--pastel-mint) 0%, transparent 45%),
    linear-gradient(220deg, var(--pastel-sky) 0%, var(--bg-card) 55%);
}

.preview-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-pill);
}

.preview-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

.preview-body p {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.preview-bars {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.preview-bar {
  height: 0.55rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.08);
}

.preview-bar:nth-child(1) { width: 92%; background: rgba(0, 168, 107, 0.22); }
.preview-bar:nth-child(2) { width: 70%; }
.preview-bar:nth-child(3) { width: 82%; }

.preview-cta {
  display: inline-flex;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-head .eyebrow {
  margin-bottom: 0.85rem;
}

.section-head h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

.section-lede {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards */
.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(0, 168, 107, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  font-size: 1.1rem;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 168, 107, 0.22);
  color: var(--accent-deep);
  font-weight: 700;
}

.card:nth-child(2) .card-icon {
  background: var(--pastel-sky);
  border-color: rgba(90, 110, 140, 0.22);
  color: #3d5a80;
}

.card:nth-child(3) .card-icon {
  background: var(--pastel-lavender);
  border-color: rgba(110, 100, 140, 0.22);
  color: #5c5470;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.45rem 1.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 800;
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.step h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-weight: 650;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item summary:hover { background: var(--accent-soft); }

.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Form slot */
.form-slot {
  border: 2px dashed rgba(0, 168, 107, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--accent-soft) 100%);
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.form-slot-inner { max-width: 28rem; margin-inline: auto; }

.form-slot-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.form-slot-status {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--text);
}

.form-slot-hint {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.form-slot-hint code {
  font-size: 0.82em;
  padding: 0.12em 0.4em;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-muted);
}

.form-slot-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Buy */
.buy-section {
  padding-bottom: 5.5rem;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--pastel-mint) 100%);
}

.buy-card {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(0, 168, 107, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.buy-price {
  margin: 0;
}

.buy-price-label {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid rgba(0, 168, 107, 0.28);
  background: var(--accent-soft);
}

.buy-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  max-width: 22rem;
}

/* Footer */
.site-footer {
  padding: 2.75rem 0 3.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.footer-tag {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}
