@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Fraunces:opsz,wght@9..144,400..700&family=Inter:wght@400;500;600&display=swap");

/* The Little Letters Club — component styles. Every value is a token from tokens.css. */

.llc-root, .llc-root * { box-sizing: border-box; }
.llc-root { font-family: var(--font-sans); color: var(--ink); background: var(--warm-beige); -webkit-font-smoothing: antialiased; }
.llc-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.llc-stack { display: flex; flex-direction: column; gap: var(--space-3); }

:where(.llc-root) :focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 3px; }

/* ---------- Button ---------- */
.llc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill); border: 2px solid transparent;
  font-family: var(--font-sans); font-size: 16px; font-weight: 500; letter-spacing: 0.2px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-soft);
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.llc-btn:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.llc-btn:active { transform: translateY(0); box-shadow: var(--shadow-soft); }
.llc-btn .llc-btn__icon { font-size: 18px; line-height: 1; }
.llc-btn--primary { background: var(--rose-deep); color: var(--on-rose); }
.llc-btn--primary:hover { background: var(--rose-deeper); }
.llc-btn--secondary { background: var(--paper); color: var(--ink); border-color: var(--mocha-brown); }
.llc-btn--secondary:hover { background: var(--blush-pink); }
.llc-btn--sunny { background: var(--butter-yellow); color: var(--ink); border-color: var(--mocha-brown); }
.llc-btn--sunny:hover { background: var(--cream); }
.llc-btn--small { min-height: 40px; padding: var(--space-2) var(--space-4); font-size: 14px; }
.llc-btn[disabled], .llc-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* round icon button (arrow on story cards, search in nav) */
.llc-iconbtn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-pill);
  background: var(--blush-pink); color: var(--ink); border: 2px solid var(--mocha-brown);
  font-size: 18px; cursor: pointer; text-decoration: none; transition: background-color .15s ease;
}
.llc-iconbtn:hover { background: var(--paper); }

/* ---------- Chip ---------- */
.llc-chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
  border: 1.5px solid var(--mocha-brown);
  font-size: 14px; font-weight: 500; letter-spacing: 0.2px; line-height: 1.3; color: var(--ink);
  background: var(--paper);
}
.llc-chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); flex: none; }
.llc-chip--pink { background: var(--blush-pink); }
.llc-chip--sage { background: var(--sage-green); }
.llc-chip--sunny { background: var(--butter-yellow); }
.llc-chip--sky { background: var(--sky-blue); }
.llc-chip--sage .llc-chip__dot { background: var(--mocha-brown); }
.llc-chip--sunny .llc-chip__dot { background: var(--rose-deep); }

/* ---------- Eyebrow / accent text ---------- */
.llc-eyebrow { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.llc-hand { font-family: var(--font-hand); font-weight: 500; line-height: 1.2; color: var(--ink); }
.llc-h1, .llc-h2, .llc-h3 { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin: 0; }
.llc-h1 { font-size: 56px; line-height: 1.1; letter-spacing: -0.01em; }
.llc-h2 { font-size: 40px; line-height: 1.2; }
.llc-h3 { font-size: 28px; line-height: 1.3; }
.llc-body { font-size: 16px; line-height: 1.6; color: var(--ink); margin: 0; }
.llc-caption { font-size: 14px; line-height: 1.5; color: var(--ink-muted); margin: 0; }
.llc-heart { color: var(--rose); }

/* ---------- NavBar ---------- */
.llc-nav {
  display: flex; align-items: center; gap: var(--space-6);
  padding: var(--space-3) var(--space-6); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
}
.llc-nav__logo { display: block; height: 48px; width: auto; flex: none; }
.llc-nav__links { display: flex; gap: var(--space-1); list-style: none; margin: 0 auto; padding: 0; }
.llc-nav__link {
  display: block; padding: var(--space-2) var(--space-3); white-space: nowrap; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.llc-nav__link:hover { background: var(--warm-beige); }
.llc-nav__link[aria-current="page"] { background: var(--blush-pink); box-shadow: inset 0 -2px 0 var(--rose); }
.llc-nav__actions { display: flex; gap: var(--space-3); align-items: center; flex: none; }
.llc-nav__menu { display: none; }
@media (max-width: 860px) {
  .llc-nav__links { display: none; }
  .llc-nav__menu { display: inline-grid; }
  .llc-nav { padding: var(--space-2) var(--space-4); gap: var(--space-3); justify-content: space-between; }
}

/* ---------- Card ---------- */
.llc-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-6); background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  transition: box-shadow .15s ease, transform .15s ease;
}
.llc-card--link:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.llc-card--pink { background: var(--blush-pink); }
.llc-card--sage { background: var(--sage-green); }
.llc-card--sunny { background: var(--butter-yellow); }
.llc-card--sky { background: var(--sky-blue); }
.llc-card__media { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--radius-md); background: var(--warm-beige); }
.llc-card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.3; margin: 0; }
.llc-card__title--hand { font-family: var(--font-hand); font-weight: 600; font-size: 34px; line-height: 1.1; }
.llc-card__text { font-size: 15px; line-height: 1.55; color: var(--ink-muted); margin: 0; }
.llc-card__footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: auto; }
.llc-card__sticker { position: absolute; width: 96px; height: auto; pointer-events: none; }
.llc-card--feature { flex-direction: row; align-items: center; gap: var(--space-4); }
.llc-card--feature .llc-card__art { width: 120px; flex: none; }
.llc-card--feature .llc-card__body { display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.llc-card__label { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }

/* ---------- Hero ---------- */
.llc-hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-8); align-items: center;
  padding: var(--space-12) var(--space-10); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); overflow: hidden;
}
.llc-hero__copy { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.llc-hero__title { font-family: var(--font-display); font-weight: 600; font-size: 56px; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
.llc-hero__title em { font-style: normal; font-family: var(--font-hand); font-weight: 600; font-size: 1.12em; color: var(--rose-deep); }
.llc-hero__art { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); background: var(--blush-pink); display: grid; place-items: center; }
.llc-hero__art img { width: 78%; height: auto; }
.llc-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
@media (max-width: 760px) {
  .llc-hero { grid-template-columns: 1fr; padding: var(--space-8) var(--space-6); }
  .llc-hero__title { font-size: 40px; }
}

/* ---------- Accordion (FAQ) ---------- */
.llc-faq { border: 1.5px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-soft); overflow: hidden; }
.llc-faq + .llc-faq { margin-top: var(--space-3); }
.llc-faq summary {
  list-style: none; display: flex; align-items: center; gap: var(--space-4); cursor: pointer;
  padding: var(--space-4) var(--space-6); font-weight: 600; font-size: 16px; line-height: 1.4;
}
.llc-faq summary::-webkit-details-marker { display: none; }
.llc-faq__q { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blush-pink); font-family: var(--font-display); font-weight: 600; color: var(--rose-deep); flex: none; }
.llc-faq__chev { margin-left: auto; transition: transform .2s ease; color: var(--mocha-brown); font-size: 14px; }
.llc-faq[open] .llc-faq__chev { transform: rotate(180deg); }
.llc-faq__a { margin: 0 var(--space-6) var(--space-4); padding: var(--space-4); background: var(--blush-pink); border-radius: var(--radius-sm); font-size: 15px; line-height: 1.6; color: var(--ink); }

/* ---------- Email input ---------- */
.llc-field { display: flex; flex-direction: column; gap: var(--space-2); }
.llc-field__label { font-size: 14px; font-weight: 500; color: var(--ink); }
.llc-input {
  display: flex; align-items: center; gap: var(--space-3); min-height: 48px; padding: 0 var(--space-6);
  background: var(--paper); border: 1.5px solid var(--mocha-brown); border-radius: var(--radius-pill);
}
.llc-input:focus-within { outline: 3px solid var(--rose-deep); outline-offset: 2px; }
.llc-input input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); min-width: 0; outline: none; }
.llc-input input::placeholder { color: var(--ink-muted); }
.llc-input__icon { color: var(--mocha-brown); flex: none; }
.llc-field__help { font-size: 13px; color: var(--ink-muted); }

/* ---------- Newsletter band ---------- */
.llc-newsletter {
  display: flex; align-items: center; gap: var(--space-6); padding: var(--space-6) var(--space-8);
  background-color: var(--cream);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1.5px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}
.llc-newsletter__art { width: 112px; height: auto; flex: none; }
.llc-newsletter__copy { flex: 1; min-width: 200px; }
.llc-newsletter__title { font-family: var(--font-hand); font-weight: 600; font-size: 36px; line-height: 1.1; margin: 0; }
.llc-newsletter__form { display: flex; align-items: center; background: var(--paper); border: 1.5px solid var(--mocha-brown); border-radius: var(--radius-pill); padding: 4px 4px 4px var(--space-6); flex: 1; max-width: 420px; }
.llc-newsletter__form:focus-within { outline: 3px solid var(--rose-deep); outline-offset: 2px; }
.llc-newsletter__form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.llc-newsletter__form input::placeholder { color: var(--ink-muted); }
.llc-newsletter__form .llc-btn { box-shadow: none; min-height: 42px; }
@media (max-width: 760px) { .llc-newsletter { flex-direction: column; align-items: flex-start; } .llc-newsletter__form { width: 100%; max-width: none; } }

/* ---------- Note (letter card) ---------- */
.llc-note {
  position: relative; max-width: 560px; padding: var(--space-10) var(--space-8) var(--space-8);
  background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  transform: rotate(-0.6deg);
}
.llc-note__salutation { font-family: var(--font-hand); font-weight: 600; font-size: 36px; line-height: 1.2; margin: 0 0 var(--space-3); }
.llc-note p { font-size: 16px; line-height: 1.7; margin: 0 0 var(--space-2); }
.llc-note__signoff { font-family: var(--font-hand); font-size: 28px; line-height: 1.2; margin-top: var(--space-4); }
.llc-note__stamp { position: absolute; top: -18px; right: -14px; width: 76px; height: auto; transform: rotate(8deg); }

/* ---------- Steps (journey) ---------- */
.llc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); counter-reset: step; }
.llc-step { counter-increment: step; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); background: var(--paper); border: 1.5px dashed var(--mocha-brown); border-radius: var(--radius-md); }
.llc-step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--butter-yellow); border: 1.5px solid var(--mocha-brown); font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.llc-step:nth-child(2)::before { background: var(--blush-pink); }
.llc-step:nth-child(3)::before { background: var(--sage-green); }
.llc-step:nth-child(4)::before { background: var(--sky-blue); }
.llc-step__title { font-family: var(--font-hand); font-weight: 600; font-size: 28px; line-height: 1.1; margin: 0; }
.llc-step__text { font-size: 14px; line-height: 1.5; color: var(--ink-muted); margin: 0; }
@media (max-width: 760px) { .llc-steps { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.llc-footer {
  display: flex; align-items: center; gap: var(--space-6);
  padding: var(--space-6) var(--space-8); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-lg);
}
.llc-footer__logo { height: 64px; width: auto; }
.llc-footer__links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); list-style: none; margin: 0; padding: 0; }
.llc-footer__links a { white-space: nowrap; color: var(--ink); text-decoration: none; font-size: 15px; }
.llc-footer__links a:hover { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 3px; }
.llc-footer__social { display: flex; gap: var(--space-2); padding-left: var(--space-6); border-left: 1.5px solid var(--mocha-brown); }
.llc-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mocha-brown); color: var(--paper); text-decoration: none; font-size: 13px; font-weight: 600; }
.llc-footer__social a:hover { background: var(--ink); }
.llc-footer__sign { margin: 0 0 0 auto; flex: none; font-family: var(--font-hand); font-size: 28px; line-height: 1.05; font-weight: 500; text-align: right; }
@media (max-width: 860px) { .llc-footer { flex-wrap: wrap; } .llc-footer__social { border-left: 0; padding-left: 0; } .llc-footer__sign { margin-left: 0; text-align: left; } }
