:root {
  --ink: #273442;
  --muted: #4f5f6c;
  --cream: #f5f9fb;
  --paper: rgba(255, 255, 252, .74);
  --lavender: #dfeaf1;
  --deep-lavender: #635a83;
  --sage: #b8c8c6;
  --gold: #c39b4b;
  --line: rgba(65, 88, 104, 0.16);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 224, 143, .34), transparent 24rem),
    radial-gradient(circle at 12% 42%, rgba(255,255,255,.9), transparent 30rem),
    linear-gradient(180deg, #edf7fc 0%, #f7fbfc 34%, #fffaf0 68%, #f2f8fb 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
body::before {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; content: "";
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { margin-bottom: 24px; font-size: clamp(3.5rem, 7vw, 7rem); letter-spacing: -.055em; }
h2 { margin-bottom: 24px; font-size: clamp(2.5rem, 4.4vw, 4.7rem); letter-spacing: -.045em; }
h3 { font-size: 1.75rem; letter-spacing: -.02em; }
em { color: var(--deep-lavender); font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 9px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 10px; }

.site-header {
  position: absolute; z-index: 10; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  width: min(1440px, calc(100% - 9vw)); margin: auto; padding: 30px 0;
}
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.02em; }
.logo-mark { color: var(--gold); font-size: .95em; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-size: .77rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.site-nav > a:not(.button) { transition: color .25s; }
.site-nav > a:not(.button):hover { color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px;
  padding: 0 27px; border: 1px solid transparent; border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 43px; padding: 0 20px; }
.button-dark { color: #fff; background: #51496f; box-shadow: 0 8px 20px rgba(74, 65, 101, .18); }
.button-primary { color: #fff; background: linear-gradient(135deg, #746a94, #635a83); box-shadow: 0 12px 26px rgba(82, 72, 112, .25); }
.button-primary:hover { background: linear-gradient(135deg, #685e88, #51496f); box-shadow: 0 15px 30px rgba(82, 72, 112, .31); }
.button-light { color: var(--ink); background: var(--cream); }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding: 12px 3px 8px; border-bottom: 1px solid var(--line); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.text-link span { color: var(--gold); }
.section-pad { padding: clamp(80px, 10vw, 145px) max(5vw, calc((100vw - 1320px) / 2)); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--deep-lavender); font-size: .68rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 25px; height: 1px; background: var(--gold); }

.hero {
  min-height: 820px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  max-width: 1540px; margin: auto; padding: 140px 5vw 70px;
}
.hero-copy { position: relative; z-index: 2; max-width: 780px; padding: 40px 0; }
.hero-intro { max-width: 620px; margin-bottom: 34px; color: var(--muted); font-family: var(--serif); font-size: clamp(1.2rem, 1.65vw, 1.55rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.tiny-note { margin: 30px 0 0 11px; color: #667783; font-size: .72rem; letter-spacing: .08em; }
.tiny-note span { color: var(--gold); margin-right: 6px; }
.hero-art { position: relative; min-height: 610px; display: grid; place-items: center; overflow: hidden; }
.glow-orb {
  position: absolute; width: min(43vw, 600px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 47% 45%, rgba(255,252,232,.98) 0 15%, rgba(205,229,242,.78) 52%, rgba(185,215,233,.1) 72%);
  box-shadow: 0 0 110px rgba(159, 205, 231, .3);
}
.glow-orb::after { position: absolute; inset: 10%; border: 1px solid rgba(116,168,197,.22); border-radius: inherit; content: ""; }
.pet-illustration { position: relative; z-index: 1; width: min(72%, 470px); overflow: visible; }
.pet-fill { fill: rgba(250,247,239,.72); }
.pet-line, .pet-detail, .land-line, .wisp { fill: none; stroke: #667d8c; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.pet-detail { stroke-width: .85; opacity: .7; }
.land-line { stroke: var(--gold); opacity: .5; }
.wisp { opacity: .22; }
.horizon-illustration { width: min(82%, 530px); }
.sun-disc { fill: rgba(255, 234, 166, .32); stroke: var(--gold); stroke-width: .8; }
.sun-ray, .cloud-line, .path-line, .bird-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sun-ray { stroke: var(--gold); stroke-width: .8; opacity: .5; }
.cloud-line { stroke: #86a8bc; stroke-width: .8; opacity: .42; }
.horizon-far { opacity: .25; }
.path-line { stroke: #7894a5; stroke-width: 1; opacity: .5; }
.bird-line { stroke: #668293; stroke-width: 1; opacity: .58; }
.star { position: absolute; z-index: 2; color: var(--gold); animation: float 5s ease-in-out infinite; }
.star-one { top: 22%; left: 17%; font-size: 1.1rem; }
.star-two { top: 31%; right: 13%; font-size: 2rem; animation-delay: -1s; }
.star-three { right: 22%; bottom: 24%; animation-delay: -2s; }
.art-caption { position: absolute; z-index: 2; bottom: 8%; margin: 0; color: var(--deep-lavender); font-family: var(--serif); font-size: .9rem; font-style: italic; letter-spacing: .08em; }
@keyframes float { 50% { transform: translateY(-8px); opacity: .55; } }

.featured { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 11vw, 170px); align-items: center; background: rgba(255,255,252,.58); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); backdrop-filter: blur(3px); }
.guide-cover-wrap { position: relative; display: grid; place-items: center; min-height: 600px; }
.guide-cover {
  position: relative; z-index: 2; width: min(100%, 380px); aspect-ratio: .72;
  padding: 30px; border: 1px solid rgba(99, 135, 157, .25);
  background: linear-gradient(145deg, #d9e9f1, #edf4f6 60%, #d0e0e9);
  box-shadow: -22px 27px 55px rgba(65, 56, 72, .18); transform: rotate(-2.5deg);
  text-align: center;
}
.guide-cover::before { position: absolute; inset: 11px; border: 1px solid rgba(157,129,93,.33); content: ""; }
.cover-brand { display: flex; justify-content: space-between; color: #526877; font-size: .55rem; font-weight: 700; letter-spacing: .18em; }
.cover-symbol { display: grid; place-items: center; height: 43%; color: var(--gold); }
.cover-symbol span { position: absolute; font-size: 1rem; }
.cover-symbol svg { width: 120px; fill: none; stroke: #668293; stroke-width: .7; }
.guide-cover h2 { margin: 0 auto 15px; max-width: 290px; font-size: clamp(2rem, 3vw, 2.75rem); }
.guide-cover > p:not(.cover-brand) { font-family: var(--serif); font-size: .84rem; font-style: italic; }
.cover-line { width: 32px; height: 1px; margin: 27px auto; background: var(--gold); }
.cover-shadow { position: absolute; bottom: 47px; width: 65%; height: 35px; border-radius: 50%; background: rgba(58,48,63,.2); filter: blur(17px); }
.featured-copy { max-width: 670px; }
.large-copy { margin-bottom: 35px; color: var(--muted); font-family: var(--serif); font-size: 1.25rem; line-height: 1.65; }
.benefit-list { display: grid; gap: 13px; padding: 25px 0 31px; margin: 0 0 35px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.benefit-list li { position: relative; padding-left: 29px; color: #445762; font-size: .9rem; }
.benefit-list li::before { position: absolute; left: 3px; color: var(--gold); content: "✦"; font-size: .6rem; }
.buy-row { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.price { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.format { color: var(--muted); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }

.why { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(202,228,242,.48), rgba(255,255,255,.32) 58%, rgba(250,225,162,.24)); text-align: center; }
.why::before, .why::after { position: absolute; border: 1px solid rgba(84,132,160,.15); border-radius: 50%; content: ""; }
.why::before { width: 330px; height: 330px; top: -220px; left: -90px; }
.why::after { width: 240px; height: 240px; right: -85px; bottom: -175px; }
.why-inner { max-width: 900px; margin: auto; }
.large-star { display: block; margin-bottom: 27px; color: var(--gold); font-size: 1.4rem; }
.centered { justify-content: center; }
.why h2 { margin-inline: auto; max-width: 850px; }
.why p:last-child { max-width: 700px; margin: auto; color: #445964; font-family: var(--serif); font-size: 1.25rem; line-height: 1.7; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 11vw, 170px); align-items: center; }
.about-art { display: grid; place-items: center; }
.arch { position: relative; width: min(100%, 440px); aspect-ratio: .85; overflow: hidden; border-radius: 220px 220px 5px 5px; background: radial-gradient(circle at 50% 38%, rgba(255,236,172,.62), transparent 30%), linear-gradient(#e6f1f7, #faf7ed); box-shadow: 0 22px 50px rgba(89,122,142,.12); }
.arch::after { position: absolute; inset: 18px; border: 1px solid rgba(185,151,91,.4); border-radius: inherit; content: ""; }
.arch svg { position: absolute; z-index: 1; inset: 4% 6% 0; width: 88%; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1; }
.founder-sun { position: absolute; z-index: 2; top: 37%; left: 50%; color: var(--gold); font-size: 1.1rem; transform: translate(-50%, -50%); }
.founder-disc { fill: rgba(255,241,193,.42); stroke: rgba(195,155,75,.7); }
.founder-horizon { stroke: #6f91a4; opacity: .55; }
.founder-rays { stroke: var(--gold); opacity: .48; }
.founder-birds { stroke: #658397; opacity: .6; }
.about-copy { max-width: 650px; }
.about-copy > p:not(.eyebrow):not(.signature) { color: var(--muted); font-family: var(--serif); font-size: 1.15rem; line-height: 1.75; }
.signature { margin-top: 35px; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.signature em { display: inline-block; margin-left: 7px; font-family: var(--serif); font-size: 1.6rem; letter-spacing: -.03em; text-transform: none; transform: rotate(-5deg); }

.library { background: rgba(255,255,252,.5); border-top: 1px solid var(--line); backdrop-filter: blur(3px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 65px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 370px; margin: 0 0 8px; color: var(--muted); font-family: var(--serif); font-size: 1.05rem; }
.guide-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px;
  padding: 18px 0 30px;
}
.guide-card {
  --cover: #e5dfec;
  position: relative; display: grid; grid-template-rows: 72px 18px 88px 1fr; row-gap: 8px; min-height: 310px; padding: 24px;
  overflow: hidden; border: 1px solid rgba(84,105,120,.16); border-radius: 14px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--cover) 78%, white), var(--cover));
  box-shadow: 0 15px 34px rgba(77,103,120,.1);
  text-decoration: none; transform-origin: bottom center;
  transition: transform .3s, box-shadow .3s;
}
.guide-card:nth-child(1),
.guide-card:nth-child(8),
.guide-card:nth-child(10) { --cover: #e5edf3; }
.guide-card:nth-child(2),
.guide-card:nth-child(7),
.guide-card:nth-child(12),
.guide-card:nth-child(13) { --cover: #f4edcf; }
.guide-card:nth-child(3),
.guide-card:nth-child(6),
.guide-card:nth-child(9) { --cover: #edf2f3; }
.guide-card:nth-child(4),
.guide-card:nth-child(5),
.guide-card:nth-child(11),
.guide-card:nth-child(14) { --cover: #e3e8f2; }
.guide-card::before { position: absolute; inset: 9px; border: 1px solid rgba(133,106,75,.18); border-radius: 9px; pointer-events: none; content: ""; }
.guide-card::after { position: absolute; width: 110px; height: 110px; top: -65px; right: -55px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; content: ""; }
.guide-card:hover { z-index: 2; transform: translateY(-7px); box-shadow: 0 23px 38px rgba(77,103,120,.16); }
.guide-grid .guide-card.reveal { opacity: 1; }
.card-icon { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 7px; min-height: 62px; color: var(--gold); font-family: var(--serif); font-size: 1.35rem; }
.card-icon span { min-height: 2.5em; color: rgba(50, 45, 59, .74); font-family: var(--sans); font-size: .5rem; font-weight: 700; line-height: 1.25; letter-spacing: .12em; text-transform: uppercase; }
.coming { position: relative; z-index: 1; margin: 0; align-self: end; color: var(--deep-lavender); font-size: .5rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.guide-card h3 { position: relative; z-index: 1; max-width: 220px; margin: 0; font-size: 1.35rem; line-height: 1.03; }
.guide-card > p:last-child { position: relative; z-index: 1; margin-bottom: 0; color: rgba(41, 37, 49, .9); font-family: var(--serif); font-size: .76rem; line-height: 1.42; }
.guide-card.library-extra { display: none; }
.library-browser { margin-top: 38px; }
.library-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: rgba(255,255,255,.52); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
.library-toggle-icon { color: var(--deep-lavender); font-family: var(--serif); font-size: 1.7rem; font-weight: 400; line-height: 1; transition: transform .25s; }
.library-toggle[aria-expanded="true"] .library-toggle-icon { transform: rotate(45deg); }
.full-library { padding-top: 26px; }
.library-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.topic-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-filter { padding: 9px 14px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); background: rgba(255,255,255,.5); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.topic-filter.active { border-color: transparent; color: #fff; background: var(--deep-lavender); }
.sort-guides { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sort-guides select { padding: 9px 28px 9px 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink); background: rgba(255,255,255,.65); font: inherit; }
.guide-list { border-top: 1px solid var(--line); }
.guide-list-item { border-bottom: 1px solid var(--line); }
.guide-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; width: 100%; padding: 18px 4px; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.guide-row-copy { display: grid; grid-template-columns: minmax(170px, .85fr) 1.5fr; align-items: center; gap: 24px; }
.guide-row h3 { margin: 0; font-size: 1.45rem; }
.guide-row-topic { margin: 0 0 4px; color: var(--deep-lavender); font-size: .55rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.guide-row-description { margin: 0; color: var(--muted); font-family: var(--serif); font-size: .92rem; }
.guide-row-plus { color: var(--gold); font-family: var(--serif); font-size: 1.65rem; font-weight: 400; transition: transform .25s; }
.guide-list-item.open .guide-row-plus { transform: rotate(45deg); }
.guide-row-details { display: none; justify-content: flex-end; padding: 0 4px 20px; }
.guide-list-item.open .guide-row-details { display: flex; }
.guide-row-details .button { min-height: 42px; }

.signup { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #51496f, #635a83); }
.signup::after { position: absolute; width: 380px; height: 380px; right: -180px; top: -240px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.signup-inner { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(50px, 10vw, 160px); align-items: end; }
.signup h2 { max-width: 700px; }
.signup p:not(.eyebrow):not(.form-note) { max-width: 590px; color: #edf4f7; font-family: var(--serif); font-size: 1.08rem; }
.light { color: #f3f7fa; }
.signup-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.signup-form input { min-width: 0; padding: 0 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; outline: none; color: #fff; background: rgba(255,255,255,.08); }
.signup-form input::placeholder { color: #d7e2e8; }
.signup-form input:focus { border-color: #fff; }
.form-note { grid-column: 1 / -1; margin: 3px 0 0 17px; color: #bdd0da; font-size: .63rem; letter-spacing: .05em; }
.footer { display: grid; grid-template-columns: 1fr 1.8fr 1fr; align-items: center; gap: 30px; padding: 30px 5vw; color: #5d6d79; background: var(--cream); font-size: .67rem; letter-spacing: .04em; }
.footer p { margin: 0; }
.footer p:nth-child(2) { text-align: center; }
.footer p:last-child { text-align: right; }
.footer-logo { color: var(--ink); font-size: 1rem; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 40px); padding: 23px 0; }
  .menu-toggle { z-index: 12; display: grid; gap: 6px; padding: 10px; }
  .menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 11; inset: 0; display: none; flex-direction: column; justify-content: center; background: rgba(248,244,236,.98); font-size: .85rem; }
  .site-nav.open { display: flex; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 150px 20px 70px; }
  .hero-copy { padding: 0; }
  .hero-art { min-height: 520px; }
  .glow-orb { width: min(90vw, 520px); }
  .featured, .about, .signup-inner { grid-template-columns: 1fr; }
  .featured { gap: 45px; }
  .featured-copy { margin: auto; }
  .about-art { order: 2; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .library-tools { align-items: flex-start; flex-direction: column; }
  .guide-card { min-height: 285px; }
  .signup-form { max-width: 600px; }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .footer p:last-child { text-align: center; }
}

@media (max-width: 560px) {
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.7rem; }
  .hero-actions, .buy-row { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: center; }
  .hero-art { min-height: 420px; }
  .pet-illustration { width: 90%; }
  .section-pad { padding: 78px 20px; }
  .guide-cover-wrap { min-height: 480px; }
  .guide-cover { width: 85vw; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 8px 0 28px; }
  .guide-card { min-height: 260px; padding: 19px 16px; }
  .guide-card h3 { min-height: 3.1em; font-size: 1.18rem; }
  .guide-card > p:last-child { display: none; }
  .guide-row-copy { display: block; }
  .guide-row-description { margin-top: 8px; }
  .signup-form { grid-template-columns: 1fr; }
  .signup-form input { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
