/* Jewel Spring marketing surface — same tokens as public/pricing.html. */
:root {
  color-scheme: light;
  --page: #f8fff4;
  --panel: #ffffff;
  --ink: #3c1642;
  --text: #55746d;
  --muted: #6b857e;
  --line: #c5e6bc;
  --deep: #086375;
  --night: #021e24;
  --action: #1dd3b0;
  --lemon: #affc41;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--page);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--deep);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
}

.hero {
  background: linear-gradient(135deg, #021e24 0%, #086375 52%, #1dd3b0 100%);
  color: #fff;
  padding: 22px 24px 48px;
}

.hero-inner,
.wrap,
footer {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.top-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.top-links a:hover,
.top-links a:focus-visible {
  text-decoration: underline;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--lemon);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 18ch;
}

.lede {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--lemon);
  color: var(--night);
  font-weight: 800;
  text-decoration: none;
}

.cta.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.cta.block {
  width: 100%;
}

.wrap {
  padding: 32px 24px 24px;
}

.trial {
  background: #fff;
  border: 2px solid var(--action);
  border-radius: 18px;
  padding: 22px 22px 20px;
  margin: -28px auto 28px;
  width: min(100%, 1080px);
}

.trial h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.trial p {
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 600;
  max-width: 46rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

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

.card h2,
.card h3,
section h2 {
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.03em;
}

section h2 {
  font-size: 24px;
}

.card h3 {
  font-size: 17px;
}

.card p,
.prose p {
  margin: 0 0 10px;
}

.card ul,
.prose ul {
  margin: 0;
  padding-left: 18px;
}

.card li,
.prose li {
  margin-bottom: 6px;
}

.section {
  margin: 36px 0;
}

.note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin: 8px 0 14px;
}

.price {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
  min-height: 32px;
}

.faq details p {
  margin: 10px 0 4px;
}

.also {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.also a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.legal {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}

footer {
  padding: 28px 24px 48px;
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: var(--deep);
}

.tool-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 20px;
}

.tool-form {
  display: grid;
  gap: 14px;
}

.tool-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* Author display:grid on .tool-row / .tool-row-2 would otherwise override [hidden]. */
.tool-form [hidden] {
  display: none !important;
}

.tool-row {
  display: grid;
  gap: 6px;
}

.tool-row-2 {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .tool-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.tool-form label,
.tool-legend {
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

.tool-form input[type="text"],
.tool-form input[type="number"],
.tool-form input[type="date"],
.tool-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.tool-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-choices label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
}

.tool-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
}

.tool-result {
  margin-top: 16px;
  border-radius: 14px;
  padding: 16px 16px 12px;
  border: 1px solid var(--line);
  background: #f8fff4;
}

.tool-result.is-ok {
  border-color: var(--action);
}

.tool-result.is-warn,
.tool-result.is-error {
  background: #fff8f4;
  border-color: #e07a5f;
}

.tool-headline {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tool-breakdown {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.tool-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.tool-breakdown span {
  min-width: 0;
}

.disclaimer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 14px;
}

.holiday-list {
  margin: 0;
  padding-left: 18px;
  columns: 1;
}

@media (min-width: 720px) {
  .holiday-list {
    columns: 2;
  }
}

.holiday-list li {
  break-inside: avoid;
  margin-bottom: 6px;
}

.holiday-list time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink);
}

.cta.ink {
  background: var(--action);
  color: var(--night);
}

.cta.ink-border {
  color: var(--deep);
  border-color: var(--line);
}

.tool-form textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

.roster-live {
  margin-top: 16px;
}

.roster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.roster-wrap {
  width: 100%;
  min-width: 0;
}

.roster-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
}

.roster-caption {
  caption-side: top;
  text-align: left;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 10px;
}

.roster-table th,
.roster-table td {
  min-width: 0;
  padding: 8px 6px;
  border: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.35;
}

.roster-table thead th {
  color: var(--ink);
  font-weight: 800;
  background: #f8fff4;
}

.roster-table tbody th {
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

.roster-table thead th span {
  display: block;
}

.roster-date,
.roster-date-note {
  font-weight: 700;
  color: var(--muted);
}

.roster-cell span {
  display: block;
  color: var(--ink);
}

.roster-cell small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.roster-cell.is-off span {
  color: var(--muted);
}

.roster-cell.is-sunday,
.roster-cell.is-holiday {
  background: #fff8f4;
}

@media (max-width: 720px) {
  .roster-table,
  .roster-table thead,
  .roster-table tbody,
  .roster-table tr,
  .roster-table th,
  .roster-table td {
    display: block;
    width: 100%;
  }

  .roster-table thead {
    display: none;
  }

  .roster-table tbody tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }

  .roster-table tbody th {
    background: #f8fff4;
    padding: 10px 12px;
  }

  .roster-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .roster-table td::before {
    content: attr(data-day);
    font-weight: 800;
    color: var(--ink);
    flex: 0 0 38%;
  }
}

@media print {
  .no-print,
  .skip,
  .hero-actions,
  .trial,
  footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .hero,
  .hero h1 {
    background: none;
    color: #111;
    padding: 0 0 16px;
  }

  .hero .lede,
  .eyebrow,
  .top-links {
    display: none;
  }

  .brand {
    color: #111;
  }

  .roster-table th,
  .roster-table td {
    border-color: #ccc;
  }

  .roster-live {
    display: block !important;
  }
}
