/*
 * Next Level Appraisal's website: the app's own look (paper and ink, one steady blue, a serif for
 * headings) for readers who are often 60+: a 17px base, contrast of 5:1 or better, a thick focus
 * ring, nothing that moves on its own.
 */
:root {
  --bg: #f3f1ec;
  --panel: #ffffff;
  --sunk: #f6f4ef;
  --line: #ddd8ce;
  --line-strong: #b3aa99;
  --ink: #17212b;
  --muted: #434f5d;
  --faint: #5b6776;
  /* the logo's navy (Vanessa's pick, 2026-10-27) */
  --accent: #012767;
  --accent-hover: #011d4d;
  --accent-soft: #e6eaf2;
  --accent-line: #8fa1c2;
  --good: #25623a;
  --warn-soft: #fbf0d8;
  --warn-line: #d9b56a;
  --focus: #1f6feb;
  --sans:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --radius: 16px;
  --gutter: 16px;
}

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0;
}

.icon {
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
}

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

@media (min-width: 640px) {
  :root {
    --gutter: 28px;
  }
}

.narrow {
  max-width: 820px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  padding: 12px 18px;
  background: var(--panel);
  border-radius: 0 0 10px 0;
}

.skip:focus {
  left: 0;
}

/* the bar */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}

.bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

/* the logo: Vanessa's "Next Level", its x shot up into an arrow (2026-10-27) */
.logo {
  display: block;
  width: auto;
  height: 40px;
}

.nav {
  display: none;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

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

@media (min-width: 980px) {
  .nav {
    display: flex;
  }
}

/* buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(23, 33, 43, 0.12);
  transition: background-color 0.15s;
}

.button:hover {
  background: var(--accent-hover);
  color: #fff;
}

.button .icon {
  width: 1.15em;
  height: 1.15em;
}

.button.small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 1rem;
}

.button.quiet {
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  border: 2px solid var(--line-strong);
}

.button.quiet:hover {
  background: var(--panel);
  color: var(--accent-hover);
}

.button.light {
  background: #fff;
  color: var(--accent);
}

.button.light:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

/* the hero */
.hero {
  padding: 56px 0 64px;
}

.hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1000px) {
  .hero {
    padding: 80px 0 88px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 64px;
  }
}

.eyebrow {
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  line-height: 1.08;
}

.lede {
  margin-top: 22px;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
}

.assurances li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.assurances .icon {
  color: var(--good);
  width: 1.2em;
  height: 1.2em;
}

/* a screenshot, framed like the app's window */
.shot {
  margin: 0;
}

.shot picture,
.shot > img {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow:
    0 2px 4px rgba(23, 33, 43, 0.06),
    0 18px 48px rgba(23, 33, 43, 0.14);
}

.shot figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--faint);
  text-align: center;
}

.hero-shot {
  max-width: 640px;
  justify-self: center;
}

/* the deadline */
.deadline {
  background: var(--accent);
  color: #fff;
}

.deadline-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 1.0625rem;
}

.deadline .icon {
  width: 1.6em;
  height: 1.6em;
  opacity: 0.9;
}

.countdown {
  font-weight: 650;
}

/* sections */
.section {
  padding: 72px 0;
}

@media (min-width: 1000px) {
  .section {
    padding: 96px 0;
  }
}

.tint {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}

.section-lede {
  margin-top: 12px;
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 40em;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.tint .card {
  background: var(--bg);
}

.card p {
  color: var(--muted);
  margin-top: 8px;
}

/* how it works */
.steps {
  display: grid;
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
}

.steps h3 {
  font-size: 1.3125rem;
}

/* a picture beside its words */
.showcase {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1000px) {
  .showcase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }

  .showcase.flip .showcase-text {
    order: 2;
  }
}

.showcase-text p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--muted);
}

.showcase .shot {
  max-width: 560px;
  justify-self: center;
  width: 100%;
}

.ticks {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ticks .icon {
  margin-top: 0.15em;
  color: var(--good);
  width: 1.25em;
  height: 1.25em;
}

/* what it does */
.features {
  display: grid;
  gap: 18px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.features .icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin-bottom: 14px;
}

.soon {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border: 1px solid var(--warn-line);
  border-radius: 999px;
  background: var(--warn-soft);
  color: #744700;
  font-size: 0.8125rem;
  font-weight: 650;
  vertical-align: 2px;
}

/* who's building it: the two founders */
.founders {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

@media (min-width: 900px) {
  .founders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.founder {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

@media (min-width: 560px) {
  .founder {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    justify-items: start;
    text-align: left;
  }
}

.founder-photo {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--panel);
  box-shadow:
    0 2px 4px rgba(23, 33, 43, 0.06),
    0 12px 32px rgba(23, 33, 43, 0.14);
}

.founder h3 {
  font-size: 1.5rem;
}

.founder-role {
  margin-top: 4px;
  color: var(--accent);
  font-weight: 650;
}

.founder p:not(.founder-role) {
  margin-top: 12px;
  color: var(--muted);
}

/* old reports: years of files, still opening */
.old-files {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  justify-self: center;
}

.old-file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--muted);
  font-weight: 600;
}

.old-file:nth-child(2) {
  margin-left: 24px;
}

.old-file:nth-child(3) {
  margin-left: 48px;
}

.old-file .icon {
  width: 26px;
  height: 26px;
  color: var(--faint);
}

.old-file em {
  margin-left: auto;
  font-style: normal;
  font-weight: 500;
  color: var(--faint);
}

.old-file.new {
  margin-left: 72px;
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}

.old-file.new .icon,
.old-file.new em {
  color: var(--accent);
}

/* yours */
.principles {
  display: grid;
  gap: 32px 48px;
  margin-top: 44px;
}

@media (min-width: 800px) {
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 16px;
  align-items: start;
}

.principle .icon {
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-top: 2px;
}

.principle h3 {
  font-size: 1.25rem;
}

.principle p {
  margin-top: 8px;
  color: var(--muted);
}

/* free */
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.price p {
  margin-top: 12px;
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 34em;
}

/* questions */
.faq {
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 1.1875rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 44em;
}

/* the last word */
.final {
  background: var(--accent);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.final h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.final p {
  margin: 12px 0 30px;
  font-size: 1.1875rem;
  opacity: 0.92;
}

.footer {
  padding: 36px 0 48px;
  color: var(--faint);
  font-size: 0.9375rem;
}

.footer-inner {
  display: grid;
  gap: 8px;
}

.fine {
  font-size: 0.8125rem;
  max-width: 60em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 4px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ink);
}

/* the privacy policy and the terms of use: one readable column */
.legal {
  padding: 48px 0 80px;
}

@media (min-width: 1000px) {
  .legal {
    padding-top: 72px;
  }
}

.legal h1 {
  margin-top: 8px;
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.legal-date {
  margin-top: 8px;
  color: var(--faint);
}

.legal-lede {
  margin-top: 24px;
  font-size: 1.1875rem;
  color: var(--muted);
}

.legal h2 {
  margin-top: 56px;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  scroll-margin-top: 92px;
}

.legal h3 {
  margin-top: 30px;
}

.legal h2 + p,
.legal h3 + p,
.legal h2 + ul,
.legal h2 + table,
.legal h2 + .helpers {
  margin-top: 12px;
}

.legal p + p,
.legal ul + p,
.legal p + ul,
.legal table + p,
.legal .helpers + p {
  margin-top: 14px;
}

.legal ul,
.legal ol {
  margin: 0;
  padding-left: 1.3em;
}

.legal li + li {
  margin-top: 8px;
}

.legal .conspicuous {
  font-weight: 650;
  color: var(--ink);
}

/* the short version, at the top */
.short {
  margin-top: 32px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (min-width: 640px) {
  .short {
    padding: 28px 32px;
  }
}

.legal .short h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.legal .short .ticks {
  padding-left: 0;
}

.toc {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.toc ol {
  columns: 2 18rem;
  column-gap: 32px;
}

.toc li {
  break-inside: avoid;
}

.legal .toc li + li {
  margin-top: 6px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table th {
  background: var(--sunk);
  font-weight: 650;
}

.legal-table td:first-child {
  width: 42%;
  font-weight: 600;
}

/* who helps us run it */
.helpers {
  display: grid;
  gap: 12px;
  margin: 0;
}

.helpers div {
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.helpers dt {
  font-weight: 650;
}

.helpers dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.helpers dd a {
  display: inline-block;
  margin-top: 4px;
}

/* the pricing page: three plans side by side on a wide screen, one under another on a phone */
.pricing-hero {
  padding: 56px 0 40px;
  text-align: center;
}

.pricing-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  line-height: 1.1;
}

.pricing-hero .lede {
  margin-left: auto;
  margin-right: auto;
}

.beta-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 20px;
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background: var(--accent-soft);
  text-align: left;
}

.beta-note .icon {
  color: var(--accent);
}

.plans-section {
  padding-bottom: 72px;
}

.plans {
  display: grid;
  gap: 24px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1000px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 18px 48px rgba(1, 39, 103, 0.12);
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 26px;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 650;
}

.plan h2 {
  font-size: 1.625rem;
}

.plan-price {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.0625rem;
}

.plan-price .amount {
  margin-right: 4px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1;
}

.plan-year {
  margin-top: 8px;
  color: var(--faint);
  font-size: 0.9375rem;
}

.plan-tag {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 1.1875rem;
  font-weight: 650;
}

.plan-who {
  margin-top: 6px;
  color: var(--muted);
}

.plan .button {
  width: 100%;
  margin-top: 24px;
}

.plan-list {
  margin-top: 26px;
  color: var(--muted);
}

.plan-list b {
  color: var(--ink);
}

.plan-list .extra .icon {
  color: var(--accent);
}

.every {
  margin-top: 36px;
  gap: 14px 40px;
}

@media (min-width: 800px) {
  .every {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.addons {
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .addons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .addons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.addons .card {
  display: flex;
  flex-direction: column;
}

.addons .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  color: var(--accent);
}

.addon-price {
  margin-top: 8px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.2;
}

.card .addon-price {
  color: var(--accent);
}

.addon-price span {
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
}

.addon-in {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 650;
}

.card .addon-in {
  color: var(--ink);
}

/* a draft page, to look at before it goes up (site/build.ts --drafts): never in what's deployed */
.draft-note {
  padding: 12px 0;
  background: var(--warn-soft);
  border-bottom: 1px solid var(--warn-line);
  color: #5c3a00;
  font-size: 0.9375rem;
}

/* an add-on still to be priced (packages/contracts/src/plans.ts) */
.price-soon {
  display: inline-block;
  padding: 1px 10px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 650;
  vertical-align: middle;
}

/* the pricing page's support band: Mya, 24/7/365 (Vanessa, 2026-11-20) */
.mya {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.mya > .icon {
  width: 44px;
  height: 44px;
  margin-top: 6px;
  color: var(--accent);
}

.mya p {
  margin-top: 12px;
  max-width: 44em;
  font-size: 1.1875rem;
  color: var(--muted);
}
