/* Sundial Forge, LLC — site styles */

:root {
  --bg:        #0f1319;
  --bg-alt:    #141922;
  --surface:   #1a202b;
  --border:    #262e3b;
  --text:      #e8eaee;
  --text-dim:  #9aa4b4;
  --accent:    #e0a12a;
  --accent-dim:#b8801d;
  --accent-soft: rgba(224, 161, 42, 0.12);

  --wrap: 1120px;
  --radius: 14px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-display: "Georgia", "Iowan Old Style", "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #14181f;
  padding: 10px 18px;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 19, 25, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--accent);
  flex: none;
}

.brand-text { font-size: 1.05rem; }
.brand-llc { color: var(--text-dim); font-weight: 400; }

.site-nav {
  display: flex;
  gap: 30px;
}

.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 96px;
  border-bottom: 1px solid var(--border);
}

.hero-inner { position: relative; z-index: 1; max-width: 780px; }

.hero-glow {
  position: absolute;
  top: -220px;
  right: -140px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(224,161,42,0.16) 0%, rgba(224,161,42,0) 68%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h3 {
  margin: 0 0 4px;
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.13rem;
  color: var(--text-dim);
  max-width: 62ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.btn-primary {
  background: var(--accent);
  color: #14181f;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-dim); border-color: var(--accent-dim); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text-dim); }

/* ---------- Sections ---------- */

.section { padding: 92px 0; }
section[id] { scroll-margin-top: 84px; }
.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

/* ---------- Product cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 46px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-3px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }

.card-kicker {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

.card p { color: var(--text-dim); font-size: 0.98rem; }
.card > p:last-of-type { margin-bottom: 0; }

.card-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.card-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 0.93rem;
  color: var(--text-dim);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.card-list li:last-child { margin-bottom: 0; }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
}

.about-grid p { color: var(--text-dim); }

.founder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px;
}

.founder-card h3 { margin-bottom: 12px; }
.founder-card p { margin-bottom: 0; font-size: 0.98rem; }

/* ---------- Contact ---------- */

.contact-inner { max-width: 680px; }

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 10px;
}

.contact-email a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
}
.contact-email a:hover { color: var(--text); border-color: var(--text); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-nav { display: flex; gap: 24px; }

.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-nav a:hover { color: var(--text); }

/* ---------- Mobile ---------- */

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 18px;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .site-nav a:last-child { border-bottom: none; }

  .header-inner { position: relative; }

  .hero { padding: 72px 0 64px; }
  .section { padding: 68px 0; }
  .cards { margin-top: 34px; }
  .footer-inner { justify-content: flex-start; }
}
