/* ============================================================
   ORCONI.COM — SHARED STYLES
   ============================================================ */

/* --- Tokens ------------------------------------------------ */
:root {
  color-scheme: light dark;
  --bg:       #FAFAF8;
  --fg:       #1A1A1A;
  --muted:    #5C5C5C;
  --accent:   #F76C1B;
  --hairline: rgba(0,0,0,0.08);
  --card-bg:  #FFFFFF;
  --nav-h:    56px;
  --max-w:    1100px;
  --max-w-text: 680px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:       #0F0F0F;
    --fg:       #EAEAEA;
    --muted:    #999999;
    --accent:   #FF8533;
    --hairline: rgba(255,255,255,0.10);
    --card-bg:  #1A1A1A;
  }
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

/* --- Nav --------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
  z-index: 100;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--fg);
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; opacity: .8; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .125rem;
}
.nav-dropdown { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .375rem .7rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.nav-link:hover { background: var(--hairline); text-decoration: none; }
.nav-link.active { color: var(--accent); }
.nav-caret {
  opacity: .5;
  transition: transform .15s;
  flex-shrink: 0;
}

/* Dropdown */
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 172px;
  background: var(--card-bg);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  padding: .3rem;
  z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown.open .nav-caret { transform: rotate(180deg); opacity: .8; }
.dropdown-link {
  display: block;
  padding: .45rem .7rem;
  border-radius: 6px;
  font-size: .875rem;
  color: var(--fg);
  text-decoration: none;
  transition: background .12s;
}
.dropdown-link:hover { background: var(--hairline); text-decoration: none; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .375rem;
  color: var(--fg);
  border-radius: 6px;
}
.nav-hamburger:hover { background: var(--hairline); }

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: stretch;
    padding: .5rem 1rem .875rem;
    gap: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; align-items: center; }
  .nav-dropdown { width: 100%; }
  .nav-link { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0 0 .25rem .875rem;
    display: block !important;
    border-radius: 0;
  }
  .nav-dropdown .nav-link { font-weight: 600; font-size: .875rem; }
  .nav-caret { display: none; }
  .dropdown-link { font-size: .825rem; padding: .375rem .7rem; }
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: .825rem;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
}
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); transition: color .15s; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }

/* --- Shared page wrapper ----------------------------------- */
.page-body { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1; }

/* --- Badges ----------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2em .65em;
  border-radius: 4px;
}
.badge-available   { background: #dcfce7; color: #15803d; }
.badge-beta        { background: #fef9c3; color: #854d0e; }
.badge-dev         { background: #f1f5f9; color: #475569; }
@media (prefers-color-scheme: dark) {
  .badge-available { background: #052e16; color: #4ade80; }
  .badge-beta      { background: #422006; color: #fde047; }
  .badge-dev       { background: #1e293b; color: #94a3b8; }
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .575rem 1.2rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s, transform .1s, box-shadow .15s;
  text-decoration: none;
  border: none;
  font-family: inherit;
  line-height: 1;
}
.btn:hover { opacity: .85; text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--hairline);
  color: var(--fg);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-disabled {
  opacity: .45 !important;
  cursor: not-allowed !important;
  pointer-events: none;
  transform: none !important;
}

/* --- Home page -------------------------------------------- */
.home-hero {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 5.5rem) 1.5rem 2.5rem;
}
.home-hero .logo {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 0 1rem;
  color: var(--fg);
}
.home-hero .logo .wordmark-text { fill: currentColor; }
.home-hero .logo .accent-stroke { stroke: var(--accent); fill: none; }
.home-hero .logo .accent-fill   { fill: var(--accent); }
.home-tagline {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1rem;
  letter-spacing: -.005em;
}
.home-mission {
  font-size: 1.05rem;
  margin: 0 0 3.5rem;
  max-width: 500px;
  line-height: 1.65;
}

.home-products {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 5.5rem;
}
.home-products-heading {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 0 0 1.25rem;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.125rem;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  text-decoration: none;
  color: var(--fg);
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  text-decoration: none;
}
.product-card-icon { width: 48px; height: 48px; margin-bottom: .25rem; }
.product-card-name { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.product-card-tagline { font-size: .875rem; color: var(--muted); line-height: 1.45; flex: 1; }
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--hairline);
}
.product-card-learn { font-size: .825rem; font-weight: 500; color: var(--accent); }

/* --- Product pages ---------------------------------------- */
.product-page-main { padding-top: var(--nav-h); }

.product-hero {
  padding: 4.5rem 1.5rem 3.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.product-hero-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin: 0 0 .6rem;
}
.product-hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 0 0 .5rem;
  line-height: 1.1;
}
.product-hero-tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.125rem;
}
.product-hero-desc {
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 0 1.75rem;
  line-height: 1.65;
}
.product-hero-meta {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-wrap: wrap;
}

/* Product sections */
.product-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--hairline);
}
.product-section-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin: 0 0 .5rem;
}
.product-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0 0 2.25rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
  gap: 1.125rem;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 1.375rem;
}
.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-title { font-size: .95rem; font-weight: 600; margin: 0 0 .325rem; }
.feature-desc  { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* Mockups */
.mockups-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.375rem;
}
.mockup-browser {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: .425rem;
  background: #f1f5f9;
  padding: .45rem .875rem;
  border-bottom: 1px solid #e2e8f0;
}
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.mockup-url {
  flex: 1;
  text-align: center;
  font-size: .68rem;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: .08rem .5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: -apple-system, system-ui, sans-serif;
}
.mockup-content { padding: 1.125rem; }

/* Mock UI elements (always light-mode appearance) */
.mock-label {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
  margin-bottom: .3rem;
}
.mock-title { font-size: .875rem; font-weight: 700; margin: 0 0 .625rem; color: #1a1a1a; }
.mock-row { display: flex; gap: .3rem; margin-bottom: .625rem; }
.mock-cell {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: .45rem .25rem;
  text-align: center;
}
.mock-cell-day { font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.mock-cell-type { font-size: .68rem; font-weight: 600; margin: .15rem 0; color: #1a1a1a; }
.mock-cell-dur  { font-size: .62rem; color: #94a3b8; }
.mock-cell.rest .mock-cell-type { color: #94a3b8; font-weight: 400; }
.mock-phase-tag {
  display: inline-block;
  font-size: .62rem;
  font-weight: 600;
  background: #fff7ed;
  color: #ea580c;
  border-radius: 4px;
  padding: .1rem .4rem;
  margin-bottom: .625rem;
}

.mock-chat { display: flex; flex-direction: column; gap: .5rem; }
.mock-chat-header {
  font-size: .72rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: .375rem;
  padding-bottom: .375rem;
  border-bottom: 1px solid #e2e8f0;
}
.mock-chat-sub { font-size: .65rem; color: #64748b; font-weight: 400; }
.mock-bubble {
  max-width: 86%;
  padding: .45rem .7rem;
  border-radius: 10px;
  font-size: .72rem;
  line-height: 1.5;
}
.mock-bubble.coach {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  align-self: flex-start;
  color: #1a1a1a;
  border-radius: 4px 10px 10px 10px;
}
.mock-bubble.user {
  background: #ea580c;
  color: #fff;
  align-self: flex-end;
  border-radius: 10px 4px 10px 10px;
}

.mock-big-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #64748b; margin-bottom: .2rem; }
.mock-big-number { font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; color: #1a1a1a; margin: 0; }
.mock-delta { font-size: .72rem; color: #16a34a; font-weight: 600; margin: .15rem 0 .75rem; }
.mock-chart { width: 100%; height: 56px; margin-bottom: .75rem; }
.mock-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .3rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: .78rem;
  color: #1a1a1a;
}
.mock-stat:last-child { border-bottom: none; }
.mock-stat-label { color: #64748b; }
.mock-stat-val { font-weight: 600; }

.mock-goal-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: .6rem .75rem;
  margin-bottom: .5rem;
}
.mock-goal-name { font-size: .78rem; font-weight: 600; margin: 0 0 .3rem; color: #1a1a1a; }
.mock-goal-row {
  display: flex;
  justify-content: space-between;
  font-size: .63rem;
  color: #64748b;
  margin-bottom: .35rem;
}
.mock-progress-bar { height: 5px; background: #e2e8f0; border-radius: 3px; overflow: hidden; }
.mock-progress-fill { height: 100%; border-radius: 3px; }
.mock-goal-sub { font-size: .6rem; color: #94a3b8; margin-top: .25rem; }

.mock-kanban { display: flex; gap: .5rem; }
.mock-col { flex: 1; min-width: 0; }
.mock-col-header {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748b;
  margin-bottom: .35rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid #e2e8f0;
}
.mock-job-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: .45rem .5rem;
  margin-bottom: .3rem;
}
.mock-job-co   { font-size: .68rem; font-weight: 600; color: #1a1a1a; }
.mock-job-role { font-size: .6rem; color: #64748b; }
.mock-job-date { font-size: .55rem; color: #94a3b8; margin-top: .15rem; }

.mock-tabs { display: flex; gap: 0; border-bottom: 1px solid #e2e8f0; margin-bottom: .75rem; }
.mock-tab {
  font-size: .68rem;
  padding: .3rem .6rem;
  font-weight: 500;
  color: #64748b;
  border-bottom: 2px solid transparent;
  cursor: default;
}
.mock-tab.active { color: #7c3aed; border-bottom-color: #7c3aed; font-weight: 600; }
.mock-job-title { font-size: .82rem; font-weight: 700; color: #1a1a1a; margin-bottom: .125rem; }
.mock-job-co-ws { font-size: .68rem; color: #64748b; margin-bottom: .625rem; }
.mock-round {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: .5rem .625rem;
  margin-bottom: .4rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.mock-status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.mock-status-dot.passed    { background: #16a34a; }
.mock-status-dot.scheduled { background: #ea580c; }
.mock-status-dot.pending   { background: #cbd5e1; }
.mock-round-body {}
.mock-round-title { font-size: .72rem; font-weight: 600; color: #1a1a1a; }
.mock-round-sub   { font-size: .63rem; color: #64748b; margin-top: .1rem; }

/* Audience section */
.audience-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; max-width: 540px; }
.audience-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; line-height: 1.55; }
.audience-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.audience-check svg { width: 10px; height: 10px; }

/* CTA banner */
.product-cta { max-width: var(--max-w); margin: 0 auto; padding: 2rem 1.5rem 5.5rem; }
.product-cta-inner {
  background: var(--card-bg);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.product-cta-text h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .3rem; }
.product-cta-text p  { font-size: .875rem; color: var(--muted); margin: 0; }
.product-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

/* --- About pages ------------------------------------------ */
.about-main {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4.5rem) 1.5rem 5.5rem;
}
.about-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 0 0 .6rem;
}
.about-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 0 0 1.75rem;
  line-height: 1.15;
}
.about-body { font-size: 1.0rem; line-height: 1.7; }
.about-body p { margin: 0 0 1.125rem; }
.about-body h2 {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 2.5rem 0 .625rem;
}
.about-body ul { padding-left: 1.25rem; margin: 0 0 1.125rem; }
.about-body li { margin-bottom: .4rem; }
.about-body hr { border: none; border-top: 1px solid var(--hairline); margin: 2.5rem 0; }
.about-body a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); transition: border-color .15s; }
.about-body a:hover { border-bottom-color: var(--accent); text-decoration: none; }

/* Contact email SVG */
.email-inline {
  display: inline-block;
  height: 1.35em;
  width: auto;
  vertical-align: middle;
  color: var(--accent);
}
.email-inline path { fill: currentColor; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 768px) {
  .product-hero-title { font-size: 2.25rem; }
  .product-cta-inner  { padding: 2rem; flex-direction: column; }
}
@media (max-width: 480px) {
  .home-hero .logo { max-width: 280px; }
  .home-hero { padding-top: calc(var(--nav-h) + 3rem); }
  .about-title { font-size: 1.875rem; }
  .product-hero-title { font-size: 1.875rem; }
  .mockups-row { grid-template-columns: 1fr; }
  .product-cta-inner { padding: 1.5rem; }
}
