/*
Theme Name: IngeniousTrio
Theme URI: https://ingenioustrio.com
Author: IngeniousTrio
Author URI: https://ingenioustrio.com
Description: Custom single-page landing theme for IngeniousTrio — a dark, bold indie-SaaS landing page. Built by a human, for humans.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ingenioustrio
*/

/* ---------- Design tokens ---------- */
:root {
  --bg:          #0a0a0a;
  --bg-alt:      #0f0f0f;
  --card:        #121212;
  --card-border: #232323;
  --text:        #f4f4f4;
  --muted:       #9a9a9a;
  --muted-2:     #6f6f6f;
  --accent:      #f5a623;
  --accent-2:    #ffb53d;
  --accent-dim:  rgba(245,166,35,0.12);
  --live:        #39d98a;
  --max:         1200px;
  --radius:      16px;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display:'Space Grotesk', var(--font-sans);
  --font-mono:   'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--accent); color: #1a1205; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--card-border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.brand .logo-mark { width: 30px; height: 30px; }
.brand .logo-mark path, .brand .logo-mark circle { stroke: var(--accent); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--muted); font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 20px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; }

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 110px;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(245,166,35,0.07), transparent 60%),
    var(--bg);
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero h1 .accent { color: var(--accent); }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 46ch; margin: 0 0 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Section heading ---------- */
.section { padding: 100px 0; }
.section-head { margin-bottom: 56px; max-width: 30ch; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ---------- Apps grid ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 34px;
  transition: transform .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.app-card:hover { transform: translateY(-4px); border-color: rgba(245,166,35,0.4); }
.app-card .badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em;
  color: var(--live); background: rgba(57,217,138,0.1);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 22px;
}
.app-card .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.app-card h3 { font-family: var(--font-mono); font-weight: 600; font-size: 1.5rem; margin: 0 0 12px; letter-spacing: -0.01em; }
.app-card p { color: var(--muted); margin: 0 0 22px; }
.app-card .card-link { color: var(--accent); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.app-card .card-link:hover { gap: 10px; }

/* ---------- Quote ---------- */
.quote-section { background: var(--bg-alt); }
.quote-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.quote-wrap blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.35;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.quote-wrap .cite { font-family: var(--font-mono); font-size: 14px; color: var(--muted-2); }

/* ---------- Early access ---------- */
.cta-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta-copy p { color: var(--muted); max-width: 42ch; }
.signup-box { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 30px; }
.signup-box label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 14px; }
.signup-form { display: flex; gap: 10px; }
.signup-form input {
  flex: 1; background: var(--bg); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 13px 15px; color: var(--text); font-size: 15px;
}
.signup-form input::placeholder { color: var(--muted-2); }
.signup-form input:focus { outline: none; border-color: var(--accent); }
.signup-note { color: var(--muted-2); font-size: 13px; margin: 14px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 70px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .tagline { color: var(--muted); max-width: 34ch; margin: 18px 0 0; font-size: 15px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 26px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.footer-bottom .care { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .apps-grid, .quote-wrap, .cta-wrap, .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 80px 0 70px; }
  .section { padding: 70px 0; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}
