/* techfuel.ai — shared stylesheet
   Used by both the public homepage and the obscured download page.
   ---------------------------------------------------------- */

@import url('https://rsms.me/inter/inter.css');

:root {
  --bg: #fafaf7;
  --ink: #0f0f0f;
  --ink-muted: #595959;
  --rule: #e0e0e0;
  --rule-light: #ececea;
  --accent: #1b6b4a;
  --accent-hover: #14533a;
  --accent-tint: #e6f0eb;
  --accent-tint-strong: #d4e5dc;
  --white: #ffffff;
  --error: #7a2424;

  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 680px;
  --container-wide: 780px;
}

@supports (font-variation-settings: normal) {
  :root {
    --font-display: 'Inter Tight var', 'Inter var', 'Inter Tight', 'Inter', sans-serif;
    --font-body: 'Inter var', 'Inter', sans-serif;
  }
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* very subtle warm noise so the off-white doesn't feel flat */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.06 0 0 0 0 0.04 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

main, header, footer {
  position: relative;
  z-index: 1;
}

/* layout
   ---------------------------------------------------------- */

.shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.shell-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* masthead
   ---------------------------------------------------------- */

.masthead {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}

.wordmark .domain {
  color: var(--accent);
  font-weight: 500;
}

.attribution {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.attribution a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 0.15s, border-color 0.15s;
}

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

/* hero
   ---------------------------------------------------------- */

.hero {
  padding: 4rem 0 3rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 18ch;
}

.hero .lede {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 56ch;
}

.hero .lede strong {
  font-weight: 600;
}

/* tier section (public homepage)
   ---------------------------------------------------------- */

.tier-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--rule);
}

.tier-section.dim {
  opacity: 0.92;
}

.tier-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 1.1rem;
}

.tier-eyebrow.muted {
  color: var(--ink-muted);
  background: var(--rule-light);
}

.tier-section h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

.tier-intro {
  font-size: 1.02rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 58ch;
}

/* offering list (used in both tier-section and obscured download page)
   ---------------------------------------------------------- */

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.offer-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.offer-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule-light);
}

.offer-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.offer-list .num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.offer-list .num.muted {
  color: var(--ink-muted);
}

.offer-list .body strong {
  font-weight: 600;
  color: var(--ink);
}

.offer-list .body p {
  margin-top: 0.25rem;
  color: var(--ink-muted);
  font-size: 0.97rem;
  line-height: 1.55;
}

/* compact list for tier 3 (just names, no descriptions) */

.offer-list.compact li {
  padding-bottom: 0.9rem;
}

.offer-list.compact .body p {
  margin-top: 0.2rem;
  font-size: 0.92rem;
}

/* CTA panel (public homepage end)
   ---------------------------------------------------------- */

.cta-panel {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--rule);
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 26ch;
}

.cta-panel p {
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 56ch;
  margin-bottom: 1.75rem;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.15rem;
  transition: color 0.15s, border-color 0.15s, transform 0.15s;
}

.cta-link:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.cta-link .arrow {
  transition: transform 0.2s;
}

.cta-link:hover .arrow {
  transform: translateX(3px);
}

/* obscured download page
   ---------------------------------------------------------- */

.dl-section {
  padding: 3.5rem 0 4.5rem;
  border-top: 1px solid var(--rule);
  margin-top: 1rem;
}

.dl-section h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.dl-section p.intro {
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 56ch;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 1rem 1.75rem;
  height: 56px;
  transition: background-color 0.15s, transform 0.05s;
}

.download-button:hover {
  background: var(--accent-hover);
}

.download-button:active {
  transform: translateY(1px);
}

.download-button svg {
  width: 18px;
  height: 18px;
}

.file-info {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 1.25rem;
}

.dl-section .helper {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  font-size: 0.93rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 56ch;
}

.dl-section .helper a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

.dl-section .helper a:hover {
  border-color: var(--accent);
}

/* footer
   ---------------------------------------------------------- */

footer.site-footer {
  margin-top: auto;
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--rule);
}

footer .footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer .copy {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

footer .copy a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 0.15s, border-color 0.15s;
}

footer .copy a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

footer .small {
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* mobile
   ---------------------------------------------------------- */

@media (max-width: 600px) {
  html { font-size: 16px; }
  .shell, .shell-wide { padding: 0 1.25rem; }
  .masthead { padding: 2rem 0 1.25rem; }
  .hero { padding: 3rem 0 2rem; }
  .hero h1 { max-width: none; }
  .tier-section { padding: 2.5rem 0; }
  .cta-panel { padding: 3rem 0 3.5rem; }
  .dl-section { padding: 2.5rem 0 3.5rem; }
}

/* accessibility & motion
   ---------------------------------------------------------- */

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

::selection {
  background: var(--accent);
  color: var(--white);
}
