/* Gold Star Certificates — static marketing site */

:root {
  --teal: #0F6F68;
  --teal-dark: #0C4F4A;
  --teal-deep: #0A3D39;
  --teal-soft: #E7F5F3;
  --teal-mid: #B7DED9;
  --gold: #C4A46C;
  --gold-bright: #E8C97A;
  --gold-deep: #9A7B45;
  --ink: #1A1C19;
  --ink-soft: #3A3D38;
  --muted: #5C615C;
  --paper: #F8F4EC;
  --paper-2: #F3EDE2;
  --white: #FFFcf7;
  --line: #E4DDD0;
  --line-strong: #D4CCBC;
  --shadow: 0 16px 40px rgba(10, 61, 57, 0.12);
  --shadow-soft: 0 8px 24px rgba(10, 61, 57, 0.08);
  --font-serif: "Playfair Display", "Iowan Old Style", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --content: 70rem;
  --narrow: 46rem;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
  hanging-punctuation: first last;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
img { border-style: none; }

a {
  color: var(--teal-dark);
  text-underline-offset: 0.15em;
}
a:hover { color: var(--teal); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal-deep);
  text-wrap: balance;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }
p, li { text-wrap: pretty; overflow-wrap: break-word; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.55rem 0.9rem;
  background: var(--teal-deep);
  color: #fff;
  border-radius: 0.35rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transform: translateY(-200%);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ---- Layout ---- */
.wrap {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(100% - 2rem, var(--narrow));
  margin-inline: auto;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--teal-deep);
  min-width: 0;
}
.brand:hover { color: var(--teal-dark); }
.brand-mark {
  width: 2.125rem;
  height: 2.125rem;
  flex: 0 0 2.125rem;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}
.nav-desktop a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.25rem 0;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--teal-dark);
}
.nav-desktop a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-toggle > summary {
  list-style: none;
  cursor: pointer;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--white);
}
.nav-toggle > summary::-webkit-details-marker,
.nav-toggle > summary::marker { display: none; content: ""; }
.nav-toggle .menu-icon {
  width: 1.15rem;
  height: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle .menu-icon span {
  display: block;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 1px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}
.nav-panel a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.25rem 0;
}
.nav-panel a:hover,
.nav-panel a[aria-current="page"] {
  color: var(--teal-dark);
}
.nav-panel a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.45rem;
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--teal-deep);
}
.btn-gold {
  background: var(--gold);
  color: var(--teal-deep);
}
.btn-gold:hover {
  background: var(--gold-bright);
  color: var(--teal-deep);
}
.btn-lg { padding: 0.85rem 1.4rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.9rem; }

.header-cta { display: none; }

@media (max-width: 51.99rem) {
  .nav-toggle { position: relative; }
  .nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 16rem;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-toggle[open] .nav-panel { display: flex; }
  .nav-panel a,
  .nav-panel .btn {
    width: 100%;
    padding: 0.7rem 0.85rem;
    justify-content: flex-start;
  }
  .nav-panel a[aria-current="page"] {
    box-shadow: none;
    background: var(--teal-soft);
    border-radius: 0.4rem;
  }
}

@media (min-width: 52rem) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---- Hero ---- */
.hero {
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 0%, color-mix(in srgb, var(--teal-mid) 35%, transparent), transparent 60%),
    var(--paper);
}
.hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: 1fr 1.15fr; gap: 3rem; }
}
.hero h1 { max-width: 14ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}
.coming-soon {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.coming-soon strong { color: var(--teal-dark); font-weight: 650; }

.shot {
  background: #fff;
  border-radius: 0.85rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}
.shot img { width: 100%; height: auto; }
.shot-cap {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* ---- Sections ---- */
.section {
  padding: 4rem 0;
}
.section-alt { background: var(--paper-2); }
.section-teal {
  background: var(--teal-deep);
  color: #e7f5f3;
}
.section-teal h2,
.section-teal h3 { color: #fff; }
.section-teal p,
.section-teal li { color: #d7ece9; }
.section-head {
  max-width: 38rem;
  margin: 0 0 2.25rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
@media (min-width: 50rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  position: relative;
}
.step h3 { padding-top: 0.2rem; }
.step p:last-child { margin-bottom: 0; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

/* Template cards */
.card-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 40rem) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
a.card:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
  color: inherit;
}
.card-body { padding: 1.1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 0.4rem; }
.card-body p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 0.75rem; flex: 1; }
.card-link {
  font-weight: 650;
  color: var(--teal-dark);
  font-size: 0.98rem;
}

/* Mini certificate art */
.mini-art {
  height: 8.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
}
.mini-art .bar { width: 58%; height: 4px; border-radius: 1px; opacity: 0.9; }
.mini-art .rule { width: 28%; height: 2px; border-radius: 1px; opacity: 0.7; }
.mini-art .name { width: 38%; height: 8px; border-radius: 1px; opacity: 0.85; }
.mini-art .seal {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 0.35rem;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, #fff 35%, transparent);
}

/* Audience */
.audience {
  display: grid;
  gap: 1rem;
}
@media (min-width: 44rem) {
  .audience { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .audience { grid-template-columns: repeat(4, 1fr); }
}
.audience article {
  padding: 1.25rem 1.15rem;
  background: color-mix(in srgb, #fff 18%, transparent);
  border: 1px solid color-mix(in srgb, #fff 18%, transparent);
  border-radius: var(--radius);
}
.audience h3 { font-size: 1.15rem; color: var(--gold-bright); }
.audience p:last-child { margin: 0; color: #d7ece9; font-size: 1rem; }

/* Pricing */
.plan-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 50rem) {
  .plan-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.plan {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  padding: 1.6rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.plan-pro {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow-soft);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.plan-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: var(--teal-deep);
}
.plan-price {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--teal-deep);
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
}
.plan-price small {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 0.2rem;
}
.plan-note { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.1rem; }
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  flex: 1;
}
.plan li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.6rem;
  color: var(--ink-soft);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 0.7rem;
  height: 0.35rem;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.plan .btn { width: 100%; }
.billing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1.5rem 0 0;
}

/* FAQ */
.faq-list { display: grid; gap: 0.6rem; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  padding: 0.95rem 1.15rem;
  color: var(--teal-deep);
  list-style: none;
}
.faq-list summary::-webkit-details-marker,
.faq-list summary::marker { display: none; content: ""; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold-deep);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  padding: 0 1.15rem 1.05rem;
  margin: 0;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--teal-deep);
  color: #d7ece9;
  padding: 3rem 0 1.75rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 50rem) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
}
.footer-brand {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  text-decoration: none;
  color: #fff;
}
.footer-brand:hover { color: var(--gold-bright); }
.footer-brand .brand-name { color: inherit; }
.footer-brand .brand-sub { color: var(--teal-mid); }
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.4rem; }
.site-footer a { color: #d7ece9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, #fff 14%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}
.by-pne {
  color: var(--teal-mid);
  text-decoration: none;
  font-weight: 500;
}
.by-pne:hover { color: var(--gold-bright); }
.copyright { color: var(--teal-mid); margin: 0; }

/* ---- Interior ---- */
.page-hero {
  padding: 2.75rem 0 2rem;
}
.page-hero.narrow { }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-dark); text-decoration: underline; }
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--line-strong);
}

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.6rem; }
.prose .shot { margin: 1.5rem 0 0.4rem; }
.prose ol, .prose ul { margin-bottom: 1.15rem; }
.prose li { margin-bottom: 0.35rem; }

.legal-prose h2 { font-size: 1.35rem; }
.legal-prose h3 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }

.template-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 56rem) {
  .template-hero-grid { grid-template-columns: 1fr 1.15fr; align-items: center; }
}

.cta-band {
  background: var(--teal-deep);
  color: #d7ece9;
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 32rem; margin: 0 auto 1.25rem; }
.cta-band .coming-soon { color: var(--teal-mid); }
.cta-band .hero-actions { justify-content: center; }

.compare-note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.watermark-sample {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.75rem 0.3rem 0.45rem;
  margin: 0.4rem 0 1rem;
  white-space: nowrap;
  max-width: 100%;
}
.watermark-sample img { width: 14px; height: 14px; }

/* Support form-like contact block */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 32rem;
}
.contact-card a { font-weight: 650; }

/* Helpers */
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.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;
}

@media print {
  .site-header, .site-footer, .hero-actions, .cta-band, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: inherit; }
}

.section-head.wide {
  max-width: 44rem;
}
.watermark-row {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 56rem) {
  .watermark-row {
    grid-template-columns: minmax(16rem, 24rem) 1fr;
    align-items: center;
  }
}
.watermark-row .shot { margin: 0; }

figure:has(> .shot) { margin: 0; }
.watermark-row figure { margin: 0; }
.nav-panel { min-width: 17.5rem; }
.nav-panel .btn { white-space: normal; text-align: center; justify-content: center; }
