:root {
    --navy: #04102d;
    --navy-2: #071838;
    --navy-3: #0c2147;
    --gold: #efbd52;
    --gold-light: #ffd879;
    --gold-deep: #c78b23;
    --ivory: #fbfaf5;
    --paper: #f4f0e6;
    --ink: #101827;
    --muted: #667085;
    --line: rgba(4, 16, 45, .12);
    --white: #fff;
    --green: #2b7a5d;
    --green-bg: #e1f1e9;
    --amber: #a96c13;
    --amber-bg: #fff0d2;
    --red: #ad4938;
    --red-bg: #f9e4df;
    --shadow: 0 28px 90px rgba(4, 16, 45, .14);
    --r: 8px;
    --head: 'Manrope', sans-serif;
    --body: 'DM Sans', sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--body);
    overflow-x: hidden
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

.brand-symbol {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    flex: none
}

.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
    background: linear-gradient(155deg, var(--ivory), var(--paper))
}

.aurora {
    position: absolute;
    width: 54vw;
    height: 54vw;
    border-radius: 50%;
    filter: blur(95px);
    opacity: .13;
    animation: aurora 20s ease-in-out infinite
}

.aurora-one {
    background: var(--gold);
    top: -26vw;
    right: -8vw
}

.aurora-two {
    background: #5e82a8;
    left: -24vw;
    bottom: -28vw;
    animation-delay: -9s
}

.orbit {
    position: absolute;
    border: 1px solid rgba(199, 139, 35, .14);
    border-radius: 50%;
    animation: spin 36s linear infinite
}

.orbit-one {
    width: 60vw;
    height: 60vw;
    right: -34vw;
    top: 8vh
}

.orbit-two {
    width: 44vw;
    height: 44vw;
    left: -31vw;
    bottom: 0;
    animation-direction: reverse
}

.grain {
    position: absolute;
    inset: 0;
    opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

@keyframes aurora {
    50% {
        transform: translate(8vw, 6vw) scale(1.12)
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: var(--navy);
    transition: opacity .7s ease, visibility .7s
}

.page-loader.done {
    opacity: 0;
    visibility: hidden
}

.loader-mark {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: loaderPulse 1.25s ease-in-out infinite
}

.loader-mark img,
.loader-mark .brand-symbol {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0
}

.loader-line {
    position: relative;
    width: 120px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .14);
    overflow: hidden
}

.loader-line span {
    display: block;
    width: 45%;
    height: 100%;
    background: var(--gold);
    animation: loadLine 1s ease-in-out infinite
}

@keyframes loaderPulse {
    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 10px 22px rgba(239, 189, 82, .45))
    }
}

@keyframes loadLine {
    0% {
        transform: translateX(-110%)
    }

    100% {
        transform: translateX(330%)
    }
}

.navbar {
    position: fixed;
    z-index: 100;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 32px));
    height: 64px;
    padding: 0 10px 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(251, 250, 245, .78);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(4, 16, 45, .06);
    transition: .3s
}

.navbar.scrolled {
    top: 8px;
    box-shadow: 0 14px 36px rgba(4, 16, 45, .13)
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    font: 800 16px var(--head);
    letter-spacing: .12em
}

.brand .brand-symbol {
    width: 32px;
    color: var(--gold)
}

.nav-links {
    display: flex;
    gap: 32px;
    color: #45506a;
    font-size: 14px;
    font-weight: 600
}

.nav-links a {
    position: relative
}

.nav-links a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: var(--gold-deep);
    transform: scaleX(0);
    transition: .25s
}

.nav-links a:hover:after {
    transform: scaleX(1)
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 0 24px;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    transition: transform .2s, box-shadow .2s, background .2s
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(4, 16, 45, .18)
}

.button-small {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px
}

.button-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy)
}

.menu-button,
.mobile-menu {
    display: none
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1)
}

.reveal.in {
    opacity: 1;
    transform: none
}

.home-hero {
    min-height: 92vh;
    max-width: 1180px;
    margin: auto;
    padding: 150px 34px 70px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px
}

.eyebrow {
    font: 700 11px var(--head);
    letter-spacing: .2em;
    color: var(--gold-deep)
}

h1,
h2,
h3 {
    font-family: var(--head);
    letter-spacing: 0
}

.home-hero h1 {
    font-size: clamp(52px, 7.5vw, 100px);
    line-height: .94;
    margin: 22px 0;
    color: var(--navy)
}

.home-hero h1 span {
    color: var(--gold-deep)
}

.hero-lede {
    max-width: 560px;
    color: #586174;
    font-size: 18px;
    line-height: 1.7
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 34px
}

.text-link {
    font-weight: 700
}

.text-link span {
    display: inline-block;
    color: var(--gold-deep);
    transition: .2s
}

.text-link:hover span {
    transform: translate(4px, 4px)
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 540px
}

.hero-visual>.brand-symbol {
    width: 240px;
    height: auto;
    color: var(--gold);
    filter: drop-shadow(0 30px 35px rgba(199, 139, 35, .28));
    animation: float 6s ease-in-out infinite
}

.arc-rings {
    position: absolute;
    width: 460px;
    height: 460px
}

.arc-rings i {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(199, 139, 35, .22);
    border-radius: 50%;
    animation: ripple 5s ease-out infinite
}

.arc-rings i:nth-child(2) {
    inset: 35px;
    animation-delay: -1.6s
}

.arc-rings i:nth-child(3) {
    inset: 70px;
    animation-delay: -3.2s
}

@keyframes ripple {
    50% {
        transform: scale(1.06);
        opacity: .35
    }
}

@keyframes float {
    50% {
        transform: translateY(-14px)
    }
}

.floating-stat {
    position: absolute;
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
    padding: 14px 18px;
    box-shadow: 0 16px 34px rgba(4, 16, 45, .1);
    animation: float 5s ease-in-out infinite
}

.floating-stat b {
    display: block;
    font: 800 24px var(--head);
    color: var(--navy)
}

.floating-stat span {
    font-size: 11px;
    color: var(--muted)
}

.stat-a {
    left: 0;
    top: 23%;
    animation-delay: -2s
}

.stat-b {
    right: -15px;
    bottom: 18%
}

.marquee {
    overflow: hidden;
    background: var(--navy);
    color: var(--gold);
    padding: 17px 0;
    font: 700 11px var(--head);
    letter-spacing: .17em;
    white-space: nowrap
}

.marquee div {
    width: max-content;
    animation: marquee 24s linear infinite
}

.marquee span {
    margin: 0 25px
}

@keyframes marquee {
    to {
        transform: translateX(-50%)
    }
}

.feature-section,
.process {
    max-width: 1120px;
    margin: auto;
    padding: 110px 24px
}

.section-head {
    max-width: 660px;
    margin-bottom: 48px
}

.section-head h2 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    color: var(--navy);
    margin: 14px 0
}

.section-head>p:last-child {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6
}

.feature-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 16px
}

.feature-card {
    position: relative;
    min-height: 290px;
    padding: 32px;
    background: rgba(255, 255, 255, .66);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: .35s
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: rgba(199, 139, 35, .4)
}

.feature-wide {
    grid-row: span 2;
    min-height: 596px
}

.feature-number {
    color: var(--gold-deep);
    font: 700 11px var(--head)
}

.feature-card h3 {
    font-size: 25px;
    color: var(--navy);
    margin: 75px 0 10px
}

.feature-card p {
    color: var(--muted);
    line-height: 1.65;
    max-width: 460px
}

.mini-calendar {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 35px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 6px
}

.mini-calendar i {
    aspect-ratio: 1;
    background: #e7e7df
}

.mini-calendar .c1,
.mini-calendar .c2 {
    background: #8db6a2
}

.mini-calendar .c3 {
    background: #f0cc7f
}

.mini-calendar .c4 {
    background: #d98f7e
}

.habit-preview {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    color: #4d5668;
    font-size: 13px
}

.habit-preview span,
.habit-preview b {
    background: var(--paper);
    padding: 9px 11px
}

.habit-preview b {
    color: var(--green)
}

.big-stat {
    display: block;
    font: 800 65px var(--head);
    color: var(--gold-deep);
    margin-top: 22px
}

.big-stat small {
    font-size: 15px;
    color: var(--muted)
}

.process {
    padding-top: 30px
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line)
}

.steps article {
    padding: 30px 34px 0 0
}

.steps b {
    color: var(--gold-deep);
    font-size: 12px
}

.steps h3 {
    font-size: 20px;
    color: var(--navy);
    margin-top: 55px
}

.steps p {
    color: var(--muted);
    line-height: 1.6
}

.closing {
    background: var(--navy);
    color: var(--white);
    padding: 100px 24px;
    text-align: center;
    overflow: hidden
}

.closing>div {
    display: flex;
    align-items: center;
    flex-direction: column
}

.closing .brand-symbol {
    width: 75px;
    color: var(--gold);
    margin-bottom: 20px
}

.closing h2 {
    font-size: clamp(38px, 6vw, 70px);
    margin: 14px 0 35px
}

.closing .eyebrow {
    color: var(--gold)
}

footer {
    background: var(--navy);
    color: #b8c0d0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 44px 24px 22px
}

.footer-inner,
.footer-bottom {
    max-width: 1080px;
    margin: auto
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px
}

.brand-footer {
    color: var(--white)
}

.footer-inner p {
    font-size: 13px
}

.footer-links {
    display: flex;
    gap: 22px;
    font-size: 12px
}

.footer-links a:hover {
    color: var(--gold)
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 32px;
    padding-top: 20px;
    font-size: 11px;
    color: #7f899d
}

.inner-page {
    background: var(--ivory)
}

.tracker-main,
.support-main {
    max-width: 1180px;
    margin: auto;
    padding: 140px 24px 100px
}

.page-title,
.support-intro {
    margin-bottom: 40px
}

.page-title h1,
.support-intro h1 {
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1;
    margin: 14px 0;
    color: var(--navy)
}

.page-title>p:last-child,
.support-intro>p:last-child {
    color: var(--muted);
    font-size: 17px;
    max-width: 580px;
    line-height: 1.6
}

.app-frame {
    background: rgba(255, 255, 255, .84);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden
}

.tracker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line)
}

.tracker-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--muted);
    font-size: 12px
}

.year-nav,
.view-toggle {
    display: flex;
    align-items: center;
    background: var(--paper);
    padding: 3px
}

.year-nav button,
.view-toggle button,
.tracker-actions button,
.modal button {
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink);
    padding: 8px 11px
}

.year-nav .yr-display {
    font-weight: 700;
    min-width: 58px
}

.view-toggle button.active {
    background: var(--white);
    border-color: var(--line);
    color: var(--navy)
}

.tracker-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap
}

.tracker-actions button,
.modal button {
    border-color: var(--line)
}

button.accent-action {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy)
}

.stats-bar {
    display: flex;
    gap: 20px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--line);
    overflow: auto
}

.stat {
    display: flex;
    gap: 5px;
    align-items: center;
    white-space: nowrap;
    font-size: 12px
}

.sdot {
    width: 7px;
    height: 7px;
    border-radius: 50%
}

.slbl {
    color: var(--muted)
}

.streaks-panel {
    padding: 17px 20px;
    border-bottom: 1px solid var(--line)
}

.hidden {
    display: none !important
}

.panel-label {
    display: block;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 6px 0 9px
}

.streaks-inner {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.sc {
    background: var(--paper);
    padding: 12px;
    min-width: 145px
}

.sc-name,
.sc-best,
.sc-unit {
    font-size: 11px;
    color: var(--muted)
}

.sc-num {
    font: 700 24px var(--head)
}

.sc-bar-bg {
    height: 3px;
    background: #ddd;
    margin-top: 7px
}

.sc-bar-fill {
    height: 100%
}

.cal-wrap {
    padding: 18px
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.month-card {
    background: var(--paper);
    padding: 10px
}

.month-name {
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 7px
}

.dh-row,
.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px
}

.dh {
    text-align: center;
    font-size: 8px;
    color: var(--muted)
}

.dc {
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background: var(--white);
    font-size: 9px;
    transition: .15s
}

.dc:not(.empty):hover {
    transform: scale(1.15);
    z-index: 1
}

.dc.empty {
    background: transparent
}

.dc.future {
    opacity: .35
}

.dc.green,
.mc.green {
    background: var(--green-bg);
    color: var(--green)
}

.dc.amber,
.mc.amber {
    background: var(--amber-bg);
    color: var(--amber)
}

.dc.red,
.mc.red {
    background: var(--red-bg);
    color: var(--red)
}

.dc.today,
.mc.today {
    outline: 2px solid var(--gold-deep)
}

.ndot,
.mc-note {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-deep);
    right: 2px;
    bottom: 2px
}

.mv-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px
}

.mv-nav button {
    border: 1px solid var(--line);
    background: var(--white);
    padding: 8px 12px
}

.mv-title {
    font: 700 22px var(--head);
    color: var(--navy)
}

.mv-dh-row,
.mv-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    padding: 0 18px
}

.mv-dh {
    text-align: center;
    color: var(--muted);
    font-size: 10px
}

.mc {
    min-height: 110px;
    background: var(--paper);
    padding: 9px;
    position: relative;
    border: 1px solid var(--line)
}

.mc.empty {
    opacity: 0
}

.mc.future {
    opacity: .4
}

.mc-top {
    display: flex;
    justify-content: space-between
}

.mc-num {
    font-size: 17px
}

.mc-dn {
    font-size: 9px;
    color: var(--muted)
}

.mc-dots {
    display: flex;
    gap: 3px;
    margin-top: 50px
}

.mcd {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d9d7cf
}

.mcd.done {
    background: var(--green)
}

.mcd.miss {
    background: var(--red)
}

.legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px;
    font-size: 10px;
    color: var(--muted)
}

.legend span {
    display: flex;
    align-items: center;
    gap: 5px
}

.legend i {
    width: 9px;
    height: 9px;
    background: #ddd
}

.legend .green {
    background: var(--green-bg)
}

.legend .amber {
    background: var(--amber-bg)
}

.legend .red {
    background: var(--red-bg)
}

.legend .today-dot {
    background: transparent;
    border: 2px solid var(--gold-deep)
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(4, 16, 45, .62);
    backdrop-filter: blur(5px)
}

.modal {
    width: min(430px, 100%);
    max-height: 88vh;
    overflow: auto;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow);
    animation: modal .25s ease
}

.modal-small {
    max-width: 380px
}

@keyframes modal {
    from {
        opacity: 0;
        transform: translateY(15px) scale(.97)
    }
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}

.modal-head h3 {
    margin: 0;
    color: var(--navy)
}

.modal-head p {
    margin: 4px 0;
    color: var(--muted);
    font-size: 12px
}

.modal .close {
    border: 0;
    font-size: 22px;
    padding: 0
}

.score-wrap {
    font-size: 12px;
    color: var(--muted);
    margin: 15px 0
}

.score-bg {
    height: 5px;
    background: var(--paper);
    margin-top: 6px
}

.score-bg div {
    height: 100%
}

.hc-list {
    display: grid;
    gap: 6px;
    margin-bottom: 15px
}

.hc-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    background: var(--paper);
    font-size: 13px
}

.or-row,
.modal-actions,
.add-row {
    display: flex;
    gap: 6px
}

.modal textarea,
.modal input,
.modal select {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 10px
}

.modal textarea {
    min-height: 75px;
    resize: vertical
}

.modal-actions {
    justify-content: flex-end;
    margin-top: 10px
}

.good {
    color: var(--green) !important;
    background: var(--green-bg) !important
}

.bad {
    color: var(--red) !important;
    background: var(--red-bg) !important
}

.hl-item {
    display: flex;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px
}

.hl-name {
    flex: 1
}

.hl-streak {
    color: var(--muted)
}

.del-btn {
    border: 0 !important;
    padding: 0 !important;
    font-size: 18px
}

.modal-note {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.6
}

.setting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px
}

.setting>div {
    display: flex;
    gap: 5px
}

.setting.vertical {
    align-items: flex-start;
    flex-direction: column
}

.print-header,
.print-footer {
    display: none
}

.support-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px
}

.support-intro>p:last-child {
    margin-inline: auto
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow);
    border: 1px solid var(--line)
}

.donation-panel,
.qr-panel {
    padding: 48px
}

.donation-panel {
    background: rgba(255, 255, 255, .82)
}

.qr-panel {
    position: relative;
    background: var(--navy);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden
}

.amount-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px
}

.amount-head>span {
    font: 700 12px var(--head);
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted)
}

.amount-head strong {
    font: 800 50px var(--head);
    color: var(--navy)
}

.amount-head small {
    font-size: 23px;
    color: var(--gold-deep)
}

.amount-templates {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px
}

.amount-templates button {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 12px 3px;
    color: var(--navy);
    font-weight: 700
}

.amount-templates button.selected {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy)
}

.custom-label {
    display: block;
    margin-top: 28px;
    font-size: 12px;
    color: var(--muted)
}

.amount-input {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--navy);
    margin-top: 8px
}

.amount-input span {
    font: 700 22px var(--head);
    color: var(--gold-deep)
}

.amount-input input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font: 800 35px var(--head);
    padding: 8px;
    color: var(--navy)
}

#amountHelp {
    font-size: 11px;
    color: var(--muted)
}

.privacy-note {
    display: flex;
    gap: 14px;
    background: var(--paper);
    margin-top: 36px;
    padding: 20px
}

.privacy-note>span {
    color: var(--gold-deep)
}

.privacy-note b {
    color: var(--navy)
}

.privacy-note p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
    margin: 5px 0 0
}

.qr-glow {
    position: absolute;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(239, 189, 82, .3);
    border-radius: 50%;
    animation: ripple 4s ease-in-out infinite
}

.qr-card {
    position: relative;
    padding: 18px;
    background: var(--white);
    z-index: 1
}

.qr-card img,
.qr-card canvas {
    display: block
}

.scan-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: var(--gold);
    border-style: solid
}

.c1 {
    left: 7px;
    top: 7px;
    border-width: 2px 0 0 2px
}

.c2 {
    right: 7px;
    top: 7px;
    border-width: 2px 2px 0 0
}

.c3 {
    left: 7px;
    bottom: 7px;
    border-width: 0 0 2px 2px
}

.c4 {
    right: 7px;
    bottom: 7px;
    border-width: 0 2px 2px 0
}

.scan-label {
    font: 700 14px var(--head);
    margin: 25px 0 5px
}

.upi-id {
    color: var(--gold);
    letter-spacing: .04em;
    margin: 0;
    font-size: 14px
}

.qr-value {
    font-size: 12px;
    color: #b9c1d2
}

.upi-open {
    display: none;
    margin-top: 12px
}

.qr-help {
    font-size: 11px;
    color: #8390a7
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-top: 0;
    background: rgba(255, 255, 255, .5)
}

.trust-strip div {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-right: 1px solid var(--line)
}

.trust-strip div:last-child {
    border: 0
}

.trust-strip b {
    color: var(--gold-deep);
    font-size: 11px
}

.trust-strip span {
    font-size: 12px;
    color: var(--muted)
}

@media(max-width:800px) {

    .nav-links,
    .navbar>.button-small {
        display: none
    }

    .menu-button {
        display: flex;
        width: 42px;
        height: 42px;
        border: 0;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: 4px
    }

    .menu-button span {
        width: 16px;
        height: 1px;
        background: var(--gold);
        margin: 0 auto;
        transition: .2s
    }

    .menu-button.open span:first-child {
        transform: translateY(5px) rotate(45deg)
    }

    .menu-button.open span:nth-child(2) {
        opacity: 0
    }

    .menu-button.open span:last-child {
        transform: translateY(-5px) rotate(-45deg)
    }

    .mobile-menu {
        display: flex;
        position: fixed;
        z-index: 90;
        top: 87px;
        left: 16px;
        right: 16px;
        padding: 9px;
        flex-direction: column;
        background: var(--white);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .25s
    }

    .mobile-menu.open {
        opacity: 1;
        visibility: visible;
        transform: none
    }

    .mobile-menu a {
        padding: 12px
    }

    .home-hero {
        grid-template-columns: 1fr;
        padding-top: 125px
    }

    .hero-visual {
        min-height: 410px
    }

    .arc-rings {
        width: 390px;
        height: 390px
    }

    .feature-grid {
        grid-template-columns: 1fr
    }

    .feature-wide {
        grid-row: auto;
        min-height: 520px
    }

    .steps {
        grid-template-columns: 1fr
    }

    .footer-inner {
        grid-template-columns: 1fr
    }

    .footer-links {
        flex-wrap: wrap
    }

    .months-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .support-grid {
        grid-template-columns: 1fr
    }

    .trust-strip {
        grid-template-columns: 1fr
    }

    .trust-strip div {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .upi-open {
        display: inline-flex
    }
}

@media(max-width:560px) {
    .home-hero {
        padding-inline: 20px
    }

    .home-hero h1 {
        font-size: 52px
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column
    }

    .hero-visual {
        min-height: 330px
    }

    .hero-visual>.brand-symbol {
        width: 170px;
        height: auto;
    }

    .arc-rings {
        width: 310px;
        height: 310px;
    }

    .floating-stat {
        padding: 10px
    }

    .feature-section,
    .process {
        padding: 78px 18px
    }

    .feature-card {
        padding: 24px
    }

    .mini-calendar {
        left: 24px;
        right: 24px;
        gap: 4px
    }

    .months-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .tracker-main,
    .support-main {
        padding: 120px 10px 70px
    }

    .tracker-header {
        align-items: flex-start;
        flex-direction: column
    }

    .tracker-actions {
        width: 100%
    }

    .tracker-actions button {
        flex: 1
    }

    .stats-bar {
        padding-inline: 12px
    }

    .mv-grid,
    .mv-dh-row {
        padding-inline: 8px;
        gap: 3px
    }

    .mc {
        min-height: 78px;
        padding: 5px
    }

    .mc-dots {
        margin-top: 32px
    }

    .donation-panel,
    .qr-panel {
        padding: 30px 20px
    }

    .amount-templates {
        grid-template-columns: repeat(3, 1fr)
    }

    .qr-card {
        transform: scale(.92)
    }

    .footer-links {
        gap: 12px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important
    }
}

@page {
    size: auto;
    margin: 0
}

@media print {

    html,
    body {
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important
    }

    body {
        padding: 14mm 12mm !important
    }

    .navbar,
    .mobile-menu,
    footer,
    .page-title,
    .ambient,
    .tracker-header,
    .stats-bar,
    .streaks-panel,
    .legend,
    .overlay,
    .page-loader,
    .print-footer {
        display: none !important
    }

    .tracker-main {
        padding: 0 !important
    }

    .app-frame {
        border: 0;
        box-shadow: none;
        background: #fff !important;
        padding: 0 !important
    }

    .print-header {
        display: flex !important;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
        border-bottom: 2px solid #04102d;
        padding-bottom: 12px;
        margin: 0 0 18px
    }

    .print-brand {
        display: flex;
        align-items: center;
        gap: 12px
    }

    .print-brand .brand-symbol {
        width: 42px;
        height: 42px;
        object-fit: contain
    }

    .print-brand b {
        display: block;
        font-size: 17px;
        letter-spacing: .06em;
        color: #04102d
    }

    .print-brand span {
        display: block;
        font-size: 10px;
        color: #4a5368
    }

    #ph-meta {
        text-align: right;
        font-size: 10px;
        line-height: 1.5;
        color: #4a5368
    }

    .months-grid {
        grid-template-columns: repeat(4, 1fr) !important
    }

    .month-card {
        break-inside: avoid
    }

    .dc.green,
    .mc.green {
        background: #e1f1e9 !important
    }

    .dc.amber,
    .mc.amber {
        background: #fff0d2 !important
    }

    .dc.red,
    .mc.red {
        background: #f9e4df !important
    }
}