/* Hallmark · theme: brand · built: the project · redesign: full · genre: editorial · shape: Index-First · hero: Settled · job: try · nav: product links · footer: quiet */
/* critique: widen the narrow entry card, separate both actions and explain the actual product without invented proof */
/* Existing invite and payment pages keep g/styles.css; this file is loaded only on the homepage. */
:root {
  --home-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --home-paper: #fffaf5;
  --home-soft: #f6ede5;
  --home-ink: #211927;
  --home-muted: #6d6172;
  --home-line: #d9cfd8;
  --home-control: #7a6b7c;
  --home-focus: #9b6f34;
  --home-accent: #705135;
  --home-active: #392d41;
  --home-gutter: 32px;
  --home-gap: 48px;
  --home-radius: 8px;
}
html, body { overflow-x: clip; }
html { background: var(--home-paper); }
body.site-home { min-width: 320px; background: var(--home-paper); color: var(--home-ink); font-family: var(--home-font); }
.site-home a { color: inherit; text-decoration: none; }
.site-home h1, .site-home h2, .site-home h3 { min-width: 0; overflow-wrap: break-word; color: var(--home-ink); font-weight: 650; }
.site-home h1 { max-width: 15ch; margin: 0; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -0.045em; }
.site-home h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.03em; }
.site-home h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.site-home p { margin: 0; overflow-wrap: anywhere; }
.site-home a:focus-visible, .site-home summary:focus-visible { outline: 2px solid var(--home-focus); outline-offset: 4px; }
.home-shell { width: min(calc(100% - var(--home-gutter) * 2), 1120px); margin-inline: auto; }
.home-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--home-line); }
.home-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: 18px; font-weight: 700; }
.home-brand .logo { width: 44px; height: 44px; border: 0; border-radius: var(--home-radius); }
.home-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.home-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: center; padding-block: 76px 88px; }
.home-intro { min-width: 0; }
.site-home .lead { max-width: 38ch; margin: 24px 0 0; color: var(--home-muted); font-size: 18px; line-height: 1.6; }
.home-actions { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; max-width: 480px; margin-top: 30px; }
.home-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border: 1px solid var(--home-control); border-radius: var(--home-radius); font-size: 15px; font-weight: 650; line-height: 1.35; text-align: center; transition: background-color 140ms ease, border-color 140ms ease; }
.site-home .home-primary { background: var(--home-ink); border-color: var(--home-ink); color: var(--home-paper); }
.site-home .home-secondary { background: transparent; color: var(--home-ink); }
.home-button:active { transform: translateY(1px); }
.home-index { min-width: 0; padding-block: 24px; border-block: 1px solid var(--home-control); }
.home-index h2 { margin-bottom: 20px; font-size: 22px; }
.home-index > a { min-height: 82px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 16px 0; border-top: 1px solid var(--home-line); }
.home-index strong { font-size: 17px; font-weight: 650; }
.home-index span { color: var(--home-muted); font-size: 14px; line-height: 1.5; }
.home-features { padding-block: 64px; background: var(--home-soft); }
.home-features h2 { max-width: 22ch; margin-bottom: 40px; }
.home-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--home-gap); }
.home-feature-list article { min-width: 0; padding-top: 18px; border-top: 1px solid var(--home-line); }
.home-feature-list p { max-width: 49ch; color: var(--home-muted); font-size: 16px; line-height: 1.75; }
.home-start { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--home-gap); padding-block: 76px; }
.home-start > div p { margin-top: 18px; color: var(--home-muted); font-size: 16px; line-height: 1.7; max-width: 31ch; }
.home-steps { display: grid; gap: 22px; margin: 0; padding-left: 24px; }
.home-steps li { padding-left: 8px; color: var(--home-accent); font-size: 16px; }
.home-steps strong, .home-steps span { display: block; }
.home-steps strong { margin-bottom: 6px; color: var(--home-ink); font-weight: 650; }
.home-steps span { color: var(--home-muted); line-height: 1.65; }
.home-club { padding-block: 48px; border-block: 1px solid var(--home-line); }
.home-club-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--home-gap); align-items: center; }
.home-club-layout > div { min-width: 0; }
.home-club-layout > div > p { margin-top: 18px; max-width: 48ch; color: var(--home-muted); font-size: 16px; line-height: 1.7; }
.home-club-action { max-width: 360px; justify-self: end; }
.home-club-action .home-button { width: 100%; }
.home-club-layout .home-club-action p { margin-top: 14px; font-size: 14px; }
.home-faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--home-gap); padding-block: 72px; }
.home-faq > div { min-width: 0; }
.home-faq details { border-bottom: 1px solid var(--home-line); }
.home-faq details:first-child { border-top: 1px solid var(--home-line); }
.home-faq summary { padding: 20px 8px 20px 0; font-size: 16px; font-weight: 650; line-height: 1.5; cursor: pointer; }
.home-faq details p { padding-bottom: 24px; color: var(--home-muted); font-size: 16px; line-height: 1.7; }
.home-finish { padding-bottom: 64px; }
.home-finish .home-actions { margin-top: 24px; }
.home-footer { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--home-line); color: var(--home-muted); font-size: 14px; }
.home-footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) {
  .site-home .home-primary:hover { background: var(--home-active); border-color: var(--home-active); }
  .site-home .home-secondary:hover { background: var(--home-soft); }
  .home-nav a:hover, .home-index a:hover strong, .home-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 56rem) {
  :root { --home-gap: 32px; }
  .home-hero { gap: 36px; padding-block: 56px; }
  .home-nav { gap: 18px; }
}
@media (max-width: 44rem) {
  :root { --home-gutter: 24px; }
  .home-header { flex-wrap: wrap; gap: 12px; padding-block: 20px 12px; }
  .home-nav { width: 100%; justify-content: space-between; gap: 12px; }
  .home-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 40px; }
  .site-home h1 { max-width: 15ch; font-size: clamp(38px, 8.4vw, 54px); }
  .site-home .lead { margin-top: 20px; }
  .home-features { padding-block: 40px; }
  .home-feature-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-features h2 { margin-bottom: 28px; }
  .home-start, .home-club-layout, .home-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-start, .home-faq { padding-block: 44px; }
  .home-club { padding-block: 40px; }
  .home-club-action { max-width: 100%; width: 100%; justify-self: stretch; }
  .home-finish { padding-bottom: 44px; }
}
@media (max-width: 30rem) {
  :root { --home-gutter: 16px; }
  .home-actions { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-nav { font-size: 13px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-button { transition-duration: .01ms; transform: none; }
}
