/* SpeedRead Technologies — prototype stylesheet */

:root {
  /* Palette derived from the SpeedRead logo's dominant blue (~#2A3990) */
  --navy: #262f7c;
  --navy-light: #333f9e;
  --navy-deep: #0f1442;
  --teal: #5872cf;
  --teal-dark: #2a3990;
  --ink: #14202b;
  --muted: #5b6b78;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --border: #e1e8ec;
  --radius: 3px;
  --shadow: 0 2px 10px rgba(38, 47, 124, 0.08);
  --shadow-lg: 0 10px 28px rgba(38, 47, 124, 0.14);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 16px; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: transparent;
  border: 1px solid rgba(42, 57, 144, 0.35);
  padding: 5px 11px;
  border-radius: 2px;
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(38, 47, 124, 0.3); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark-img { height: 60px; width: auto; flex-shrink: 0; transition: transform 0.2s ease; }
.logo:hover .logo-mark-img { transform: scale(1.03); }

nav.main-nav { display: flex; align-items: center; gap: 6px; }
nav.main-nav a.nav-link {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  border-radius: 4px;
}
nav.main-nav a.nav-link:hover { background: var(--bg-alt); color: var(--teal-dark); }
nav.main-nav a.nav-link.active { color: var(--teal-dark); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.dropdown a:hover { background: var(--bg-alt); color: var(--teal-dark); }
.dropdown a strong { display: block; font-weight: 700; }
.dropdown-sub { display: block; font-size: 0.78rem; font-weight: 500; color: var(--muted); margin-top: 2px; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero, .page-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640' viewBox='0 0 640 640'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07'%3E%3Ccircle cx='560' cy='60' r='50'/%3E%3Ccircle cx='560' cy='60' r='110'/%3E%3Ccircle cx='560' cy='60' r='170'/%3E%3Ccircle cx='560' cy='60' r='230'/%3E%3Ccircle cx='560' cy='60' r='290'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right -60px top -60px;
  background-size: cover, 560px 560px;
  color: #fff;
}
.hero { padding: 88px 0 118px; }
.hero .eyebrow { background: transparent; border-color: rgba(255,255,255,0.35); color: #bfe9e6; }
.hero h1 { color: #fff; max-width: 780px; }
.hero .lede { color: rgba(255,255,255,0.82); }
.hero-sub { max-width: 640px; }

.page-hero { padding: 64px 0 92px; }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: rgba(255,255,255,0.82); }
.page-hero .eyebrow { background: transparent; border-color: rgba(255,255,255,0.4); color: #bfe9e6; }

.hero .wrap, .page-hero .wrap { position: relative; z-index: 2; }
.hero, .page-hero { border-bottom: 3px solid var(--teal-dark); }

/* Trust bar */
.trust-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 18px 0; }
.trust-bar .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.trust-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.trust-item.seal .seal-icon {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--teal-dark); box-shadow: 0 0 0 3px rgba(42,57,144,0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-item.seal .seal-icon svg { width: 16px; height: 16px; }

/* Pull quote */
.pull-quote { border-left: 4px solid var(--teal-dark); padding: 4px 0 4px 24px; margin: 0; }
.pull-quote p { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; color: var(--navy); line-height: 1.4; margin: 0; }
.pull-quote cite { display: block; margin-top: 12px; font-size: 0.82rem; font-style: normal; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }

/* Stat bar */
.stat-bar { background: var(--teal-dark); color: #fff; padding: 34px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-grid .num { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; }
.stat-grid .label { font-size: 0.82rem; opacity: 0.85; margin-top: 4px; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Cards grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal-dark);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card img { border-radius: var(--radius); margin-bottom: 18px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 8px;
  background: rgba(42,57,144,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 28px; height: 28px; }

.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .stat-pill {
  display: inline-block; background: transparent; border: 1px solid rgba(42,57,144,0.3); color: var(--teal-dark);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.78rem; padding: 4px 10px; border-radius: 2px; margin-bottom: 12px;
}
.product-card .card-actions { margin-top: auto; display: flex; gap: 10px; padding-top: 14px; }

/* Case study card */
.case-card { position: relative; overflow: hidden; }
.case-card img {
  display: block;
  height: 170px;
  width: calc(100% + 56px);
  max-width: none;
  object-fit: cover;
  margin: -28px -28px 20px -28px;
}
.case-card .stat-big { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; color: var(--teal-dark); }
.case-card .loc { font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.compare, table.spec { width: 100%; border-collapse: collapse; background: #fff; }
table.compare th, table.compare td, table.spec th, table.spec td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.94rem;
}
table.compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
table.compare tbody tr:nth-child(odd) { background: var(--bg-alt); }
table.compare td:first-child { font-weight: 600; color: var(--teal-dark); }
table.spec td:first-child { font-weight: 700; width: 40%; color: var(--ink); background: var(--bg-alt); }
table.spec td:last-child, table.compare td:not(:first-child) { font-family: var(--font-mono); font-size: 0.88rem; }

/* Value cards (Business Values) */
.value-card { text-align: left; }
.value-card .num { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--teal); letter-spacing: 0.1em; }

/* CTA banner */
.cta-banner {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-row { justify-content: center; }
.cta-banner .btn-primary { background: #fff; color: var(--teal-dark); }
.cta-banner .btn-primary:hover { background: rgba(255,255,255,0.9); }
.cta-banner .btn-ghost { border-color: rgba(255,255,255,0.6); }

/* Feature list */
ul.feature-list { list-style: none; margin: 0; padding: 0; }
ul.feature-list li {
  position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink);
}
ul.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal-dark); font-weight: 800;
}

/* Leadership block */
.leader-card { display: flex; gap: 24px; align-items: center; background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.leader-avatar {
  width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; flex-shrink: 0;
}

/* Testimonial */
.testimonial-card {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--border);
  border-top: 3px solid var(--teal-dark); border-radius: var(--radius); padding: 36px; text-align: center;
}
.testimonial-card .stars { color: #e0a83e; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card .quote { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; color: var(--navy); line-height: 1.5; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-author strong { display: block; color: var(--ink); }
.testimonial-author .muted-small { font-size: 0.82rem; color: var(--muted); }
.testimonial-note { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 14px; font-style: italic; }

/* Concept / roadmap section */
.concept-section { position: relative; }
.concept-tag {
  display: inline-block; background: #b5651d; color: #fff; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; margin-bottom: 14px;
}
.concept-section .card { border-top-color: #b5651d; }
.concept-section .card-icon { background: rgba(181,101,29,0.1); }
.concept-section .card-icon svg { color: #b5651d; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.contact-info dt { font-weight: 700; color: var(--ink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 20px; }
.contact-info dd { margin: 4px 0 0; color: var(--muted); }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 0.95rem; background: #fff;
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* Footer */
footer.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 56px 0 28px; }
footer.site-footer .grid { grid-template-columns: 1.3fr 1fr 1fr; margin-bottom: 36px; }
footer.site-footer h4 { color: #fff; font-size: 0.95rem; }
footer.site-footer a { color: rgba(255,255,255,0.75); display: block; margin-bottom: 8px; font-size: 0.92rem; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 0.82rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-2, footer.site-footer .grid, .contact-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  nav.main-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 16px; gap: 4px; transform: translateX(100%); transition: transform 0.2s ease; overflow-y: auto; }
  nav.main-nav.open { transform: translateX(0); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-left: 12px; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: block; }
  .header-cta .btn-primary { display: none; }
  .cta-banner { padding: 36px 22px; }
  .leader-card { flex-direction: column; text-align: center; }
}
