/* Gilman Systems — fake startup landing page
   Embraces every cliche of modern SaaS marketing sites. Intentionally.
*/

:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --bg-dark: #0a0d14;
  --fg: #0a0d14;
  --fg-soft: #4a5168;
  --fg-muted: #8893a8;
  --accent: #635a9c;
  --accent-2: #9d92cc;
  --grad: linear-gradient(135deg, #4d447a 0%, #635a9c 50%, #9d92cc 100%);
  --border: #e6e8ef;
  --max-w: 1140px;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.15s ease; }
a:hover { opacity: 0.7; }

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

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

.container.narrow { max-width: 760px; }

.center { text-align: center; }

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.lede {
  font-size: 1.15rem;
  color: var(--fg-soft);
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow.center { display: block; text-align: center; }

.muted { color: var(--fg-muted); }

.microcopy {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.75rem;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(76,29,149,0.35);
}

.logo-text { font-size: 1.05rem; }
.logo-text span { color: var(--fg-muted); font-weight: 400; }

.nav nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav nav a {
  color: var(--fg-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav nav a:hover { color: var(--fg); opacity: 1; }

.nav-cta {
  background: var(--fg);
  color: var(--bg) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover { opacity: 0.85 !important; }

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(1100px circle at 20% 20%, rgba(99,90,156,0.05), transparent 60%),
    radial-gradient(900px circle at 80% 30%, rgba(157,146,204,0.04), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-art {
  position: relative;
  min-height: 460px;
}

.hero-photo {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -15px rgba(10,13,20,0.25),
    0 10px 24px -8px rgba(10,13,20,0.15);
  transition: transform 0.4s ease;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-primary {
  width: 72%;
  aspect-ratio: 11 / 14;
  top: 0;
  left: 0;
  transform: rotate(-2.5deg);
  z-index: 2;
}

.hero-photo-secondary {
  width: 58%;
  aspect-ratio: 11 / 14;
  bottom: 0;
  right: 0;
  transform: rotate(3deg);
  z-index: 1;
}

.hero-photo:hover { transform: rotate(0deg); z-index: 3; }

.hero-photo figcaption {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  background: rgba(10,13,20,0.7);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 800px) {
  .hero-art { min-height: 380px; }
}

/* CTA form */
.cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.cta input,
.hero .cta input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cta input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,90,156,0.18);
}

.hero .cta {
  flex-direction: row;
  gap: 0.5rem;
}

.cta button {
  padding: 0.85rem 1.5rem;
  background: var(--fg);
  color: white;
  border: 0;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.cta button:hover { opacity: 0.85; transform: translateY(-1px); }

/* Stats */
.stats {
  background: var(--bg-dark);
  color: white;
  padding: 3.5rem 0 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

.stat span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.footnote {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1.5rem;
  text-align: center;
}

/* Mission */
.mission {
  padding: 4rem 0;
  background: var(--bg);
}


.mission h2 em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mission p {
  color: var(--fg-soft);
  font-size: 1.1rem;
  margin: 1rem 0;
}

/* Features */
.features {
  padding: 4rem 0;
  background: var(--bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(10,13,20,0.1);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.feature p {
  color: var(--fg-soft);
  font-size: 0.95rem;
}

/* Proof */
.proof { padding: 4rem 0; background: var(--bg); }

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 3rem;
  margin: 3rem 0;
  opacity: 0.5;
  font-family: "Iosevka", "JetBrains Mono", "Courier New", monospace;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--fg);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.quote {
  margin: 0;
  padding: 2rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}

@media (max-width: 800px) {
  .quotes-grid { grid-template-columns: 1fr; }
}

.quote p {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--fg);
}

.quote footer {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* Team */
.team { padding: 4rem 0; background: var(--bg-alt); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.member {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s ease;
}

.member:hover { transform: translateY(-4px); }

.member.featured {
  background: var(--bg-dark);
  color: white;
  border-color: var(--bg-dark);
}

.member.featured .role { color: var(--accent-2); }
.member.featured .bio { color: rgba(255,255,255,0.7); }

.avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.member figure {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
}

.member figure img { width: 100%; height: 100%; object-fit: cover; }

.member .role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member .bio {
  font-size: 0.9rem;
  color: var(--fg-soft);
}

.member.featured .bio { color: rgba(255,255,255,0.7); }

/* CTA section */
.cta-section {
  padding: 4rem 0;
  background: var(--bg-dark);
  color: white;
  text-align: center;
}

.cta-section h2 { color: white; margin-bottom: 1rem; }
.cta-section .lede { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

.button-large {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--grad);
  color: white !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease;
}

.button-large:hover { transform: translateY(-2px); opacity: 1 !important; }

.cta-section .microcopy { color: rgba(255,255,255,0.5); margin-top: 1.5rem; }

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.site-footer .logo { color: white; }
.site-footer .logo-text span { color: rgba(255,255,255,0.5); }

.footer-head {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.site-footer a:hover { color: white; opacity: 1; }

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* Values */
.values { padding: 4rem 0; background: var(--bg); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value {
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.value h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.value p { color: var(--fg-soft); font-size: 0.95rem; }

/* Press / awards */
.press, .awards { padding: 5rem 0; background: var(--bg-alt); }

.awards-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1.05rem;
}

/* Pricing */
.pricing { padding: 4rem 0; background: var(--bg); }

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
}

.tier {
  padding: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tier:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(10,13,20,0.1); }

.tier.featured {
  border: 2px solid var(--accent);
  transform: scale(1.02);
}

.tier .badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tier h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.tier .price { font-size: 2.5rem; font-weight: 800; margin: 0.5rem 0; letter-spacing: -0.03em; }
.tier .price span { color: var(--fg-muted); font-size: 0.5em; vertical-align: super; }
.tier .muted { font-size: 0.9rem; margin-bottom: 1rem; }
.tier ul {
  list-style: none;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tier li { font-size: 0.95rem; color: var(--fg-soft); }
.tier li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* FAQ */
.faq { padding: 4rem 0; background: var(--bg-alt); }

.faq details {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  transition: box-shadow 0.15s ease;
}

.faq details[open] {
  box-shadow: 0 6px 18px -6px rgba(10,13,20,0.1);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
}

.faq summary::after {
  content: " +";
  color: var(--accent);
  font-weight: 700;
  float: right;
}

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

.faq details p {
  color: var(--fg-soft);
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

/* Team grid four-column variant */
.team-grid.four { grid-template-columns: repeat(4, 1fr); }

.member.small { padding: 1.25rem; }
.member.small figure { width: 56px; height: 56px; margin-bottom: 0.5rem; }
.member.small h3 { font-size: 1rem; }
.member.small .role { font-size: 0.75rem; }

/* Roadmap */
.roadmap { padding: 4rem 0; background: var(--bg); }

.timeline {
  list-style: none;
  margin-top: 2rem;
  border-left: 2px solid var(--border);
  padding-left: 2rem;
}

.timeline li {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 0.5rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -2.6rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad);
  border: 3px solid var(--bg);
}

.timeline .when {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(99,90,156,0.10);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.timeline strong { display: block; font-size: 1.1rem; margin-bottom: 0.3rem; }
.timeline p { color: var(--fg-soft); font-size: 0.95rem; }


.newsletter .cta {
  flex-direction: row;
  margin: 1.5rem auto 0.5rem;
  max-width: 480px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-art figure { max-width: 480px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid, .team-grid.four { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 3rem auto 0; }
  .pricing-tiers { grid-template-columns: 1fr; }
  .tier.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  .nav nav { gap: 0.85rem; }
  .nav nav a:not(.nav-cta) { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .cta { flex-direction: column; }
  .hero .cta button { width: 100%; }
}
