/* Payroll — "The awkward months" feature cards (arrears, loans, final settlement). */
.awkward-months {
  --am-ink: #10172c; --am-muted: #556281; --am-purple: #5b16f2; --am-blue: #0a6cf0; --am-orange: #ff7a00;
  --am-bg: linear-gradient(160deg, #f6f3ff 0%, #f9f8ff 45%, #f3efff 100%);
  --am-paper: #fff; --am-paper-ink: #18213a; --am-paper-line: #eceef6; --am-paper-bar: #eef0f7;
  --am-note-bg: rgb(255 255 255 / .55); --am-note-line: #e4dcff;
  position: relative; overflow: hidden; padding-block: clamp(3.25rem, 5vw, 5rem); background: var(--am-bg);
}
.awkward-months::before { content: ""; position: absolute; right: -8%; top: 22%; width: min(560px, 46vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgb(124 82 255 / .12), rgb(124 82 255 / 0) 68%); pointer-events: none; }
.awkward-months::after { content: ""; position: absolute; left: -10%; top: -20%; width: min(520px, 50vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .9), transparent 70%); pointer-events: none; }
.awkward-months .wrap { position: relative; z-index: 1; width: min(1720px, calc(100% - 48px)); }
.awkward-months .section-head { max-width: 100%; margin: 0 0 clamp(24px, 3vw, 38px); }
.awkward-months .kicker { color: var(--am-purple); letter-spacing: .16em; }
.awkward-months .section-head h2 { max-width: 1100px; color: var(--am-ink); font-size: clamp(2.15rem, 3.7vw, 3.45rem); line-height: 1.06; letter-spacing: -.045em; }
.awkward-months .am-heading-accent { color: var(--am-purple); background: linear-gradient(100deg, #5b16f2, #8a3bff 60%, #5b16f2); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.awkward-months .section-head .lede { max-width: 820px; margin-top: 12px; color: var(--am-muted); font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.48; }

/* Cards */
.am-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.am-card {
  --am-accent: var(--am-purple); --am-accent-2: #8f5bff; --am-glow: rgb(124 70 255 / .28);
  --am-card-bg: linear-gradient(135deg, #fff 0%, #fbf9ff 42%, #efe6ff 100%);
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 44%); grid-template-rows: auto 1fr auto; column-gap: 8px; min-width: 0; min-height: 340px; padding: 22px 20px 20px 24px; overflow: hidden;
  border: 1.5px solid rgb(255 255 255 / .95); border-radius: 24px; color: var(--am-ink); background: var(--am-card-bg);
  box-shadow: 0 1px 0 rgb(255 255 255 / .9) inset, 0 22px 44px -30px var(--am-glow), 0 2px 6px rgb(30 35 80 / .05);
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1), box-shadow 420ms ease;
}
.am-card--blue { --am-accent: var(--am-blue); --am-accent-2: #3b8dff; --am-glow: rgb(30 110 245 / .28); --am-card-bg: linear-gradient(135deg, #f7faff 0%, #eef4ff 45%, #dfeaff 100%); }
.am-card--orange { --am-accent: var(--am-orange); --am-accent-2: #ffa143; --am-glow: rgb(255 122 0 / .28); --am-card-bg: linear-gradient(135deg, #fff 0%, #fff7f0 42%, #ffe6d2 100%); }
.am-card::before { content: ""; position: absolute; z-index: -1; right: -18%; top: -14%; width: 72%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--am-accent) 22%, transparent), transparent 66%); filter: blur(6px); transition: transform 600ms cubic-bezier(.22, 1, .36, 1), opacity 400ms; }
.am-card::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .55) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.am-card:hover, .am-card:focus-within { transform: translateY(-8px); box-shadow: 0 1px 0 rgb(255 255 255 / .9) inset, 0 34px 54px -30px var(--am-glow), 0 2px 6px rgb(30 35 80 / .05); }
.am-card:hover::before, .am-card:focus-within::before { transform: scale(1.15) translate(-4%, 4%); }
.am-card:hover::after { transform: translateX(120%); transition: transform 900ms ease; }

.am-icon { grid-column: 1; grid-row: 1; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(145deg, var(--am-accent-2), var(--am-accent)); box-shadow: 0 1px 0 rgb(255 255 255 / .4) inset, 0 10px 22px -10px var(--am-accent); transition: transform 420ms cubic-bezier(.34, 1.56, .64, 1); }
.am-icon svg { width: 28px; height: 28px; }
.am-card:hover .am-icon, .am-card:focus-within .am-icon { transform: rotate(-8deg) scale(1.06); }
.am-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 2; align-self: start; min-width: 0; padding-top: 16px; }
.am-copy h3 { margin: 0 0 10px; font-size: clamp(1.2rem, 1.55vw, 1.55rem); line-height: 1.15; letter-spacing: -.035em; }
.am-copy p { margin: 0; color: var(--am-muted); font-size: clamp(.9rem, 1.05vw, 1.02rem); line-height: 1.5; }
.am-arrow { position: relative; z-index: 5; grid-column: 1; grid-row: 3; justify-self: start; align-self: end; display: grid; place-items: center; width: 50px; height: 50px; margin-top: 16px; border-radius: 50%; color: var(--am-accent); background: #fff; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--am-accent) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--am-accent) 10%, transparent); transition: transform 320ms cubic-bezier(.34, 1.56, .64, 1), background 220ms, color 220ms; }
.am-arrow svg { width: 22px; height: 22px; transition: transform 320ms cubic-bezier(.22, 1, .36, 1); }
.am-card:hover .am-arrow, .am-card:focus-within .am-arrow { color: #fff; background: var(--am-accent); transform: scale(1.06); }
.am-card:hover .am-arrow svg, .am-card:focus-within .am-arrow svg { transform: translateX(3px); }

/* Illustration stage */
.am-art { position: relative; grid-column: 2; grid-row: 1 / 4; align-self: center; width: 100%; min-width: 0; height: 270px; transition: transform 500ms cubic-bezier(.22, 1, .36, 1); }
.am-card:hover .am-art, .am-card:focus-within .am-art { transform: translateY(-4px) scale(1.03); }
.am-blob { position: absolute; left: 4%; top: 6%; width: 92%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--am-accent) 26%, transparent), color-mix(in srgb, var(--am-accent) 6%, transparent) 55%, transparent 70%); filter: blur(4px); }
.am-sparks { position: absolute; z-index: 3; right: 2%; top: 0; width: 46px; height: 32px; color: var(--am-accent); }
.am-sparks i { position: absolute; bottom: 0; width: 4px; height: 13px; border-radius: 4px; background: currentColor; transform-origin: 50% 100%; }
.am-sparks i:nth-child(1) { left: 6px; transform: rotate(-28deg); }
.am-sparks i:nth-child(2) { left: 20px; height: 17px; transform: rotate(8deg); }
.am-sparks i:nth-child(3) { left: 34px; bottom: -6px; transform: rotate(52deg); }

.am-float { position: absolute; animation: none; }
.am-paper { z-index: 1; right: 8%; top: 4%; width: 80%; min-height: 196px; padding: 16px 14px 14px; transform: rotate(6deg); border: 1px solid var(--am-paper-line); border-radius: 18px; color: var(--am-paper-ink); background: linear-gradient(180deg, var(--am-paper) 0%, color-mix(in srgb, var(--am-paper) 94%, var(--am-accent)) 100%); box-shadow: 0 1px 0 rgb(255 255 255 / .8) inset, 0 24px 34px -20px color-mix(in srgb, var(--am-accent) 55%, transparent), 10px 10px 0 -4px color-mix(in srgb, var(--am-accent) 9%, transparent); }
.am-paper { white-space: nowrap; overflow: hidden; }
.am-paper-head { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 750; letter-spacing: -.02em; }
.am-paper-head svg { width: 20px; height: 20px; color: var(--am-accent); }
.am-paper-rule { width: 46%; height: 6px; margin: 12px 0 10px; border-radius: 8px; background: var(--am-paper-bar); }
.am-paper-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 8px; color: #4d5672; font-size: 10px; font-weight: 600; }
.am-paper-row i { width: 30%; height: 6px; border-radius: 4px; background: var(--am-paper-bar); }
.am-arrear-row { display: flex; justify-content: space-between; gap: 4px; margin: 10px -4px 0; padding: 8px 9px; border-radius: 9px; color: #0b7a43; background: linear-gradient(90deg, #d8f8e6, #c3f3d8); font-size: 10.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 12px -8px #18a35f; }
.am-arrear-row b { color: #0a9a4f; }

/* 3D wall calendar */
.am-calendar { z-index: 2; right: 0; bottom: -2%; width: 42%; padding: 15px 8px 8px; transform: rotate(-6deg); border-radius: 12px; background: #fff; box-shadow: 0 16px 24px -14px color-mix(in srgb, var(--am-accent) 70%, transparent), 0 -6px 0 0 color-mix(in srgb, var(--am-accent) 80%, white) inset; }
.am-calendar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 13px; border-radius: 12px 12px 0 0; background: linear-gradient(145deg, var(--am-accent-2), var(--am-accent)); }
.am-rings { position: absolute; left: 14%; right: 14%; top: -8px; display: flex; justify-content: space-between; }
.am-rings i { width: 7px; height: 15px; border-radius: 5px; background: linear-gradient(90deg, color-mix(in srgb, var(--am-accent) 75%, #000), var(--am-accent-2)); box-shadow: 0 2px 3px rgb(0 0 0 / .2); }
.am-calendar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 4px; }
.am-calendar-grid i { aspect-ratio: 1.3; border-radius: 3px; background: color-mix(in srgb, var(--am-accent) 14%, white); }
.am-calendar-grid i.on { background: var(--am-accent); }
.am-calendar--sm { right: auto; left: 0; top: 4%; bottom: auto; width: 36%; transform: rotate(-10deg); z-index: 0; }
.am-calendar--sm .am-calendar-grid { grid-template-columns: repeat(3, 1fr); }

.am-badge { z-index: 3; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--am-accent-2), var(--am-accent)); box-shadow: 0 10px 18px -8px var(--am-accent); }
.am-clock { right: 34%; bottom: 2%; width: 44px; height: 44px; }
.am-clock svg { width: 22px; height: 22px; }
.am-clock .am-hand { transform-origin: 12px 12px; }

/* Loans */
.am-loan-paper { right: 2%; top: 13%; width: 84%; transform: rotate(5deg); }
.am-loan-title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 750; }
.am-loan-title svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #3b8dff, #0a6cf0); }
.am-progress { height: 12px; margin: 13px 0 7px; overflow: hidden; border-radius: 10px; background: #e6edfb; }
.am-progress span { display: block; width: 32%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3b8dff, #0a6cf0); box-shadow: 0 0 10px #3b8dff; }
.am-amount { color: #3f4a66; font-size: 10px; font-weight: 700; }
.am-check-row { display: flex; align-items: center; gap: 7px; margin-top: 10px; color: #333d58; font-size: 10px; font-weight: 650; }
.am-check-row i { flex: none; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; color: var(--am-accent); }
.am-check-row svg { width: 15px; height: 15px; }
.am-coins { z-index: 2; left: 2%; bottom: 0; width: 92px; height: 104px; }
.am-coin-stack { position: absolute; left: 0; bottom: 6px; width: 54px; height: 66px; }
.am-coin-stack i { position: absolute; left: 0; width: 54px; height: 16px; border-radius: 50%; background: linear-gradient(180deg, #8fc2ff 0 35%, #1d6fe6 36% 100%); box-shadow: 0 2px 0 #0e57c2; }
.am-coin-stack i:nth-child(1) { bottom: 0; } .am-coin-stack i:nth-child(2) { bottom: 10px; } .am-coin-stack i:nth-child(3) { bottom: 20px; } .am-coin-stack i:nth-child(4) { bottom: 30px; } .am-coin-stack i:nth-child(5) { bottom: 40px; }
.am-rupee { right: 0; bottom: 0; width: 54px; height: 54px; border-width: 4px; font-size: 26px; font-weight: 800; line-height: 1; background: radial-gradient(circle at 35% 30%, #5aa3ff, #0a5fdc 70%); box-shadow: 0 0 0 4px rgb(10 108 240 / .15), 0 12px 20px -8px #0a5fdc; }

/* Settlement */
.am-settlement-paper { right: 4%; top: 9%; width: 80%; transform: rotate(6deg); }
.am-settlement-paper .am-paper-head svg { padding: 2px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #a46bff, #6a2bea); }
.am-settlement-paper .am-check-row i { color: #fff; background: linear-gradient(145deg, #ffa143, #ff7a00); }
.am-settlement-paper .am-check-row svg { width: 10px; height: 10px; }
.am-briefcase { z-index: 2; left: 2%; bottom: 4%; width: 78px; height: 64px; }
.am-briefcase .am-case { position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(150deg, #ffad5c 0%, #ff7a00 55%, #e05f00 100%); box-shadow: 0 1px 0 rgb(255 255 255 / .4) inset, -6px 0 0 -1px #c95400 inset, 0 16px 22px -12px #b84f00; }
.am-briefcase .am-case::before { content: ""; position: absolute; left: 50%; top: -14px; width: 28px; height: 16px; translate: -50% 0; border: 5px solid #d96200; border-bottom: 0; border-radius: 8px 8px 0 0; }
.am-briefcase .am-case::after { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 6px; background: rgb(150 60 0 / .35); }
.am-briefcase .am-clasp { position: absolute; left: 50%; top: 22px; width: 14px; height: 14px; translate: -50% 0; border-radius: 3px; background: #ffd3a8; box-shadow: 0 1px 2px rgb(0 0 0 / .2); }
.am-confirm { right: 2%; bottom: 3%; width: 54px; height: 54px; border-width: 4px; }
.am-confirm svg { width: 26px; height: 26px; }

/* Note */
.am-note { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 13px 18px; border: 1px solid var(--am-note-line); border-radius: 18px; color: var(--am-muted); background: var(--am-note-bg); backdrop-filter: blur(6px); font-size: clamp(.86rem, 1.05vw, .98rem); line-height: 1.55; }
.am-note-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #9a6bff, #6a2bea); box-shadow: 0 6px 14px -6px #6a2bea; }
.am-note-icon svg { width: 20px; height: 20px; }
.am-note p { min-width: 0; margin: 0; }
.am-note a { color: var(--am-purple); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.am-note a:focus-visible, .am-arrow:focus-visible { outline: 3px solid #7350ed; outline-offset: 3px; }

/* ---- Motion: hidden until the section scrolls in, then enter + idle loops ---- */
.awkward-months:not([data-am-visible="true"]) :is(.am-intro > *, .am-card, .am-note) { opacity: 0; }
.awkward-months[data-am-visible="true"] .am-intro > * { animation: am-enter 700ms cubic-bezier(.22, 1, .36, 1) both; }
.awkward-months[data-am-visible="true"] .am-intro > :nth-child(2) { animation-delay: 90ms; }
.awkward-months[data-am-visible="true"] .am-intro > :nth-child(3) { animation-delay: 180ms; }
.awkward-months[data-am-visible="true"] .am-heading-accent { animation: am-shine 3.2s ease-in-out 900ms 1 both; }
.awkward-months[data-am-visible="true"] .am-card { animation: am-card-in 820ms cubic-bezier(.22, 1, .36, 1) calc(220ms + var(--am-index) * 140ms) both; }
.awkward-months[data-am-visible="true"] .am-card::after { animation: am-sheen 1.1s ease calc(800ms + var(--am-index) * 140ms) 1; }
.awkward-months[data-am-visible="true"] .am-icon { animation: am-pop 600ms cubic-bezier(.34, 1.56, .64, 1) calc(500ms + var(--am-index) * 140ms) both; }
.awkward-months[data-am-visible="true"] .am-note { animation: am-enter 700ms cubic-bezier(.22, 1, .36, 1) 700ms both; }
.awkward-months[data-am-visible="true"] .am-blob { animation: am-breathe 5s ease-in-out calc(var(--am-index) * -1.4s) infinite; }
.awkward-months[data-am-visible="true"] .am-sparks i { animation: am-twinkle 2.4s ease-in-out infinite; }
.awkward-months[data-am-visible="true"] .am-sparks i:nth-child(2) { animation-delay: .3s; }
.awkward-months[data-am-visible="true"] .am-sparks i:nth-child(3) { animation-delay: .6s; }
.awkward-months[data-am-visible="true"] .am-paper { animation: am-paper-in 900ms cubic-bezier(.22, 1, .36, 1) calc(450ms + var(--am-index) * 140ms) both, am-bob 6s ease-in-out calc(1.4s + var(--am-index) * .5s) infinite; }
.awkward-months[data-am-visible="true"] .am-calendar { animation: am-prop-in 800ms cubic-bezier(.34, 1.56, .64, 1) calc(700ms + var(--am-index) * 140ms) both, am-bob-alt 5s ease-in-out 1.6s infinite; }
.awkward-months[data-am-visible="true"] :is(.am-coins, .am-briefcase) { animation: am-prop-in 800ms cubic-bezier(.34, 1.56, .64, 1) calc(800ms + var(--am-index) * 140ms) both, am-bob-alt 5.4s ease-in-out 1.8s infinite; }
.awkward-months[data-am-visible="true"] .am-clock { animation: am-pop 600ms cubic-bezier(.34, 1.56, .64, 1) 1s both; }
.awkward-months[data-am-visible="true"] .am-clock .am-hand { animation: am-spin 8s linear 1.4s infinite; }
.awkward-months[data-am-visible="true"] .am-arrear-row { animation: am-arrear 900ms cubic-bezier(.34, 1.56, .64, 1) 1.15s both, am-glow-green 2.8s ease-in-out 2.2s infinite; }
.awkward-months[data-am-visible="true"] .am-progress span { animation: am-progress 1.4s cubic-bezier(.22, 1, .36, 1) 1s both; }
.awkward-months[data-am-visible="true"] .am-check-row { animation: am-row-in 500ms cubic-bezier(.22, 1, .36, 1) calc(1.05s + var(--am-row) * 140ms) both; }
.awkward-months[data-am-visible="true"] .am-check-row i { animation: am-pop 450ms cubic-bezier(.34, 1.56, .64, 1) calc(1.15s + var(--am-row) * 140ms) both; }
.awkward-months[data-am-visible="true"] .am-rupee { animation: am-coin 4.5s ease-in-out 1.6s infinite; }
.awkward-months[data-am-visible="true"] .am-confirm { animation: am-pop 650ms cubic-bezier(.34, 1.56, .64, 1) 1.75s both, am-ring 2.6s ease-out 2.4s infinite; }

@keyframes am-enter { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes am-card-in { from { opacity: 0; translate: 0 34px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes am-paper-in { from { opacity: 0; translate: 22px 18px; rotate: 10deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes am-prop-in { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes am-pop { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
@keyframes am-row-in { from { opacity: 0; translate: -10px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes am-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes am-bob-alt { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
@keyframes am-breathe { 0%, 100% { scale: 1; opacity: .85; } 50% { scale: 1.08; opacity: 1; } }
@keyframes am-twinkle { 0%, 100% { opacity: 1; scale: 1 1; } 50% { opacity: .35; scale: 1 .6; } }
@keyframes am-spin { to { rotate: 360deg; } }
@keyframes am-arrear { 0% { opacity: 0; scale: .7; } 100% { opacity: 1; scale: 1; } }
@keyframes am-glow-green { 0%, 100% { box-shadow: 0 6px 12px -8px #18a35f; } 50% { box-shadow: 0 0 0 4px rgb(46 200 120 / .22), 0 6px 14px -6px #18a35f; } }
@keyframes am-progress { from { width: 0; } to { width: 32%; } }
@keyframes am-coin { 0%, 70%, 100% { rotate: y 0deg; } 85% { rotate: y 180deg; } }
@keyframes am-ring { 0% { box-shadow: 0 10px 18px -8px var(--am-accent), 0 0 0 0 color-mix(in srgb, var(--am-accent) 45%, transparent); } 70%, 100% { box-shadow: 0 10px 18px -8px var(--am-accent), 0 0 0 14px transparent; } }
@keyframes am-sheen { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes am-shine { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* Responsive */
@media (max-width: 1200px) { .am-card { grid-template-columns: minmax(0, 1fr) minmax(140px, 42%); min-height: 360px; padding: 20px 16px 18px 20px; } .am-art { height: 240px; } }
@media (max-width: 900px) { .am-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .am-card:last-child { grid-column: 1 / -1; } .am-card:last-child .am-art { width: min(280px, 100%); justify-self: center; } }
@media (max-width: 600px) {
  .awkward-months .wrap { width: min(calc(100% - 32px), 520px); }
  .am-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .am-card, .am-card:last-child { grid-column: auto; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; min-height: 0; padding: 20px 18px 18px; border-radius: 20px; }
  .am-icon { grid-column: 1; grid-row: 1; }
  .am-arrow { grid-column: 2; grid-row: 1; align-self: center; margin-top: 0; }
  .am-copy { grid-column: 1 / -1; grid-row: 2; }
  .am-art, .am-card:last-child .am-art { grid-column: 1 / -1; grid-row: 3; justify-self: center; width: min(300px, 100%); height: 230px; margin-top: 8px; }
  .am-copy p { font-size: .94rem; }
  .am-calendar:not(.am-calendar--sm) { width: 34%; bottom: -5%; }
  .am-clock { right: 28%; }
  .am-note { align-items: flex-start; gap: 10px; padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .awkward-months *, .awkward-months *::before, .awkward-months *::after { animation: none !important; transition: none !important; }
  .awkward-months :is(.am-intro > *, .am-card, .am-note) { opacity: 1 !important; }
}

/* Dark theme */
:root[data-theme='dark'] .awkward-months {
  --am-ink: #eef1ff; --am-muted: #aab4cf; --am-purple: #a888ff;
  --am-bg: linear-gradient(160deg, #0f1222 0%, #121530 50%, #0f1222 100%);
  --am-note-bg: rgb(30 28 60 / .6); --am-note-line: #2f2c5c;
}
:root[data-theme='dark'] .awkward-months::after { background: radial-gradient(circle, rgb(120 90 255 / .08), transparent 70%); }
:root[data-theme='dark'] .awkward-months .am-heading-accent { background-image: linear-gradient(100deg, #a888ff, #d0b8ff 60%, #a888ff); }
:root[data-theme='dark'] .am-card { --am-card-bg: linear-gradient(135deg, #171a33 0%, #1b1b3c 50%, #2a1f55 100%); border-color: rgb(255 255 255 / .07); }
:root[data-theme='dark'] .am-card--blue { --am-card-bg: linear-gradient(135deg, #141c33 0%, #16213f 50%, #172d5a 100%); }
:root[data-theme='dark'] .am-card--orange { --am-card-bg: linear-gradient(135deg, #1c1a2c 0%, #251d2b 50%, #3a2420 100%); }
:root[data-theme='dark'] .am-card::after { background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .08) 50%, transparent 65%); }
:root[data-theme='dark'] .am-arrow { background: #22264a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .awkward-months { --am-ink: #eef1ff; --am-muted: #aab4cf; --am-purple: #a888ff; --am-bg: linear-gradient(160deg, #0f1222 0%, #121530 50%, #0f1222 100%); --am-note-bg: rgb(30 28 60 / .6); --am-note-line: #2f2c5c; }
  :root:not([data-theme]) .awkward-months::after { background: radial-gradient(circle, rgb(120 90 255 / .08), transparent 70%); }
  :root:not([data-theme]) .awkward-months .am-heading-accent { background-image: linear-gradient(100deg, #a888ff, #d0b8ff 60%, #a888ff); }
  :root:not([data-theme]) .am-card { --am-card-bg: linear-gradient(135deg, #171a33 0%, #1b1b3c 50%, #2a1f55 100%); border-color: rgb(255 255 255 / .07); }
  :root:not([data-theme]) .am-card--blue { --am-card-bg: linear-gradient(135deg, #141c33 0%, #16213f 50%, #172d5a 100%); }
  :root:not([data-theme]) .am-card--orange { --am-card-bg: linear-gradient(135deg, #1c1a2c 0%, #251d2b 50%, #3a2420 100%); }
  :root:not([data-theme]) .am-card::after { background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .08) 50%, transparent 65%); }
  :root:not([data-theme]) .am-arrow { background: #22264a; }
}
