/* scentpulse.app: one stylesheet, no web fonts (no third-party requests), light like the app. */
:root {
  --ink: #1f1a17;
  --muted: #6b625c;
  --paper: #fbf8f4;
  --card: #ffffff;
  --line: #e8e0d7;
  --plum: #5b2a4e;
  --plum-dark: #46203c;
  --amber: #c08a4d;
  --ok: #1e6b3a;
  --error: #9b1c1c;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  padding: 0 clamp(16px, 4vw, 40px);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0.2em 0 0.4em;
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.8em;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4em;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

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

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--card);
  padding: 8px 12px;
  border-radius: 8px;
}

.top,
main,
.bottom {
  max-width: 1040px;
  margin: 0 auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top nav a:not(.button) {
  color: var(--ink);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 600 1.25rem var(--serif);
}

.brand-mark {
  width: 32px;
  height: 32px;
}

section {
  padding: clamp(40px, 7vw, 80px) 0;
  border-top: 1px solid var(--line);
}

.hero {
  border-top: none;
  padding-top: clamp(24px, 6vw, 64px);
}

.eyebrow {
  color: var(--plum);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 56ch;
}

.button {
  display: inline-block;
  background: var(--plum);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  font: 600 1rem var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--plum-dark);
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.button.small {
  padding: 9px 18px;
  font-size: 0.95rem;
}

.cards {
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.cards.two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.card p {
  margin: 0;
  color: var(--muted);
}

.plan.featured {
  border: 2px solid var(--plum);
}

.price {
  margin: 0 0 6px;
  color: var(--ink);
}

.price .amount {
  font: 600 1.8rem var(--serif);
}

.note,
.fineprint,
.optional {
  color: var(--muted);
  font-size: 0.92rem;
}

.ticks {
  padding-left: 1.2em;
}

.ticks li {
  margin: 0.35em 0;
}

.ticks li::marker {
  color: var(--amber);
}

.form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.form label {
  font-weight: 600;
}

.form input[type="email"] {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 100%;
}

.form fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0;
}

.form legend {
  font-weight: 600;
  padding: 0 6px;
}

.form .choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  margin: 6px 0;
}

.form .choice input {
  margin-top: 0.35em;
  accent-color: var(--plum);
}

.status {
  min-height: 1.6em;
  margin: 0;
}

.status.ok {
  color: var(--ok);
  font-weight: 600;
}

.status.error {
  color: var(--error);
}

.prose {
  max-width: 760px;
  padding: 16px 0 64px;
}

.prose.narrow {
  max-width: 560px;
  padding-top: 80px;
}

.prose h2 {
  margin-top: 1.6em;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

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

tr:last-child td {
  border-bottom: none;
}

.bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
