/* ==========================================================================
   Seven Minute Modules · temporary static landing page
   No build system. Plain CSS, mobile-first.
   ========================================================================== */

:root {
  /* Brand palette, sampled from 7mm-logo.png and 7MM-005b concept */
  --green-deep: #2d6150;
  --green-deeper: #24503f;
  --green-line: #3a7361;
  --mint: #58d08d;
  --mint-soft: #8fe2b4;
  --mint-pale: #e7f7ee;
  --ink: #1f2a35;
  --ink-soft: #44525f;
  --paper: #ffffff;
  --paper-alt: #f4f8f6;
  --border: #dfe9e4;

  /* Assurance grade scale */
  --grade-a: #2f9e55;
  --grade-b: #e8b416;
  --grade-c: #ec8b2d;
  --grade-d: #d94f46;

  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 8px 28px rgba(31, 42, 53, 0.10);
  --container: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; }

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

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green-deep);
  border-bottom: 1px solid var(--green-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-logo {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-name strong { color: var(--mint); font-weight: 700; }

.site-nav {
  display: flex;
  gap: 26px;
}

.site-nav a {
  color: #e9f4ee;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--mint); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ------------------------------------------------------------------ hero */

.hero {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04) 0 2px,
      transparent 2px 26px
    ),
    linear-gradient(160deg, var(--green-deep) 0%, var(--green-deeper) 100%);
  color: #fff;
  padding: 72px 0 84px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mint-soft);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  font-weight: 800;
}

.hero h1 .accent { color: var(--mint); }

.hero-sub {
  font-size: 1.08rem;
  color: #dcebe3;
  max-width: 56ch;
  margin: 18px 0 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
}

.hero-chips li {
  border: 1px solid var(--green-line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--mint-pale);
}

/* dial visual */

.hero-visual { display: flex; justify-content: center; }

.hero-icon {
  width: clamp(200px, 24vw, 250px);
  height: auto;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 22px;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--mint);
  color: var(--ink);
}

.btn-primary:hover { background: var(--mint-soft); }

.btn-ghost {
  border: 1.5px solid var(--mint);
  color: var(--mint);
}

.btn-ghost:hover { background: rgba(88, 208, 141, 0.12); }

.btn-outline {
  border: 1.5px solid var(--green-deep);
  color: var(--green-deep);
}

.btn-outline:hover { background: var(--mint-pale); }

.btn-download.is-unavailable {
  background: var(--border);
  color: var(--ink-soft);
  pointer-events: none;
}

/* -------------------------------------------------------------- sections */

.section { padding: 72px 0; }

.section-alt { background: var(--paper-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--green-deeper);
}

.section-head p { color: var(--ink-soft); margin: 0; }

/* ----------------------------------------------------------------- cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card h3 { font-size: 1.15rem; font-weight: 700; }

.card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 1em; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--mint-pale);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.paper-card .btn { margin-top: auto; align-self: flex-start; }

.paper-id {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-deep);
  margin: 0 0 8px;
}

/* --------------------------------------------------------------- example */

.example-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.example-body { padding: 32px; }

.example-body h3 { font-size: 1.4rem; }

.example-body p { color: var(--ink-soft); }

.example-status {
  font-size: 0.85rem;
  background: var(--mint-pale);
  border-left: 4px solid var(--mint);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin: 18px 0 22px;
}

.example-meta {
  background: var(--green-deep);
  color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--green-line);
  padding-bottom: 10px;
  font-size: 0.92rem;
}

.meta-row span { color: var(--mint-soft); }

/* ------------------------------------------------------------- assurance */

.grade-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
  max-width: 720px;
}

.grade {
  border-radius: 12px;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-head);
}

.grade strong { font-size: 1.5rem; font-weight: 800; }

.grade span { font-size: 0.85rem; font-weight: 500; opacity: 0.95; }

.grade-a { background: var(--grade-a); }
.grade-b { background: var(--grade-b); color: var(--ink); }
.grade-c { background: var(--grade-c); }
.grade-d { background: var(--grade-d); }

.assurance-figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.assurance-figure img { border-radius: 8px; }

.assurance-figure figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 12px 6px 2px;
}

/* ------------------------------------------------------------ trust band */

.trust-figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.trust-figure a { display: block; }

.trust-figure img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.trust-figure figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 12px 6px 2px;
  text-align: center;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink);
  color: #c7d2dc;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-head);
  color: #fff;
  font-weight: 500;
  margin: 0 0 6px;
}

.footer-brand strong { color: var(--mint); }

.footer-small { font-size: 0.82rem; margin: 0; max-width: 48ch; }

.footer-note { text-align: right; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero { padding: 48px 0 60px; }

  .card-grid { grid-template-columns: 1fr; }

  .example-card { grid-template-columns: 1fr; }
  .example-meta { padding: 24px 32px; }

  .grade-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-note { text-align: left; }
}

@media (max-width: 880px) {
  .brand-name { display: none; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--green-deeper);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--green-line);
    display: none;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a { padding: 14px 24px; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   Phase 2 additions: multi-page chrome, journey + proof components.
   Reuses the tokens and patterns above; new class names only, appended so the
   cascade order is predictable. Mobile overrides at the very end.
   ========================================================================== */

/* anchor targets clear the sticky header */
:target { scroll-margin-top: 84px; }

/* ----------------------------------------------------- language toggle */

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--green-line);
}

.lang-toggle a {
  color: #e9f4ee;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.lang-toggle a:hover { color: var(--mint); opacity: 1; }
.lang-toggle a[aria-current="true"] { color: var(--mint); opacity: 1; }

.site-nav > a[data-nav][aria-current="page"] { color: var(--mint); }

/* ----------------------------------------------------- footer nav */

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav a {
  color: #c7d2dc;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-nav a:hover { color: var(--mint); }

/* ----------------------------------------------------- compact hero (interior pages) */

.hero--compact { padding: 58px 0 50px; }

.hero--compact h1 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }

.hero-sublabel {
  font-family: var(--font-head);
  color: var(--mint-soft);
  font-size: 0.98rem;
  margin: 0 0 12px;
}

.breadcrumb-back { margin: 20px 0 0; font-size: 0.9rem; }
.breadcrumb-back a { color: var(--mint); text-decoration: none; }
.breadcrumb-back a:hover { text-decoration: underline; }

/* ----------------------------------------------------- prose + section note */

.prose { max-width: 68ch; }
.prose p { color: var(--ink-soft); font-size: 1.03rem; margin: 0 0 1.1em; }

.section-note {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 60ch;
}

/* ----------------------------------------------------- status badges */

.status {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.status--available  { background: #e3f5e9; color: #1f7a3f; border-color: #bfe6cd; }
.status--internal   { background: #fdf3d6; color: #8a6a12; border-color: #f0dca0; }
.status--production { background: #fdeccf; color: #b5641a; border-color: #f3d3a6; }
.status--review     { background: #fdf3d6; color: #8a6a12; border-color: #f0dca0; }
.status--soon       { background: #eef2f0; color: var(--ink-soft); border-color: var(--border); }

/* ----------------------------------------------------- journey cards */

.card--journey .status { align-self: flex-start; margin-bottom: 14px; }
.card--journey .btn { margin-top: auto; align-self: flex-start; }

.card-sub {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 0 0 12px !important;
}

.card--soon { opacity: 0.72; }

/* ----------------------------------------------------- anchor index + chips */

.anchor-index {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 28px;
}

.chip {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-deep);
  text-decoration: none;
}

.chip:hover { background: var(--mint-pale); border-color: var(--mint-soft); }

/* ----------------------------------------------------- glossary definition lists */

.glossary { margin: 0; }

.glossary dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-deeper);
  margin: 22px 0 6px;
  scroll-margin-top: 84px;
}

.glossary dt:first-of-type { margin-top: 0; }

.glossary dd {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
}

/* ----------------------------------------------------- facts panel (journey map) */

.facts {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 26px;
  margin: 0 0 32px;
}

.facts-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.facts-row:last-child { border-bottom: 0; }

.facts-row dt {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-deep);
}

.facts-row dd { margin: 0; color: var(--ink-soft); }

/* ----------------------------------------------------- timeline (journey map) */

.timeline { list-style: none; margin: 0; padding: 0; }

.timeline-step {
  position: relative;
  padding: 0 0 26px 34px;
  margin-left: 6px;
  border-left: 2px solid var(--border);
}

.timeline-step:last-child { border-left-color: transparent; padding-bottom: 0; }

.timeline-step::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mint);
  border: 3px solid var(--paper-alt);
}

.timeline-kind {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-deep);
  margin: 0 0 4px;
}

.timeline-body h3 { font-size: 1.1rem; margin: 0 0 10px; }
.timeline-body p { margin: 10px 0 0; font-size: 0.92rem; }
.timeline-body p a { color: var(--green-deep); font-weight: 600; }

/* ----------------------------------------------------- feature panel + checks */

.feature-panel {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--mint);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 760px;
}

.feature-panel .status { margin-bottom: 14px; }
.feature-panel h3 { font-size: 1.35rem; }
.feature-panel p { color: var(--ink-soft); }

.checks {
  list-style: none;
  counter-reset: check;
  padding: 0;
  margin: 16px 0 18px;
}

.checks li {
  counter-increment: check;
  position: relative;
  padding: 4px 0 4px 40px;
  margin-bottom: 8px;
  color: var(--ink);
}

.checks li::before {
  content: counter(check);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint-pale);
  color: var(--green-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------------------- status legend */

.status-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }

.status-legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.status-legend .status { flex: 0 0 auto; }

/* ----------------------------------------------------- cta band */

.cta-band {
  background: var(--mint-pale);
  border: 1px solid var(--mint-soft);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--green-deeper); }
.cta-band p { color: var(--ink-soft); max-width: 62ch; margin: 0 auto 22px; }

/* ----------------------------------------------------- callout */

.callout {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--mint);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin: 0 0 30px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.callout strong { color: var(--ink); }
.callout--warn { border-left-color: var(--grade-c); background: #fff8ee; }

/* ----------------------------------------------------- download cards */

.download-card .download-meta {
  margin: auto 0 12px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.download-card .btn { align-self: flex-start; }

/* ----------------------------------------------------- below the surface stack */

.stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.stack-layer {
  border-radius: var(--radius);
  border-left: 4px solid var(--mint);
  padding: 22px 26px;
  box-shadow: var(--shadow);
}

.stack-layer h3 { margin: 0 0 4px; font-size: 1.12rem; }
.stack-layer p { margin: 0; font-size: 0.95rem; }

.stack-layer--1 { background: var(--mint-pale); color: var(--ink); }
.stack-layer--1 p { color: var(--ink-soft); }
.stack-layer--2 { background: #d6efe1; color: var(--ink); }
.stack-layer--2 p { color: var(--ink-soft); }
.stack-layer--3 { background: var(--green-deep); color: #fff; border-left-color: var(--mint-soft); }
.stack-layer--3 p { color: #dcebe3; }
.stack-layer--4 { background: var(--green-deeper); color: #fff; border-left-color: var(--mint-soft); }
.stack-layer--4 p { color: #cfe3d8; }

/* journey key-art figure (reuses the .trust-figure frame) */
.journey-figure { max-width: 960px; margin: 0 auto 40px; }

/* card media: journey thumbnail + coming-soon placeholder, bleeds to card edges */
.card-media {
  margin: -26px -26px 18px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--paper-alt);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media--soon { display: flex; align-items: center; justify-content: center; background: var(--mint-pale); }
.card-media--soon img { width: auto; height: auto; max-width: 150px; max-height: 72%; object-fit: contain; }

/* prominent "this is the proof layer" banner */
.proof-note {
  background: var(--green-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 36px;
  font-size: 0.98rem;
}
.proof-note strong { color: var(--mint); }
.proof-note p { margin: 0.5em 0 0; color: #dcebe3; }

/* inline row of status pills (e.g. resource counts in a hero) */
.status-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }

/* ----------------------------------------------------- phase 2 responsive */

@media (max-width: 880px) {
  .facts-row { grid-template-columns: 1fr; gap: 4px; }

  .feature-panel { padding: 24px; }

  .cta-band { padding: 28px 22px; }

  .lang-toggle {
    margin-left: 0;
    padding: 14px 24px;
    border-left: 0;
    border-top: 1px solid var(--green-line);
    gap: 18px;
  }
}
