:root {
  color-scheme: light;
  --ink: #211f32;
  --ink-soft: #403b55;
  --muted: #716b7d;
  --paper: #fffdf7;
  --cream: #fbf3df;
  --cream-deep: #f3e5c4;
  --honey: #f2b84b;
  --coral: #d96453;
  --mint: #7ab7a7;
  --blue: #819bbd;
  --plum: #5f536f;
  --line: rgba(33,31,50,.12);
  --line-strong: rgba(33,31,50,.2);
  --shadow-sm: 0 12px 34px rgba(48,40,42,.09);
  --shadow-lg: 0 30px 80px rgba(48,40,42,.16);
  --radius: 26px;
  --serif: Iowan Old Style, Palatino Linotype, Book Antiqua, Palatino, Georgia, serif;
  --sans: ui-rounded, "SF Pro Rounded", "Avenir Next", Avenir, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  min-width: 280px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(242,184,75,.15), transparent 28rem),
    radial-gradient(circle at 94% 28%, rgba(122,183,167,.13), transparent 30rem),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(33,31,50,.08);
  background: rgba(255,253,247,.9);
  backdrop-filter: blur(16px);
}
.nav-wrap { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -.025em; text-decoration: none; }
.brand img { width: 39px; height: 39px; }
.brand small { display: block; color: var(--muted); font-size: .67rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); font-size: .92rem; font-weight: 750; }
.nav-links a { color: var(--ink-soft); text-decoration: none; }
.nav-links a:hover { color: var(--coral); }
.nav-cta { padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 999px; }

.hero { overflow: hidden; padding: clamp(52px, 7vw, 104px) 0 74px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); align-items: center; gap: clamp(42px, 7vw, 90px); }
.eyebrow, .kicker { color: #a84437; font-size: .76rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow::before { width: 23px; height: 1px; background: currentColor; content: ""; }
.display { margin: 15px 0 24px; font-family: var(--serif); font-size: clamp(3.8rem, 8vw, 7.25rem); font-weight: 500; letter-spacing: -.072em; line-height: .88; }
.display em { color: var(--coral); font-weight: inherit; }
.lede { max-width: 650px; margin: 0 0 27px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.33rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(33,31,50,.2); }
.button-light { background: transparent; color: var(--ink); }
.button-light:hover { background: white; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .86rem; }
.hero-art { position: relative; min-height: 590px; }
.hero-art::before { content: none; }
.hero-photo { position: absolute; inset: 3% 12% 2% 8%; width: 80%; height: 94%; border: 10px solid white; border-radius: 49% 45% 44% 50% / 35% 39% 47% 45%; box-shadow: var(--shadow-lg); object-fit: cover; }
.cover-float { position: absolute; right: 0; bottom: 2%; width: 31%; height: auto; border: 6px solid white; border-radius: 15px; box-shadow: 0 18px 48px rgba(33,31,50,.24); transform: rotate(6deg); }
.art-badge { position: absolute; top: 1%; right: 2%; display: grid; width: 82px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(33,31,50,.1); border-radius: 50%; background: var(--cream); color: var(--ink-soft); font-family: var(--serif); font-size: .85rem; line-height: 1.05; text-align: center; transform: rotate(7deg); }

.trust-strip { border-block: 1px solid var(--line); background: rgba(251,243,223,.58); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 23px clamp(12px, 2.5vw, 30px); border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item b { display: block; margin-bottom: 3px; font-family: var(--serif); font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .82rem; }

section { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); align-items: end; gap: 40px; margin-bottom: 37px; }
.section-head h2, .statement h2, .support-card h2, .legal-card h1 { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(2.55rem, 5vw, 4.8rem); font-weight: 500; letter-spacing: -.055em; line-height: .94; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.65; }
.books { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.book-card { grid-column: span 4; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.78); box-shadow: var(--shadow-sm); }
.book-card.featured { grid-column: span 6; display: grid; grid-template-columns: .93fr 1.07fr; }
.book-visual { position: relative; min-height: 390px; overflow: hidden; background: var(--cream); }
.book-visual picture { position: absolute; inset: 0; display: block; }
.book-visual::after { position: absolute; inset: auto -8% -15% 24%; height: 47%; border-radius: 50%; background: rgba(255,255,255,.22); content: ""; }
.book-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.book-card:hover .book-visual img { transform: scale(1.025); }
.book-copy { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.book-number { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: var(--muted); font-size: .73rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.book-number span:last-child { color: var(--coral); }
.book-card h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.55rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.book-card p { margin: 13px 0 22px; color: var(--muted); font-size: .92rem; line-height: 1.58; }
.book-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 850; text-decoration: none; }
.book-link span { color: var(--muted); font-size: .76rem; font-weight: 650; }
.book-link::after { content: "↗"; color: var(--coral); font-size: 1.18rem; }

.values { background: var(--ink); color: white; }
.values .kicker { color: #f4c967; }
.statement { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(36px, 8vw, 100px); }
.statement h2 { color: white; }
.statement-copy { color: rgba(255,255,255,.72); font-size: 1.07rem; line-height: 1.72; }
.statement-copy > p { margin-top: 0; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.value { padding: 19px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.045); }
.value b { display: block; margin-bottom: 4px; color: white; font-family: var(--serif); font-size: 1.1rem; }
.value span { font-size: .86rem; line-height: 1.45; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { position: relative; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: 23px; background: rgba(255,255,255,.7); }
.guide-card::before { display: block; width: 42px; height: 4px; margin-bottom: 38px; border-radius: 99px; background: var(--accent, var(--honey)); content: ""; }
.guide-card.before { --accent: var(--honey); }
.guide-card.during { --accent: var(--mint); }
.guide-card.after { --accent: var(--coral); }
.guide-card h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 1.48rem; }
.guide-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.58; }

.support-wrap { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 20px; }
.support-card { padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: 30px; background: var(--cream); }
.support-card.alt { background: white; box-shadow: var(--shadow-sm); }
.support-card h2 { font-size: clamp(2.35rem, 4vw, 3.8rem); }
.support-card p { color: var(--muted); line-height: 1.68; }
.support-list { display: grid; gap: 12px; margin: 25px 0 0; padding: 0; list-style: none; }
.support-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.support-list li::before { display: grid; flex: 0 0 24px; height: 24px; place-items: center; border-radius: 50%; background: rgba(122,183,167,.2); color: #467d70; content: "✓"; font-size: .77rem; font-weight: 900; }
.tip-status { margin-top: 24px; padding: 16px 18px; border: 1px dashed var(--line-strong); border-radius: 16px; background: rgba(255,255,255,.5); color: var(--muted); font-size: .87rem; }
.payment-grid { display: grid; gap: 14px; margin-top: 23px; }
.payment-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: start; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.payment-card .qr { width: 116px; height: 116px; border: 1px solid var(--line); border-radius: 12px; background: white; object-fit: contain; }
.payment-card h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 1.14rem; line-height: 1.15; }
.payment-card p { margin: 0 0 9px; font-size: .8rem; line-height: 1.4; }
.network-warning { color: #854335 !important; }
.payment-card code { display: block; overflow-wrap: anywhere; color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; line-height: 1.45; }
.copy-button { margin-top: 9px; padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: white; color: var(--ink); font: 750 .78rem var(--sans); cursor: pointer; }
.copy-button:hover { border-color: var(--coral); color: var(--coral); }
.support-teaser-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 22px; margin-top: 24px; }
.support-teaser-body p { margin-top: 0; }
.support-teaser-qr { width: 150px; height: 150px; border: 1px solid var(--line); border-radius: 16px; background: white; object-fit: contain; }

.support-hub { max-width: 1040px; }
.support-hub section { padding: 0; }
.support-intro { max-width: 780px; }
.support-lede { margin: 20px 0 0; font-size: 1.08rem; }
.support-methods { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); align-items: start; gap: 18px; margin-top: 38px; }
.support-primary, .support-qr-card { align-self: start; padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 24px; }
.support-primary { background: var(--cream); }
.support-qr-card { background: white; box-shadow: var(--shadow-sm); }
.support-primary h2, .support-qr-card h2, .crypto-support > h2 { margin: 9px 0 13px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.05; }
.support-primary .button { margin-top: 8px; }
.payment-facts { display: grid; gap: 8px; margin: 23px 0 0; padding: 0; list-style: none; }
.payment-facts li { display: flex; gap: 9px; color: var(--ink-soft); font-size: .9rem; }
.payment-facts li::before { color: #467d70; content: "✓"; font-weight: 900; }
.provider-note { margin-bottom: 0; font-size: .79rem; }
.support-qr-card picture { display: block; width: min(240px, 100%); margin: 20px auto; }
.support-qr { width: 100%; height: auto; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 18px; background: white; object-fit: contain; }
.support-url { display: block; overflow-wrap: anywhere; font-size: .82rem; font-weight: 800; line-height: 1.5; }
.crypto-support { margin-top: 46px; padding-top: 40px; border-top: 1px solid var(--line); }
.crypto-support > p { max-width: 760px; }
.crypto-support .payment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.crypto-support .payment-card { grid-template-columns: 100px minmax(0, 1fr); }
.crypto-support .payment-card .qr { width: 100px; height: 100px; }
.wallet-warning { margin: 16px 0 0; color: #854335 !important; font-size: .84rem; font-weight: 750; }
.support-help { margin-top: 42px; padding-top: 8px; }

.contact-band { padding-top: 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(28px, 5vw, 54px); border-radius: 28px; background: linear-gradient(110deg, #d46755, #9d5d60); color: white; }
.contact-inner h2 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 500; line-height: 1; }
.contact-inner p { max-width: 650px; margin: 0; color: rgba(255,255,255,.8); }
.contact-inner .button { flex: 0 0 auto; border-color: white; background: white; color: var(--ink); }

.site-footer { padding: 34px 0 45px; color: var(--muted); font-size: .84rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 17px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--coral); }
.footer-note { max-width: 630px; margin: 10px 0 0; font-size: .76rem; line-height: 1.55; }

.legal-main { padding: 34px 0 90px; }
.legal-brand { margin-bottom: 48px; }
.legal-card { max-width: 840px; margin: auto; padding: clamp(28px, 6vw, 64px); border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.86); box-shadow: var(--shadow-sm); }
.legal-card h1 { margin-top: 0; }
.legal-card h2 { margin: 32px 0 8px; font-family: var(--serif); font-size: 1.35rem; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.7; }
.legal-card a { color: #6d4d73; }
.legal-card .button { color: white; }
.legal-date { margin-top: 10px; font-size: .85rem; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-art { width: min(650px, 100%); min-height: 610px; margin: auto; }
  .book-card { grid-column: span 6; }
  .statement { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .support-wrap { grid-template-columns: 1fr; }
  .support-methods { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 26px, 1180px); }
  .brand small { display: none; }
  .nav-links { gap: 12px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 42px; }
  .display { font-size: clamp(3.45rem, 17vw, 5rem); }
  .hero-art { min-height: 470px; }
  .hero-photo { inset: 4% 14% 3% 5%; width: 82%; border-width: 7px; }
  .cover-float { right: 1%; width: 35%; border-width: 4px; }
  .art-badge { width: 64px; font-size: .7rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .books { display: block; }
  .book-card, .book-card.featured { display: grid; grid-template-columns: 42% 58%; margin-bottom: 15px; }
  .book-visual { min-height: 310px; }
  .book-copy { padding: 20px 17px; }
  .book-card h3 { font-size: 1.45rem; }
  .book-card p { font-size: .86rem; }
  .value-grid, .guide-grid { grid-template-columns: 1fr; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .crypto-support .payment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .payment-card { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 13px; }
  .payment-card .qr { width: 92px; height: 92px; }
  .support-teaser-body { grid-template-columns: 1fr; }
  .support-teaser-qr { width: min(220px, 100%); height: auto; margin-inline: auto; }
  .crypto-support .payment-card { grid-template-columns: 86px minmax(0, 1fr); }
  .crypto-support .payment-card .qr { width: 86px; height: 86px; }
}

@media (max-width: 470px) {
  .book-card, .book-card.featured { display: flex; }
  .book-visual { min-height: 410px; }
  .hero-art { min-height: 420px; }
  .hero-note { max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
