:root {
      --paper: #f8f5ee;
      --paper-deep: #f0eadf;
      --white: #fffefa;
      --ink: #252820;
      --muted: #72776d;
      --green: #32483d;
      --green-soft: #e7eee7;
      --orange: #b96e39;
      --orange-soft: #f7e9d9;
      --line: #e8e2d7;
      --shadow: 0 20px 60px rgba(49, 55, 44, .11);
      --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
      --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 var(--sans); }
        a { color: inherit; text-decoration: none; }
    button, input { font: inherit; }
    button { cursor: pointer; }
    .wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
    .topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(232,226,215,.8); background: rgba(248,245,238,.92); backdrop-filter: blur(14px); }
    .nav { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.04em; font-size: 20px; }
    .brand-mark { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; color: white; background: var(--green); }
    .brand-mark svg { width: 22px; height: 22px; }
    .brand span span { color: var(--orange); }
    .nav-links { display: flex; flex: 1; align-items: center; justify-content: center; gap: clamp(8px, 1vw, 16px); color: #62685f; font-size: 13px; font-weight: 600; white-space: nowrap; }
    .nav-links a:hover { color: var(--green); }
    .nav-actions { display: flex; align-items: center; gap: 12px; }
    .button { min-height: 46px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s, background .2s; }
    .button:hover { transform: translateY(-2px); }
    .button svg { width: 17px; height: 17px; }
    .button-primary { color: white; background: var(--green); box-shadow: 0 8px 20px rgba(50,72,61,.18); }
    .button-primary:hover { background: #24392e; box-shadow: 0 11px 25px rgba(50,72,61,.23); }
    .button-quiet { color: var(--green); background: transparent; border: 1px solid var(--line); }
    .button-quiet:hover { background: white; }
    .mobile-menu { display: none; border: 0; background: transparent; color: var(--green); padding: 8px; }

    .hero { position: relative; overflow: hidden; padding: 88px 0 92px; background: radial-gradient(ellipse at 76% 38%, #e8efe6 0, transparent 39%), linear-gradient(135deg, #fbf9f3 15%, #f4eee3 100%); }
    .hero::after { content: ""; position: absolute; width: 450px; height: 450px; border-radius: 50%; border: 1px solid rgba(50,72,61,.08); right: -130px; top: -175px; box-shadow: 0 0 0 45px rgba(50,72,61,.025), 0 0 0 90px rgba(50,72,61,.018); pointer-events: none; }
    .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 66px; }
    .eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dce5db; border-radius: 999px; background: rgba(255,255,255,.65); padding: 7px 12px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #84a384; }
    h1, h2, h3, p { margin-top: 0; }
    h1 { max-width: 660px; margin: 22px 0 19px; font: 700 clamp(46px, 6vw, 72px)/1.04 var(--serif); letter-spacing: -.055em; color: #28382f; }
    h1 em { color: var(--orange); font-style: normal; }
    .hero-copy { max-width: 535px; color: #656b62; font-size: 18px; line-height: 1.7; }
    .hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
    .hero-note { display: flex; align-items: center; gap: 9px; margin-top: 26px; color: var(--muted); font-size: 13px; }
    .avatar-stack { display: flex; padding-left: 3px; }
    .avatar { width: 29px; height: 29px; margin-left: -4px; display: grid; place-items: center; border: 2px solid var(--paper); border-radius: 50%; background: #e6c8aa; font-size: 13px; }
    .avatar:nth-child(2) { background: #d2ded0; }
    .avatar:nth-child(3) { background: #efcecc; }
    .hero-art { position: relative; min-height: 610px; display: grid; place-items: center; }
    .phone-frame { position: relative; overflow: hidden; padding: 0; border: 7px solid #252820; border-radius: 32px; background: #252820; box-shadow: 0 16px 36px rgba(37,47,39,.12); }
    .phone-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 24px; }
    .hero-phone { z-index: 2; width: min(286px, 76%); height: 586px; }
    .section { padding: 98px 0; }
    .section-heading { max-width: 710px; margin: 0 auto 44px; text-align: center; }
    .section-heading .eyebrow { margin-bottom: 16px; }
    h2 { margin-bottom: 14px; color: #28382f; font: 700 clamp(34px, 4.2vw, 48px)/1.12 var(--serif); letter-spacing: -.04em; }
    .section-heading p { color: var(--muted); font-size: 17px; }
    .overview { padding-top: 82px; }
    .overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .overview-card { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 8px 22px rgba(49,55,44,.035); }
    .card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
    .overview-card h3 { margin: 18px 0 3px; font-size: 16px; }
    .overview-card p { margin: 0; color: var(--muted); font-size: 13px; }
    .tiny-label { border-radius: 99px; padding: 5px 9px; color: #6c756a; background: #f2f2eb; font-size: 10px; font-weight: 700; }
    .count { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; color: var(--green); }
    .count strong { font: 700 30px/1 var(--serif); }
    .count span { color: var(--muted); font-size: 12px; }
    .bar-list { display: grid; gap: 11px; margin-top: 21px; }
    .bar-line { display: grid; grid-template-columns: 65px 1fr 33px; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
    .bar { height: 7px; overflow: hidden; border-radius: 8px; background: #f0eee7; }
    .bar i { height: 100%; display: block; border-radius: inherit; background: #a8bba6; }
    .bar-line:nth-child(2) .bar i { background: #e8b58c; }
    .bar-line:nth-child(3) .bar i { background: #d99da1; }
    .expense-number { margin-top: 24px; font: 700 31px/1 var(--serif); color: var(--green); }
    .expense-number small { font: 500 12px var(--sans); color: var(--muted); }
    .chip-row { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 17px; }
    .chip { border-radius: 999px; padding: 5px 9px; color: #566658; background: #edf2eb; font-size: 10px; font-weight: 700; }
    .chip.peach { color: #995c39; background: #f8ede2; }
    .chip.rose { color: #975c62; background: #f8e9e9; }

    .calendar-section { background: #eef2eb; }
    .calendar-layout { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 62px; }
    .calendar-copy .eyebrow { margin-bottom: 18px; background: #f8faf6; }
    .calendar-copy h2 { margin-bottom: 17px; }
    .calendar-copy p { color: #687166; font-size: 16px; }
    .checks { display: grid; gap: 12px; margin: 25px 0 28px; padding: 0; list-style: none; color: #4d5d50; font-size: 14px; }
    .checks li { display: flex; align-items: center; gap: 10px; }
    .check { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #dce8dc; font-size: 12px; font-weight: 700; }
    .calendar-phone-wrap { display: grid; place-items: center; min-height: 590px; padding: 22px; border: 1px solid #e5e9e1; border-radius: 25px; background: rgba(255,254,250,.64); }
    .calendar-phone { width: 265px; height: 542px; }
    .cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
    .cal-title { display: flex; align-items: center; gap: 11px; }
    .cal-title h3 { margin: 0; font-size: 16px; }
    .cal-title span { color: var(--muted); font-size: 12px; }
    .cal-icon { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 13px; color: var(--green); background: var(--green-soft); }
    .cal-icon svg { width: 20px; height: 20px; }
    .cal-controls { display: flex; align-items: center; gap: 5px; }
    .cal-controls button { width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 50%; color: var(--green); background: white; font-size: 17px; }
    .cal-controls button:hover { background: var(--green-soft); }
    .cal-month { min-width: 105px; text-align: center; font-size: 13px; font-weight: 700; }
    .cal-weekdays, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; text-align: center; }
    .cal-weekdays { margin-bottom: 9px; color: #8a9086; font-size: 10px; font-weight: 700; }
    .cal-days button { position: relative; aspect-ratio: 1; border: 0; border-radius: 12px; color: var(--ink); background: transparent; font-size: 12px; }
    .cal-days button:hover { background: #f5f2ea; }
    .cal-days button.muted-day { color: #b9bcb4; }
    .cal-days button.selected-day { color: white; background: var(--green); font-weight: 700; }
    .cal-days button.has-event::after { content: ""; position: absolute; width: 4px; height: 4px; left: calc(50% - 2px); bottom: 5px; border-radius: 50%; background: var(--orange); }
    .cal-days button.selected-day::after { background: #fff; }
    .event-list { display: grid; gap: 10px; margin-top: 18px; }
    .event { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid #f0eee8; padding-top: 11px; }
    .event-dot { width: 8px; height: 8px; border-radius: 50%; background: #df9868; }
    .event:nth-child(2) .event-dot { background: #7e9dca; }
    .event:nth-child(3) .event-dot { background: #96ae89; }
    .event strong { display: block; font-size: 12px; }
    .event small { display: block; color: var(--muted); font-size: 10px; }
    .event-tag { border-radius: 99px; padding: 4px 8px; color: #526a57; background: #edf2eb; font-size: 9px; font-weight: 700; }
    .empty-events { grid-column: 1/-1; padding: 7px 0; color: var(--muted); font-size: 12px; }

    .features { background: var(--paper); }
    .feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .feature-card { min-height: 400px; display: grid; grid-template-columns: 1fr .72fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); transition: transform .2s, box-shadow .2s; }
    .feature-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(49,55,44,.09); }
    .feature-text { align-self: center; padding: 29px 8px 29px 29px; }
    .feature-kicker { color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
    .feature-text h3 { margin: 8px 0; color: #2d3c32; font: 700 25px/1.2 var(--serif); }
    .feature-text p { margin-bottom: 13px; color: var(--muted); font-size: 13px; }
    .feature-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 12px; font-weight: 700; }
    .feature-link:hover { color: var(--orange); }
    .feature-link svg { width: 14px; height: 14px; }
    .feature-image { display: grid; place-items: center; min-height: 100%; padding: 20px 14px; background: linear-gradient(160deg, #eff3ec, #f8f5ee); }
    .fitness-note { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
    .fitness-note strong { color: var(--green); }
    .feature-phone { width: min(188px, 100%); height: 360px; border-width: 7px; border-radius: 32px; padding: 0; }
    .feature-phone img { border-radius: 19px; }
    .showcase-row { display: grid; grid-template-columns: minmax(230px, .62fr) minmax(0, 1.38fr); align-items: center; gap: 34px; padding: 34px 0; border-top: 1px solid var(--line); }
    .showcase-copy h3 { margin: 8px 0 10px; color: #2d3c32; font: 700 28px/1.15 var(--serif); letter-spacing: -.03em; }
    .showcase-copy p { margin: 0; color: var(--muted); font-size: 14px; }
    .showcase-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); align-items: start; width: 100%; min-width: 0; max-width: 100%; gap: clamp(12px, 1.8vw, 20px); padding: 8px 0 18px; }
    .phone-slide { display: grid; justify-items: center; gap: 9px; width: 100%; min-width: 0; margin: 0; }
    .showcase-phone { width: min(190px, 100%); height: auto; aspect-ratio: 190 / 392; box-shadow: 0 10px 28px rgba(37,47,39,.12); }
    .showcase-phone img { cursor: zoom-in; transition: transform 280ms cubic-bezier(.2,.7,.2,1); }
    @media (hover: hover) and (prefers-reduced-motion: no-preference) { .showcase-phone img:hover { transform: scale(1.045); } }
    .phone-slide figcaption { color: #5f685d; font-size: 12px; font-weight: 700; }
    .widget-showcase { align-items: start; }
    .widget-demo-note { margin-top: 12px !important; font-size: 12px !important; }
    .widget-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; min-width: 0; }
    .widget-card { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 8px 22px rgba(49,55,44,.04); }
    .widget-card--double, .widget-card--group { min-height: 366px; }
    .widget-card--double, .widget-card--group { display: flex; flex-direction: column; }
    .widget-card-heading { min-height: 50px; margin-bottom: 10px; }
    .widget-card-heading h4 { margin: 0 0 2px; color: var(--green); font-size: 13px; line-height: 1.3; }
    .widget-card-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
    .widget-stack { display: grid; gap: 9px; }
    .widget-stack--double { flex: 1; grid-template-rows: 1fr 1fr; align-content: stretch; }
    .mini-widget { min-width: 0; overflow: hidden; padding: 15px; border: 1px solid #e4e9e2; border-radius: 16px; color: #20352b; background: #fbfaf5; box-shadow: 0 5px 14px rgba(29,48,37,.06); font-size: 12px; }
    .mini-widget header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid rgba(43,77,57,.16); font-size: 14px; font-weight: 800; }
    .mini-widget-family, .mini-widget-count { color: #65776b; font-size: 10px; font-weight: 700; }
    .mini-widget strong { font-size: 11px; }
    .mini-widget p { margin: 5px 0 0; font-size: 15px; font-weight: 800; line-height: 1.2; }
    .mini-widget-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 9px; border-top: 1px solid rgba(43,77,57,.12); color: #65776b; font-size: 10px; }
    .mini-widget-meta b { color: #20352b; }
    .mini-widget label { display: flex; align-items: center; gap: 9px; margin: 9px 0; font-weight: 700; cursor: pointer; }
    .mini-widget input { width: 15px; height: 15px; margin: 0; accent-color: var(--green); }
    .mini-widget input:checked + span, .mini-widget label:has(input:checked) { color: #849087; text-decoration: line-through; }
    .mini-widget--double { min-height: 0; }
    .widget-carousel { display: flex; flex: 1; overflow: hidden; min-height: 224px; border-radius: 16px; touch-action: pan-y; }
    .widget-carousel-track { width: 100%; min-height: 224px; }
    .widget-carousel [data-stack-slide] { min-height: 224px; height: 100%; }
    .widget-carousel [hidden] { display: none; }
    .widget-carousel-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
    .widget-carousel-controls > button { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green); background: #f1f5ef; font-size: 17px; cursor: pointer; }
    .widget-dots { display: flex; align-items: center; gap: 8px; }
    .widget-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c9d2c8; cursor: pointer; }
    .widget-dots button[aria-current="true"] { width: 20px; border-radius: 99px; background: var(--green); }
    .mini-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; justify-items: center; gap: 7px 3px; font-size: 11px; font-weight: 700; }
    .mini-calendar-grid b { color: #7d8981; font-size: 9px; }
    .mini-calendar-grid span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; }
    .mini-calendar-grid .today { color: white; background: #3474bd; }
    .mini-event { display: flex; align-items: center; gap: 7px; margin-top: 12px !important; padding: 8px 10px; border-radius: 10px; background: #edf1f8; font-size: 11px !important; }
    .mini-event i { width: 7px; height: 7px; border-radius: 50%; background: #3474bd; }
    .fitness-row { border-bottom: 1px solid var(--line); }
    .is-preview .showcase-phone { box-shadow: 0 16px 35px rgba(49,55,44,.12); }
    .preview-badge { position: absolute; z-index: 2; top: 15px; left: 50%; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.4); border-radius: 99px; padding: 5px 11px; color: white; background: rgba(185,110,57,.94); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

    .personal { padding: 72px 0; }
    .personal-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 46px 54px; border-radius: 28px; color: white; background: var(--green); }
    .personal-panel h2 { max-width: 620px; margin-bottom: 10px; color: white; font-size: clamp(32px, 4vw, 42px); }
    .personal-panel p { max-width: 600px; margin: 0; color: #d2ded2; }
    .personal-panel .button { color: var(--green); background: white; white-space: nowrap; }
    .personal-panel .button:hover { box-shadow: 0 10px 22px rgba(0,0,0,.18); }
    .personal-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; color: #d8e2d5; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
    .personal-mark span { width: 23px; height: 1px; background: #a7bea6; }
    .footer { margin-top: 24px; padding: 34px 0 22px; color: #e7eee7; background: #2f4438; }
    .footer-inner { display: grid; gap: 24px; }
    .footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .footer-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); }
    .footer-links a { color: #e7eee7; font-size: 13px; font-weight: 600; }
    .footer-links a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
    .language-toggle { min-width: 46px; padding-inline: 10px; }
    .theme-toggle, .icon-only { width: 46px; min-width: 46px; padding: 0; }
    .theme-toggle span { font-size: 21px; line-height: 1; }
    .icon-only svg { width: 21px; height: 21px; }
    .language-toggle:focus-visible, .theme-toggle:focus-visible { outline: 2px solid #95b99c; outline-offset: 2px; }
    .footer .brand { color: white; font-size: 18px; }
    .footer .brand-mark { width: 34px; height: 34px; border-radius: 11px; color: var(--green); background: #e7eee7; }
    .footer .brand-mark svg { width: 19px; }
    .footer-meta { margin: 0; padding-top: 17px; border-top: 1px solid rgba(231,238,231,.2); color: #bdcbbf; font-size: 12px; }

    .mobile-nav { display: none; }
    @media (max-width: 900px) {
      .nav { gap: 12px; }
      .nav-links { gap: 9px; font-size: 11px; }
      .nav-actions { gap: 6px; }
      .nav-actions .button { min-height: 38px; padding-inline: 10px; font-size: 11px; }
      .language-toggle, .theme-toggle, .icon-only { width: 38px; min-width: 38px; min-height: 38px; padding: 0; font-size: 10px; }
      .nav-actions .language-toggle, .nav-actions .theme-toggle, .nav-actions .icon-only { padding: 0; }
      .theme-toggle span { font-size: 18px; }
      .hero-grid { gap: 25px; }
      .hero-art { min-height: 590px; }
      .hero-phone { height: 560px; }
      .calendar-layout { gap: 30px; }
      .feature-card { grid-template-columns: 1fr .72fr; }
      .feature-text { padding-left: 22px; }
    }
    @media (max-width: 820px) and (min-width: 701px) {
      .nav { gap: 8px; }
      .nav-links { gap: 5px; font-size: 10px; }
      .nav-actions { gap: 4px; }
      .nav-actions .button { padding-inline: 7px; font-size: 10px; }
    }
    @media (max-width: 700px) {
      .wrap { width: min(100% - 34px, 540px); }
      .nav { height: auto; min-height: 68px; padding-block: 10px; flex-wrap: wrap; gap: 8px; }
      .nav-links { display: none; }
      .nav-actions { width: 100%; justify-content: flex-end; gap: 6px; }
      .nav-actions .button { min-height: 38px; padding: 0 9px; font-size: 10px; white-space: nowrap; }
      .nav-actions .language-toggle, .nav-actions .theme-toggle, .nav-actions .icon-only { width: 36px; min-width: 36px; min-height: 38px; padding: 0; }
      .brand { font-size: 18px; }
      .hero { padding: 55px 0 46px; }
      .hero-grid { grid-template-columns: 1fr; gap: 14px; }
      .hero-copy { font-size: 16px; }
      h1 { margin-top: 17px; font-size: clamp(42px, 12vw, 60px); }
      .hero-art { min-height: 500px; margin-top: 8px; }
      .hero-phone { width: 248px; height: 500px; }
      .section { padding: 72px 0; }
      .section-heading { margin-bottom: 30px; }
      .section-heading p { font-size: 15px; }
      .calendar-layout { grid-template-columns: 1fr; gap: 28px; }
      .calendar-phone-wrap { min-height: 530px; padding: 14px; }
      .calendar-phone { width: 230px; height: 480px; }
      .feature-grid { grid-template-columns: 1fr; gap: 13px; }
      .feature-card { min-height: 360px; grid-template-columns: 1fr .72fr; }
      .feature-text { padding: 20px 4px 20px 19px; }
      .feature-text h3 { font-size: 22px; }
      .feature-phone { width: min(150px, 100%); height: 310px; }
      .showcase-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
      .widget-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
      .widget-card { padding: 10px; }
      .widget-card-heading { min-height: 56px; }
      .widget-card--double, .widget-card--group { min-height: 366px; }
      .mini-widget { padding: 12px; }
      .settings-list { grid-template-columns: 1fr; }
      .showcase-copy h3 { font-size: 25px; }
      .showcase-track { grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: 12px; padding: 4px 0 16px; }
      .showcase-phone { width: min(164px, 100%); aspect-ratio: 164 / 338; height: auto; }
      .personal { padding: 50px 0; }
      .personal-panel { grid-template-columns: 1fr; gap: 23px; padding: 31px 25px; }
      .personal-panel .button { justify-self: start; }
      .footer-main { align-items: flex-start; flex-direction: column; gap: 18px; }
      .footer-links { flex-wrap: wrap; gap: 12px 18px; }
      .footer-inner { gap: 18px; }
      .mobile-nav { position: sticky; z-index: 15; bottom: 0; display: flex; gap: 2px; overflow-x: auto; padding: 7px 6px max(7px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,254,250,.94); backdrop-filter: blur(12px); scrollbar-width: none; }
      .mobile-nav::-webkit-scrollbar { display: none; }
      .mobile-nav a { flex: 1 0 68px; display: grid; justify-items: center; gap: 2px; padding: 5px 2px; border-radius: 10px; color: #7a8078; font-size: 9px; font-weight: 700; }
      .mobile-nav a:first-child { color: var(--green); background: #edf2eb; }
      .mobile-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }


/* Bildvorschau / Lightbox */
#image-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 240ms ease, visibility 240ms ease; }
#image-lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
#image-lightbox img { display: block; width: auto; height: auto; max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 20px; box-shadow: 0 20px 70px rgba(0, 0, 0, .35); transform: scale(.92); transition: transform 240ms ease; cursor: zoom-out; }
#image-lightbox.is-open img { transform: scale(1); }
#image-lightbox-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: white; background: rgba(20, 24, 21, .58); font-size: 26px; line-height: 1; }
#image-lightbox-close:hover, #image-lightbox-close:focus-visible { background: rgba(20, 24, 21, .85); }
@media (prefers-reduced-motion: reduce) { #image-lightbox, #image-lightbox img, .showcase-phone img { transition: none; } }

.settings-row { align-items: start; }
.settings-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.settings-list li { display: grid; gap: 4px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.settings-list strong { color: var(--green); font-size: 14px; }
.settings-list span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.notes-card { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: var(--muted); }
.notes-card > span { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: var(--green); background: var(--green-soft); font-size: 25px; }
.notes-card p { margin: 0; font-size: 14px; }

body[data-theme="dark"] {
  --paper: #171a17;
  --paper-deep: #20251f;
  --white: #242a25;
  --ink: #eff3ed;
  --muted: #b2bbb2;
  --green: #a9c6ad;
  --green-soft: #344338;
  --orange: #e2ac83;
  --orange-soft: #49372b;
  --line: #39423a;
  --shadow: 0 20px 60px rgba(0,0,0,.34);
  color-scheme: dark;
}
body[data-theme="dark"] .topbar { border-color: #343c35; background: rgba(23,26,23,.94); }
body[data-theme="dark"] .nav-links { color: #c1c9c0; }
body[data-theme="dark"] .nav-links a:hover { color: #fff; }
body[data-theme="dark"] .button-primary { color: #fff; background: #45644e; }
body[data-theme="dark"] .button-primary:hover { background: #55785f; }
body[data-theme="dark"] .brand-mark { background: #45644e; }
body[data-theme="dark"] .hero { background: radial-gradient(ellipse at 76% 38%, #29372d 0, transparent 42%), linear-gradient(135deg, #1d211d 15%, #25231f 100%); }
body[data-theme="dark"] .eyebrow { border-color: #465448; color: #d9e8d9; background: rgba(41,52,43,.72); }
body[data-theme="dark"] h1,
body[data-theme="dark"] h2,
body[data-theme="dark"] .overview-card h3,
body[data-theme="dark"] .feature-text h3,
body[data-theme="dark"] .showcase-copy h3 { color: #e8eee7; }
body[data-theme="dark"] .hero-copy,
body[data-theme="dark"] .calendar-copy p,
body[data-theme="dark"] .phone-slide figcaption { color: #c0c8bf; }
body[data-theme="dark"] .calendar-section { background: #202820; }
body[data-theme="dark"] .calendar-copy .eyebrow { background: #28342b; }
body[data-theme="dark"] .checks { color: #d4ddd3; }
body[data-theme="dark"] .check { color: #dcebdd; background: #3c5943; }
body[data-theme="dark"] .calendar-phone-wrap { border-color: var(--line); background: rgba(36,42,37,.75); }
body[data-theme="dark"] .cal-controls button { color: #e6efe5; background: #303a32; }
body[data-theme="dark"] .cal-controls button:hover,
body[data-theme="dark"] .cal-days button:hover { background: #38463a; }
body[data-theme="dark"] .cal-weekdays { color: #aeb7ad; }
body[data-theme="dark"] .event-tag { color: #d7e7d8; background: #344538; }
body[data-theme="dark"] .features { background: #171a17; }
body[data-theme="dark"] .feature-card,
body[data-theme="dark"] .overview-card,
body[data-theme="dark"] .widget-card,
body[data-theme="dark"] .settings-list li,
body[data-theme="dark"] .notes-card { border-color: var(--line); background: var(--white); }
body[data-theme="dark"] .feature-image { background: linear-gradient(160deg, #29342b, #25251f); }
body[data-theme="dark"] .feature-text p,
body[data-theme="dark"] .settings-list span,
body[data-theme="dark"] .notes-card { color: var(--muted); }
body[data-theme="dark"] .mini-widget { border-color: #465147; color: #eef3ed; background: #2b332c; }
body[data-theme="dark"] .mini-widget header,
body[data-theme="dark"] .mini-widget-meta { border-color: #485249; }
body[data-theme="dark"] .mini-widget-family,
body[data-theme="dark"] .mini-widget-count,
body[data-theme="dark"] .mini-widget-meta { color: #bac8bb; }
body[data-theme="dark"] .mini-widget-meta b { color: #f0f4ee; }
body[data-theme="dark"] .mini-widget label:has(input:checked) { color: #a7b5a8; }
body[data-theme="dark"] .widget-carousel-controls > button { border-color: #485249; color: #e7eee7; background: #344237; }
body[data-theme="dark"] .widget-dots button { background: #69756b; }
body[data-theme="dark"] .widget-dots button[aria-current="true"] { background: #a9c6ad; }
body[data-theme="dark"] .fitness-row { border-color: var(--line); }
body[data-theme="dark"] .personal-panel { background: #2b4132; }
body[data-theme="dark"] .personal-panel .button { color: #28372c; background: #e9f0e8; }
body[data-theme="dark"] .footer { background: #202d24; }
body[data-theme="dark"] .mobile-nav { border-color: var(--line); background: rgba(27,32,28,.95); }
body[data-theme="dark"] .mobile-nav a { color: #bac4b9; }
body[data-theme="dark"] .mobile-nav a:first-child { color: #d9ead9; background: #334338; }

.finance-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .finance-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .finance-gallery { grid-template-columns: minmax(0, 1fr); }
  .widget-gallery { grid-template-columns: minmax(0, 1fr); }
  .widget-card--double .mini-widget { padding: 13px; }
  .widget-carousel, .widget-carousel-track, .widget-carousel [data-stack-slide] { min-height: 224px; }
}
