/* ============================================================
   DESIGN 6: NORDIC EDITORIAL
   Merge of Design 1 (Nordic Minimal) + Design 5 (Classic Editorial)

   From Design 1: sage green accent, warm stone palette, clean
                  whitespace, minimal shadows, grid-bordered cards
   From Design 5: Playfair Display serif headings, Source Serif body,
                  editorial structure (eyebrow text, horizontal rules,
                  left-aligned hero), underline-only form inputs
   ============================================================ */

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

:root {
  /* Greens from Design 1 */
  --green:     #4a7c59;
  --green-dk:  #3d6b4a;
  --green-100: #e8f4ed;
  --green-50:  #f2f8f4;

  /* Stone/warm neutrals from Design 1 */
  --stone-50:  #fafaf8;
  --stone-100: #f4f3ef;
  --stone-200: #e8e6e0;
  --stone-400: #867e76;
  --stone-500: #5f5952;
  --stone-700: #3d3730;
  --stone-900: #1c1a16;

  --white: #ffffff;

  /* Fonts from Design 5 */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body:  'Source Serif 4', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;

  /* Terminal glow from Design 2 */
  --glow-green: 0 0 16px rgba(74,124,89,.18);
}

html { scroll-behavior: smooth; }

/* ── Blink cursor (from Design 2) ───────────────────── */
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.blink { animation: blink 1s step-end infinite; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--stone-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Layout ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.btn--sm   { padding: 8px 18px; }
.btn--lg   { padding: 14px 36px; font-size: 12px; }
.btn--full { width: 100%; justify-content: center; padding: 15px; font-size: 12px; }

.btn--primary {
  background: var(--green);
  color: var(--white);
}
.btn--primary:hover { background: var(--green-dk); }

.btn--ghost {
  background: transparent;
  color: var(--stone-900);
  border: 1.5px solid var(--stone-900);
}
.btn--ghost:hover {
  background: var(--stone-900);
  color: var(--white);
}

.btn--nav {
  font-family: var(--font-mono);
  color: var(--green);
  border: 1.5px solid var(--green);
  background: transparent;
}
.btn--nav:hover {
  background: var(--green);
  color: var(--white);
}

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--stone-900);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 900;
  color: var(--stone-900);
  text-decoration: none;
}

/* ── Hero ─────────────────────────────────────────────── */
/* Structure from Design 5 (left-aligned, eyebrow, rule)
   Colours from Design 1 (warm white background, sage accent)
   Scanline + glow from Design 2 */
.hero {
  background: var(--stone-50);
  padding: 88px 0 80px;
  border-bottom: 2px solid var(--stone-900);
  position: relative;
  overflow: hidden;
}
/* subtle radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(74,124,89,.07) 0%, transparent 70%);
  pointer-events: none;
}
/* scanline texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,.015) 3px,
    rgba(0,0,0,.015) 6px
  );
  pointer-events: none;
}
.hero__inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .5px;
  color: var(--green);
  border: 1px solid var(--stone-200);
  padding: 5px 14px;
  margin-bottom: 20px;
  background: rgba(74,124,89,.04);
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.5px;
  color: var(--stone-900);
}
.hero__rule {
  width: 64px;
  height: 3px;
  background: var(--green);
  margin: 28px 0;
}
.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--stone-700);
  max-width: 600px;
  line-height: 1.78;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__trust {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone-500);
}
.hero__trust span:not(.sep)::before { content: '// '; color: var(--green); opacity: .6; }
.hero__trust .sep { margin: 0 12px; color: var(--stone-200); }

/* ── Section commons ─────────────────────────────────── */
/* Editorial structure from Design 5, green accent from Design 1 */
.section-header {
  border-bottom: 1.5px solid var(--stone-900);
  margin-bottom: 48px;
  padding-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 900;
  color: var(--stone-900);
  letter-spacing: -.3px;
  text-align: left;
}
.section-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3px;
  color: var(--stone-500);
  margin-top: 6px;
  text-align: left;
}
.section-sub::before { content: '/* '; color: var(--green); opacity: .7; }
.section-sub::after  { content: ' */'; color: var(--green); opacity: .7; }

/* ── Pain ─────────────────────────────────────────────── */
/* Grid border style from Design 1, card hover from Design 1 */
.pain {
  background: var(--white);
  padding: 80px 0;
}
.pain__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border: 1px solid var(--stone-200);
}
.pain__card {
  padding: 36px 32px;
  border-right: 1px solid var(--stone-200);
  transition: background .15s;
  position: relative;
  overflow: hidden;
}
.pain__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.pain__card:last-child { border-right: none; }
.pain__card:hover { background: var(--stone-50); }
.pain__card:hover::before { transform: scaleX(1); }
.pain__icon {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 16px;
}
.pain__card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--stone-900);
  margin-bottom: 12px;
  line-height: 1.35;
}
.pain__card h3 em { font-style: italic; color: var(--green); }
.pain__card p { color: var(--stone-700); font-size: 15.5px; line-height: 1.72; font-weight: 400; }

/* ── How it works ───────────────────────────────────── */
/* Roman numerals from Design 5, green accent from Design 1 */
.how {
  padding: 80px 0;
  background: var(--stone-50);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: none;
  flex: 1 1 0;
  min-width: 260px;
  padding: 0 32px;
}
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step__body { width: 100%; }
.step__num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-green);
  letter-spacing: .5px;
}
.step__body h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--stone-900);
  margin-bottom: 0;
  border-bottom: 1px solid var(--stone-200);
  padding-bottom: 8px;
}
.step__body p {
  color: var(--stone-700);
  font-size: 14.5px;
  line-height: 1.72;
  font-weight: 400;
  margin-top: 10px;
}
.step__connector {
  flex: 0 0 1px;
  width: 1px;
  height: 100px;
  background: var(--stone-200);
  align-self: flex-start;
  margin-top: 24px;
}

/* ── Benefits ─────────────────────────────────────────── */
/* Grid border style from Design 1 */
.benefits {
  background: var(--white);
  padding: 80px 0;
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--stone-200);
}
.benefit {
  padding: 32px 28px;
  border-right: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
  transition: background .15s;
}
.benefit:hover {
  background: var(--green-50);
}
.benefit__icon { font-size: 26px; margin-bottom: 14px; }
.benefit h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
  letter-spacing: .2px;
}
.benefit p { font-size: 14px; color: var(--stone-700); line-height: 1.68; font-weight: 400; }

/* ── Proof ─────────────────────────────────────────────── */
/* Grid border style from Design 1, serif quote from Design 5 */
.proof {
  padding: 80px 0;
  background: var(--stone-50);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border: 1px solid var(--stone-200);
}
.testimonial {
  padding: 36px 32px;
  border-right: 1px solid var(--stone-200);
}
.testimonial:last-child { border-right: none; }
.testimonial p {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  color: var(--stone-700);
  margin-bottom: 20px;
  line-height: 1.72;
}
.testimonial p::before { content: '\201C'; color: var(--green); font-weight: 900; }
.testimonial p::after  { content: '\201D'; color: var(--green); font-weight: 900; }
.testimonial cite {
  display: flex;
  flex-direction: column;
  font-style: normal;
  gap: 2px;
  border-top: 1px solid var(--stone-200);
  padding-top: 14px;
}
.testimonial cite strong {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--stone-900);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.testimonial cite span { font-family: var(--font-sans); font-size: 12px; color: var(--stone-500); }

/* ── Founder ───────────────────────────────────────────── */
.founder {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.founder__inner {
  max-width: 820px;
}
.founder__lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--stone-900);
  margin-bottom: 18px;
}
.founder__text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--stone-700);
  margin-bottom: 28px;
}

/* ── Contact / Form ─────────────────────────────────── */
/* Dark bg from Design 1 contact, serif heading from Design 5,
   underline inputs from Design 5 */
.contact {
  background: var(--stone-900);
  padding: 80px 0;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.4px;
  line-height: 1.1;
}
.contact__rule {
  width: 48px;
  height: 3px;
  background: var(--green);
  margin: 20px 0;
}
.contact__copy p { color: #d8d2cb; font-size: 15.5px; line-height: 1.78; margin-bottom: 28px; font-weight: 400; font-family: var(--font-body); }
.contact__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact__checklist li {
  font-family: var(--font-sans);
  color: #e7e1da;
  font-size: 13px;
  padding-left: 20px;
  position: relative;
}
.contact__checklist li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* Form: stone bg, underline inputs (Design 5), green focus (Design 1) */
.form {
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  padding: 40px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form__group label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: .8px;
  text-transform: uppercase;
}
.form__group input,
.form__group select,
.form__group textarea {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--stone-900);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--stone-200);
  border-radius: 0;
  padding: 8px 0;
  transition: border-color .15s;
  outline: none;
  width: 100%;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-bottom-color: var(--green);
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--stone-500); font-weight: 400; }
.form__group textarea { resize: vertical; min-height: 80px; }
.form__group select { cursor: pointer; }

.form__privacy {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--stone-500);
  margin-top: 14px;
  letter-spacing: .3px;
}
.form__privacy a { color: var(--stone-500); }

.form--success { text-align: center; padding: 60px 32px; }
.form--success .success-icon { font-size: 44px; margin-bottom: 16px; }
.form--success h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--stone-900); margin-bottom: 8px; }
.form--success p  { color: var(--stone-500); font-size: 15px; }

/* ── Footer ─────────────────────────────────────────── */
.footer {
  background: var(--stone-50);
  border-top: 2px solid var(--stone-900);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .nav__logo { color: var(--stone-900); font-family: var(--font-serif); }
.footer__copy {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--stone-500);
  margin-left: auto;
  letter-spacing: .2px;
}
.footer__copy a { color: var(--stone-500); text-decoration: none; }
.footer__copy a:hover { color: var(--stone-900); }
.footer__tagline { font-family: var(--font-sans); font-size: 12px; color: var(--stone-500); display: none; }
.footer__link {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--stone-500);
  text-decoration: none;
}
.footer__link:hover { color: var(--stone-900); }

/* ── Security transparency ───────────────────────────── */
.security {
  background: var(--stone-100);
  padding: 80px 0;
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.security__intro {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--stone-700);
  max-width: 760px;
  margin-bottom: 48px;
  font-weight: 400;
}
.security__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border: 1px solid var(--stone-200);
}
.security__risk {
  padding: 32px 28px;
  border-right: 1px solid var(--stone-200);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.security__risk:last-child { border-right: none; }
.security__risk-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--stone-700);
  background: var(--stone-100);
  display: inline-block;
  padding: 3px 8px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.security__risk h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--stone-900);
  margin-bottom: 10px;
  line-height: 1.35;
}
.security__risk > p {
  font-size: 14px;
  color: var(--stone-500);
  line-height: 1.7;
  font-weight: 300;
  flex: 1;
}
.security__solution {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--stone-200);
}
.security__solution-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.security__solution p {
  font-size: 13.5px;
  color: var(--stone-700);
  line-height: 1.68;
  font-weight: 400;
}

/* ── About page ──────────────────────────────────────── */
.page-hero {
  background: var(--stone-50);
  padding: 88px 0 72px;
  border-bottom: 2px solid var(--stone-900);
}
.page-hero__inner {
  max-width: 760px;
}
.page-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  border: 1px solid var(--stone-200);
  padding: 5px 14px;
  margin-bottom: 20px;
  background: rgba(74,124,89,.04);
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  color: var(--stone-900);
  letter-spacing: -.5px;
}
.page-hero__text {
  margin-top: 26px;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.78;
  color: var(--stone-700);
}
.profile {
  padding: 80px 0;
  background: var(--white);
}
.profile__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.profile__card {
  border: 1px solid var(--stone-200);
  background: var(--stone-50);
  padding: 28px;
  position: sticky;
  top: 84px;
}
.profile__image {
  aspect-ratio: 4 / 5;
  width: 100%;
  border: 1px solid var(--stone-200);
  margin-bottom: 18px;
  object-fit: cover;
  display: block;
}
.profile__name {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--stone-900);
  margin-bottom: 6px;
}
.profile__role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 14px;
}
.profile__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--stone-700);
}
.profile__body h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--stone-900);
  margin-bottom: 18px;
}
.profile__body p {
  font-size: 16px;
  line-height: 1.82;
  color: var(--stone-700);
  margin-bottom: 18px;
}
.profile__facts {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 28px 0;
}
.profile__facts li {
  border-top: 1px solid var(--stone-200);
  padding-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone-700);
}
.profile__facts strong {
  color: var(--stone-900);
  font-weight: 600;
}

/* ── Nav CTA short/long text ─────────────────────────── */
.nav__cta-short { display: none; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .form { padding: 32px 28px; }
  .form__row { grid-template-columns: 1fr; }
  .step__connector { display: none; }
  .steps { flex-direction: column; align-items: flex-start; gap: 36px; }
  .step { padding: 0; }
  .footer__copy { margin-left: 0; }
  .footer__tagline { display: block; width: 100%; }
  .pain__card { border-right: none; border-bottom: 1px solid var(--stone-200); }
  .pain__card:last-child { border-bottom: none; }
  .testimonial { border-right: none; border-bottom: 1px solid var(--stone-200); }
  .testimonial:last-child { border-bottom: none; }
  .benefit { border-right: none; }
  .benefit:last-child { border-bottom: none; }
  .security__risk { border-right: none; border-bottom: 1px solid var(--stone-200); }
  .security__risk:last-child { border-bottom: none; }
  .profile__inner { grid-template-columns: 1fr; gap: 32px; }
  .profile__card { position: static; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Nav */
  .nav__inner { height: 52px; }
  .nav__logo { font-size: 17px; gap: 8px; }
  .nav__logo img { width: 24px; height: 24px; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
  .nav .btn--sm { padding: 6px 12px; font-size: 11px; }

  /* Hero */
  .hero { padding: 52px 0 48px; }
  .hero__headline { font-size: clamp(28px, 8vw, 38px); }
  .hero__sub { font-size: 16px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .hero__trust { flex-direction: column; gap: 6px; }
  .hero__trust .sep { display: none; }

  /* Sections */
  .pain, .how, .benefits, .proof, .contact, .security, .founder { padding: 52px 0; }
  .section-header { margin-bottom: 32px; }

  /* Form */
  .form { padding: 20px 16px; }
  .form__group { margin-bottom: 16px; }

  /* Footer */
  .footer__inner { flex-direction: column; gap: 14px; align-items: flex-start; }
  .footer__copy { margin-left: 0; }

  /* Contact */
  .contact__inner { gap: 32px; }
}
