:root {
  --pink: #ff5a9e;
  --hot-pink: #eb2f7f;
  --coral: #ff725e;
  --yellow: #ffd84f;
  --cream: #fff8e9;
  --lilac: #d8c5ff;
  --purple: #7447d8;
  --blue: #55c7e9;
  --navy: #20214a;
  --mint: #b8efd6;
  --paper: #fffdf8;
  --line: #e8d9e1;
  --shadow: 0 18px 50px rgba(66, 28, 76, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); font-family: "DM Sans", sans-serif; background: var(--paper); overflow-x: hidden; }
body.email-gate-open { overflow: hidden; }
.email-gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow-y: auto; padding: 1.5rem; background: radial-gradient(circle at 8% 18%,rgba(244,181,83,.38) 0 9%,transparent 9.2%),radial-gradient(circle at 92% 82%,rgba(111,188,215,.36) 0 12%,transparent 12.2%),radial-gradient(circle at 88% 12%,rgba(239,175,194,.42) 0 8%,transparent 8.2%),#fbf7ef; }
.email-gate[hidden] { display: none; }
.email-gate-card { width: min(100%,560px); padding: clamp(1.5rem,5vw,2.6rem); border: 1px solid rgba(137,164,135,.45); border-radius: 30px; background: rgba(255,252,246,.96); box-shadow: 0 24px 70px rgba(119,92,79,.16); text-align: center; }
.email-gate-logo { display: block; width: min(240px,62vw); height: auto; margin: -1rem auto -1.6rem; mix-blend-mode: multiply; }
.email-gate .eyebrow { color: #dd7f72; letter-spacing: .2em; }
.email-gate h1 { margin: .35rem 0 .8rem; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2rem,7vw,3.15rem); font-weight: 500; line-height: 1.02; color: #748f78; }
.email-gate-card > p:not(.eyebrow) { color: #626479; }
.email-gate-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: .55rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.email-gate-benefits li { padding: .65rem .45rem; border: 1px solid rgba(137,164,135,.4); border-radius: 12px; background: #f8f2e8; color: #617965; font-size: .75rem; font-weight: 700; line-height: 1.3; }
.email-gate-price { display: inline-grid; margin-top: .7rem; padding: .55rem 1rem; border: 2px solid #748f78; border-radius: 14px; background: #eef3eb; color: #617965; }.email-gate-price strong { font: 700 1.8rem/1 "Fredoka"; }.email-gate-price span { margin-top: .2rem; font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.email-gate form { display: grid; gap: 1rem; margin-top: 1.5rem; text-align: left; }
.email-gate-email { display: grid; gap: .4rem; font-weight: 800; }
.email-gate-email input { width: 100%; padding: .9rem 1rem; border: 2px solid #91a98e; border-radius: 12px; background: #fffefa; color: var(--navy); }
.email-gate-email input:focus { outline: 3px solid rgba(240,174,194,.45); outline-offset: 2px; }
.email-gate-consent { display: flex; align-items: start; gap: .65rem; font-size: .86rem; line-height: 1.4; }
.email-gate-consent input { width: 18px; height: 18px; margin-top: .1rem; accent-color: #ff5a9e; flex: 0 0 auto; }
.email-gate form .button { width: 100%; }
.email-gate form .button { background: linear-gradient(90deg,#ed8a78,#efacc1); border-color: #d87a70; color: white; }
.email-gate-privacy { margin: 0; color: #737487; font-size: .76rem; line-height: 1.4; text-align: center; }
.email-gate-status { min-height: 1.2em; margin: 0; color: #b22557; font-size: .84rem; font-weight: 700; text-align: center; }
.email-gate-honeypot { position: absolute!important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.email-gate-social { display: grid; gap: .55rem; margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid rgba(137,164,135,.35); }
.email-gate-social span { color: #7d827c; font-size: .78rem; }
.email-gate-social a { display: inline-flex; justify-content: center; align-items: center; gap: .35rem; padding: .75rem 1rem; border: 1px solid #8ca18a; border-radius: 99px; background: #f8f2e8; color: #708c74; font-weight: 700; text-decoration: none; }
.email-gate-social a:hover { background: #eef3eb; transform: translateY(-1px); }
button, input, textarea { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: white; padding: .8rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.25rem, 5vw, 5rem); border-bottom: 1px solid rgba(32,33,74,.12); background: rgba(255,253,248,.94); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font: 700 .92rem "Fredoka"; letter-spacing: .05em; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; transform: rotate(-8deg); background: var(--pink); color: white; border-radius: 50% 46% 52% 44%; }
.brand-logo { width: 46px; height: 46px; border: 1px solid rgba(137,164,135,.35); border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
nav { display: flex; gap: 2rem; }
nav a { text-decoration: none; font-weight: 700; font-size: .9rem; }
nav a:hover { color: var(--hot-pink); }
.print-button { border: 2px solid var(--navy); background: transparent; padding: .7rem 1rem; border-radius: 999px; font-weight: 800; cursor: pointer; }
.print-button:hover { background: var(--navy); color: white; }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 3rem; padding: 5rem clamp(1.5rem, 8vw, 8rem); position: relative; background: radial-gradient(circle at 65% 15%, #fff0a8 0, transparent 16%), linear-gradient(130deg, #fff9ed 0%, #ffe9f3 52%, #e5f8ff 100%); overflow: hidden; }
.hero::before { content: ""; width: 200px; height: 200px; border: 34px solid rgba(255,90,158,.12); border-radius: 50%; position: absolute; left: -105px; bottom: 40px; }
.eyebrow { margin: 0 0 .75rem; color: var(--hot-pink); font-weight: 800; font-size: .75rem; letter-spacing: .18em; }
h1, h2, h3 { font-family: "Fredoka", sans-serif; margin-top: 0; }
h1 { max-width: 720px; font-size: clamp(3.8rem, 7.5vw, 7.1rem); line-height: .88; letter-spacing: -.055em; margin-bottom: 1.8rem; }
h1 span { color: var(--hot-pink); }
.hero-intro { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.65; max-width: 610px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2.2rem 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 52px; padding: .85rem 1.35rem; border-radius: 999px; text-decoration: none; border: 0; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--pink); color: white; box-shadow: 0 10px 24px rgba(235,47,127,.24); }
.button-ghost { border: 2px solid var(--navy); }
.button-dark { background: var(--navy); color: white; }
.pep-talk { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .9rem; }
.pep-talk span { color: var(--coral); font-size: 1.4rem; }

.hero-art { min-height: 520px; position: relative; display: grid; place-items: center; }
.rainbow-card { width: min(390px, 78vw); aspect-ratio: 1 / 1.13; background: var(--cream); border: 3px solid var(--navy); border-radius: 48% 48% 28% 28%; position: relative; overflow: hidden; box-shadow: 16px 18px 0 var(--navy); transform: rotate(3deg); }
.rainbow { position: absolute; border-radius: 50% 50% 0 0; border-bottom: 0; left: 50%; transform: translateX(-50%); bottom: 23%; }
.rainbow-1 { width: 82%; height: 48%; border: 38px solid var(--pink); border-bottom: 0; }
.rainbow-2 { width: 64%; height: 38%; border: 34px solid var(--yellow); border-bottom: 0; bottom: 23%; }
.rainbow-3 { width: 47%; height: 29%; border: 30px solid var(--blue); border-bottom: 0; bottom: 23%; }
.rainbow-4 { width: 30%; height: 19%; border: 25px solid var(--purple); border-bottom: 0; bottom: 23%; }
.rainbow-center { position: absolute; left: 50%; bottom: 17%; transform: translateX(-50%); font-size: 3.8rem; color: var(--coral); }
.sun-burst { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255,216,79,.32) 0 8deg, transparent 8deg 20deg); }
.hero-sticker { position: absolute; z-index: 3; display: grid; place-items: center; text-align: center; font: 800 1.05rem/1 "Fredoka"; border: 3px solid var(--navy); box-shadow: 5px 6px 0 var(--navy); }
.sticker-one { background: var(--yellow); width: 110px; height: 110px; border-radius: 50%; left: 3%; top: 6%; transform: rotate(-10deg); }
.sticker-two { background: var(--lilac); width: 94px; height: 110px; border-radius: 18px; right: 2%; bottom: 9%; font-size: 2.1rem; transform: rotate(8deg); }
.sticker-two small { font-size: .78rem; letter-spacing: .1em; }
.doodle { position: absolute; z-index: 4; font-size: 2.8rem; }
.doodle-star { color: var(--pink); right: 3%; top: 6%; }
.doodle-flower { color: var(--purple); left: 4%; bottom: 5%; }
.doodle-heart { color: var(--coral); right: 18%; top: 0; }

.legend-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--navy); border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); }
.legend-strip > div { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; padding: 1.35rem clamp(1rem, 5vw, 4rem); background: white; }
.legend-strip small { grid-column: 2; color: #686985; }
.legend-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; grid-row: 1 / span 2; font-weight: 900; }
.legend-icon.coral { background: #ffe1dc; color: var(--coral); }
.legend-icon.yellow { background: #fff4bd; color: #b97900; }
.legend-icon.blue { background: #dff7ff; color: #1686aa; }

.plan-section { padding: 6rem clamp(1.5rem, 7vw, 7rem); background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2, .checklist-copy h2, .diary-heading h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: 1; margin-bottom: 0; letter-spacing: -.04em; }
.section-heading > p { max-width: 530px; line-height: 1.6; color: #66677d; }
.week-tabs { display: flex; gap: .6rem; overflow-x: auto; padding: .25rem .1rem 1rem; scrollbar-width: thin; }
.week-tab { min-width: 120px; border: 2px solid var(--navy); background: white; padding: .9rem 1.1rem; border-radius: 16px; cursor: pointer; font-weight: 800; color: var(--navy); }
.week-tab[aria-selected="true"] { color: white; background: var(--navy); box-shadow: 5px 5px 0 var(--pink); transform: translateY(-2px); }
.week-panel { margin-top: 1.5rem; animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.week-banner { min-height: 220px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; padding: clamp(1.5rem, 5vw, 3.5rem); border: 3px solid var(--navy); border-radius: 28px; background: var(--week-bg); box-shadow: 9px 10px 0 var(--navy); overflow: hidden; position: relative; }
.week-banner::after { content: attr(data-number); position: absolute; right: 1.5rem; top: -3.6rem; font: 700 15rem "Fredoka"; opacity: .09; }
.week-banner h3 { font-size: clamp(2.4rem, 5vw, 5rem); margin-bottom: .4rem; line-height: .95; }
.week-banner p { font-weight: 700; max-width: 670px; }
.week-date { align-self: start; padding: .6rem 1rem; border: 2px solid var(--navy); border-radius: 999px; background: white; font-weight: 800; white-space: nowrap; }
.category { margin-top: 3.5rem; }
.category-heading { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.category-heading h3 { margin: 0; font-size: 1.65rem; }
.category-heading span { padding: .32rem .7rem; background: #f1edf3; border-radius: 99px; color: #66677d; font-weight: 700; font-size: .75rem; }
.weeks-view-tabs { display: flex; gap: .75rem; padding: 1.25rem clamp(1.5rem,5vw,5rem); border-bottom: 2px solid var(--navy); background: white; position: sticky; top: 82px; z-index: 9; }
.weeks-view-tabs button { padding: .8rem 1.2rem; border: 2px solid var(--navy); border-radius: 99px; background: white; color: var(--navy); font-weight: 800; cursor: pointer; }
.weeks-view-tabs button[aria-selected="true"] { background: var(--navy); color: white; }
.weeks-view-panel { display: none; }
.weeks-view-panel.active { display: block; }
.curriculum-overview { padding: 3rem clamp(1.5rem,5vw,5rem); background: #fffaf5; border-bottom: 2px solid var(--navy); }
.curriculum-overview-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.5rem; }
.curriculum-overview-heading h2 { margin: .2rem 0 .4rem; font-size: clamp(2rem,4vw,3rem); }
.curriculum-overview-heading p { margin: 0; color: #626479; }
.curriculum-overview-heading > span { padding: .45rem .8rem; border-radius: 99px; background: var(--navy); color: white; font-weight: 800; white-space: nowrap; }
.curriculum-overview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.curriculum-week-card { display: flex; flex-direction: column; min-width: 0; padding: 1.35rem; border: 2px solid var(--navy); border-radius: 18px; background: linear-gradient(180deg,var(--curriculum-colour) 0 8px,#fff 8px); box-shadow: 4px 4px 0 var(--navy); }
.curriculum-week-card header { display: flex; justify-content: space-between; gap: 1rem; margin-top: .25rem; color: #66677d; font-weight: 800; }
.curriculum-week-card header span { color: var(--navy); }
.curriculum-week-card h3 { margin: 1rem 0; font-size: 1.2rem; line-height: 1.25; }
.curriculum-week-card dl { display: grid; gap: .8rem; margin: 0 0 1.2rem; }
.curriculum-week-card dl div { padding-top: .7rem; border-top: 1px solid #dedce4; }
.curriculum-week-card dt { margin-bottom: .2rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #77788c; }
.curriculum-week-card dd { margin: 0; font-size: .88rem; line-height: 1.4; }
.curriculum-open-week { margin-top: auto; padding: .7rem 1rem; border: 0; border-radius: 10px; background: var(--navy); color: white; font-weight: 800; cursor: pointer; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.plan-card { min-height: 270px; padding: 1.5rem; display: flex; flex-direction: column; border: 2px solid var(--navy); border-radius: 22px; background: white; box-shadow: 5px 6px 0 #eadde3; position: relative; transition: transform .2s, box-shadow .2s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: 7px 10px 0 #e3d2dc; }
.plan-card.side { background: #fff9da; }
.plan-card.skill { background: #eaf9ff; min-height: 230px; }
.card-meta { display: flex; justify-content: space-between; gap: .8rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #6f7087; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 1.25rem 0 1rem; border-radius: 14px; background: var(--card-accent, #ffe0eb); font-size: 1.6rem; }
.plan-card h4 { font: 700 1.3rem/1.15 "Fredoka"; margin: 0 0 .65rem; }
.plan-card p { margin: 0 0 1.25rem; color: #5f6075; line-height: 1.5; font-size: .9rem; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; gap: .6rem; text-decoration: none; font-weight: 800; color: var(--hot-pink); }
.card-link::after { content: "↗"; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; }
.card-link:hover { text-decoration: underline; }

.checklist-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); padding: 6rem clamp(1.5rem, 8vw, 8rem); background: var(--navy); color: white; }
.checklist-copy { position: sticky; top: 110px; align-self: start; }
.checklist-copy > p:not(.eyebrow) { line-height: 1.65; color: #c8c9dc; }
.progress-card { margin-top: 2rem; padding: 1.5rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; }
.progress-top { display: flex; justify-content: space-between; }
.progress-track { height: 12px; margin: 1rem 0; background: rgba(255,255,255,.14); border-radius: 99px; overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--yellow)); transition: width .4s ease; }
.progress-card p { margin-bottom: 0; color: var(--yellow); font-weight: 700; }
.checklist-card { background: white; color: var(--navy); border-radius: 26px; padding: 1.2rem; box-shadow: 10px 12px 0 var(--pink); }
.check-item { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.15rem .8rem; border-bottom: 1px dashed #d9cbd6; cursor: pointer; }
.check-item:last-child { border-bottom: 0; }
.check-item input { position: absolute; opacity: 0; }
.custom-check { width: 30px; height: 30px; border: 2px solid var(--navy); border-radius: 9px; display: grid; place-items: center; font-weight: 900; }
.check-item input:checked + .custom-check { background: var(--pink); color: white; }
.check-item input:checked + .custom-check::after { content: "✓"; }
.check-item input:checked ~ .check-text strong { text-decoration: line-through; color: #8a8998; }
.check-text { display: grid; }
.check-text small { color: #77788e; margin-top: .2rem; }
.check-week { background: #f2edf8; padding: .3rem .55rem; border-radius: 8px; font-size: .7rem; font-weight: 800; }

.diary-section { padding: 6rem clamp(1.5rem, 10vw, 11rem); background: linear-gradient(160deg, #ffe9f2 0, #fffaf0 52%, #e5f8ff 100%); }
.diary-heading { text-align: center; margin-bottom: 2.5rem; }
.diary-heading p:last-child { color: #66677d; }
.diary-form { max-width: 930px; margin: auto; padding: clamp(1.4rem, 4vw, 3rem); background: rgba(255,255,255,.86); border: 3px solid var(--navy); border-radius: 28px; box-shadow: 10px 12px 0 var(--navy); }
.diary-form label, .diary-form legend { font-weight: 800; }
.diary-form input[type="date"], textarea { width: 100%; margin-top: .55rem; border: 2px solid #d8cbd4; border-radius: 12px; padding: .9rem; background: white; color: var(--navy); outline: none; }
.diary-form input:focus, textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,90,158,.14); }
.photo-upload { padding: 1rem; border: 2px dashed #d8a8bd; border-radius: 15px; background: #fff4f8; }.photo-upload > span { font-weight: 500; color: #77788b; }.photo-upload input { display: block; width: 100%; margin: .65rem 0; padding: .65rem; border: 2px solid #d8cbd4; border-radius: 10px; background: white; }.photo-upload small { display: block; color: #737487; font-weight: 500; }.photo-upload img { width: min(100%,420px); max-height: 300px; margin-top: 1rem; border: 2px solid var(--navy); border-radius: 14px; object-fit: cover; }
.form-row { display: grid; grid-template-columns: minmax(180px,.65fr) 1.35fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-row.two-columns { grid-template-columns: 1fr 1fr; }
fieldset { border: 0; padding: 0; margin: 0; }
.mood-picker { display: flex; gap: .5rem; margin-top: .55rem; }
.mood-picker input { position: absolute; opacity: 0; }
.mood-picker span { display: grid; min-width: 72px; place-items: center; padding: .55rem; font-size: 1.45rem; border: 2px solid #d8cbd4; border-radius: 12px; background: white; cursor: pointer; }
.mood-picker small { font-size: .62rem; margin-top: .2rem; }
.mood-picker input:checked + span { border-color: var(--pink); background: #ffe5f0; transform: translateY(-2px); }
.diary-form > label { display: block; margin-bottom: 1.5rem; }
.save-note { display: inline-block; margin-left: 1rem; font-weight: 700; color: var(--hot-pink); }
.entries-heading { max-width: 930px; margin: 4rem auto 1rem; display: flex; justify-content: space-between; align-items: center; }
.entries-heading h3 { margin: 0; font-size: 1.8rem; }
.entries-heading span { font-weight: 800; }
.entries-heading > div { display: flex; align-items: center; gap: 1rem; }
.diary-download { padding: .65rem .9rem; border: 2px solid var(--navy); border-radius: 10px; background: white; color: var(--navy); font-weight: 800; cursor: pointer; }
.diary-download:disabled { cursor: not-allowed; opacity: .45; }
.diary-entries { max-width: 930px; margin: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.entry-card { background: white; border: 2px solid var(--navy); border-radius: 18px; padding: 1.4rem; position: relative; }
.entry-photo { width: calc(100% + 2.8rem); height: 240px; margin: 1rem -1.4rem 0; object-fit: cover; border-block: 2px solid var(--navy); }
.entry-card header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.entry-mood { font-size: 2rem; }
.entry-card h4 { font: 700 1.15rem "Fredoka"; margin: 1rem 0 .4rem; }
.entry-card p { margin: 0; color: #626378; line-height: 1.5; white-space: pre-wrap; }
.entry-extra { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #d7cbd4; }
.delete-entry { border: 0; background: transparent; color: #8a526a; text-decoration: underline; cursor: pointer; }
.empty-entries { grid-column: 1 / -1; text-align: center; padding: 2rem; border: 2px dashed #bba9b5; border-radius: 18px; color: #6f7081; }

footer { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem clamp(1.5rem, 7vw, 7rem); background: var(--yellow); }
footer > div { display: flex; align-items: center; gap: .7rem; }
footer a { font-weight: 800; }

@media (max-width: 950px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-art { min-height: 460px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist-section { grid-template-columns: 1fr; }
  .checklist-copy { position: static; }
}

@media (max-width: 650px) {
  .site-header { min-height: 64px; }
  .brand { font-size: .78rem; }
  .print-button { display: none; }
  .hero { min-height: auto; padding: 3.5rem 1.3rem; }
  h1 { font-size: clamp(3.45rem, 17vw, 5rem); }
  .hero-art { min-height: 390px; }
  .rainbow-card { width: 275px; box-shadow: 10px 12px 0 var(--navy); }
  .sun-burst { width: 350px; height: 350px; }
  .sticker-one { width: 82px; height: 82px; font-size: .8rem; }
  .sticker-two { width: 70px; height: 86px; font-size: 1.55rem; }
  .legend-strip { grid-template-columns: 1fr; }
  .legend-strip > div { padding: 1rem 1.5rem; }
  .section-heading { display: block; }
  .week-banner { grid-template-columns: 1fr; min-height: 260px; align-items: start; }
  .week-date { justify-self: start; }
  .card-grid, .diary-entries { grid-template-columns: 1fr; }
  .form-row, .form-row.two-columns { grid-template-columns: 1fr; }
  .mood-picker { overflow-x: auto; padding-bottom: .5rem; }
  .mood-picker span { min-width: 63px; }
  .check-item { grid-template-columns: auto 1fr; }
  .check-week { grid-column: 2; justify-self: start; }
  footer { flex-direction: column; align-items: start; }
}

@media print {
  .site-header, .hero-art, .hero-actions, .legend-strip, .week-tabs, .diary-section, footer, .card-link { display: none !important; }
  .hero { min-height: 0; display: block; padding: 1cm; background: white; }
  h1 { font-size: 42pt; }
  .plan-section, .checklist-section { padding: 1cm; background: white; color: var(--navy); }
  .week-panel { display: block; }
  .plan-card { min-height: 0; break-inside: avoid; box-shadow: none; }
  .checklist-section { display: block; }
  .checklist-copy { position: static; }
  .progress-card { color: var(--navy); border: 1px solid #999; }
  .checklist-card { box-shadow: none; border: 2px solid var(--navy); }
}

/* Tabbed planner application */
.app-header { position: sticky; top: 0; z-index: 50; min-height: 82px; display: flex; align-items: center; gap: 2rem; padding: .75rem clamp(1rem,3vw,3rem); background: rgba(255,253,248,.96); border-bottom: 2px solid var(--navy); backdrop-filter: blur(14px); }
.app-brand small { display: inline-block; margin-left: .35rem; font-size: .7em; font-style: italic; font-weight: 600; text-transform: none; }
.app-brand { flex: 0 0 auto; border: 0; background: transparent; color: var(--navy); text-align: left; cursor: pointer; line-height: 1.05; }
.tab-nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.tab-nav button { white-space: nowrap; border: 0; background: transparent; padding: .75rem .8rem; border-radius: 999px; font-weight: 800; color: #67687d; cursor: pointer; }
.tab-nav button:hover { color: var(--hot-pink); background: #fff0f5; }
.tab-nav button[aria-selected="true"] { background: var(--navy); color: white; }
.mobile-menu { display: none; margin-left: auto; border: 2px solid var(--navy); border-radius: 999px; background: white; padding: .55rem .8rem; font-weight: 800; }
.app-panel { display: none; min-height: calc(100vh - 82px); }
.app-panel.active { display: block; animation: panel-in .25s ease; }
@keyframes panel-in { from { opacity: .5; transform: translateY(5px); } }
.dashboard-hero { min-height: 420px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; padding: 4.5rem clamp(1.5rem,9vw,9rem); background: linear-gradient(130deg,#fff8e7,#ffe4f0 52%,#e4f7ff); }
.dashboard-hero h1,.page-intro h1 { font-size: clamp(3.6rem,7.5vw,7rem); line-height: .9; letter-spacing: -.055em; margin: 0 0 1.5rem; }
.dashboard-hero h1 span { color: var(--hot-pink); }
.dashboard-hero > div:first-child > p:last-child { max-width: 600px; font-size: 1.12rem; line-height: 1.6; }
.today-date { width: clamp(180px,22vw,285px); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 3px solid var(--navy); border-radius: 45% 55% 48% 52%; background: var(--yellow); box-shadow: 12px 14px 0 var(--navy); transform: rotate(3deg); }
.today-date strong { font: 700 clamp(4rem,8vw,7rem)/.9 "Fredoka"; }
.today-date span { font-weight: 800; letter-spacing: .13em; }
.dashboard-toolbar { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 2rem; padding: 1.5rem clamp(1.5rem,7vw,7rem); background: white; border-block: 1px solid var(--line); }
.dashboard-toolbar label { display: grid; gap: .4rem; font-weight: 800; }
.dashboard-toolbar input,.daily-card select,.filter-bar select { border: 2px solid var(--navy); border-radius: 12px; background: white; padding: .72rem .85rem; color: var(--navy); }
.day-progress { display: grid; gap: .5rem; font-weight: 800; }
.day-progress > div { height: 11px; border-radius: 99px; background: #eee5eb; overflow: hidden; }
.day-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--pink),var(--yellow)); transition: width .3s; }
.daily-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; padding: 3rem clamp(1.5rem,5vw,5rem) 1.5rem; }
.daily-card { min-width: 0; min-height: 230px; display: flex; flex-direction: column; padding: 1.25rem; border: 2px solid var(--navy); border-radius: 20px; background: white; box-shadow: 5px 6px 0 #e9dae2; }
.daily-card > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: #ffe2ee; font-size: 1.4rem; }
.daily-card small { margin-top: 1.3rem; color: var(--hot-pink); font-weight: 800; letter-spacing: .1em; }
.daily-card strong { margin: .25rem 0 auto; font: 700 1.3rem "Fredoka"; }
.daily-card select { width: 100%; margin-top: 1rem; }
.daily-readonly p,.fixed-card p { margin: 1rem 0 0; padding: .9rem; border-radius: 12px; background: #f6f1f4; color: var(--navy); font-weight: 700; line-height: 1.45; }
.daily-readonly p { min-height: 68px; }
.fixed-card { background: #fff8d8; }
.daily-notes { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem; padding: 1.5rem clamp(1.5rem,5vw,5rem) 3rem; }
.daily-notes label { font-weight: 800; }
.daily-notes textarea { resize: vertical; }
.daily-notes p { color: #77788c; font-size: .82rem; }
.dashboard-habits { padding: 4rem clamp(1.5rem,8vw,8rem); background: var(--navy); color: white; }.dashboard-habit-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }.dashboard-habit-heading h2 { margin: .2rem 0 .4rem; font-size: clamp(2.2rem,4vw,4rem); }.dashboard-habit-heading p:last-child { color: #c9cada; }.dashboard-habit-score { display: grid; justify-items: end; gap: .3rem; }.dashboard-habit-score strong { font: 700 3.4rem "Fredoka"; color: var(--yellow); }.dashboard-habit-score span { margin-bottom: .7rem; color: #d9d9e4; font-weight: 800; }
.dashboard-habit-bar { height: 18px; margin: 2rem 0; overflow: hidden; border: 2px solid white; border-radius: 999px; background: rgba(255,255,255,.12); }.dashboard-habit-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--pink),var(--yellow)); transition: width .3s ease; }.dashboard-habit-days { display: grid; grid-template-columns: repeat(7,1fr); gap: .8rem; }.habit-day { padding: 1rem; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; background: rgba(255,255,255,.07); }.habit-day.selected { border: 3px solid var(--yellow); background: rgba(255,239,130,.12); }.habit-day header { display: flex; justify-content: space-between; text-transform: uppercase; }.habit-day-ring { width: 72px; height: 72px; display: grid; place-items: center; margin: 1rem auto; border-radius: 50%; background: radial-gradient(circle closest-side,var(--navy) 76%,transparent 78% 99%),conic-gradient(var(--pink) var(--habit-day),rgba(255,255,255,.16) 0); }.habit-day-ring b { font-size: .9rem; }.habit-dots { display: flex; justify-content: center; gap: 4px; }.habit-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); }.habit-dots i.done { background: var(--yellow); }
.page-intro { min-height: 390px; padding: 5rem clamp(1.5rem,9vw,9rem); display: flex; flex-direction: column; justify-content: center; border-bottom: 2px solid var(--navy); }
.page-intro p:last-child { max-width: 650px; font-size: 1.1rem; line-height: 1.6; }
.coral-intro { background: #ffe5dc; }.blue-intro { background: #dff6ff; }.yellow-intro { background: #fff2b8; }.pink-intro { background: #ffe2ef; }.mint-intro { background: #dff8ed; }.lilac-intro { background: #eee5ff; }.diary-intro { background: linear-gradient(135deg,#ffe0ed,#e3f8ff); }
#weeks .week-tabs { padding: 2rem clamp(1.5rem,7vw,7rem) 1rem; }
#weeks .week-panel { padding: 0 clamp(1.5rem,7vw,7rem) 6rem; }
.week-tab { display: grid; gap: .15rem; }.week-tab small { font-weight: 500; opacity: .75; }
.objective-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; margin: 2rem 0 4rem; }
.objective-grid > div { padding: 1.2rem; border: 2px solid var(--navy); border-radius: 16px; background: white; }
.objective-grid small { display: block; margin-bottom: .5rem; color: var(--hot-pink); font-weight: 800; letter-spacing: .1em; }
.objective-grid strong { line-height: 1.45; }
.objective-grid .wide { grid-column: 1/-1; }
.weekly-board { margin: 0 0 4.5rem; padding: 2rem; border: 3px solid var(--navy); border-radius: 26px; background: #f8f4f7; box-shadow: 9px 10px 0 var(--navy); }
.weekly-day-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.weekly-day { padding: 1.25rem; border: 2px solid var(--navy); border-radius: 18px; background: white; }
.weekly-day header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px dashed #d8cad3; }
.weekly-day header h4 { margin: .15rem 0 0; font: 700 1.5rem "Fredoka"; }
.weekly-day header small { color: var(--hot-pink); font-weight: 800; text-transform: uppercase; }
.weekly-day header > span { font-size: 1.5rem; }
.weekly-selects { display: grid; gap: .75rem; }
.weekly-selects label { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: .75rem; font-weight: 800; font-size: .86rem; }
.weekly-selects select { min-width: 0; width: 100%; padding: .65rem .7rem; border: 2px solid #d7c8d2; border-radius: 10px; background: white; color: var(--navy); }
.weekly-selects select:focus { border-color: var(--pink); outline: 3px solid rgba(255,90,158,.13); }
.fixed-routine { margin: 1rem 0 0; padding: .8rem; border-radius: 10px; background: #fff6c9; line-height: 1.45; }
.filter-bar { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 2rem clamp(1.5rem,7vw,7rem); border-bottom: 1px solid var(--line); }
.filter-bar label { display: grid; gap: .4rem; font-weight: 800; }.filter-bar span { font-weight: 800; color: #6c6d82; }
.activity-filters { display: grid; grid-template-columns: repeat(6,minmax(115px,1fr)) auto; align-items: end; gap: 1rem; padding: 1.5rem clamp(1.5rem,5vw,5rem); border-bottom: 2px solid var(--navy); background: white; position: sticky; top: 82px; z-index: 10; }
.activity-filters label { display: grid; gap: .4rem; min-width: 0; font-size: .82rem; font-weight: 800; }
.activity-filters select,.activity-filters input { min-width: 0; width: 100%; padding: .72rem .8rem; border: 2px solid var(--navy); border-radius: 11px; background: white; color: var(--navy); }
.activity-search { grid-column: 1/-1; }.activity-search input { font: inherit; }
.activity-filters > span { padding-bottom: .75rem; white-space: nowrap; font-weight: 800; color: #68697e; }
.print-sheet header h2 small { font-size: .55em; font-style: italic; }
.library-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; padding: 3rem clamp(1.5rem,7vw,7rem) 6rem; }
#activityLibrary { display: block; }
.activity-group { margin-bottom: 3rem; }
.activity-group:last-child { margin-bottom: 0; }
.activity-group-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.project-card { min-height: 420px; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.5rem; border: 2px solid var(--navy); border-radius: 22px; background: white; box-shadow: 6px 7px 0 #e7d89b; }
.project-number { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); border: 2px solid var(--navy); font-weight: 900; }
.project-card h3,.deal-card h3 { font-size: 1.65rem; margin-bottom: .7rem; }.project-card ol { padding-left: 1.2rem; line-height: 1.55; color: #5f6074; }.project-card .kit { padding: .8rem; background: #fff8d9; border-radius: 10px; }.project-card a,.deal-card a { display: inline-block; margin-top: 1rem; color: var(--hot-pink); font-weight: 800; }
.deal-notice { margin: 2rem clamp(1.5rem,7vw,7rem) 0; padding: 1rem 1.2rem; border: 2px solid #16835e; border-radius: 14px; background: #effff7; color: #175c46; font-weight: 700; }
.deal-card { min-height: 335px; display: flex; flex-direction: column; padding: 1.5rem; border: 2px solid var(--navy); border-radius: 22px; background: white; box-shadow: 6px 7px 0 #cbead9; }
.deal-card > span { align-self: start; padding: .6rem .75rem; background: var(--yellow); border: 2px solid var(--navy); border-radius: 10px; font: 800 1.25rem "Fredoka"; }.deal-card > small { margin: 1rem 0 .3rem; color: #76778a; font-weight: 800; }.deal-card h4 { margin: 0 0 .6rem; color: var(--hot-pink); }.deal-card p { color: #626377; line-height: 1.55; }.deal-card a { margin-top: auto; }
.print-sheet { max-width: 1600px; margin: 3rem auto 6rem; padding: 2rem; background: white; }.print-sheet > header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 3px solid var(--navy); }.print-sheet header h2 { margin: 0; font-size: 2rem; }.print-sheet header p,.print-sheet header span { font-weight: 800; }.print-table-wrap { overflow-x: auto; }.print-table-wrap table { width: 100%; min-width: 1400px; border-collapse: collapse; table-layout: fixed; font-size: .72rem; }.print-table-wrap th,.print-table-wrap td { vertical-align: top; padding: .6rem; border: 1px solid var(--navy); line-height: 1.45; }.print-table-wrap thead th { background: var(--navy); color: white; font-size: .85rem; }.print-table-wrap thead small { display: block; font-weight: 500; }.print-table-wrap tbody th { width: 95px; background: #ffe4ef; text-align: left; }.print-table-wrap tr:first-child td { background: #fff9d9; }.objective-cell { height: 300px; }
#diary .diary-form { margin-top: 4rem; }#diary .diary-entries { padding-bottom: 6rem; }
.habit-tracker { margin: 0 0 1.8rem; padding: 1.3rem; border: 2px solid var(--navy); border-radius: 18px; background: #fff8cf; }
.habit-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }.habit-heading h3 { margin: .2rem 0 0; font: 700 1.55rem "Fredoka"; }.habit-score { text-align: right; }.habit-score strong { display: block; font: 700 2.2rem "Fredoka"; color: var(--hot-pink); }.habit-score span { font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.habit-progress { height: 12px; margin: 1rem 0 .5rem; overflow: hidden; border: 2px solid var(--navy); border-radius: 999px; background: white; }.habit-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--pink),#ffbd42); transition: width .25s ease; }.habit-explainer { margin: 0 0 1rem; color: #68697d; font-size: .85rem; }
.habit-list { display: grid; grid-template-columns: repeat(5,1fr); gap: .55rem; }.habit-list label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .45rem; padding: .7rem; border: 2px solid #d9cbd1; border-radius: 11px; background: white; cursor: pointer; font-size: .78rem; }.habit-list input { position: absolute; opacity: 0; }.habit-list label span { width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid var(--navy); border-radius: 7px; color: transparent; }.habit-list label:has(input:checked) { background: #e5faef; border-color: #16835e; }.habit-list input:checked + span { color: white; background: #16835e; border-color: #16835e; }
.install-hint { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; margin: 1.25rem clamp(1.5rem,5vw,5rem) 0; padding: 1rem 1.2rem; border: 2px solid #8ca18a; border-radius: 16px; background: #eef3eb; }
.install-hint[hidden] { display: none; }.install-hint strong { font: 700 1.15rem "Fredoka"; }.install-hint p { margin: .2rem 0 0; color: #626479; }.install-hint small { grid-column: 1/-1; color: #617965; font-weight: 700; }
.activity-shortcuts { display: flex; gap: .55rem; overflow-x: auto; padding: 1rem clamp(1.5rem,7vw,7rem); border-bottom: 1px solid #ddd8df; background: #fffaf5; scrollbar-width: thin; }
.activity-shortcuts button { flex: 0 0 auto; padding: .55rem .8rem; border: 1px solid #8ca18a; border-radius: 99px; background: white; color: #526f58; font-weight: 800; cursor: pointer; }.activity-shortcuts button:hover { background: #eef3eb; }
.custom-activity { margin: 2rem clamp(1.5rem,7vw,7rem) 0; padding: 1.5rem; border: 2px solid var(--navy); border-radius: 22px; background: #fff8d8; box-shadow: 6px 7px 0 #e7d89b; }.custom-activity-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }.custom-activity-heading h2 { margin: .2rem 0; font: 700 clamp(1.8rem,4vw,2.8rem) "Fredoka"; }.custom-activity-heading p:last-child { max-width: 660px; margin: .4rem 0 0; color: #626479; line-height: 1.5; }.custom-activity form { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px dashed #d7c29a; }.custom-activity form[hidden] { display: none; }.custom-activity form label { display: grid; gap: .4rem; font-weight: 800; }.custom-activity form label:nth-child(2) { grid-row: span 2; }.custom-activity input,.custom-activity select,.custom-activity textarea { width: 100%; padding: .75rem .85rem; border: 2px solid var(--navy); border-radius: 11px; background: white; color: var(--navy); font: inherit; }.custom-activity textarea { resize: vertical; }.custom-activity form > button { justify-self: start; }.custom-activity form > p { align-self: center; margin: 0; color: #526f58; font-weight: 800; }.custom-plan-card { background: #fffdf0; }.custom-activity-delete { border: 0; background: none; cursor: pointer; font: inherit; }
.print-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.2rem; }.daily-print-sheet { max-width: 900px; margin: 3rem auto 6rem; padding: 2rem; border: 2px solid var(--navy); background: #fffdf8; box-shadow: 9px 10px 0 var(--navy); }.daily-print-sheet > header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 3px solid var(--navy); }.daily-print-sheet header p { margin: 0; color: var(--hot-pink); font-weight: 900; letter-spacing: .08em; }.daily-print-sheet header h2 { margin: .2rem 0 0; font: 700 2.4rem "Fredoka"; }.daily-print-sheet header img { width: 72px; height: 72px; border-radius: 50%; }.daily-print-meta { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .8rem; padding: 1rem 0; }.daily-print-meta span { min-height: 36px; border-bottom: 2px solid var(--navy); font-size: .78rem; font-weight: 900; }.daily-print-faith,.daily-print-footer { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }.daily-print-faith > div,.daily-print-footer > div { min-height: 82px; padding: .65rem; border: 2px solid var(--navy); border-radius: 12px; background: #fff4c6; }.daily-print-faith small,.daily-print-footer small { color: #bb4c78; font-weight: 900; letter-spacing: .06em; }.daily-print-main { display: grid; grid-template-columns: 1.4fr .85fr; gap: .8rem; margin: .8rem 0; }.daily-timeline,.daily-write-box { border: 2px solid var(--navy); border-radius: 12px; background: white; }.daily-timeline h3,.daily-write-box h3 { margin: 0; padding: .55rem .7rem; border-bottom: 2px solid var(--navy); background: #dff6ff; font: 700 1.1rem "Fredoka"; }.daily-timeline > div > div { display: grid; grid-template-columns: 58px 1fr; min-height: 29px; border-bottom: 1px solid #d9d6dc; }.daily-timeline > div > div:last-child { border-bottom: 0; }.daily-timeline time { padding: .3rem .45rem; border-right: 1px solid #d9d6dc; color: #66677a; font-size: .72rem; font-weight: 800; }.daily-print-main aside { display: grid; gap: .8rem; }.daily-write-box { min-height: 115px; }.daily-write-box p { margin: .55rem .7rem; padding-bottom: .25rem; border-bottom: 1px solid #d9d6dc; font-size: .78rem; }.daily-write-box.priorities { min-height: 145px; }.daily-print-footer > div { min-height: 78px; background: #e4f7ed; }
.daily-print-main { margin-top: 1rem; margin-bottom: 0; }.daily-timeline > div > div { min-height: 36px; }.daily-write-box { min-height: 150px; }.daily-write-box.priorities { min-height: 175px; }
.diary-privacy-note { max-width: 930px; margin: 3rem auto 1.25rem; padding: 1rem 1.2rem; border: 2px solid #8ca18a; border-radius: 16px; background: #eef3eb; }.diary-privacy-note strong { font: 700 1.15rem "Fredoka"; }.diary-privacy-note p { margin: .35rem 0 0; color: #536457; line-height: 1.5; }
#diary .diary-privacy-note + .diary-form { margin-top: 0; }
.about-tabs { display: flex; justify-content: center; gap: .65rem; padding: 1.25rem clamp(1.5rem,5vw,5rem); border-bottom: 2px solid var(--navy); background: white; position: sticky; top: 82px; z-index: 8; }.about-tabs button { padding: .75rem 1rem; border: 2px solid var(--navy); border-radius: 99px; background: white; color: var(--navy); font-weight: 800; cursor: pointer; }.about-tabs button[aria-selected="true"] { background: var(--navy); color: white; }
.about-content { max-width: 980px; min-height: 520px; margin: auto; padding: 3.5rem clamp(1.5rem,5vw,4rem) 6rem; }.about-view { display: none; }.about-view.active { display: block; }.about-view h2 { margin: .3rem 0 1.25rem; font: 700 clamp(2rem,5vw,3.5rem) "Fredoka"; line-height: 1.05; }.about-view > p { color: #5f6074; line-height: 1.7; }.about-social-link { display: inline-block; margin-top: 1rem; padding: .8rem 1rem; border-radius: 99px; background: #eef3eb; color: #526f58; font-weight: 800; text-decoration: none; }
.founder-note { margin: 2rem 0 1rem; padding: 1.5rem; border: 2px solid var(--navy); border-radius: 18px; background: #fff8d8; box-shadow: 6px 7px 0 #e7d89b; }.founder-note span { color: var(--hot-pink); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }.founder-note blockquote { margin: .75rem 0; font: 700 clamp(1.25rem,3vw,1.75rem)/1.35 "Fredoka"; }.founder-note p { margin: 0; color: #626479; line-height: 1.55; }
.founder-note h3 { max-width: 760px; margin: .8rem 0 1.2rem; font: 700 clamp(1.5rem,3.5vw,2.2rem)/1.2 "Fredoka"; }.founder-note p + p { margin-top: 1rem; }.founder-note .founder-signature { margin-top: 1.7rem; padding-top: 1.1rem; border-top: 2px solid rgba(32,35,81,.18); color: var(--navy); font: italic 700 clamp(1.05rem,2.5vw,1.35rem)/1.45 "Fredoka"; letter-spacing: .015em; }
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }.why-grid article { padding: 1.3rem; border: 2px solid var(--navy); border-radius: 16px; background: white; }.why-grid strong { font: 700 1.35rem "Fredoka"; color: #d87a70; }.why-grid p { color: #626479; line-height: 1.5; }
.faq-list { display: grid; gap: .75rem; }.faq-list details { padding: 1rem 1.1rem; border: 2px solid #d8cbd4; border-radius: 14px; background: white; }.faq-list summary { cursor: pointer; font-weight: 800; }.faq-list p { color: #626479; line-height: 1.55; }.privacy-copy h3 { margin: 1.7rem 0 .35rem; color: #d87a70; }.privacy-copy a { color: #526f58; font-weight: 800; }

@media (max-width: 1100px) {
  .app-header { flex-wrap: wrap; }.mobile-menu { display: block; }.tab-nav { display: none; order: 3; flex: 1 0 100%; padding-top: .5rem; }.tab-nav.open { display: flex; }.daily-grid { grid-template-columns: repeat(2,1fr); }.library-grid,.activity-group-grid,.curriculum-overview-grid { grid-template-columns: repeat(2,1fr); }.objective-grid { grid-template-columns: repeat(2,1fr); }.objective-grid .wide { grid-column: 1/-1; }.activity-filters { grid-template-columns: repeat(2,1fr); position: static; }.activity-filters > span { grid-column: 1/-1; }
}
@media (max-width: 680px) {
  .app-header { min-height: 70px; }.app-brand { font-size: .7rem; }.app-brand .brand-logo { width: 38px; height: 38px; }.tab-nav { align-items: stretch; flex-direction: column; }.tab-nav button { text-align: left; }
  .dashboard-hero { grid-template-columns: 1fr; padding: 3.5rem 1.3rem; }.dashboard-hero h1,.page-intro h1 { font-size: clamp(3.4rem,16vw,5rem); }.today-date { width: 175px; }
  .dashboard-toolbar { grid-template-columns: 1fr; }.daily-grid,.library-grid,.activity-group-grid,.curriculum-overview-grid { grid-template-columns: 1fr; }.curriculum-overview-heading { align-items: start; flex-direction: column; }.daily-notes { grid-template-columns: 1fr; }.dashboard-habit-heading { align-items: start; flex-direction: column; }.dashboard-habit-score { justify-items: start; }.dashboard-habit-days { grid-template-columns: repeat(2,1fr); }.objective-grid { grid-template-columns: 1fr; }.objective-grid .wide { grid-column: auto; }
  .weekly-day-grid { grid-template-columns: 1fr; }.weekly-board { padding: 1rem; }.weekly-selects label { grid-template-columns: 1fr; gap: .3rem; }
  .page-intro { min-height: 340px; padding: 3.5rem 1.3rem; }.filter-bar { align-items: start; flex-direction: column; }
  .activity-filters { grid-template-columns: 1fr; }.activity-filters > span { grid-column: auto; }.weeks-view-tabs { position: static; flex-direction: column; }.weeks-view-tabs button { width: 100%; }.habit-list { grid-template-columns: 1fr 1fr; }.habit-heading { align-items: start; }
  .entries-heading { align-items: start; flex-direction: column; gap: 1rem; }.entries-heading > div { width: 100%; justify-content: space-between; }
  .email-gate-benefits { grid-template-columns: 1fr; }.install-hint { grid-template-columns: 1fr; }.install-hint .button { width: 100%; }.about-tabs { position: static; overflow-x: auto; justify-content: start; }.about-tabs button { flex: 0 0 auto; }.why-grid { grid-template-columns: 1fr; }.diary-privacy-note { margin: 2rem 1rem 1rem; }.custom-activity-heading { align-items: stretch; flex-direction: column; }.custom-activity form { grid-template-columns: 1fr; }.custom-activity form label:nth-child(2) { grid-row: auto; }.daily-print-main { grid-template-columns: 1fr; }.daily-print-sheet { margin-inline: 1rem; padding: 1rem; }
}
@media print {
  @page { size: A3 landscape; margin: 7mm; }
  @page daily { size: A4 portrait; margin: 8mm; }
  body { background: white; }.app-header,.app-panel:not(#printable),.no-print { display: none!important; }#printable.app-panel { display: block!important; }.print-sheet { margin: 0; padding: 0; max-width: none; }.print-table-wrap { overflow: visible; }.print-table-wrap table { min-width: 0; font-size: 5.8pt; }.print-table-wrap th,.print-table-wrap td { padding: 2.5mm; }.objective-cell { height: auto; }.print-sheet > header { padding-bottom: 4mm; }.print-sheet header h2 { font-size: 18pt; }.print-six-week-only .daily-print-sheet { display: none!important; }.print-daily-only .six-week-print-sheet { display: none!important; }.daily-print-sheet { page: daily; width: auto; max-width: none; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; }.daily-print-sheet > header { padding-bottom: 3mm; }.daily-print-sheet header h2 { font-size: 21pt; }.daily-print-sheet header img { width: 16mm; height: 16mm; }.daily-print-meta { padding: 3mm 0; }.daily-print-faith > div { min-height: 18mm; }.daily-print-main { gap: 3mm; margin: 3mm 0; }.daily-timeline > div > div { min-height: 7mm; }.daily-write-box { min-height: 28mm; }.daily-write-box.priorities { min-height: 36mm; }.daily-print-footer > div { min-height: 18mm; }
}
@media print {
  .daily-print-main { margin-top: 4mm; margin-bottom: 0; }
  .daily-timeline > div > div { min-height: 9mm; }
  .daily-write-box { min-height: 36mm; }
  .daily-write-box.priorities { min-height: 45mm; }
}


/* Free trial and premium unlock */
.trial-banner{display:flex;align-items:center;justify-content:center;gap:1.5rem;padding:.7rem 1.25rem;background:#20214a;color:#fff;position:relative;z-index:60}.trial-banner[hidden]{display:none}.trial-banner>div{display:flex;align-items:center;gap:.7rem}.trial-banner strong{color:#ffd84f}.trial-banner span{font-size:.86rem}.trial-banner .button{min-height:38px;padding:.45rem 1rem;font-size:.82rem}
.premium-nav-mark{padding:.12rem .3rem;border-radius:5px;background:#ffd84f;color:#20214a;font-size:.55rem}.premium-modal[hidden]{display:none}.premium-modal{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:1rem}.premium-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(20,20,45,.72);backdrop-filter:blur(5px)}.premium-modal-card{position:relative;width:min(520px,100%);padding:clamp(1.5rem,5vw,2.6rem);border:3px solid var(--navy);border-radius:28px;background:#fffdf8;box-shadow:12px 14px 0 var(--pink);text-align:center}.premium-modal-card h2{font-size:clamp(2rem,6vw,3.1rem);line-height:1.02}.premium-modal-card ul{display:grid;gap:.6rem;padding:0;list-style:none;text-align:left}.premium-modal-card li{padding:.75rem 1rem;border-radius:12px;background:#f6f1f4;font-weight:700}.premium-modal-card li:before{content:'✓';margin-right:.65rem;color:#16835e}.premium-modal-close{position:absolute;right:1rem;top:.8rem;border:0;background:transparent;font-size:2rem;cursor:pointer}.premium-price{display:grid;justify-content:center;margin:1rem 0}.premium-price strong{font:700 3rem Fredoka}.premium-price span{font-size:.7rem;font-weight:900;letter-spacing:.12em}.premium-checkout{width:100%}.premium-secure,.premium-status{font-size:.78rem;color:#717286}.premium-status{color:#b22557;font-weight:700}.premium-modal-open{overflow:hidden}
.premium-locked-card{position:relative;filter:saturate(.55)}.premium-locked-card:after{content:'PREMIUM';position:absolute;right:1rem;top:1rem;padding:.25rem .55rem;border-radius:99px;background:var(--navy);color:#fff;font-size:.65rem;font-weight:900}.premium-week-tab:after{content:' 🔒';}.premium-content-lock{position:relative;min-width:0}.premium-content-lock>.plan-card,.premium-content-lock>.project-card{filter:blur(2.5px);opacity:.58;pointer-events:none;user-select:none}.premium-lock-overlay{position:absolute;inset:0;z-index:3;display:grid;place-items:center;border:0;border-radius:22px;background:rgba(255,253,248,.25);cursor:pointer}.premium-lock-overlay span{padding:.7rem 1rem;border:2px solid var(--navy);border-radius:999px;background:#fff;color:var(--navy);box-shadow:4px 5px 0 var(--navy);font-weight:900}.habit-premium-message{grid-column:1/-1;padding:1rem;border:2px dashed var(--navy);border-radius:12px;background:#fff;text-align:center;font-weight:800}
.premium-active .premium-nav-mark{display:none}
@media(max-width:760px){.trial-banner{align-items:stretch;flex-direction:column;gap:.6rem}.trial-banner>div{display:grid;text-align:center}.trial-banner .button{width:100%}.premium-modal-card{box-shadow:7px 8px 0 var(--pink)}}

/* Email-first free trial gate */
body.email-gate-open { overflow: hidden; }
.email-gate { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; overflow-y: auto; padding: 1.5rem; background: radial-gradient(circle at 8% 18%,rgba(244,181,83,.38) 0 9%,transparent 9.2%),radial-gradient(circle at 92% 82%,rgba(111,188,215,.36) 0 12%,transparent 12.2%),radial-gradient(circle at 88% 12%,rgba(239,175,194,.42) 0 8%,transparent 8.2%),#fbf7ef; }
.email-gate[hidden] { display: none; }
.email-gate-card { width: min(100%,580px); padding: clamp(1.5rem,5vw,2.7rem); border: 1px solid rgba(137,164,135,.45); border-radius: 30px; background: rgba(255,252,246,.97); box-shadow: 0 24px 70px rgba(119,92,79,.16); text-align: center; }
.email-gate-logo { display: block; width: min(240px,62vw); height: auto; margin: -1rem auto -1.5rem; mix-blend-mode: multiply; }
.email-gate .eyebrow { color: #dd7f72; letter-spacing: .2em; }
.email-gate h1 { margin: .35rem 0 .8rem; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.2rem,7vw,3.4rem); font-weight: 500; line-height: 1.02; color: #748f78; }
.email-gate-card > p { color: #626479; line-height: 1.55; }
.email-gate-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: .55rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.email-gate-benefits li { padding: .7rem .5rem; border: 1px solid rgba(137,164,135,.4); border-radius: 12px; background: #f8f2e8; color: #617965; font-size: .76rem; font-weight: 700; line-height: 1.3; }
.email-gate form { display: grid; gap: 1rem; margin-top: 1.5rem; text-align: left; }
.email-gate-email { display: grid; gap: .4rem; font-weight: 800; }
.email-gate-email input { width: 100%; padding: .95rem 1rem; border: 2px solid #91a98e; border-radius: 12px; background: #fffefa; color: var(--navy); }
.email-gate-consent { display: flex; align-items: start; gap: .65rem; font-size: .84rem; line-height: 1.4; }
.email-gate-consent input { width: 18px; height: 18px; margin-top: .1rem; accent-color: #ff5a9e; flex: 0 0 auto; }
.email-gate form .button { width: 100%; background: linear-gradient(90deg,#ed8a78,#efacc1); color: white; }
.email-gate-privacy,.email-gate-status { margin: 0; text-align: center; font-size: .78rem; line-height: 1.45; }
.email-gate-status { min-height: 1.2em; color: #b22557; font-weight: 700; }
.email-gate-honeypot { position: absolute!important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.email-gate-community { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(137,164,135,.35); }
.email-gate-community strong { color: #617965; }
.email-gate-community p { margin: .35rem 0 0; color: #7d827c; font-size: .82rem; }
@media (max-width:650px){.email-gate-benefits{grid-template-columns:1fr}.email-gate{padding:.8rem}.email-gate-card{border-radius:22px}}

/* Cross-device purchase restoration */
.restore-purchase-button{width:100%;margin-top:.75rem;border:2px solid var(--navy);background:white;color:var(--navy)}
.restore-purchase-form,.restore-code-form{display:grid;gap:.75rem;margin-top:1rem;padding:1rem;border:1px solid var(--line);border-radius:14px;background:#fffaf5}
.restore-purchase-form[hidden],.restore-code-form[hidden]{display:none}
.restore-purchase-form label,.restore-code-form label{display:grid;gap:.4rem;text-align:left;font-weight:800}
.restore-purchase-form input,.restore-code-form input{width:100%;padding:.8rem .9rem;border:2px solid var(--navy);border-radius:11px;background:white;color:var(--navy)}
.restore-code-form input{font-size:1.35rem;letter-spacing:.25em;text-align:center}


/* v2.4 compact, always-visible premium restore flow */
.premium-modal-card{max-height:min(92dvh,780px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:clamp(1.15rem,3.5vw,2rem)}
.premium-modal-card .eyebrow{margin-bottom:.45rem}
.premium-modal-card h2{margin-bottom:.7rem;font-size:clamp(1.75rem,5vw,2.65rem)}
.premium-modal-card ul{gap:.4rem;margin:.75rem 0}
.premium-modal-card li{padding:.55rem .75rem;font-size:.9rem}
.premium-price{margin:.65rem 0}
.premium-price strong{font-size:2.45rem}
.premium-checkout{min-height:48px}
.premium-divider{display:flex;align-items:center;gap:.75rem;margin:.8rem 0;color:#77788c;font-size:.72rem;font-weight:900;letter-spacing:.12em}
.premium-divider::before,.premium-divider::after{content:'';height:1px;flex:1;background:var(--line)}
.premium-divider span{flex:0 0 auto}
.restore-purchase-area{padding:.9rem;border:1px solid var(--line);border-radius:14px;background:#fffaf5;text-align:left}
.restore-purchase-area h3{margin:0 0 .2rem;font-size:1.05rem}
.restore-purchase-area>p{margin:0 0 .7rem;color:#66677d;font-size:.85rem}
.restore-purchase-form{margin:0;padding:0;border:0;background:transparent;gap:.6rem}
.restore-purchase-form label{font-size:.82rem}
.restore-purchase-form input{padding:.72rem .8rem}
.restore-purchase-form .button{width:100%;min-height:46px;padding:.7rem 1rem}
.premium-secure{margin:.75rem 0 .25rem}
.premium-status{min-height:1.2em;margin:.45rem 0 0}
@media(max-width:760px){
 .premium-modal{align-items:start;padding:max(.55rem,env(safe-area-inset-top)) .55rem max(.55rem,env(safe-area-inset-bottom))}
 .premium-modal-card{width:100%;max-height:calc(100dvh - 1.1rem);border-radius:20px;border-width:2px;box-shadow:4px 5px 0 var(--pink);padding:1rem .9rem .9rem}
 .premium-modal-close{position:sticky;float:right;right:0;top:0;z-index:2;width:38px;height:38px;margin:-.35rem -.25rem -.25rem 0;border-radius:50%;background:#fffdf8;font-size:1.75rem;line-height:1}
 .premium-modal-card h2{font-size:clamp(1.55rem,7vw,2.05rem)}
 .premium-modal-card ul{grid-template-columns:1fr 1fr;gap:.35rem}
 .premium-modal-card li{padding:.48rem .55rem;font-size:.76rem;line-height:1.25}
 .premium-price strong{font-size:2.1rem}
 .premium-price span{font-size:.62rem}
 .restore-purchase-area{padding:.75rem}
}
@media(max-width:390px){
 .premium-modal-card ul{grid-template-columns:1fr}
 .premium-modal-card li:nth-child(n+3){display:none}
 .premium-modal-card{padding:.85rem .75rem}
}
