:root {
  --ink: #313048;
  --ink-soft: #68677c;
  --cream: #fffaf0;
  --white: #fffefb;
  --sky: #bfe2ff;
  --blue: #78b8ed;
  --pink: #f7bfd5;
  --pink-dark: #e987ad;
  --lavender: #d9ccfa;
  --mint: #c9efda;
  --yellow: #ffe489;
  --border: 2px solid var(--ink);
  --soft-border: 2px solid rgba(49, 48, 72, .8);
  --shadow: 5px 6px 0 rgba(49, 48, 72, .13);
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Nunito, system-ui, sans-serif; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; 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='.82' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 2000; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 100; padding-top: 20px; }
.site-nav { min-height: 70px; padding: 10px 12px 10px 20px; display: flex; align-items: center; justify-content: space-between; border: var(--border); border-radius: 22px; background: rgba(255, 254, 251, .88); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 900; letter-spacing: -.055em; }
.logo > span:last-child > span { color: #699fd5; }
.logo-bubble { display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); background: var(--yellow); border: var(--border); border-radius: 50% 50% 50% 12px; box-shadow: 3px 3px 0 var(--pink); font-family: Gaegu, cursive; font-size: 27px; transform: rotate(-5deg); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 800; }
.nav-links > a:not(.nav-cta) { position: relative; padding: 10px 0; }
.nav-links > a:not(.nav-cta)::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; background: var(--pink-dark); border-radius: 50%; opacity: 0; transform: translateX(-50%); }
.nav-links > a.active::after, .nav-links > a:hover::after { opacity: 1; }
.nav-cta { display: inline-flex; align-items: center; gap: 13px; padding: 12px 17px; border: var(--border); border-radius: 14px; background: var(--sky); box-shadow: 3px 3px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.nav-cta:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.menu-toggle { display: none; padding: 10px 13px; border: 0; background: transparent; font-weight: 800; }

.diary-label, .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 11px; border: 1.5px solid var(--ink); border-radius: 7px; background: var(--white); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; box-shadow: 2px 2px 0 rgba(49,48,72,.15); transform: rotate(-1deg); }
.diary-label span { color: var(--pink-dark); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 15px 20px; border: var(--border); border-radius: 15px; font-weight: 900; box-shadow: 4px 4px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.button-primary { background: var(--pink); }
.button-dark { color: white; background: var(--ink); box-shadow: 4px 4px 0 var(--pink-dark); }
.button-dark:hover { box-shadow: 7px 7px 0 var(--pink-dark); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.site-footer { padding: 40px 0; background: var(--ink); color: white; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr auto; gap: 35px; align-items: center; }
.footer-logo > span:last-child > span { color: var(--sky); }
.footer-inner p { margin: 0; color: #d5d3df; font-size: 14px; }
.footer-inner > div { display: flex; gap: 20px; font-size: 13px; font-weight: 800; }
.footer-inner > span { font-size: 11px; color: #aaa8b9; }
.page-sticker { position: absolute; z-index: 0; font-family: Gaegu, cursive; }
.sticker-star { left: 3%; top: 160px; color: var(--pink-dark); font-size: 38px; animation: float 4s ease-in-out infinite; }
.sticker-heart { right: 3%; top: 560px; color: #72b79b; font-size: 29px; animation: float 4s 1s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-9px) rotate(7deg); } }

@media (max-width: 780px) {
  .shell { width: min(100% - 24px, var(--shell)); }
  .site-header { padding-top: 10px; }
  .site-nav { min-height: 62px; padding: 8px 10px 8px 13px; border-radius: 17px; }
  .logo { font-size: 20px; }
  .logo-bubble { width: 36px; height: 36px; font-size: 23px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; display: none; padding: 16px; align-items: stretch; flex-direction: column; gap: 5px; background: var(--white); border: var(--border); border-radius: 16px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px !important; }
  .nav-links > a:not(.nav-cta)::after { display: none; }
  .nav-cta { justify-content: space-between; box-shadow: 2px 2px 0 var(--ink); }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; justify-items: center; }
  .footer-inner > div { flex-wrap: wrap; justify-content: center; }
}

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