/* Double-Check Essays — shared stylesheet.
   Direction: warm, friendly, product-site. White ground, soft green tints,
   rounded shapes, bold sans headings, real photos of people, proof down the page. */

:root {
  --white: #FFFFFF;
  --tint: #EEF5F0;
  --tint-2: #F7F9F7;
  --ink: #1D2A22;
  --body: #3C4A42;
  --muted: #6F7C74;
  --line: #DCE4DE;
  --green: #1F6B45;
  --green-deep: #175536;
  --green-soft: #CFE6D8;
  --sun: #F5C451;
  --pen: #B5482F;
  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 10px 30px rgba(29, 42, 34, 0.08), 0 2px 6px rgba(29, 42, 34, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { margin: 0; background: var(--white); color: var(--body); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--green-soft); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.75rem; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.25rem; line-height: 1.5; max-width: 36rem; }
.small { font-size: 0.95rem; color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem; }

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
section { padding: 5rem 0; }
.band { background: var(--tint); }
.band-2 { background: var(--tint-2); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }

/* Header */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.55rem 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 26px; flex: none; }
.brand .check { color: var(--green); }
nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav a { color: var(--ink); font-weight: 500; display: inline-block; padding: 0.7rem 0; min-height: 44px; }
nav a:hover { color: var(--green); text-decoration: none; }

/* Buttons */
.actions { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; margin-top: 1.75rem; }
.btn { display: inline-block; font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1; padding: 0.95rem 1.5rem; border-radius: 999px; border: 2px solid var(--green); background: var(--green); color: #fff; cursor: pointer; white-space: nowrap; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--tint); color: var(--green-deep); }
.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.95rem; }

/* Hero */
.hero { padding: 4.5rem 0 5rem; background: linear-gradient(180deg, var(--tint) 0%, var(--white) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.hero h1 { max-width: 14ch; }
.trust { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.95rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust svg { width: 16px; height: 16px; flex: none; }

/* The deliverable, rendered */
.mock { position: relative; padding-bottom: 15rem; }
.doc { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 1.6rem 1.75rem 1.75rem; border: 1px solid var(--line); }
.doc-bar { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.1rem; }
.doc-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.doc-bar em { margin-left: 0.5rem; font-style: normal; font-size: 0.85rem; color: var(--muted); }
.doc .essay { font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.7; color: var(--ink); margin: 0; }
.doc mark { background: transparent; color: inherit; border-radius: 3px; padding: 0.05em 0.15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-color 0.4s ease; }
.mock.ready mark { background: var(--sun); }
.mock.ready mark:nth-of-type(1) { transition-delay: 0.4s; }
.mock.ready mark:nth-of-type(2) { transition-delay: 1.1s; }
.mock.ready mark:nth-of-type(3) { transition-delay: 1.8s; }
.bubbles { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.bubbles li { background: #FFF8E6; border-left: 3px solid var(--sun); border-radius: 0 10px 10px 0; padding: 0.55rem 0.8rem; font-size: 0.92rem; color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity 0.35s ease, transform 0.35s ease; }
.bubbles li b { color: var(--pen); font-weight: 700; margin-right: 0.3rem; }
.mock.ready .bubbles li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.7s; }
.mock.ready .bubbles li:nth-child(2) { opacity: 1; transform: none; transition-delay: 1.4s; }
.mock.ready .bubbles li:nth-child(3) { opacity: 1; transform: none; transition-delay: 2.1s; }
.score-card { position: absolute; right: -1rem; bottom: 0; width: min(19rem, 88%); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 1rem 1.1rem; }
.score-card h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 0 0 0.6rem; font-weight: 700; }
.score-row { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; font-size: 0.92rem; padding: 0.3rem 0; border-top: 1px solid var(--line); color: var(--ink); }
.score-row .pips { display: inline-flex; gap: 3px; align-items: center; }
.score-row .pips i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
.score-row .pips i.on { background: var(--green); }
.score-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.6rem; padding-top: 0.6rem; border-top: 2px solid var(--ink); font-weight: 700; color: var(--ink); }
.score-total strong { font-size: 1.4rem; color: var(--green); }
@media (prefers-reduced-motion: reduce) {
  .doc mark { background: var(--sun); transition: none; }
  .bubbles li { opacity: 1; transform: none; transition: none; }
}

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 1.75rem; box-shadow: 0 1px 2px rgba(29,42,34,0.04); }
.card h3 { margin-top: 0.75rem; }
.card p { margin: 0; }
.card .ex { background: var(--tint-2); border-radius: 12px; padding: 0.9rem 1rem; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.25rem; min-height: 6.4rem; }
.card .ex i { font-style: italic; color: var(--pen); }
.card .ex .hl { background: var(--sun); border-radius: 3px; padding: 0 0.15em; }
.num { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 0.5rem; }

/* Split with photo */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .photo { position: sticky; top: 5.5rem; }
.photo { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--green-soft); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.missing::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--green-deep); font-size: 0.95rem; font-weight: 500; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.stat { background: #fff; border-radius: var(--r-lg); padding: 1.75rem; border: 1px solid var(--line); }
.stat .big { font-size: 2.4rem; font-weight: 700; color: var(--green); letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.6rem; }
.stat h3 { font-size: 1.1rem; }
.stat p { margin: 0; font-size: 0.98rem; }

/* Quote band */
.quote { max-width: 46rem; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; color: var(--ink); line-height: 1.35; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 1.25rem; color: var(--muted); }
.quote svg { width: 48px; height: 36px; margin-inline: auto; display: block; margin-bottom: 1.25rem; }

.prose { max-width: 40rem; }
.prose h3 { margin-top: 2rem; }

/* FAQ */
.faq { max-width: 46rem; margin: 2rem auto 0; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 700; color: var(--ink); font-size: 1.1rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 0.5rem; top: 1.35rem; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(225deg); top: 1.6rem; }
details p { padding-bottom: 1.25rem; max-width: 42rem; }

/* Contact */
form { max-width: 34rem; margin-top: 1.5rem; display: grid; gap: 1.1rem; }
label { display: grid; gap: 0.35rem; font-weight: 600; color: var(--ink); }
input, textarea { font: inherit; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
input:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
textarea { min-height: 8.5rem; resize: vertical; }
.form-msg { margin: 0; font-weight: 600; color: var(--green-deep); }
button[disabled] { opacity: 0.6; cursor: default; }

/* Inner pages */
.inner { padding: 3.5rem 0 5rem; }
.inner .wrap { max-width: 46rem; }
.embed { margin-top: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem; box-shadow: var(--shadow); }
.embed iframe { display: block; width: 100%; border: 0; }
.policy h2 { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); font-size: 1.8rem; }
.policy h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 2rem; }
.policy h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.policy ul { padding-left: 1.3rem; }

/* Footer */
footer { background: var(--ink); color: #C9D3CC; padding: 3rem 0 2.5rem; font-size: 0.95rem; }
footer .brand, footer .brand:hover { color: #fff; }
footer .brand svg path:first-child { stroke: #fff; }
footer .brand .check { color: #7FC59B; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: start; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot a { color: #fff; }
.foot .aside { grid-column: 1 / -1; color: #8FA396; }

@media (max-width: 860px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse > :first-child { order: 0; }
  .hero-grid > div:first-child { display: contents; }
  .hero h1 { order: 1; max-width: none; } .hero .lede { order: 2; } .hero .mock { order: 3; margin: 0.5rem 0 1rem; } .hero .actions { order: 4; } .hero .trust { order: 5; }
  .cards, .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; white-space: normal; }
  .score-card { position: static; width: 100%; margin-top: 1rem; }
  .mock { padding-bottom: 0; }
  .foot { grid-template-columns: 1fr; }
  nav ul { gap: 0.25rem 1.1rem; font-size: 0.98rem; }
  nav .btn { display: none; }
}
