:root {
  --alm-bg: #f2f8e9;
  --alm-paper: #fffdf5;
  --alm-ink: #11180d;
  --alm-muted: #596453;
  --alm-green: #08703a;
  --alm-lime: #a8f13d;
  --alm-red: #e34836;
  --alm-line: rgba(17,24,13,.2);
  --alm-content: min(1400px, calc(100vw - 72px));
}

.almanac-page { margin: 0; overflow-x: hidden; color: var(--alm-ink); background-color: var(--alm-bg); background-image: radial-gradient(rgba(17,24,13,.13) .8px, transparent .8px); background-size: 22px 22px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif; }
.almanac-page em { color: var(--alm-green); font-style: normal; }
.almanac-header { width: var(--alm-content); height: 96px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--alm-line); }
.almanac-header nav { display: flex; align-items: center; gap: 42px; font-size: 15px; font-weight: 720; }
.almanac-header nav a { transition: transform .18s ease, color .18s ease; }
.almanac-header nav a:hover { color: var(--alm-green); transform: translateY(-1px); }
.almanac-download { min-height: 48px; padding: 0 25px; display: inline-flex; align-items: center; border: 2px solid var(--alm-ink); border-radius: 999px; background: var(--alm-lime); box-shadow: 3px 4px 0 var(--alm-ink); }
.almanac-download:hover { color: var(--alm-ink) !important; }

.almanac-hero { width: var(--alm-content); min-height: 760px; margin: 0 auto; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 34px; }
.almanac-intro { padding-bottom: 30px; }
.almanac-intro h1 { margin: 0; font-size: clamp(64px, 5.5vw, 92px); line-height: .98; letter-spacing: -.085em; font-weight: 880; white-space: nowrap; }
.almanac-intro > p { margin: 38px 0 0; color: var(--alm-muted); font-size: clamp(19px, 1.7vw, 26px); font-weight: 650; }
.almanac-share-actions { margin-top: 62px; display: flex; align-items: center; gap: 13px; }
.almanac-share, .almanac-poster-button { min-height: 62px; padding: 0 27px; display: inline-flex; align-items: center; justify-content: center; border: 3px solid var(--alm-ink); border-radius: 999px; box-shadow: 4px 5px 0 var(--alm-ink); color: var(--alm-ink); font: 800 15px/1.2 inherit; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.almanac-share { gap: 14px; background: var(--alm-paper); }
.almanac-poster-button { background: var(--alm-lime); }
.almanac-share:hover, .almanac-share.is-done { background: var(--alm-lime); transform: translateY(-2px); }
.almanac-poster-button:hover, .almanac-poster-button.is-done { transform: translateY(-2px); }
.almanac-share svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share-note { margin: 13px 0 0 12px; display: block; color: var(--alm-muted); font-size: 11px; }
.calendar-stage { min-height: 650px; position: relative; display: grid; place-items: center; }
.calendar-stage > img { width: 69%; position: absolute; left: -7%; bottom: 13px; filter: drop-shadow(0 18px 22px rgba(17,24,13,.13)); }
.calendar-sheet { width: min(620px, 78%); min-height: 565px; position: relative; z-index: 1; margin-left: auto; padding: 77px 38px 34px; border: 4px solid var(--alm-ink); border-top: 56px solid var(--alm-green); border-radius: 22px 22px 5px 5px; background: var(--alm-paper); box-shadow: 18px 20px 0 var(--alm-ink), 29px 29px 0 rgba(255,253,245,.78); transform: rotate(.7deg); }
.calendar-sheet::after { content: ""; height: 16px; position: absolute; right: 0; bottom: -8px; left: 0; background: linear-gradient(135deg, transparent 8px, var(--alm-paper) 0) 0 0/16px 16px repeat-x; }
.calendar-rings { position: absolute; top: -78px; right: 0; left: 0; display: flex; justify-content: space-around; }
.calendar-rings i { width: 22px; height: 66px; display: block; border: 4px solid var(--alm-ink); border-radius: 999px; background: #e5e8df; box-shadow: 4px 3px 0 var(--alm-ink); }
.calendar-meta { padding-bottom: 21px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px dashed rgba(17,24,13,.35); }
.calendar-meta time { font-size: 22px; font-weight: 850; }
.calendar-meta span { color: var(--alm-muted); font-size: 15px; font-weight: 720; }
.calendar-title-row { min-height: 145px; display: grid; grid-template-columns: 1fr 92px; align-items: center; gap: 22px; border-bottom: 1px solid var(--alm-line); }
.calendar-title-row h2 { margin: 0; font-size: clamp(29px, 3vw, 44px); line-height: 1.13; letter-spacing: -.045em; }
.calendar-title-row h2 em { display: block; margin-top: 7px; }
.calendar-title-row > strong { width: 84px; height: 84px; display: grid; place-items: center; border: 6px double var(--alm-green); border-radius: 50%; color: var(--alm-green); font-size: 48px; transform: rotate(-8deg); }
.calendar-advice { margin: 0; }
.calendar-advice > div { min-height: 67px; display: grid; grid-template-columns: 54px 1fr; align-items: center; border-bottom: 1px solid var(--alm-line); }
.calendar-advice dt { font-size: 23px; font-weight: 880; color: var(--alm-green); }
.calendar-advice > div:last-child dt { color: var(--alm-red); }
.calendar-advice dd { margin: 0; padding-left: 17px; border-left: 1px solid var(--alm-line); font-size: 15px; font-weight: 650; line-height: 1.45; }
.plant-today { min-height: 66px; margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 34px; border: 3px solid var(--alm-ink); border-radius: 16px; background: var(--alm-lime); box-shadow: 6px 7px 0 var(--alm-ink); font-size: 20px; font-weight: 850; transition: transform .18s ease; }
.plant-today:hover { transform: translateY(-3px); }

.almanac-video-section { width: var(--alm-content); margin: 35px auto 105px; padding: 70px clamp(38px, 5vw, 82px); display: grid; grid-template-columns: 1fr minmax(290px, 420px); align-items: center; gap: clamp(54px, 8vw, 130px); border: 4px solid var(--alm-ink); border-radius: 38px; background: var(--alm-ink); box-shadow: 15px 17px 0 var(--alm-lime); color: #fff; }
.almanac-video-copy { max-width: 670px; }
.video-kicker { display: inline-flex; min-height: 42px; padding: 0 19px; align-items: center; border: 2px solid #fff; border-radius: 999px; background: var(--alm-lime); color: var(--alm-ink); font-size: 13px; font-weight: 850; letter-spacing: .06em; }
.almanac-video-copy h2 { margin: 36px 0 0; font-size: clamp(48px, 5vw, 74px); line-height: 1.03; letter-spacing: -.07em; }
.almanac-video-copy h2 em { color: var(--alm-lime); }
.almanac-video-copy > p { max-width: 610px; margin: 31px 0 0; color: #cbd4c3; font-size: 18px; font-weight: 590; line-height: 1.75; }
.almanac-video-copy ul { margin: 39px 0 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.almanac-video-copy li { min-height: 55px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.16); color: #f7f9f2; font-size: 15px; font-weight: 700; }
.almanac-video-copy li b { color: var(--alm-lime); font: 850 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.video-harvest-link { min-height: 62px; margin-top: 44px; padding: 0 27px; display: inline-flex; align-items: center; gap: 39px; border: 3px solid #fff; border-radius: 999px; background: var(--alm-lime); box-shadow: 5px 6px 0 #fff; color: var(--alm-ink); font-size: 16px; font-weight: 850; transition: transform .18s ease; }
.video-harvest-link:hover { transform: translateY(-3px); }
.almanac-video-copy > small { max-width: 520px; margin-top: 24px; display: block; color: #98a48f; font-size: 11px; line-height: 1.55; }
.almanac-video-device { width: 100%; position: relative; justify-self: end; transform: rotate(1.2deg); }
.almanac-video-device video { width: 100%; aspect-ratio: 9 / 16; display: block; border: 4px solid #fff; border-radius: 30px; background: #0b0f08; box-shadow: 13px 15px 0 var(--alm-lime); object-fit: cover; }
.video-sticker { position: absolute; right: -31px; bottom: 65px; padding: 15px 22px; border: 3px solid var(--alm-ink); border-radius: 999px; background: var(--alm-lime); box-shadow: 5px 6px 0 #fff; color: var(--alm-ink); font-size: 13px; font-weight: 850; transform: rotate(-4deg); }

.almanac-explainer { padding: 104px max(36px, calc((100vw - 1400px) / 2)) 72px; background: var(--alm-paper); border-block: 1px solid var(--alm-line); }
.explainer-copy { display: grid; grid-template-columns: .95fr 1.05fr; align-items: end; gap: 90px; }
.explainer-copy h2 { margin: 0; font-size: clamp(54px, 5vw, 78px); line-height: 1.02; letter-spacing: -.075em; }
.explainer-copy p { max-width: 650px; margin: 0 0 7px; color: var(--alm-muted); font-size: 19px; line-height: 1.8; font-weight: 590; }
.rotation-wrap { margin-top: 70px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.rotation-rail { min-width: 1000px; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); overflow: hidden; border: 4px solid var(--alm-ink); border-radius: 24px; box-shadow: 12px 13px 0 var(--alm-ink); list-style: none; }
.rotation-rail li { min-height: 142px; padding: 20px 18px; display: grid; place-items: center; align-content: center; gap: 15px; background: var(--alm-paper); text-align: center; }
.rotation-rail li:not(:last-child) { border-right: 1px solid var(--alm-line); }
.rotation-rail .is-today { background: var(--alm-lime); }
.rotation-rail time { display: flex; align-items: baseline; gap: 7px; font-weight: 800; }
.rotation-rail time span { font-size: 15px; }
.rotation-rail time small { color: var(--alm-muted); font-size: 11px; }
.rotation-rail strong { font-size: 18px; }

.almanac-flow { width: var(--alm-content); padding: 76px 0 44px; margin: 0 auto; }
.almanac-flow > ol { margin: 0; padding: 0 42px 66px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 76px; border-bottom: 1px solid var(--alm-line); list-style: none; }
.almanac-flow li { position: relative; display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 20px; }
.almanac-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -47px; font-size: 30px; }
.almanac-flow li > b { width: 54px; height: 54px; display: grid; place-items: center; border: 3px solid var(--alm-ink); border-radius: 50%; background: var(--alm-lime); font-size: 19px; }
.almanac-flow li span { display: grid; }
.almanac-flow li strong { font-size: 20px; }
.almanac-flow li small { margin-top: 5px; color: var(--alm-muted); font-size: 12px; }
.almanac-actions { padding-top: 54px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 34px; }
.persona-action, .dmg-action { min-height: 132px; display: grid; align-content: center; border: 4px solid var(--alm-ink); color: var(--alm-ink); transition: transform .18s ease; }
.persona-action:hover, .dmg-action:hover { transform: translateY(-4px); }
.persona-action { grid-template-columns: 82px 1fr 54px; align-items: center; gap: 21px; padding: 24px 32px; border-radius: 22px; background: var(--alm-lime); box-shadow: 10px 11px 0 var(--alm-ink); }
.seed-icon { width: 70px; height: 70px; position: relative; border-right: 1px solid rgba(17,24,13,.35); }
.seed-icon::before, .seed-icon::after { content: ""; width: 23px; height: 34px; position: absolute; top: 15px; border-radius: 70% 30% 70% 30%; background: var(--alm-green); }
.seed-icon::before { left: 4px; transform: rotate(-35deg); }
.seed-icon::after { left: 28px; transform: rotate(35deg) scaleX(-1); }
.persona-action strong, .dmg-action strong { font-size: clamp(27px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.04em; }
.persona-action > b { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--alm-ink); color: #fff; font-size: 24px; }
.dmg-action { grid-template: "icon title arrow" auto "icon note arrow" auto / 72px 1fr 50px; align-items: center; gap: 8px 19px; padding: 24px 28px; border-radius: 22px; background: var(--alm-paper); box-shadow: 10px 11px 0 var(--alm-ink); }
.dmg-action .download-sprout { grid-area: icon; width: 66px; height: 66px; position: relative; border-radius: 50%; background: rgba(168,241,61,.24); }
.download-sprout::before, .download-sprout::after { content: ""; width: 20px; height: 29px; position: absolute; top: 17px; border-radius: 70% 30% 70% 30%; background: var(--alm-green); }
.download-sprout::before { left: 14px; transform: rotate(-35deg); }
.download-sprout::after { right: 12px; transform: rotate(35deg) scaleX(-1); }
.dmg-action strong { grid-area: title; align-self: end; }
.dmg-action small { grid-area: note; color: var(--alm-muted); font-size: 12px; font-weight: 650; }
.dmg-action svg { grid-area: arrow; width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--alm-ink); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.local-note { margin: 29px 0 0; color: var(--alm-muted); font-size: 12px; text-align: center; }
.almanac-footer { width: var(--alm-content); min-height: 106px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--alm-line); color: var(--alm-muted); font-size: 12px; }
.almanac-footer nav { display: flex; gap: 28px; font-weight: 680; }
.almanac-poster-dialog { width: min(570px, calc(100% - 28px)); max-height: calc(100vh - 36px); margin: auto; padding: 0; overflow: hidden; border: 3px solid var(--alm-ink); border-radius: 23px; background: var(--alm-bg); box-shadow: 9px 10px 0 var(--alm-ink); color: var(--alm-ink); }
.almanac-poster-dialog::backdrop { background: rgba(17,24,13,.7); backdrop-filter: blur(5px); }
.almanac-poster-head { padding: 18px 20px 15px; display: flex; align-items: start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--alm-line); }
.almanac-poster-head strong, .almanac-poster-head span { display: block; }
.almanac-poster-head strong { font-size: 17px; }
.almanac-poster-head span { margin-top: 4px; color: var(--alm-muted); font-size: 11px; }
.almanac-poster-head button { width: 35px; height: 35px; flex: 0 0 auto; border: 2px solid var(--alm-ink); border-radius: 50%; background: var(--alm-paper); color: var(--alm-ink); font: 600 23px/1 inherit; cursor: pointer; }
.almanac-poster-dialog > img { width: min(390px, calc(100% - 36px)); max-height: calc(100vh - 230px); display: block; margin: 18px auto 10px; object-fit: contain; border: 2px solid var(--alm-ink); border-radius: 14px; box-shadow: 5px 6px 0 var(--alm-ink); }
.almanac-poster-status { min-height: 16px; margin: 0 20px 8px; color: var(--alm-muted); font-size: 11px; text-align: center; }
.almanac-poster-actions { padding: 0 20px 20px; display: flex; justify-content: end; gap: 10px; }
.almanac-poster-actions button, .almanac-poster-actions a { min-height: 45px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--alm-ink); border-radius: 11px; color: var(--alm-ink); font: 800 13px/1.2 inherit; cursor: pointer; }
.almanac-poster-actions button { background: var(--alm-paper); }
.almanac-poster-actions a { background: var(--alm-lime); box-shadow: 3px 4px 0 var(--alm-ink); }
.almanac-page a:focus-visible, .almanac-page button:focus-visible { outline: 4px solid rgba(8,112,58,.3); outline-offset: 5px; }

@media (max-width: 1050px) {
  :root { --alm-content: min(100% - 40px, 820px); }
  .almanac-header nav { gap: 22px; }
  .almanac-hero { grid-template-columns: 1fr; padding-top: 76px; }
  .almanac-share-actions { margin-top: 36px; }
  .calendar-stage { min-height: 650px; }
  .calendar-sheet { width: min(620px, 77%); }
  .almanac-video-section { grid-template-columns: 1fr minmax(270px, 350px); gap: 54px; }
  .explainer-copy { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .almanac-explainer { padding-inline: max(20px, calc((100vw - 820px) / 2)); }
  .almanac-actions { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --alm-content: calc(100% - 28px); }
  .almanac-header { height: 72px; }
  .almanac-header nav a:not(.almanac-download) { display: none; }
  .almanac-download { min-height: 42px; padding-inline: 17px; box-shadow: 2px 3px 0 var(--alm-ink); font-size: 12px; }
  .almanac-hero { min-height: auto; padding-top: 52px; gap: 26px; }
  .almanac-intro { text-align: center; }
  .almanac-intro h1 { font-size: 51px; }
  .almanac-intro > p { margin-top: 20px; font-size: 17px; }
  .almanac-share-actions { margin-top: 28px; display: grid; grid-template-columns: 1fr; gap: 12px; }
  .almanac-share, .almanac-poster-button { width: 100%; min-height: 56px; padding-inline: 18px; font-size: 14px; }
  .share-note { margin-left: 0; font-size: 10px; }
  .calendar-stage { min-height: 585px; }
  .calendar-stage > img { width: 126%; left: -13%; bottom: 48px; }
  .calendar-sheet { width: calc(100% - 42px); min-height: 515px; margin: 0 auto; padding: 58px 19px 27px; border-width: 3px; border-top-width: 43px; border-radius: 17px 17px 4px 4px; box-shadow: 9px 10px 0 var(--alm-ink), 17px 18px 0 rgba(255,253,245,.72); }
  .calendar-sheet::after { height: 12px; bottom: -6px; background-size: 12px 12px; }
  .calendar-rings { top: -61px; }
  .calendar-rings i { width: 17px; height: 50px; border-width: 3px; }
  .calendar-meta { padding-bottom: 16px; }
  .calendar-meta time { font-size: 16px; }
  .calendar-meta span { font-size: 11px; }
  .calendar-title-row { min-height: 128px; grid-template-columns: 1fr 62px; gap: 12px; }
  .calendar-title-row h2 { font-size: 27px; }
  .calendar-title-row > strong { width: 58px; height: 58px; border-width: 4px; font-size: 34px; }
  .calendar-advice > div { min-height: 69px; grid-template-columns: 43px 1fr; }
  .calendar-advice dt { font-size: 18px; }
  .calendar-advice dd { padding-left: 12px; font-size: 12px; }
  .plant-today { min-height: 58px; margin-top: 22px; font-size: 17px; }
  .almanac-video-section { margin: 32px auto 76px; padding: 50px 28px 63px; grid-template-columns: 1fr; gap: 52px; border-width: 3px; border-radius: 27px; box-shadow: 9px 10px 0 var(--alm-lime); }
  .almanac-video-copy { max-width: none; }
  .almanac-video-copy h2 { margin-top: 27px; font-size: 43px; }
  .almanac-video-copy > p { margin-top: 24px; font-size: 15px; }
  .almanac-video-copy ul { margin-top: 28px; }
  .almanac-video-copy li { font-size: 13px; }
  .video-harvest-link { width: 100%; min-height: 58px; margin-top: 34px; justify-content: space-between; box-shadow: 4px 5px 0 #fff; }
  .almanac-video-copy > small { font-size: 10px; }
  .almanac-video-device { width: min(310px, calc(100% - 25px)); justify-self: center; transform: rotate(.5deg); }
  .almanac-video-device video { border-width: 3px; border-radius: 24px; box-shadow: 9px 10px 0 var(--alm-lime); }
  .video-sticker { right: -21px; bottom: 49px; padding: 12px 17px; box-shadow: 4px 4px 0 #fff; font-size: 11px; }
  .almanac-explainer { padding-block: 72px 54px; }
  .explainer-copy h2 { font-size: 46px; }
  .explainer-copy p { font-size: 15px; }
  .rotation-wrap { margin-top: 42px; margin-inline: -20px; padding: 0 20px 13px; }
  .rotation-rail { min-width: 710px; border-width: 3px; border-radius: 18px; box-shadow: 7px 8px 0 var(--alm-ink); }
  .rotation-rail li { min-height: 110px; padding: 15px 10px; gap: 10px; }
  .rotation-rail time span { font-size: 13px; }
  .rotation-rail strong { font-size: 14px; }
  .almanac-flow { padding-block: 57px 37px; }
  .almanac-flow > ol { padding: 0 0 49px; grid-template-columns: 1fr; gap: 26px; }
  .almanac-flow li:not(:last-child)::after { display: none; }
  .almanac-actions { gap: 28px; padding-top: 40px; }
  .persona-action, .dmg-action { min-height: 150px; border-width: 3px; box-shadow: 8px 9px 0 var(--alm-ink); }
  .persona-action { grid-template-columns: 60px 1fr 42px; gap: 13px; padding: 22px 17px; }
  .seed-icon { width: 55px; height: 58px; }
  .seed-icon::before, .seed-icon::after { width: 18px; height: 27px; top: 13px; }
  .seed-icon::after { left: 23px; }
  .persona-action strong { font-size: 23px; }
  .dmg-action strong { font-size: 27px; }
  .persona-action > b, .dmg-action svg { width: 40px; height: 40px; }
  .dmg-action { grid-template: "icon title arrow" auto "icon note arrow" auto / 60px 1fr 40px; gap: 8px 13px; padding: 22px 17px; }
  .dmg-action .download-sprout { width: 56px; height: 56px; }
  .download-sprout::before, .download-sprout::after { width: 17px; height: 25px; top: 14px; }
  .dmg-action small { font-size: 10px; }
  .local-note { line-height: 1.6; }
  .almanac-footer { min-height: 165px; padding: 34px 0; align-items: flex-start; flex-direction: column; }
  .almanac-footer nav { flex-wrap: wrap; gap: 16px 23px; }
  .almanac-poster-dialog { max-height: calc(100vh - 20px); border-radius: 18px; box-shadow: 5px 6px 0 var(--alm-ink); }
  .almanac-poster-head { padding-inline: 16px; }
  .almanac-poster-dialog > img { max-height: calc(100vh - 248px); }
  .almanac-poster-actions { padding-inline: 16px; display: grid; grid-template-columns: 1fr 1fr; }
}

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