/* NeuroPloy v1 */

:root {
  --bg:           #F7F5F0;
  --bg-alt:       #EDEAE2;
  --bg-dark:      #1A2B45;
  --text:         #1A1A1A;
  --text-sec:     #6B6660;
  --accent:       #1D3461;
  --accent-hov:   #152649;
  --border:       #D9D4C8;
  --border-lt:    #E8E4DA;
  --white:        #FFFFFF;
  --max-w:        1100px;
  --r:            4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; }
p { max-width: 62ch; }
p + p { margin-top: 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hov); border-color: var(--accent-hov); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent); color: var(--white); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text); text-decoration: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem; gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-links {
  display: flex; align-items: center; gap: 1.5rem;
  list-style: none; font-size: 0.88rem; flex: 1; justify-content: center;
}
.nav-links a { color: var(--text-sec); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); text-decoration: none; }
.nav-links .close-btn { display: none; }
.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 0.25rem;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.2s;
}

/* Sections */
section { padding-block: 5rem; }
section.tight { padding-block: 3.5rem; }
section.dark { background: var(--bg-dark); color: var(--white); }
section.dark h2 { color: var(--white); }
section.dark p { color: rgba(255,255,255,0.78); max-width: 62ch; }
section.alt { background: var(--bg-alt); }

/* Hero */
.hero { padding-block: 6rem 5rem; }
.hero-label {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.25rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero .subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-sec); margin-bottom: 2rem; max-width: 52ch;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-proof {
  display: flex; gap: 2rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid var(--border); flex-wrap: wrap;
}
.proof-item {
  font-size: 0.83rem; color: var(--text-sec);
  display: flex; align-items: center; gap: 0.5rem;
}
.proof-item::before {
  content: ''; display: inline-block; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}

/* Section headers */
.section-label {
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-sec); }

/* Process */
.process-flow {
  font-size: 0.85rem; color: var(--text-sec); letter-spacing: 0.02em;
  margin-bottom: 3rem; font-weight: 500;
}
.process-flow .arrow { color: var(--accent); font-weight: 700; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.step-card {
  padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--r);
  background: var(--white);
}
.step-number {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.step-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.88rem; color: var(--text-sec); max-width: none; }

/* ICP */
.fit-list { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
.fit-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.93rem; }
.fit-list li::before { content: "→"; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Offer cards */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.offer-card {
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--white); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.offer-card.featured { border-color: var(--accent); border-width: 2px; }
.offer-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.offer-card h3 { font-size: 1.2rem; }
.offer-price { font-size: 1.35rem; font-weight: 700; }
.offer-price .note { font-size: 0.8rem; font-weight: 400; color: var(--text-sec); }
.offer-description { font-size: 0.9rem; color: var(--text-sec); max-width: none; }
.offer-includes { list-style: none; display: grid; gap: 0.5rem; font-size: 0.87rem; }
.offer-includes li { display: flex; gap: 0.6rem; align-items: flex-start; }
.offer-includes li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.offer-outcome {
  font-size: 0.87rem; color: var(--text-sec); font-style: italic;
  padding-top: 0.75rem; border-top: 1px solid var(--border-lt); max-width: none;
}
.offer-card .btn { margin-top: auto; align-self: flex-start; }

/* Founder */
.founder-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.founder-image-placeholder {
  aspect-ratio: 3/4; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r); display: flex; align-items: center; justify-content: center;
  color: var(--text-sec); font-size: 0.8rem; text-align: center; max-width: 260px;
  padding: 1rem;
}
.founder-trust { list-style: none; display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.founder-trust li { font-size: 0.9rem; color: var(--text-sec); display: flex; gap: 0.6rem; align-items: flex-start; }
.founder-trust li::before { content: "—"; color: var(--accent); flex-shrink: 0; }

/* Secondary offer cards */
.secondary-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.secondary-card { border: 1px solid var(--border); border-radius: var(--r); padding: 1.75rem; background: var(--white); }
.secondary-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.secondary-card p { font-size: 0.88rem; color: var(--text-sec); margin-bottom: 1.25rem; max-width: none; }

/* Differentiation */
.diff-lines { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.diff-lines p { font-size: 0.95rem; color: var(--text-sec); max-width: none; }
.diff-lines p::before { content: "→  "; color: var(--accent); font-weight: 700; }

/* How to choose */
.choose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.choose-card { border: 1px solid var(--border); border-radius: var(--r); padding: 1.75rem; background: var(--white); }
.choose-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--accent); margin-bottom: 0.75rem; }
.choose-card ul { list-style: none; display: grid; gap: 0.5rem; }
.choose-card ul li { font-size: 0.87rem; color: var(--text-sec); display: flex; gap: 0.5rem; align-items: flex-start; }
.choose-card ul li::before { content: "·"; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Engagement path */
.path-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.path-item {
  border: 1px solid var(--border); border-radius: var(--r); padding: 0.75rem 1.25rem;
  background: var(--white); font-size: 0.88rem; font-weight: 600;
}
.path-arrow { font-size: 1.25rem; color: var(--accent); font-weight: 700; }

/* CTA section */
.cta-section { text-align: center; padding-block: 6rem; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section > .container > p { margin-inline: auto; color: rgba(255,255,255,0.78); margin-bottom: 2rem; }

/* Service pages */
.service-copy p { color: var(--text-sec); }
.service-copy .fit-list { margin-top: 1.5rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.service-grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service-card {
  border: 1px solid var(--border); border-radius: var(--r); background: var(--white);
  padding: 1.75rem;
}
.service-card h3 { font-size: 1rem; margin-bottom: 0.65rem; }
.service-card p { font-size: 0.9rem; color: var(--text-sec); max-width: none; }

/* Method */
.method-steps { display: grid; gap: 2rem; margin-top: 2rem; }
.method-step { display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; align-items: start; }
.method-step-num {
  width: 48px; height: 48px; border: 2px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.method-step-content h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.method-step-content p { font-size: 0.93rem; color: var(--text-sec); max-width: none; }
.method-step-content ul { list-style: none; margin-top: 0.75rem; display: grid; gap: 0.4rem; }
.method-step-content ul li { font-size: 0.88rem; color: var(--text-sec); display: flex; gap: 0.6rem; }
.method-step-content ul li::before { content: "→"; color: var(--accent); flex-shrink: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 5rem; align-items: start; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.87rem; font-weight: 600; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--r);
  background: var(--white); font-family: inherit; font-size: 0.93rem; color: var(--text);
  transition: border-color 0.15s; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.78rem; color: var(--text-sec); margin-top: -0.5rem; }
.contact-sidebar h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.contact-sidebar p { font-size: 0.9rem; color: var(--text-sec); max-width: none; }
.routing-note {
  margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--border);
  border-radius: var(--r); background: var(--white); font-size: 0.87rem;
  color: var(--text-sec); line-height: 1.75;
}
.routing-note strong { color: var(--text); }

/* About */
.about-intro-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.learned-blocks { display: grid; gap: 2rem; margin-top: 1.5rem; }
.learned-block { padding: 1.5rem; border-left: 3px solid var(--accent); }
.learned-block h4 { margin-bottom: 0.5rem; font-size: 0.93rem; }
.learned-block p { font-size: 0.9rem; color: var(--text-sec); max-width: none; }


/* Proof, samples, newsletter */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.is-hidden { display: none !important; }
.equal-offers { align-items: stretch; }
.sample-brief-card {
  margin-top: 2rem; border: 1px solid var(--border); border-radius: var(--r);
  background: var(--white); padding: 1.75rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.sample-brief-card h3, .sample-brief-card h2 { margin-bottom: 0.5rem; }
.sample-brief-card p { color: var(--text-sec); max-width: 60ch; }
.testimonials-block {
  margin-top: 1.5rem; border: 1px dashed var(--border); border-radius: var(--r);
  padding: 1.5rem; background: rgba(255,255,255,0.55);
}
.footer-newsletter { max-width: 320px; }
.footer-newsletter p:not(.footer-nav-label) { font-size: 0.83rem; color: var(--text-sec); max-width: none; margin-bottom: 0.9rem; }
.newsletter-form { display: grid; gap: 0.65rem; }
.newsletter-form input {
  width: 100%; padding: 0.72rem 0.85rem; border: 1px solid var(--border);
  border-radius: var(--r); background: var(--white); font-family: inherit; font-size: 0.9rem;
}
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-form .btn { width: 100%; text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding-block: 3rem; background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto minmax(260px, 320px); gap: 2rem; align-items: start; }
.footer-brand p { font-size: 0.83rem; color: var(--text-sec); margin-top: 0.75rem; max-width: 36ch; }
.footer-nav-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-sec); margin-bottom: 0.75rem; }
.footer-links { list-style: none; display: grid; gap: 0.45rem; }
.footer-links a { font-size: 0.87rem; color: var(--text-sec); }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-lt);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-sec); max-width: none; }
.social-link { font-size: 0.83rem; color: var(--text-sec); font-weight: 500; }
.social-link:hover { color: var(--accent); text-decoration: none; }


/* Studio page */
.studio-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.studio-panel {
  border: 1px solid var(--border); border-radius: var(--r); background: var(--white);
  padding: 2rem; box-shadow: 0 18px 50px rgba(29, 52, 97, 0.08);
}
.panel-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.panel-row {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-lt); font-size: 0.92rem;
}
.panel-row span {
  width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--accent);
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.panel-note { margin-top: 1.25rem; color: var(--text-sec); font-size: 0.88rem; max-width: none; }
.architecture-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.architecture-card {
  position: relative; border: 1px solid var(--border); border-radius: var(--r); background: var(--white);
  padding: 1.75rem; min-height: 230px;
}
.architecture-card span {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
  color: var(--white); align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 700;
  margin-bottom: 1rem;
}
.architecture-card h3 { font-size: 1rem; margin-bottom: 0.65rem; }
.architecture-card p { font-size: 0.9rem; color: var(--text-sec); max-width: none; }

@media (max-width: 800px) {
  .studio-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Responsive */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: var(--bg); z-index: 200;
    align-items: center; justify-content: center;
    gap: 2rem; font-size: 1.1rem;
  }
  .nav-links.open .close-btn {
    position: absolute; top: 1.25rem; right: 1.5rem;
    background: none; border: none; font-size: 1.5rem; cursor: pointer;
  }
  .founder-grid, .about-intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .founder-image-placeholder { max-width: 200px; aspect-ratio: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  section { padding-block: 3.5rem; }
  .hero { padding-block: 4rem 3rem; }
}

@media (max-width: 520px) {
  .hero-ctas, .sample-brief-card { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; text-align: center; }
  .path-row { flex-direction: column; align-items: flex-start; }
}
