/* ==========================================================================
   credoofy.com

   One stylesheet, no framework, no build step. The site is five static
   pages; anything that needed compiling would cost more than it saved.

   The palette is the app icon's: ink, paper, and the gold the stars are
   drawn in. The admin's green is the dev store's own brand colour, not
   ours, so it is deliberately absent.
   ========================================================================== */

:root {
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #667085;
  --paper: #ffffff;
  --paper-2: #f8f9fb;
  --line: #e4e7ec;
  --gold: #f2a93b;
  --gold-deep: #b9761a;
  --good: #067647;
  --radius: 14px;
  --measure: 68ch;
  --page: 1120px;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9eaee;
    --ink-2: #a7adbb;
    --ink-3: #8b93a3;
    --paper: #0d1017;
    --paper-2: #141822;
    --line: #242b38;
    --gold: #f6b64f;
    --gold-deep: #f6b64f;
    --good: #4ac08a;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 6.2vw, 3.9rem);
}
h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.3rem);
}
h3 {
  font-size: 1.12rem;
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1.1em;
  max-width: var(--measure);
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 50;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 10px;
}

/* --- shell ---------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: clamp(48px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}
section:first-of-type {
  border-top: 0;
}

.lede {
  font-size: 1.14rem;
  color: var(--ink-2);
}

.eyebrow {
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}

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

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-right: auto;
}
.brand img,
.brand svg {
  width: 26px;
  height: 26px;
  flex: none;
}

nav.site a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-left: 20px;
}
nav.site a:hover,
nav.site a[aria-current="page"] {
  color: var(--ink);
}

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

.notice {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-2);
}
.notice .wrap {
  padding-top: 10px;
  padding-bottom: 10px;
}
.notice p {
  margin: 0;
  max-width: none;
}

.hero {
  padding-top: clamp(44px, 7vw, 86px);
}
.hero p.lede {
  font-size: clamp(1.08rem, 2.1vw, 1.3rem);
  max-width: 58ch;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--ink) 86%, var(--gold));
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink-3);
}

/* --- generic grid --------------------------------------------------------- */

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--paper-2);
}
.card h3 {
  margin-bottom: 6px;
}
.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.96rem;
}

/* --- checklist ------------------------------------------------------------ */

ul.check {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
ul.check li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
}
ul.check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--good);
  border-bottom: 2px solid var(--good);
  transform: rotate(-45deg);
}
ul.check li strong {
  color: var(--ink);
  font-weight: 600;
}

/* --- price ---------------------------------------------------------------- */

.plans {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin-top: 30px;
  align-items: start;
}

.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.plan--pro {
  border-color: color-mix(in srgb, var(--gold) 60%, var(--line));
  box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 35%, transparent);
}
.plan h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}
.price {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 4px 0 2px;
}
.price span {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 9px;
}
.plan ul li {
  position: relative;
  padding-left: 24px;
  font-size: 0.96rem;
  color: var(--ink-2);
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--good);
  border-bottom: 2px solid var(--good);
  transform: rotate(-45deg);
}

/* The "not on this plan" list on the free card. Same shape, no tick: a
   green check beside "No video reviews" reads as the opposite of the truth. */
.plan ul[style*="--mark: none"] li::before {
  content: none;
}

.callout {
  border-left: 3px solid var(--gold);
  padding: 2px 0 2px 16px;
  margin: 26px 0;
  color: var(--ink-2);
}
.callout strong {
  color: var(--ink);
}

/* --- table ---------------------------------------------------------------- */

.scroller {
  overflow-x: auto;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.94rem;
  min-width: 560px;
}
th,
td {
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-weight: 600;
  color: var(--ink-3);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td.num {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
tr.us td {
  background: color-mix(in srgb, var(--gold) 11%, transparent);
  font-weight: 600;
  color: var(--ink);
}

/* --- prose (policy pages) ------------------------------------------------- */

.prose h2 {
  margin-top: 1.8em;
  font-size: 1.5rem;
}
.prose h3 {
  margin-top: 1.6em;
}
.prose ul,
.prose ol {
  max-width: var(--measure);
  color: var(--ink-2);
  padding-left: 22px;
}
.prose li {
  margin-bottom: 7px;
}
.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}
.updated {
  color: var(--ink-3);
  font-size: 0.92rem;
}

details.faq {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
details.faq summary::-webkit-details-marker {
  display: none;
}
details.faq summary::before {
  content: "+";
  color: var(--gold-deep);
  font-weight: 700;
  margin-right: 10px;
}
details.faq[open] summary::before {
  content: "\2013";
}
details.faq p {
  margin: 10px 0 2px;
  color: var(--ink-2);
}

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

footer.site {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 44px 0 56px;
  font-size: 0.93rem;
  color: var(--ink-3);
}
footer.site .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  margin-bottom: 28px;
}
footer.site h4 {
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 12px;
}
footer.site ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
footer.site a {
  color: var(--ink-2);
  text-decoration: none;
}
footer.site a:hover {
  color: var(--ink);
  text-decoration: underline;
}
footer.site p {
  margin: 0;
  max-width: none;
}
