/* RITMO 2.0 — final visual layer. The warm Settle language remains the source. */
:root{
  color-scheme:light;
  --canvas:#efeee9;--surface:#fff;--surface-raised:#fff;--soft:#e7e5df;--line:#dddbd4;
  --ink:#1b1b1e;--ink-2:#353536;--muted:#6e6e68;--coral:#ff7653;--green:#39765f;
  --shadow-card:0 1px 1px #1d1d1805,0 20px 45px -38px #24241f88;
}
:root[data-theme="dark"]{
  color-scheme:dark;--canvas:#111210;--surface:#191a18;--surface-raised:#20211f;--soft:#272825;
  --line:#30312e;--ink:#f2f1ec;--ink-2:#d9d8d2;--muted:#a4a39c;--coral:#ff8365;
  --green:#72aa91;--green-soft:#183427;--coral-soft:#3a211b;--lilac-soft:#2a2536;--lilac:#a99bd4;
  --shadow-card:0 1px 1px #0004,0 24px 50px -36px #000;
}
body{background:var(--canvas);color:var(--ink);transition:background .32s ease,color .32s ease}
h1,h2,h3,.brand,.number,.forecast-number,.energy-total,.confidence-number,.streak-champion strong,.composition-hero strong{letter-spacing:-.04em}
p,button,a,input,select,textarea{letter-spacing:-.02em}
.card,.mainnav,.search,.input,.date-input,.food-card,.catalog-search,.appearance-choice,.modal{background-color:var(--surface);border-color:var(--line)}
.mainnav a.active,.btn.dark{background:var(--ink);color:var(--canvas);border-color:var(--ink)}
.segment,.metric-icon,.activity-icon,.body-split span,.calendar-day,.appearance-choice,.search-result{background:var(--soft)}
.segment button.active,.calendar-day:hover,.calendar-day.selected,.appearance-choice.selected{background:var(--surface);color:var(--ink)}
.input,.date-input,.catalog-search input,.search{color:var(--ink)}
.ritmo-mark{display:inline-flex;align-items:center;justify-content:center;width:38px;height:28px;flex-shrink:0}
.ritmo-mark svg{width:100%;height:100%;overflow:visible}.ritmo-loop{fill:none;stroke-width:5}.ritmo-loop-a{stroke:currentColor}.ritmo-loop-b{stroke:var(--coral)}.ritmo-pulse{fill:none;stroke:var(--surface);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.ritmo-mark i{display:block;width:2px;border-radius:9px;background:currentColor}
.ritmo-mark i:nth-child(1),.ritmo-mark i:nth-child(5){height:6px}.ritmo-mark i:nth-child(2),.ritmo-mark i:nth-child(4){height:13px}.ritmo-mark i:nth-child(3){height:20px;background:var(--coral)}

/* Public landing — one authored motion system: signals converge into a rhythm. */
.landing-v4{overflow:clip;background:var(--canvas)}
.landing-v4 .land-header{position:fixed;z-index:40;top:16px;left:50%;width:min(1180px,calc(100% - 32px));transform:translateX(-50%);padding:10px 11px 10px 18px;border:1px solid color-mix(in srgb,var(--line) 72%,transparent);border-radius:999px;background:color-mix(in srgb,var(--surface) 78%,transparent);box-shadow:0 18px 55px -38px #0008;backdrop-filter:blur(18px) saturate(1.2)}
.landing-v4 .land-header nav{display:flex;align-items:center;gap:4px}
.landing-v4 .land-header nav a{padding:9px 13px;border-radius:999px;color:var(--muted);font-size:.83rem}
.landing-v4 .land-header nav a:hover{background:var(--soft);color:var(--ink)}
.hero-v4{position:relative;min-height:1080px;padding:170px max(22px,6vw) 110px;text-align:center;isolation:isolate}
.hero-v4:before{content:"";position:absolute;z-index:-2;inset:220px -12vw 40px;background:radial-gradient(ellipse at 18% 30%,#8ebcd9,transparent 35%),radial-gradient(ellipse at 82% 24%,#bcb1dd,transparent 35%),radial-gradient(ellipse at 68% 75%,#ef9f77,transparent 34%),radial-gradient(ellipse at 24% 78%,#628c77,transparent 36%);filter:blur(70px);opacity:.72}
:root[data-theme="dark"] .hero-v4:before{opacity:.42;filter:blur(95px) saturate(.7)}
.hero-copy{position:relative;z-index:3;max-width:1180px;margin:0 auto}
.hero-copy h1{max-width:1100px;margin:auto;font-size:clamp(3.8rem,8.2vw,6rem);font-weight:500;line-height:.97;letter-spacing:-.04em}
.hero-copy h1 span{color:var(--muted)}
.hero-copy>p{max-width:660px;margin:30px auto 34px;color:var(--muted);font-size:1.08rem;line-height:1.7}
.hero-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.trust-line{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;margin-top:20px;color:var(--muted);font-size:.72rem}
.trust-line span{display:flex;align-items:center;gap:7px}.trust-line span:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--green)}
.rhythm-stage{position:relative;width:min(1120px,92vw);height:570px;margin:95px auto 0;border:1px solid #ffffff40;border-radius:56px;background:linear-gradient(145deg,#ffffff78,#ffffff22);box-shadow:0 60px 120px -70px #27232b88,inset 0 1px #fff8;backdrop-filter:blur(26px);transform:perspective(1500px) rotateX(3deg);transform-origin:center bottom}
:root[data-theme="dark"] .rhythm-stage{background:linear-gradient(145deg,#ffffff14,#ffffff05);border-color:#ffffff17;box-shadow:0 70px 140px -68px #000}
.rhythm-orbit{position:absolute;left:50%;top:50%;border:1px solid #ffffff9a;border-radius:50%;transform:translate(-50%,calc(-50% + var(--shift,0px)));transition:transform .08s linear}
.orbit-a{width:64%;aspect-ratio:1.25}.orbit-b{width:42%;aspect-ratio:1.1;opacity:.55}
.rhythm-stage [data-depth]{transition:transform .08s linear}
.stage-card{position:absolute;display:grid;gap:5px;width:235px;padding:22px;text-align:left;border:1px solid color-mix(in srgb,var(--line) 72%,transparent);border-radius:28px;background:color-mix(in srgb,var(--surface) 90%,transparent);box-shadow:0 22px 50px -38px #000;backdrop-filter:blur(18px);transform:translate3d(0,var(--shift,0),0)}
.stage-card>span,.stage-card>small{color:var(--muted);font-size:.72rem}.stage-card>strong{font-size:2.35rem;font-weight:500;letter-spacing:-.04em}.stage-card strong small{font-size:.78rem}
.stage-today{left:6%;top:14%}.stage-weight{right:7%;top:23%;width:280px}.stage-body{left:18%;bottom:10%}
.stage-mark{position:absolute;left:50%;top:50%;transform:translate(-50%,calc(-50% + var(--shift,0px)));padding:18px 24px;border-radius:999px;background:var(--ink);color:var(--canvas);box-shadow:0 30px 80px -28px #000a}
.stage-mark .brand{font-size:1.35rem}.stage-mark .ritmo-mark i:nth-child(3){background:var(--coral)}
.scroll-cue{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:30px;color:var(--muted);font-size:.72rem}.scroll-cue i{width:28px;height:1px;background:var(--muted);position:relative}.scroll-cue i:after{content:"";position:absolute;right:0;top:-2px;width:5px;height:5px;border-right:1px solid;border-bottom:1px solid;transform:rotate(45deg)}
.land-story{max-width:1420px;margin:0 auto;padding:150px max(22px,5vw)}
.story-copy{display:flex;align-items:flex-end;justify-content:space-between;gap:70px;margin-bottom:56px}.story-copy h2,.section-title h2,.privacy-v4 h2,.final-cta h2{font-size:clamp(2.8rem,5.2vw,5rem);line-height:1;letter-spacing:-.04em}.story-copy p{max-width:430px;color:var(--muted);line-height:1.7}
.story-product{padding:18px;border:1px solid var(--line);border-radius:44px;background:var(--surface);box-shadow:0 45px 90px -72px #000}
.mock-top{display:flex;align-items:center;justify-content:space-between;padding:4px 8px 22px}.mock-grid{display:grid;grid-template-columns:1fr .9fr;gap:14px}.mock-signal{min-height:320px;padding:32px;border-radius:32px;background:var(--canvas);display:flex;flex-direction:column;justify-content:space-between}.mock-signal>span{color:var(--muted)}.mock-signal>strong{font-size:clamp(3.7rem,7vw,6rem);font-weight:450;letter-spacing:-.04em}.mock-signal strong small{font-size:.9rem}.dark-signal{background:var(--ink);color:var(--canvas)}.dark-signal>span,.dark-signal>small{color:color-mix(in srgb,var(--canvas) 65%,transparent)}
.mock-calendar{grid-column:1/-1;padding:28px;border:1px solid var(--line);border-radius:32px}.mock-calendar>div{display:grid;grid-template-columns:repeat(14,1fr);gap:13px;margin-bottom:24px}.mock-calendar i{aspect-ratio:1;border-radius:50%;background:var(--soft)}.mock-calendar .r1{background:var(--lilac)}.mock-calendar .r2{background:#91b09f}.mock-calendar .r3{background:var(--green)}.mock-calendar .r4{background:var(--coral-soft)}.mock-calendar span{color:var(--muted);font-size:.82rem}
.method-section{padding:160px max(22px,8vw);background:var(--ink);color:var(--canvas)}
.method-section .section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:60px;max-width:1300px;margin:0 auto 90px}.method-section .section-title p{max-width:430px;color:color-mix(in srgb,var(--canvas) 60%,transparent);line-height:1.7}
.method-timeline{max-width:1300px;margin:auto;border-top:1px solid #ffffff25}.method-timeline article{display:grid;grid-template-columns:80px minmax(220px,.7fr) minmax(280px,1fr);gap:40px;padding:34px 0;border-bottom:1px solid #ffffff25}.method-timeline span{color:var(--coral);font-size:.74rem}.method-timeline h3{font-size:1.55rem}.method-timeline p{color:#ffffff9e;line-height:1.65}
.feature-ribbon{display:grid;grid-template-columns:1.7fr .8fr;gap:18px;max-width:1420px;margin:0 auto;padding:150px max(22px,5vw)}
.feature-main{min-height:590px;padding:52px;border-radius:46px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}.feature-main span{font-size:.75rem;color:#ffffffb8}.feature-main h2{max-width:690px;margin:14px 0 18px;font-size:clamp(2.7rem,4.9vw,4.6rem);line-height:1;letter-spacing:-.04em}.feature-main p{max-width:540px;color:#ffffffc4;line-height:1.7}.feature-side{display:grid;gap:18px}.feature-side article{display:flex;flex-direction:column;justify-content:space-between;padding:36px;border:1px solid var(--line);border-radius:38px;background:var(--surface)}.feature-side span{color:var(--muted);font-size:.75rem}.feature-side strong{font-size:1.8rem;font-weight:500;line-height:1.12;letter-spacing:-.035em}
.privacy-v4{display:grid;grid-template-columns:1.25fr .75fr;gap:80px;max-width:1280px;margin:0 auto;padding:130px max(22px,5vw);border-top:1px solid var(--line)}.privacy-v4 p{max-width:690px;margin-top:26px;color:var(--muted);line-height:1.7}.privacy-points{display:grid;align-content:center;gap:18px}.privacy-points span{display:flex;align-items:center;gap:13px;padding-bottom:18px;border-bottom:1px solid var(--line);font-size:.9rem}.privacy-points svg{width:18px;color:var(--green)}
.final-cta{position:relative;display:flex;min-height:720px;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:120px 22px;background:radial-gradient(ellipse at 50% 68%,#d6b3df,transparent 38%),radial-gradient(ellipse at 32% 35%,#8cb6ca,transparent 34%),radial-gradient(ellipse at 72% 34%,#ee9f78,transparent 34%),var(--canvas)}
:root[data-theme="dark"] .final-cta{background:radial-gradient(ellipse at 50% 68%,#4b3c52,transparent 38%),radial-gradient(ellipse at 32% 35%,#29454f,transparent 34%),radial-gradient(ellipse at 72% 34%,#51372d,transparent 34%),var(--canvas)}
.final-cta .stage-mark{position:static;transform:none;margin-bottom:38px}.final-cta h2{max-width:930px;margin-bottom:38px}.landing-v4 .land-footer{max-width:1420px;margin:auto;padding:35px max(22px,5vw);background:var(--canvas);border-top:1px solid var(--line)}.landing-v4 .land-footer button{border:0;background:none;color:inherit}

/* Centered account flows, matching the supplied reference. */
.auth-centered{display:grid;grid-template-rows:auto 1fr auto;min-height:100vh;padding:24px max(24px,4vw);background:var(--canvas)}
.auth-centered>header{display:flex;align-items:center;justify-content:space-between}
.auth-centered .auth-content{display:grid;place-items:center;min-height:auto;padding:90px 0}
.auth-centered .auth-form{width:min(100%,660px)}
.auth-centered .auth-form h1{font-size:clamp(3.2rem,7vw,5.6rem);line-height:.98;letter-spacing:-.04em}
.auth-centered .auth-form>p{max-width:620px;margin:26px 0 48px;color:var(--muted);font-size:1.15rem}
.auth-centered .stack{gap:24px}.auth-centered .field-label{font-size:1rem;margin-bottom:10px}
.auth-centered .input{min-height:68px;padding:17px 22px;border-radius:24px;font-size:1.08rem}
.auth-centered .password-field{position:relative}.auth-centered .password-field button{position:absolute;right:12px;top:50%;transform:translateY(-50%);border:0;background:none;color:var(--muted);padding:12px}
.auth-centered form>.btn,.auth-centered .demo-auth{width:100%;min-height:62px;margin-top:4px;font-size:1rem}
.auth-centered .divider{display:flex;align-items:center;gap:18px;margin:28px 0;color:var(--muted);font-size:.8rem}.auth-centered .divider:before,.auth-centered .divider:after{content:"";height:1px;background:var(--line);flex:1}
.auth-centered .auth-bottom{text-align:center;margin:30px 0 0!important;font-size:.9rem!important}.auth-centered .auth-bottom a{text-decoration:underline;text-underline-offset:4px}
.auth-centered .auth-security{text-align:center!important;margin:30px auto 0!important;font-size:.72rem!important}.auth-notice{margin-top:22px;padding:15px 18px;border-radius:18px;background:var(--lilac-soft);color:color-mix(in srgb,var(--lilac) 70%,var(--ink));font-size:.82rem;line-height:1.6}.auth-centered>footer{text-align:center;color:var(--muted);font-size:.7rem;padding-bottom:10px}
/* Authentication screens: one calm, centered column with no side panel or page scroll. */
.auth-centered{display:flex;flex-direction:column;min-height:100svh;height:100svh;overflow:hidden;padding:24px clamp(24px,6vw,96px)}
.auth-centered>header{flex:0 0 auto;display:flex;justify-content:center;width:100%;max-width:1180px;margin:0 auto}
.auth-centered>header .brand{font-family:"Avenir Next","Helvetica Neue",Arial,sans-serif;font-size:.88rem;font-weight:600;letter-spacing:.24em;color:#898983}
.auth-centered>header .ritmo-mark{display:none}
.auth-centered:before{content:"";position:fixed;z-index:0;inset:-28%;pointer-events:none;background:radial-gradient(circle at 22% 28%,#d9d0ec 0,transparent 28%),radial-gradient(circle at 78% 30%,#c7dce6 0,transparent 27%),radial-gradient(circle at 68% 78%,#f3c9b7 0,transparent 26%),radial-gradient(circle at 28% 74%,#c7ddd2 0,transparent 25%);opacity:.42;filter:blur(70px);animation:auth-aurora 18s ease-in-out infinite alternate}
.auth-centered>header,.auth-centered>.auth-content,.auth-centered>footer{position:relative;z-index:1}
@keyframes auth-aurora{0%{transform:translate3d(-2%,-1%,0) scale(1)}50%{transform:translate3d(2%,1.5%,0) scale(1.05)}100%{transform:translate3d(0,-2%,0) scale(1.02)}}
@media (prefers-reduced-motion:reduce){.auth-centered:before{animation:none}}
.auth-centered .auth-content{flex:1 1 auto;display:grid;place-items:center;width:100%;min-height:0;padding:18px 0}
.auth-centered .auth-form{width:min(100%,520px);max-height:100%;overflow:visible}
.auth-centered .auth-form h1{font-size:clamp(2.5rem,5vw,4.4rem)}
.auth-centered .auth-form>p{margin:14px 0 28px;font-size:1rem}
.auth-centered .stack{gap:14px}
.auth-centered .input{min-height:58px;padding:14px 20px;border-radius:20px}
.auth-centered form>.btn,.auth-centered .demo-auth{min-height:54px}
.auth-centered .divider{margin:16px 0}
.auth-centered .auth-bottom{margin:18px 0 0!important}
.auth-centered .auth-security{margin:18px auto 0!important}
.auth-centered>footer{display:none}
@media (max-height:850px) and (min-width:701px){
  .auth-centered{padding-top:16px;padding-bottom:12px}
  .auth-centered .auth-content{padding:8px 0}
  .auth-centered .auth-form h1{font-size:3.2rem}
  .auth-centered .auth-form>p{margin:8px 0 18px}
  .auth-centered .stack{gap:10px}
  .auth-centered .input{min-height:50px;padding:11px 18px}
  .auth-centered form>.btn,.auth-centered .demo-auth{min-height:46px}
  .auth-centered .divider{margin:10px 0}
  .auth-centered .auth-bottom{margin:10px 0 0!important}
  .auth-centered .auth-security{margin:8px auto 0!important}
  .auth-centered>footer{display:none}
}

/* Personalised product home and transparent model. */
.dashboard-custom-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}.dashboard-custom-grid>.card{grid-column:span 2;min-height:285px;display:flex;flex-direction:column;justify-content:space-between}.dashboard-custom-grid>.dashboard-direction{grid-column:span 4;min-height:420px}.dashboard-custom-grid>.dashboard-today{grid-column:span 2;min-height:420px}.forecast-range{color:#ffffffb8;font-size:.82rem}.streak-hero{display:flex;align-items:flex-end;gap:8px}.streak-hero strong{font-size:5rem;font-weight:450;line-height:.85;letter-spacing:-.04em}.streak-hero small{padding-bottom:8px}
.model-receipt{margin-top:20px}.receipt-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.receipt-grid>div{display:grid;gap:4px;padding:17px;border-radius:18px;background:var(--canvas)}.receipt-grid span{color:var(--muted);font-size:.7rem}.receipt-grid strong{font-size:1.28rem;font-weight:500}.receipt-grid small{font-size:.68rem}.model-receipt details{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}.model-receipt summary{cursor:pointer;font-size:.8rem}.model-receipt ul{margin:16px 0 0;padding-left:20px;color:var(--muted);font-size:.78rem;line-height:1.7}
.scenario-lab{display:grid!important;grid-template-columns:1.3fr .7fr!important;gap:30px;margin-top:20px;min-height:300px!important;background:var(--lilac-soft)}.scenario-copy>span,.scenario-result>span{color:var(--muted);font-size:.72rem}.scenario-copy h3{font-size:2rem;margin:10px 0}.scenario-copy p{max-width:620px;color:var(--muted);line-height:1.65}.scenario-copy .segment{margin-top:24px}.scenario-result{display:flex;flex-direction:column;justify-content:center;padding:28px;border-radius:28px;background:var(--surface)}.scenario-result strong{margin:12px 0;font-size:3.8rem;font-weight:450;letter-spacing:-.04em}.scenario-result strong small{font-size:.8rem}.scenario-result>small{line-height:1.5}

/* Settings closely mirror Settle's restrained rail + grouped preference rows. */
.settings-page-head{display:flex;align-items:flex-end;justify-content:space-between;width:100%;max-width:none;margin:8px 0 34px}.settings-page-head h1{font-size:2.7rem}.settings-page-head p{margin-top:8px;color:var(--muted)}.sync-badge{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.72rem}.sync-badge i{width:7px;height:7px;border-radius:50%;background:var(--green)}
.settings-v4{grid-template-columns:240px minmax(0,1fr);gap:clamp(34px,5vw,76px);width:100%;max-width:none;margin:0}.settings-rail{gap:3px}.settings-rail>span{margin:23px 16px 7px;color:var(--muted);font-size:.66rem;text-transform:uppercase;letter-spacing:.08em}.settings-rail>span:first-child{margin-top:0}.settings-rail a,.settings-rail button{display:flex;align-items:center;gap:12px;width:100%;padding:11px 15px;border:0;border-radius:12px;background:none;color:var(--muted);font-size:.82rem;text-align:left}.settings-rail a.active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-card)}.settings-rail button{margin-top:22px;color:#b45645}.settings-section{min-width:0;width:100%}.settings-heading{margin-bottom:28px}.settings-heading h2{font-size:2rem}.settings-heading p{margin-top:8px;color:var(--muted)}.settings-card{margin-bottom:18px;padding:8px 24px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:var(--shadow-card)}.settings-card>h3{padding:20px 0 10px;font-size:.78rem;color:var(--muted);font-weight:500}.setting-line,.widget-line{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px;border-bottom:1px solid var(--line)}.setting-line:last-child,.widget-line:last-child{border:0}.setting-line>span,.widget-line>span:nth-child(2){display:grid}.setting-line strong,.widget-line strong{font-size:.86rem;font-weight:550}.setting-line small,.widget-line small{margin-top:3px;font-size:.7rem}.setting-line select{min-width:145px;border:1px solid var(--line);border-radius:12px;background:var(--canvas);color:var(--ink);padding:10px 12px}
.app-header>.brand{gap:10px;font-family:"Avenir Next","Helvetica Neue",Arial,sans-serif;font-size:1.35rem;font-weight:650;letter-spacing:-.045em}.app-header>.brand .ritmo-mark{width:42px;height:30px}.app-header>.brand>span:last-child:after{content:".";color:var(--coral)}
.rhythm-table-card{padding:28px;margin-top:20px;border-radius:32px}.rhythm-table-card .card-head{align-items:center;margin-bottom:22px}.rhythm-table-card .card-head h3{font-size:1.7rem}.rhythm-table-card .card-head .row{justify-content:flex-end}.rhythm-table-card .btn svg{width:16px}.rhythm-table{border-collapse:separate;border-spacing:0 7px}.rhythm-table thead th{padding:0 16px 8px;border:0;font-size:.68rem;text-transform:uppercase;letter-spacing:.06em}.rhythm-table tbody tr{background:color-mix(in srgb,var(--canvas) 72%,var(--surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--line) 60%,transparent);transition:transform .2s ease,background .2s ease,box-shadow .2s ease}.rhythm-table tbody tr:hover{background:var(--surface);transform:translateY(-1px);box-shadow:var(--shadow-control)}.rhythm-table td{height:66px;padding:12px 16px;border:0;font-size:.82rem}.rhythm-table td:first-child{border-radius:18px 0 0 18px}.rhythm-table td:last-child{border-radius:0 18px 18px 0}.rhythm-table td>small{display:block;margin-top:3px;font-size:.68rem}.table-primary{display:block;font-weight:550;color:var(--ink)}.status-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;font-size:.72rem;white-space:nowrap}.status-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}.status-pill.complete{background:var(--green-soft);color:var(--green)}.status-pill.partial{background:var(--coral-soft);color:#a5523b}.table-chevron{width:42px;color:var(--muted)}.table-chevron svg{width:16px}.rhythm-table-card .table-foot{display:flex;justify-content:space-between;gap:20px;padding:14px 4px 0}.rhythm-table-card .table-foot span:last-child{text-align:right}
@media(max-width:900px){.rhythm-table-card{padding:20px 14px}.rhythm-table-card .card-head{align-items:flex-start;flex-direction:column}.rhythm-table-card .card-head .row{width:100%;justify-content:space-between}.rhythm-table{min-width:860px}}
@media(max-width:700px){.rhythm-table{min-width:0}.rhythm-table th:nth-child(4),.rhythm-table td:nth-child(4),.rhythm-table th:nth-child(5),.rhythm-table td:nth-child(5),.rhythm-table th:nth-child(6),.rhythm-table td:nth-child(6),.rhythm-table th:nth-child(8),.rhythm-table td:nth-child(8){display:none}.rhythm-table th,.rhythm-table td{padding-left:10px;padding-right:10px}.rhythm-table td{height:62px}.rhythm-table-card .table-foot{align-items:flex-start;flex-direction:column;gap:4px}.rhythm-table-card .table-foot span:last-child{text-align:left}}
.settings-kicker{display:block;margin-bottom:9px;color:var(--coral);font-size:.68rem;font-weight:650;letter-spacing:.12em;text-transform:uppercase}
.settings-card-grid{display:grid;gap:18px;align-items:start}.settings-card-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-card-grid>.card,.settings-card-grid>.settings-card{height:auto;min-height:0;margin:0}.settings-card-grid>.card{border-radius:24px;box-shadow:var(--shadow-card)}
.settings-card-grid.two>.settings-feature-card{grid-column:1/-1;display:grid;grid-template-columns:minmax(220px,.65fr) minmax(420px,1.35fr);gap:36px;align-items:center;padding:28px}.settings-feature-card>div:first-child p,.settings-card-title p{margin-top:6px;color:var(--muted);font-size:.78rem;line-height:1.55}
.settings-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:var(--lilac-soft);color:#6e5c96}.settings-icon svg{width:18px}.settings-icon.green{background:var(--green-soft);color:var(--green)}
.settings-card-title{display:flex;align-items:flex-start;gap:14px}.settings-card-title h3{padding:0}.security-card{grid-column:1/-1;padding:26px}.security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}.security-grid span{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:16px;background:var(--canvas);color:var(--muted);font-size:.78rem}.security-grid svg{width:16px;color:var(--green)}
.cloud-status-card{padding:26px}.cloud-hero{display:grid;gap:4px;margin:28px 0;padding:24px;border-radius:22px;background:linear-gradient(135deg,var(--lilac-soft),var(--green-soft))}.cloud-hero strong{font-size:2.5rem;font-weight:500;letter-spacing:-.055em}.cloud-hero span{color:var(--muted);font-size:.75rem}.device-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:20px 0}.device-row>span:nth-child(2){display:grid}.device-row small{margin-top:3px}.settings-footnote{padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:.75rem;line-height:1.55}
.settings-section .form-grid{gap:16px}.settings-section .input{min-height:54px;border-radius:16px}.settings-section .form-actions{margin-top:24px}.settings-section>.settings-card-grid>.card>.card-head{margin-bottom:22px}.settings-section>.settings-card-grid>.card .setting-row{min-height:74px}.settings-section>.settings-card-grid>.card .formula{margin-top:20px}
body.high-contrast{--line:#b8b7b0;--muted:#55554f}body.high-contrast .card,body.high-contrast .settings-card{border-width:1.5px}body.reduce-motion *,body.reduce-motion *:before,body.reduce-motion *:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
@media(max-width:1100px){.settings-card-grid.two{grid-template-columns:1fr}.settings-card-grid.two>.settings-feature-card,.security-card{grid-column:auto}.settings-card-grid.two>.settings-feature-card{grid-template-columns:1fr}.security-grid{grid-template-columns:1fr}}
@media(max-width:700px){.settings-card-grid.two>.settings-feature-card{padding:22px}.security-grid{gap:8px}.settings-card{padding-left:18px;padding-right:18px}}
.theme-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:18px 0 24px}.theme-choices>button{padding:9px;border:1px solid var(--line);border-radius:18px;background:var(--canvas);text-align:left}.theme-choices>button.selected{border-color:var(--ink);background:var(--surface)}.theme-choices strong{display:block;padding:8px 4px 2px;font-size:.78rem}.theme-preview{display:grid;grid-template-columns:.45fr 1fr;gap:5px;height:75px;padding:8px;border-radius:11px;background:#f0efe9}.theme-preview i,.theme-preview b,.theme-preview em{display:block;border-radius:5px;background:#fff}.theme-preview i{grid-row:1/3;background:#ddd}.theme-preview.dark{background:#171816}.theme-preview.dark i,.theme-preview.dark b,.theme-preview.dark em{background:#2c2d2a}.theme-preview.system{background:linear-gradient(110deg,#f0efe9 50%,#171816 50%)}
.home-customizer-head{display:flex;align-items:center;justify-content:space-between;padding:20px 0 8px}.home-customizer-head h3{font-size:.85rem}.home-customizer-head span{color:var(--muted);font-size:.7rem}.widget-line{justify-content:flex-start}.widget-line .drag-handle{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--canvas);color:var(--muted);font-size:.68rem}.widget-line .switch{margin-left:auto}.settings-note{padding:18px 20px;border-radius:20px;background:var(--lilac-soft);color:var(--muted);font-size:.75rem;line-height:1.6}.cloud-card{padding:26px}.cloud-status{display:flex;align-items:center;gap:13px;padding-bottom:22px;border-bottom:1px solid var(--line)}.cloud-status>div{display:grid}.cloud-dot{width:12px;height:12px;border:3px solid var(--soft);border-radius:50%;background:var(--muted)}.cloud-dot.online{background:var(--green)}.security-list{display:grid;gap:13px;padding:24px 0}.security-list span{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.78rem}.security-list svg{width:16px;color:var(--green)}

@media(max-width:1050px){
  .rhythm-stage{height:520px}.land-story{padding-top:110px}.story-copy,.method-section .section-title{align-items:flex-start;flex-direction:column;gap:25px}.feature-ribbon{grid-template-columns:1fr}.feature-side{grid-template-columns:1fr 1fr}.privacy-v4{grid-template-columns:1fr;gap:48px}.settings-v4{gap:35px}.dashboard-custom-grid>.card{grid-column:span 3}.dashboard-custom-grid>.dashboard-direction,.dashboard-custom-grid>.dashboard-today{grid-column:span 3}
}
@media(max-width:800px){
  .landing-v4 .land-header nav{display:none}.hero-v4{min-height:930px;padding-top:150px}.hero-copy h1{font-size:clamp(3.25rem,13vw,5.2rem)}.rhythm-stage{height:440px;width:100%;margin-top:70px;border-radius:38px}.stage-card{width:190px;padding:17px}.stage-card>strong{font-size:1.8rem}.stage-today{left:3%;top:9%}.stage-weight{right:3%;top:27%;width:220px}.stage-body{left:8%;bottom:7%}.mock-grid{grid-template-columns:1fr}.mock-calendar{grid-column:auto}.method-timeline article{grid-template-columns:44px 1fr;gap:18px}.method-timeline p{grid-column:2}.feature-main{min-height:500px;padding:34px}.feature-side{grid-template-columns:1fr}.dashboard-custom-grid{grid-template-columns:1fr}.dashboard-custom-grid>.card,.dashboard-custom-grid>.dashboard-direction,.dashboard-custom-grid>.dashboard-today{grid-column:auto}.receipt-grid{grid-template-columns:1fr 1fr}.scenario-lab{grid-template-columns:1fr!important}.settings-v4{grid-template-columns:1fr}.settings-rail{position:static;display:flex;flex-direction:row;overflow:auto;margin:0 -14px;padding:0 14px}.settings-rail>span{display:none}.settings-rail a,.settings-rail button{width:auto;white-space:nowrap}.settings-page-head{align-items:flex-start;flex-direction:column;gap:16px}
}
@media(max-width:560px){
  .landing-v4 .land-header{top:10px;width:calc(100% - 20px)}.landing-v4 .land-header .row .soft{display:none}.hero-v4{min-height:880px;padding-left:14px;padding-right:14px}.hero-copy h1{font-size:3.35rem}.trust-line{gap:8px 15px}.rhythm-stage{height:390px}.rhythm-orbit{display:none}.stage-mark{top:48%}.stage-card{width:160px;border-radius:22px}.stage-card>strong{font-size:1.55rem}.stage-weight{width:185px}.stage-body{left:4%}.land-story,.feature-ribbon,.privacy-v4{padding-left:14px;padding-right:14px}.story-copy h2,.section-title h2,.privacy-v4 h2,.final-cta h2{font-size:2.8rem}.story-product{padding:9px;border-radius:32px}.mock-signal{min-height:260px;padding:24px;border-radius:25px}.mock-calendar>div{grid-template-columns:repeat(7,1fr)}.method-section{padding-left:20px;padding-right:20px}.method-timeline article{grid-template-columns:34px 1fr}.feature-main{padding:28px;border-radius:32px}.auth-centered{padding:18px 16px}.auth-centered .auth-content{padding:70px 0}.auth-centered .auth-form h1{font-size:3.25rem}.auth-centered .auth-form>p{margin:20px 0 38px;font-size:1rem}.auth-centered .input{min-height:62px;border-radius:20px}.receipt-grid{grid-template-columns:1fr}.scenario-copy .segment{display:grid;border-radius:20px}.settings-card{padding:6px 18px}.setting-line{align-items:flex-start;flex-direction:column;padding:18px 0;gap:12px}.setting-line select{width:100%}.theme-choices{grid-template-columns:1fr}.theme-preview{height:62px}.model-receipt .card-head{align-items:flex-start;flex-direction:column}
}

.motion-ready .reveal{clip-path:inset(0 0 10% 0 round 24px);opacity:.65;transform:translateY(28px);transition:clip-path .9s cubic-bezier(.2,.8,.2,1),opacity .7s,transform .9s cubic-bezier(.2,.8,.2,1)}
.motion-ready .reveal.is-visible{clip-path:inset(0 0 0 0 round 0);opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.rhythm-stage,.rhythm-stage [data-depth],.rhythm-orbit{transform:none!important}.motion-ready .reveal{clip-path:none!important;opacity:1!important;transform:none!important}}

/* The supplied RITMO concept informs the public first viewport. */
.hero-v4.hero-atmospheric{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:18px;min-height:750px;max-width:1500px;margin:0 auto;padding:138px max(22px,3vw) 65px;text-align:left}
.hero-v4.hero-atmospheric::before{display:none}
.hero-atmospheric .hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;max-width:none;padding:25px clamp(12px,3.4vw,60px) 25px 12px;margin:0}
.hero-eyebrow{font-size:.8rem;color:var(--muted);letter-spacing:0}
.hero-atmospheric .hero-copy h1{max-width:12ch;margin:22px 0 26px;font-size:clamp(3.5rem,6.1vw,6.2rem);line-height:1;letter-spacing:-.065em}
.inline-atmosphere{display:inline-block;width:1.12em;height:.58em;vertical-align:.035em;border-radius:.13em;background:linear-gradient(155deg,#c6dbe0 5%,#92b19b 40%,#536f58 73%,#263b34);box-shadow:inset 0 0 22px #ffffff55}
.hero-atmospheric .hero-copy>p{max-width:490px;margin:0 0 30px;font-size:1.14rem;line-height:1.55}
.hero-atmospheric .hero-actions,.hero-atmospheric .trust-line{justify-content:flex-start}
.hero-atmospheric .trust-line{margin-top:26px}
.hero-atmosphere{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:570px;padding:31px;overflow:hidden;isolation:isolate;border-radius:34px;background:#324c40;color:#fff;box-shadow:0 24px 70px -50px #13251e88}
.hero-atmosphere::before{content:"";position:absolute;z-index:-2;inset:-18%;background:radial-gradient(ellipse at 68% 10%,#c3d9df,transparent 48%),radial-gradient(ellipse at 20% 50%,#91aa81,transparent 50%),radial-gradient(ellipse at 90% 65%,#b5b681,transparent 45%),linear-gradient(150deg,#8eacae,#344c38 65%,#172d28);filter:blur(30px);animation:hero-atmosphere-drift 20s ease-in-out infinite alternate}
.hero-atmosphere::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#0c211b20,#0b201c65);pointer-events:none}
@keyframes hero-atmosphere-drift{to{transform:translate(4%,5%) scale(1.08)}}
.hero-atmosphere-top{display:flex;align-items:center;justify-content:space-between;gap:15px}
.hero-atmosphere-brand{font-size:1.75rem;font-weight:600;letter-spacing:-.09em}
.hero-atmosphere-label{padding:8px 13px;border:1px solid #ffffff55;border-radius:999px;background:#ffffff23;font-size:.75rem;backdrop-filter:blur(12px)}
.hero-atmosphere-notes{display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin:32px 0 24px}
.hero-atmosphere-notes span{display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #ffffff55;border-radius:999px;background:#f6f7f2e8;color:#23362b;font-size:.76rem;box-shadow:0 10px 26px #17271e25}
.hero-atmosphere-notes span:nth-child(2){margin-right:12%}.hero-atmosphere-notes span:nth-child(3){margin-right:3%}
.hero-atmosphere-notes i{width:8px;height:8px;border-radius:50%;background:#79a47d}.hero-atmosphere-notes span:nth-child(2) i{background:#87b7d1}.hero-atmosphere-notes span:nth-child(3) i{background:#b4bf7b}
.hero-atmosphere-panel{padding:24px;border:1px solid #ffffff60;border-radius:26px;background:#f6f7f0e9;color:#1b1c1e;box-shadow:0 18px 45px #17271e33;backdrop-filter:blur(22px)}
.hero-atmosphere-panel>span{display:block;color:#626860;font-size:.72rem}
.hero-atmosphere-panel strong{display:block;margin:14px 0 22px;font-size:clamp(1.35rem,2.2vw,2.05rem);font-weight:500;line-height:1.18;letter-spacing:-.04em}
.hero-atmosphere-links{display:flex;gap:8px;flex-wrap:wrap}
.hero-atmosphere-links a{display:inline-flex;justify-content:space-between;gap:18px;align-items:center;padding:10px 15px;border-radius:999px;background:#1b1c1e;color:#fff;font-size:.76rem;transition:transform .2s}
.hero-atmosphere-links a+ a{background:#fff;color:#1b1c1e;border:1px solid #d9ddd5}
.hero-atmosphere-links a:hover{transform:translateY(-2px)}
@media(max-width:900px){.hero-v4.hero-atmospheric{grid-template-columns:1fr;gap:24px;padding-top:130px}.hero-atmospheric .hero-copy{padding:30px 8px}.hero-atmospheric .hero-copy h1{max-width:none}.hero-atmosphere{min-height:480px}}
@media(max-width:560px){.hero-v4.hero-atmospheric{padding:110px 14px 48px}.hero-atmospheric .hero-copy{padding:25px 6px}.hero-atmospheric .hero-copy h1{font-size:clamp(3rem,12vw,4.2rem)}.hero-atmospheric .hero-copy>p{font-size:1rem}.hero-atmosphere{min-height:470px;padding:20px;border-radius:28px}.hero-atmosphere-notes span{font-size:.68rem}.hero-atmosphere-panel{padding:19px}.hero-atmosphere-panel strong{font-size:1.4rem}}
@media(prefers-reduced-motion:reduce){.hero-atmosphere::before{animation:none}}
