/* Turnkey Regenerative — Design System v2 */
/* Based on Dean's original Next.js site content, rebuilt as static HTML */
/* Fonts: Source Sans 3 + Source Code Pro */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;600;700&family=Source+Code+Pro:wght@400;500&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-tint: #eef5f5;
  --bg-dark: #0a2540;
  --bg-dark-2: #0d253d;
  --text: #425466;
  --text-light: #6b7c93;
  --heading: #061b31;
  --accent: #0d7377;
  --accent-hover: #0a5c5f;
  --accent-light: #e8f4f4;
  --accent-glow: rgba(13,115,119,0.08);
  --border: #e2e8f0;
  --border-dark: rgba(255,255,255,0.12);
  --amber-bg: #fdf8f0;
  --amber-text: #9b6829;
  --shadow: rgba(23,23,23,0.08) 0px 15px 35px 0px;
  --shadow-sm: rgba(23,23,23,0.05) 0px 4px 12px 0px;
  --shadow-lg: rgba(23,23,23,0.12) 0px 20px 50px 0px;
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --max-width: 1200px;
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Source Code Pro', 'SF Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--heading); font-weight: 300; line-height: 1.2; }
h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.375rem; font-weight: 400; }
h4 { font-size: 1.0625rem; font-weight: 600; }

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

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

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 0; left: 0; width: auto; height: auto; padding: 12px 20px; background: var(--accent); color: #fff; z-index: 9999; border-radius: 0 0 6px 0; }

/* Notice bar */
.notice { background: var(--amber-bg); border-bottom: 1px solid #f0e6d2; padding: 10px 0; font-size: 0.8125rem; color: var(--amber-text); text-align: center; }
.notice strong { font-weight: 600; }

/* Header */
.site-header { background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 600; color: var(--heading); letter-spacing: -0.01em; }
.logo__mark { width: 36px; height: 36px; border-radius: 8px; background: var(--accent); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.9375rem; font-weight: 700; font-family: var(--font-mono); }
.logo__text { line-height: 1.1; }
.logo__text small { display: block; font-size: 0.625rem; font-weight: 400; color: var(--text-light); letter-spacing: 0.03em; }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a { color: var(--text); font-size: 0.9375rem; font-weight: 400; }
.nav a:hover { color: var(--accent); }
.nav a.active { color: var(--accent); font-weight: 600; }

.btn { display: inline-block; padding: 12px 24px; border-radius: var(--radius); font-size: 0.9375rem; font-weight: 600; font-family: var(--font-sans); border: none; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn--secondary:hover { background: var(--accent-light); color: var(--accent-hover); }
.btn--light { background: #fff; color: var(--bg-dark); }
.btn--light:hover { background: var(--bg-soft); color: var(--heading); }
.btn--large { padding: 16px 36px; font-size: 1rem; }
.btn--block { display: block; width: 100%; text-align: center; }

/* HERO */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
.hero__bg::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%); }
.hero__content { position: relative; z-index: 1; padding: 96px 0 80px; }
.hero__content .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero__eyebrow { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 20px; }
.hero__title { font-size: 3rem; font-weight: 300; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 24px; color: var(--heading); }
.hero__title strong { font-weight: 700; }
.hero__subtitle { font-size: 1.1875rem; color: var(--text); margin-bottom: 32px; max-width: 560px; line-height: 1.5; }
.hero__tagline { font-size: 1.125rem; font-weight: 600; color: var(--heading); margin-bottom: 28px; }
.hero__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero__pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.hero__pill { font-size: 0.8125rem; font-weight: 600; color: var(--accent); background: var(--accent-light); padding: 6px 14px; border-radius: 20px; }

.hero__image { position: relative; z-index: 1; }
.hero__image img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

/* Sections */
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--bg-dark); color: #c8d4e0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { text-align: center; margin-bottom: 56px; max-width: 680px; margin-left: auto; margin-right: auto; }
.section__head .eyebrow { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 12px; }
.section__head h2 { margin-bottom: 12px; }
.section__head p { font-size: 1.0625rem; color: var(--text); }

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

/* Image-text split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__img img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.split__img--reverse { order: -1; }

/* Cards */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s; }
.card:hover { box-shadow: var(--shadow); border-color: var(--accent); transform: translateY(-2px); }
.card__number { font-family: var(--font-mono); font-size: 0.875rem; font-weight: 500; color: var(--accent); margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.9375rem; color: var(--text); margin-bottom: 0; }
.card a.card-link { display: block; margin-top: 20px; font-size: 0.9375rem; font-weight: 600; }
.card__arrow { font-size: 0.875rem; }

/* Feature cards with icons */
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.feature-card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.25rem; }
.feature-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9375rem; color: var(--text); }

/* Step cards (numbered) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.step { text-align: center; position: relative; }
.step__num { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; font-family: var(--font-mono); margin: 0 auto 24px; box-shadow: 0 0 0 8px var(--accent-light); }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { font-size: 0.9375rem; color: var(--text); max-width: 280px; margin: 0 auto; }

/* Feature list */
.feature-list { list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }
.feature-list .check { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; flex-shrink: 0; margin-top: 2px; font-weight: 700; }
.feature-list .label { font-size: 0.9375rem; color: var(--text); }
.feature-list .label strong { color: var(--heading); font-weight: 600; }

/* Data panel */
.data-panel { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.data-panel__header { padding: 16px 24px; border-bottom: 1px solid var(--border); background: #fff; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--heading); }
.data-panel__row { display: flex; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.data-panel__row:last-child { border-bottom: none; }
.data-panel__row dt { color: var(--text); font-weight: 400; }
.data-panel__row dd { color: var(--heading); font-weight: 500; font-family: var(--font-mono); font-size: 0.875rem; }

/* CTA */
.cta { position: relative; overflow: hidden; padding: 80px 0; text-align: center; background: var(--bg-dark); }
.cta__bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.12; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(10,37,64,0.85) 0%, rgba(10,37,64,0.6) 100%); }
.cta__content { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 16px; font-size: 2.25rem; }
.cta p { color: #c8d4e0; font-size: 1.0625rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Events */
.event-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s; }
.event-card:hover { box-shadow: var(--shadow); }
.event-card__date { display: inline-block; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--accent); font-weight: 500; }
.event-card h3 { font-size: 1.25rem; }
.event-card__loc { font-size: 0.875rem; color: var(--text-light); }
.event-card__price { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 500; color: var(--heading); }
.event-card__price small { font-size: 0.75rem; color: var(--text-light); }

/* Form */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9375rem; font-family: var(--font-sans); background: #fff; color: var(--text); transition: border-color 0.15s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group .hint { font-size: 0.8125rem; color: var(--text-light); margin-top: 4px; }

/* Contact form box */
.contact-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow); }
.contact-box h3 { margin-bottom: 24px; }

/* Portal */
.portal-login { max-width: 440px; margin: 80px auto; padding: 48px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.portal-login h1 { font-size: 1.625rem; text-align: center; margin-bottom: 8px; }
.portal-login p { text-align: center; color: var(--text); margin-bottom: 28px; font-size: 0.9375rem; }

/* Footer */
.footer { background: var(--bg-dark); color: #8a9bb0; padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer__brand h3 { color: #fff; font-size: 1.0625rem; margin-bottom: 10px; }
.footer__brand p { font-size: 0.875rem; line-height: 1.5; }
.footer__col h4 { color: #fff; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: #8a9bb0; font-size: 0.875rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid var(--border-dark); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; }
.footer__disclaimer { font-size: 0.75rem; color: #6a7b90; margin-top: 16px; line-height: 1.5; }

/* Breadcrumbs */
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 0.8125rem; color: var(--text-light); margin-bottom: 24px; }
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--border); }

/* Page hero */
.page-hero { padding: 56px 0 40px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 12px; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { font-size: 1.0625rem; max-width: 680px; color: var(--text); }

/* Case study */
.case-study-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s; }
.case-study-card:hover { box-shadow: var(--shadow); }
.case-study-card__tag { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent); background: var(--accent-light); padding: 4px 12px; border-radius: 4px; align-self: flex-start; }
.case-study-card h3 { font-size: 1.125rem; }
.case-study-card p { font-size: 0.9375rem; color: var(--text); }
.case-study-card__meta { font-size: 0.8125rem; color: var(--text-light); font-family: var(--font-mono); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }

/* Confirmation */
.confirm { max-width: 480px; margin: 80px auto; text-align: center; padding: 40px; }
.confirm__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 2.25rem; margin: 0 auto 28px; font-weight: 700; }
.confirm h1 { font-size: 1.625rem; margin-bottom: 12px; }
.confirm p { color: var(--text); margin-bottom: 24px; }

/* Full-width image band */
.image-band { position: relative; height: 320px; overflow: hidden; }
.image-band img { width: 100%; height: 100%; object-fit: cover; }
.image-band::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(10,37,64,0.2) 0%, rgba(10,37,64,0.6) 100%); }
.image-band__caption { position: absolute; bottom: 24px; left: 0; right: 0; z-index: 1; }
.image-band__caption .container { color: #fff; }
.image-band__caption p { font-size: 0.9375rem; color: rgba(255,255,255,0.9); max-width: 560px; }

/* Tag pills */
.tag { display: inline-block; font-family: var(--font-mono); font-size: 0.8125rem; background: var(--accent-light); color: var(--accent); padding: 4px 12px; border-radius: 4px; font-weight: 500; }

/* Responsive */
@media (max-width: 968px) {
  .hero__content .container, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero__title { font-size: 2.25rem; }
  .split__img--reverse { order: 0; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 12px; }
  .section { padding: 56px 0; }
  .hero__content { padding: 56px 0; }
  .hero__title { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .cta h2 { font-size: 1.75rem; }
}

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--heading); cursor: pointer; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); flex-direction: column; padding: 20px 24px; gap: 16px; z-index: 99; box-shadow: var(--shadow); }
}
