:root {
  --bg: #fcf6ee;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #556070;
  --primary: #c4233b;
  --primary-hover: #9f1b2f;
  --pine: #1b4b32;
  --accent: #e5a928;
  --border: #e4d8c8;
  --radius: 12px;
  --shadow-sm: 0 2px 0 rgba(28, 36, 48, 0.12);
  --shadow-md: 4px 4px 0 rgba(28, 36, 48, 0.16);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(#dfd1be 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 16px;
  font-weight: 400;
}

.awf-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Scalloped Fairy Lights */
.awf-header {
  background: var(--surface);
  border-bottom: 2px solid var(--text);
  position: sticky;
  top: 0;
  z-index: 25;
}

.awf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.awf-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.awf-brand-seal {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  border: 2px solid var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 var(--text);
}

.awf-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
}

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

.awf-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

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

.awf-nav .awf-nav-cta {
  padding: 8px 16px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  border: 2px solid var(--text);
  box-shadow: 2px 2px 0 var(--text);
}

.awf-nav .awf-nav-cta:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

.awf-lights-wrap {
  width: 100%;
  height: 22px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow: hidden;
  line-height: 0;
}

/* Hero */
.awf-hero {
  padding: 28px 0 48px;
}

.awf-hero-head {
  margin-bottom: 20px;
}

.awf-hero-pill {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: var(--radius);
  background: #fdecc8;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--text);
}

.awf-h1 {
  font-size: 44px;
  margin-bottom: 8px;
}

.awf-h1-accent {
  color: var(--primary);
}

.awf-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 68ch;
}

/* Buttons */
.awf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, background-color 0.15s ease;
}

.awf-btn:hover {
  transform: translateY(-1px);
}

.awf-btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.awf-btn-primary:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

.awf-btn-gold {
  background: var(--accent);
  color: var(--text);
}

.awf-btn-gold:hover {
  background: #f0bc47;
  color: var(--text);
}

.awf-btn-outline {
  background: var(--surface);
  color: var(--text);
}

.awf-btn-outline:hover {
  background: #fff7e6;
  color: var(--text);
}

/* Toolbar */
.awf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 16px;
  background: var(--surface);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.awf-toolbar-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.awf-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--text);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.awf-tool-btn:hover {
  background: #fdecc8;
}

.awf-tool-btn[data-gf-liked],
.awf-tool-btn[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--text);
  color: #ffffff;
}

.awf-tool-btn[data-gf-liked] .awf-badge {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.awf-tool-subtle {
  background: var(--surface);
  color: var(--text);
}

.awf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 2px 8px;
  border-radius: var(--radius);
  background: #efe3d2;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.awf-share-msg {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

/* Sections */
.awf-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.awf-sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.awf-sec-head h2 {
  margin: 0;
  font-size: 32px;
}

.awf-door-seal {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--primary);
  border: 2px solid var(--text);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 var(--text);
}

.awf-door-seal-gold {
  background: var(--accent);
  color: var(--text);
}

.awf-sec-intro {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 68ch;
}

/* 4-Column Steps */
.awf-steps-4 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.awf-step-card {
  background: var(--surface);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.awf-step-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: #fdecc8;
  color: var(--text);
  border: 2px solid var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.awf-step-card h3 {
  font-size: 20px;
  margin: 12px 0 8px;
}

.awf-step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Deep Pine Feature Band */
.awf-band-pine {
  background: var(--pine);
  color: #ffffff;
  border-top: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
}

.awf-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: center;
}

.awf-prose-light h2 {
  color: #ffffff;
}

.awf-prose-light p {
  margin: 0 0 14px;
  color: #e6efe9;
  max-width: 66ch;
}

.awf-check-list {
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.awf-check-light li {
  color: #f3f7f4;
}

.awf-showcase-card {
  background: var(--surface);
  border: 2px solid var(--text);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.28);
  color: var(--text);
}

.awf-showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.awf-showcase-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* 3x2 Note Ideas */
.awf-ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.awf-idea-card {
  background: var(--surface);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.awf-idea-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  border-radius: var(--radius);
  background: #fdecc8;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--text);
}

.awf-idea-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.awf-idea-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* FAQ Accordion */
.awf-faq-list {
  background: var(--surface);
  border: 2px solid var(--text);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.awf-faq-item {
  border-top: 1px solid var(--border);
}

.awf-faq-item:first-child {
  border-top: 0;
}

.awf-faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.awf-faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.awf-faq-item[open] summary::after {
  content: "\2212";
}

.awf-faq-answer {
  padding: 0 24px 18px;
  color: var(--muted);
}

.awf-faq-answer p {
  margin: 0;
  max-width: 70ch;
}

/* Cranberry Bottom CTA Banner */
.awf-band-berry {
  background: var(--primary);
  color: #ffffff;
  padding: 44px 0;
  border-top: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
}

.awf-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.awf-cta-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fdecc8;
}

.awf-cta-heading {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.2;
  color: #ffffff;
}

.awf-cta-sub {
  margin: 0;
  color: #ffe8eb;
  font-size: 16px;
}

/* Comments */
.awf-comments-head {
  margin-bottom: 20px;
}

.awf-comments-head h3 {
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

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

.awf-comment-form {
  background: var(--surface);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.awf-reply-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 14px;
}

.awf-comment-form[data-gf-replying] .awf-reply-banner {
  display: flex !important;
}

.awf-form-row {
  margin-bottom: 16px;
}

.awf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.awf-field input,
.awf-field textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

.awf-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.awf-comment-msg {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.awf-comments-list {
  display: grid;
  gap: 16px;
}

.awf-comments-list[data-gf-empty]::before {
  content: "No notes yet — share a favorite December prompt or ask a question below!";
  display: block;
  padding: 24px;
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
}

.awf-comment {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
}

.awf-comment[data-gf-owner] {
  border-color: var(--accent);
  background: #fffdf7;
}

.awf-comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.awf-c-owner {
  padding: 2px 8px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.awf-c-to {
  color: var(--primary);
  font-weight: 600;
}

.awf-c-time {
  color: var(--muted);
  font-size: 12px;
}

.awf-c-text {
  margin: 0 0 8px;
  white-space: pre-wrap;
  word-break: break-word;
}

.awf-link-btn {
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.awf-link-btn:hover {
  text-decoration: underline;
}

.awf-replies {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  display: grid;
  gap: 12px;
}

.awf-replies:empty {
  display: none;
}

/* Inner & Legal Pages */
.awf-doc {
  padding: 48px 0 64px;
}

.awf-doc-inner {
  max-width: 780px;
}

.awf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.awf-doc-meta {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.awf-doc-body {
  background: var(--surface);
  border: 2px solid var(--text);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.awf-doc-body h2 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.awf-doc-body h2:first-child {
  margin-top: 0;
}

.awf-doc-body p,
.awf-doc-body li {
  max-width: 70ch;
}

/* Footer */
.awf-footer {
  background: var(--surface);
  border-top: 2px solid var(--text);
  padding: 48px 0 32px;
}

.awf-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.awf-footer-brand {
  max-width: 520px;
}

.awf-footer-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.awf-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
}

.awf-footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

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

.awf-footer-copy {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

.awf-footer-copy p {
  margin: 0;
}

@media (max-width: 900px) {
  .awf-steps-4,
  .awf-ideas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .awf-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .awf-container {
    padding: 0 16px;
  }
  .awf-header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .awf-nav {
    gap: 12px;
  }
  .awf-h1 {
    font-size: 32px;
  }
  .awf-steps-4,
  .awf-ideas-grid {
    grid-template-columns: 1fr;
  }
  .awf-doc-body {
    padding: 20px;
  }
}


/* Section Illustrations */
.awf-illus-figure {
  margin: 28px 0 0;
  text-align: center;
}

.awf-illus-wide {
  margin: 0 0 28px;
}

.awf-illus-figure img {
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.awf-illus-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.awf-showcase-art {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.awf-cta-copy {
  max-width: 520px;
}

.awf-cta-art {
  width: 360px;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.25);
}
