/* The Recall System — Ease & Empire brand */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600&family=DM+Sans:opsz,wght@9..40,400;500;600&display=swap");

:root {
  --bg: #faf7f4;
  --bg-elevated: #fffdfb;
  --surface: #ffffff;
  --text: #2a2622;
  --text-muted: #554f4a;
  --border: #e8e0d8;
  --border-soft: #f0ebe5;
  --accent: #8b6f5c;
  --accent-deep: #6f5748;
  --accent-soft: #f5ede6;
  --blush: #d4b8a8;
  --rose-tint: #f9f3ef;
  --error: #9b3b3b;
  --error-bg: #fdf5f5;
  --success: #3d6b4f;
  --font-serif: "Cormorant Garamond", Georgia, ui-serif, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 2px rgba(42, 38, 34, 0.04);
  --shadow-md: 0 8px 30px rgba(42, 38, 34, 0.06);
  --shadow-lg: 0 20px 50px rgba(42, 38, 34, 0.08);
  --max-width: 1080px;
  --content-narrow: 680px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 2.5rem;
  --space-2xl: 3.5rem;
  --btn-shadow: 0 4px 14px rgba(111, 87, 72, 0.22);
  --btn-shadow-hover: 0 6px 18px rgba(111, 87, 72, 0.28);
}

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

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

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

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

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

/* Layout */
.shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section--tight {
  padding: var(--space-lg) 0;
}

.section--cta {
  padding: var(--space-lg) 0 var(--space-xl);
}

.section--rose {
  background: linear-gradient(180deg, var(--rose-tint) 0%, var(--bg) 100%);
}

/* Header */
.site-header {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
}

.site-brand__parent {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-brand__product {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
}

/* Typography */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
}

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--text);
  margin: 0;
}

.display--xl {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
}

.display--lg {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.lead {
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  max-width: 34rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}

.section-intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
  max-width: 32rem;
}

/* Buttons — one primary size sitewide */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.375rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: var(--btn-shadow);
}

.btn--primary:hover {
  background: #5c483c;
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow-hover);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  background: var(--accent-soft);
  border-color: var(--blush);
}

.btn--ghost {
  background: transparent;
  color: var(--accent-deep);
  border: 1px solid var(--border);
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

.btn--ghost:hover {
  background: var(--accent-soft);
}

.btn--ghost.is-copied,
.btn--ghost.copied {
  color: var(--success);
  border-color: #b8d4c4;
  background: #f4faf6;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.card--soft {
  background: var(--bg-elevated);
  border-color: var(--border-soft);
}

.card-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 720px) {
  .card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 var(--space-xs);
}

.card p,
.card__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.card__text {
  color: var(--text);
}

.card__text--muted {
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

.card__text + .card__text--muted {
  margin-top: var(--space-sm);
}

/* Hero */
.hero {
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}

.hero__inner {
  max-width: 44rem;
  margin: 0 auto;
}

.hero .lead {
  margin: var(--space-sm) auto 0;
}

.hero__cta {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* Offer badge */
.offer-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: var(--space-md) 0 0;
  padding: 0.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.offer-badge__price {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
}

.offer-badge__term {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Offer section */
.offer-panel {
  max-width: var(--content-narrow);
  margin: 0 auto;
  text-align: center;
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.offer-panel ul {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  text-align: left;
}

.offer-panel li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--text);
}

.offer-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.offer-panel__cta {
  margin-top: var(--space-md);
}

/* Included list */
.included-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-soft);
}

.included-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.included-item:first-child {
  padding-top: 0;
}

.included-item__marker {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--blush);
}

.included-item strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.included-item span {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA block */
.cta-panel {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--rose-tint) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.cta-panel .lead {
  margin: var(--space-sm) auto var(--space-md);
}

.cta-panel .btn--primary {
  margin-top: var(--space-xs);
}

/* Thank-you */
.page-narrow {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.thank-hero {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: var(--space-sm) 0;
}

.copy-row__value {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  word-break: break-all;
}

.copy-row__value--mono {
  font-family: ui-monospace, Menlo, monospace;
  letter-spacing: 0.03em;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
}

.steps li {
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--text);
}

/* Footer */
.site-footer {
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--accent-deep);
  font-weight: 500;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

@media (max-width: 520px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-header .btn--primary {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
