/* KingdomFriends Phase 1 RC2
   Core learning road: DECLARE -> LEARN -> RECALL -> ARSENAL
*/

:root{--rc2-ink:#20261e;--rc2-muted:#697065;--rc2-paper:#fffaf0;--rc2-green:#40513a;--rc2-soft:#e6eadc;--rc2-line:rgba(52,61,48,.12)}
.core-nav .nav-icon{font-size:22px!important;font-weight:500;line-height:1}
.core-nav .nav-label{font-size:11.5px!important}

/* Declare home */
.declare-home{padding:14px 0 20px}
.declare-step{display:flex;align-items:center;justify-content:center;gap:6px;margin:2px 0 14px;color:#767b72}
.declare-step span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#42523b;color:#fff;font-size:.68rem;font-weight:900}
.declare-step b{font-size:.64rem;letter-spacing:.08em}.declare-step i{width:18px;height:1px;background:#cfc6b8}
.daily-declaration-card{min-height:560px;border-radius:32px;background:var(--rc2-paper);border:1px solid var(--rc2-line);padding:22px;display:flex;flex-direction:column;box-shadow:0 16px 42px rgba(54,48,36,.08);position:relative;overflow:hidden}
.daily-declaration-card.i-am{border-top:7px solid var(--iam)}.daily-declaration-card.i-shall{border-top:7px solid var(--shall)}.daily-declaration-card.i-will-not{border-top:7px solid var(--will)}
.declaration-meta,.focus-card-meta{display:flex;justify-content:space-between;align-items:center;font-size:.69rem;font-weight:900;letter-spacing:.08em;color:#64705e}.declaration-meta small,.focus-card-meta small{font-size:.65rem;color:#858980}
.declaration-center{margin:auto 0;text-align:left}.declaration-center h1{font-family:"Manrope";font-size:2.35rem;line-height:1.04;letter-spacing:-.055em;margin:8px 0 15px;color:var(--rc2-ink)}.declaration-center p{font-size:.88rem;color:#6f746b}
.declaration-actions{display:grid;gap:9px}.declaration-actions button{width:100%;min-height:52px;border:0;border-radius:16px;font-size:.82rem;font-weight:900;cursor:pointer}.declaration-actions>button{background:#e7e2d7;color:#53604c}.declaration-actions>button.done{background:#dce7d3;color:#33402e}.declaration-actions form button{background:var(--rc2-green);color:#fff}.learn-this span{float:right}
.enter-focus{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:12px 0;padding:14px;border-radius:18px;background:#eee6d8;text-decoration:none;color:#4f574d}.enter-focus span{font-size:.76rem}.enter-focus strong{font-size:.78rem}
.declare-principle{padding:14px 2px;display:flex;gap:8px;flex-direction:column}.declare-principle strong{font-size:.84rem}.declare-principle span{font-size:.78rem;line-height:1.5;color:#74786f}

/* Focus mode */
.focus-body{margin:0;background:#f3eadc;color:var(--rc2-ink);overflow:hidden}
.focus-close{position:fixed;right:14px;top:max(12px,env(safe-area-inset-top));z-index:30;width:42px;height:42px;border-radius:50%;background:rgba(255,250,240,.9);display:grid;place-items:center;text-decoration:none;color:#2c322a;font-size:1.65rem;box-shadow:0 5px 18px rgba(35,32,25,.1)}
.focus-mode-label{position:fixed;left:18px;top:max(16px,env(safe-area-inset-top));z-index:25;display:flex;flex-direction:column;font-size:.7rem;font-weight:900;letter-spacing:.12em;color:#596451}.focus-mode-label span{font-size:.66rem;font-weight:600;letter-spacing:0;color:#84877f;margin-top:2px}
.focus-swipe-deck{width:100vw;height:100dvh;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}.focus-swipe-deck::-webkit-scrollbar{display:none}
.focus-declaration-slide,.focus-learn-slide{flex:0 0 100vw;width:100vw;height:100dvh;scroll-snap-align:start;box-sizing:border-box;padding:max(82px,calc(env(safe-area-inset-top) + 72px)) 24px max(82px,calc(env(safe-area-inset-bottom) + 72px));display:flex;flex-direction:column;background:#f7efdf;position:relative}
.focus-declaration-slide.i-am,.focus-learn-slide.i-am{box-shadow:inset 0 7px 0 var(--iam)}.focus-declaration-slide.i-shall,.focus-learn-slide.i-shall{box-shadow:inset 0 7px 0 var(--shall)}.focus-declaration-slide.i-will-not,.focus-learn-slide.i-will-not{box-shadow:inset 0 7px 0 var(--will)}
.focus-declaration-main{margin:auto 0}.focus-declaration-main h1{font-family:"Manrope";font-size:clamp(2rem,8vw,3.2rem);line-height:1.02;letter-spacing:-.06em;margin:10px 0 16px;max-width:700px}.focus-declaration-main p{font-size:1rem;color:#6d7369}
.focus-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.focus-card-actions button{width:100%;min-height:54px;border:0;border-radius:16px;font-size:.79rem;font-weight:900;cursor:pointer}.focus-card-actions>button{background:#e4ded2;color:#4b5647}.focus-card-actions form button{background:#40513a;color:#fff}
.focus-swipe-hint{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:0;right:0;text-align:center;font-size:.66rem;color:#878981;pointer-events:none}

/* Learn */
.learn-home-head{padding:18px 0 9px}.learn-home-head h1,.paths-head h1,.path-detail-head h1,.recall-head h1{font-family:"Manrope";font-size:2rem;line-height:1.04;letter-spacing:-.05em;margin:5px 0 8px}.learn-home-head p,.paths-head p,.path-detail-head p,.recall-head p{font-size:.9rem;line-height:1.55;color:var(--rc2-muted)}
.learning-list{display:grid;gap:9px}.learning-row{display:flex;gap:14px;align-items:center;background:var(--rc2-paper);border:1px solid var(--rc2-line);border-radius:20px;padding:15px}.learning-row>div{flex:1;min-width:0}.learning-row span{font-size:.63rem;font-weight:900;letter-spacing:.08em;color:#63705c}.learning-row h3{font-family:"Manrope";font-size:1rem;margin:4px 0}.learning-row p{font-size:.78rem;color:#70756b;margin:0;line-height:1.4}.learning-row>a{flex:0 0 auto;border-radius:12px;background:#e4eadb;padding:9px 10px;text-decoration:none;color:#31402c;font-size:.7rem;font-weight:900}
.learn-empty,.recall-empty{padding:20px;border-radius:22px;background:var(--rc2-paper);border:1px solid var(--rc2-line)}.learn-empty>span,.recall-empty>span{font-size:.65rem;font-weight:900;letter-spacing:.1em;color:#6e7866}.learn-empty h2,.recall-empty h2{font-family:"Manrope";font-size:1.18rem;margin:6px 0}.learn-empty p,.recall-empty p{font-size:.84rem;line-height:1.55;color:#6b7067}.learn-empty a,.recall-empty a{font-size:.78rem;font-weight:900;color:#40513a;text-decoration:none}
.path-preview-grid,.paths-grid{display:grid;gap:10px}.path-preview-card,.path-card{display:block;padding:16px;border-radius:20px;background:#fffaf0;border:1px solid var(--rc2-line);text-decoration:none;color:inherit}.path-preview-card>span,.path-card>span{font-size:.62rem;font-weight:900;letter-spacing:.1em;color:#68765f}.path-preview-card h3,.path-card h2{font-family:"Manrope";font-size:1.05rem;margin:5px 0}.path-preview-card p,.path-card p{font-size:.78rem;line-height:1.48;color:#71756d}.path-preview-card>div{display:flex;justify-content:space-between}.path-preview-card b{font-size:.75rem}.path-preview-card small{font-size:.68rem;color:#7d8178}.wide-secondary{display:block;text-align:center;margin:10px 0 20px;padding:13px;border-radius:15px;background:#e8e1d5;text-decoration:none;color:#4f584d;font-size:.76rem;font-weight:900}

.learn-slide-content{margin:auto 0;max-height:calc(100dvh - 220px);overflow-y:auto}.learn-stage h1{font-family:"Manrope";font-size:clamp(1.85rem,7vw,2.8rem);line-height:1.04;letter-spacing:-.05em;margin:9px 0 12px}.learn-stage p{font-size:.86rem;color:#72766d}.learn-reveal-section{border-top:1px solid #d9d1c4;padding-top:15px;margin-top:15px}.learn-reveal-section blockquote{font-family:"Manrope";font-size:1.05rem;line-height:1.62;margin:8px 0}.learn-reveal-section strong{font-size:.76rem}.learn-reveal-section p{font-size:.93rem;line-height:1.65;color:#5f665b}
.learn-actions{grid-template-columns:1fr}.learn-actions>button{background:#40513a;color:#fff}.learn-actions form button{background:#40513a;color:#fff}

/* Recall */
.recall-head{padding:18px 0 8px}.recall-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0 16px}.recall-summary>div,.recall-summary>a{padding:13px;border-radius:17px;background:#fffaf0;border:1px solid var(--rc2-line);text-align:center;text-decoration:none;color:inherit}.recall-summary strong{display:block;font-family:"Manrope";font-size:1.25rem}.recall-summary span{font-size:.67rem;color:#72776e}
.recall-queue{display:grid;gap:9px}.recall-queue article{display:flex;align-items:center;gap:12px;padding:15px;border-radius:20px;background:#fffaf0;border:1px solid var(--rc2-line)}.recall-queue article>div{flex:1}.recall-queue span{font-size:.62rem;font-weight:900;letter-spacing:.08em;color:#6e795f}.recall-queue h2{font-family:"Manrope";font-size:1.15rem;margin:3px 0}.recall-queue small{font-size:.69rem;color:#777b72}.recall-queue a{padding:10px 11px;border-radius:12px;background:#40513a;color:#fff;text-decoration:none;font-size:.7rem;font-weight:900}
.recall-blank-screen{height:100dvh;background:#fcfaf5;color:#171a16;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;position:relative;text-align:center}
.recall-exit{position:absolute;top:max(14px,env(safe-area-inset-top));right:14px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eeeae2;text-decoration:none;color:#242823;font-size:1.6rem}
.recall-target-reference{font-family:"Manrope";font-size:clamp(1.7rem,8vw,2.7rem);font-weight:800;letter-spacing:-.04em;margin-bottom:24px}
.recall-mic{width:92px;height:92px;border-radius:50%;border:0;background:#40513a;color:#fff;font-size:2.2rem;box-shadow:0 12px 35px rgba(57,72,51,.22)}.recall-mic.listening{animation:rc2pulse 1.2s infinite}.recall-mic-status{min-height:24px;margin-top:12px;font-size:.78rem;color:#6e736a}
@keyframes rc2pulse{50%{transform:scale(1.07);box-shadow:0 0 0 12px rgba(64,81,58,.1)}}
.recall-spirit-reminder{position:absolute;left:18px;right:18px;bottom:max(18px,env(safe-area-inset-bottom));max-width:620px;margin:auto;padding:15px 17px;border-top:1px solid #e1ddd5;text-align:left}.recall-spirit-reminder p{font-family:"Manrope";font-size:.88rem;line-height:1.5;margin:5px 0}.recall-spirit-reminder strong{font-size:.69rem}.recall-spirit-reminder small{display:block;font-size:.69rem;line-height:1.4;color:#73776f;margin-top:7px}
.recall-result{padding:22px 0;text-align:center}.recall-result .score{font-family:"Manrope";font-size:3.5rem;font-weight:900}.recall-result h1{font-family:"Manrope";font-size:1.7rem;line-height:1.05}.recall-result>p{font-size:.88rem;line-height:1.55;color:#696f65}.recall-result details{margin:18px 0;text-align:left}.recall-result summary{font-size:.78rem;font-weight:900}.result-fact{display:flex;justify-content:space-between;padding:12px;border-radius:14px;background:#eee8dd;font-size:.78rem}

/* Paths */
.paths-head{padding:18px 0}.path-progress{height:6px;background:#e5ded2;border-radius:999px;overflow:hidden;margin:12px 0 6px}.path-progress i{display:block;height:100%;background:#607451;border-radius:inherit}.path-card small{font-size:.69rem;color:#757a70}.path-detail-head{padding:15px 0}.path-detail-head>a{font-size:.72rem;text-decoration:none;color:#687064}.path-detail-head .primary{margin-top:8px}
.path-steps{display:grid;gap:9px}.path-step{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:14px;border-radius:18px;background:#fffaf0;border:1px solid var(--rc2-line)}.path-step-number{width:34px;height:34px;border-radius:12px;background:#e9e2d7;display:grid;place-items:center;font-weight:900}.path-step-copy span{font-size:.6rem;font-weight:900;letter-spacing:.08em;color:#75806d}.path-step-copy h2{font-family:"Manrope";font-size:.96rem;margin:2px 0}.path-step-copy p{font-size:.72rem;color:#73786e;margin:0}.path-step-action a,.path-step-action button{border:0;border-radius:11px;background:#e1e9d9;color:#31402c;padding:9px;text-decoration:none;font-size:.68rem;font-weight:900;white-space:nowrap}.path-step-action span{font-size:.65rem;color:#8a8c86}

/* I Need the Word unified engine */
.need-engine-result{margin-top:15px;padding:18px;border-radius:22px;background:#fffaf0;border:1px solid var(--rc2-line)}.need-engine-result>div{display:flex;justify-content:space-between;font-size:.65rem;font-weight:900;color:#6d7964}.need-engine-result h2{font-family:"Manrope";font-size:1.55rem;line-height:1.08;margin:15px 0 8px}.need-engine-result>p{font-size:.8rem;color:#747970}.need-engine-result .primary{width:100%;margin-top:12px}

/* Settings translation */
.settings-stack{display:grid;gap:10px}.settings-card{padding:17px;border-radius:20px;background:#fffaf0;border:1px solid var(--rc2-line)}.settings-card>span{font-size:.62rem;font-weight:900;letter-spacing:.1em;color:#6d7865}.settings-card h2{font-family:"Manrope";font-size:1.08rem;margin:5px 0}.settings-card p{font-size:.8rem;line-height:1.5;color:#71766d}.settings-card select{width:100%;min-height:48px;font-size:.95rem}.translation-roadmap{margin-top:12px;padding:11px;border-radius:14px;background:#eee8dc;display:flex;flex-direction:column;gap:3px}.translation-roadmap strong{font-size:.77rem}.translation-roadmap span{font-size:.7rem;line-height:1.4;color:#6c7168}.setting-toggle{display:flex!important;justify-content:space-between;align-items:center;padding:11px 0}.setting-toggle span{display:flex;flex-direction:column}.setting-toggle b{font-size:.9rem}.setting-toggle small{font-size:.7rem;color:#74796f}.settings-save{width:100%}

/* Accessibility */
html[data-text-size="large"] .declaration-center h1{font-size:2.5rem}
html[data-text-size="xlarge"] .declaration-center h1{font-size:2.65rem}
html[data-text-size="large"] .learn-reveal-section p{font-size:1rem}
html[data-text-size="xlarge"] .learn-reveal-section p{font-size:1.08rem}
html[data-contrast="high"] .daily-declaration-card,
html[data-contrast="high"] .learning-row,
html[data-contrast="high"] .path-card,
html[data-contrast="high"] .path-step,
html[data-contrast="high"] .recall-queue article{background:#fff!important;color:#111!important;border-color:#555!important}

@media(max-width:380px){
  .daily-declaration-card{min-height:500px;padding:18px}.declaration-center h1{font-size:2rem}
  .focus-declaration-slide,.focus-learn-slide{padding-left:18px;padding-right:18px}
  .focus-card-actions{grid-template-columns:1fr}
  .path-step{grid-template-columns:34px 1fr}.path-step-action{grid-column:2}
}

.pwa-install-card{width:100%;margin:4px 0 12px;padding:15px;border:1px solid rgba(62,78,56,.13);border-radius:18px;background:#dfe8d6;color:#30402b;text-align:left;cursor:pointer}
.pwa-install-card span{display:block;font-size:.62rem;font-weight:900;letter-spacing:.1em}.pwa-install-card strong{display:block;margin-top:4px;font-size:.85rem}
.reminder-time-label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;font-size:.82rem;font-weight:800;margin:10px 0}.reminder-time-label input{min-height:42px;font-size:.9rem}
.notification-permission-button{width:100%;margin-top:6px}.notification-status{display:block!important;margin-top:7px!important;font-size:.68rem!important;line-height:1.4!important;color:#73786e!important}

.arsenal-bottom a{border-radius:10px;background:#e3eadb;color:#30402b;padding:8px 9px;text-decoration:none;font-size:.68rem;font-weight:900}


/* ================================================================
   KingdomFriends RC2.1 — Mobile Readability Standard
   Principle: mobile default must already be comfortably readable.
   Aa enlarges a readable UI; it is not a rescue control.
   ================================================================ */

:root{
  --kf-meta-size:.82rem;      /* ~13px */
  --kf-small-size:.875rem;    /* 14px */
  --kf-body-size:1rem;        /* 16px */
  --kf-action-size:.95rem;    /* ~15px */
}

/* Establish a readable mobile baseline. */
body{
  font-size:16px;
  -webkit-text-size-adjust:100%;
  text-rendering:optimizeLegibility;
}

/* Generic semantic small text must not collapse into fine print. */
small{
  font-size:var(--kf-meta-size)!important;
  line-height:1.45!important;
  font-weight:600;
}

/* Reusable micro labels / section labels. */
.eyebrow,
.micro-label,
.section-title>span,
.block-head span,
.journal-block>span,
.god-did-testimony>span,
.learn-empty>span,
.recall-empty>span,
.path-preview-card>span,
.path-card>span,
.path-step-copy span,
.settings-card>span,
.pwa-install-card span{
  font-size:.8rem!important;
  line-height:1.3!important;
  font-weight:900!important;
  letter-spacing:.075em!important;
}

/* Bottom navigation is always thumb-readable. */
.core-nav .nav-label,
.bottom-nav .nav-label{
  font-size:.8rem!important;
  line-height:1.2!important;
  font-weight:800!important;
}

/* Declare */
.declare-step b{
  font-size:.78rem!important;
}
.declaration-meta,
.focus-card-meta{
  font-size:.82rem!important;
  line-height:1.3!important;
}
.declaration-meta small,
.focus-card-meta small{
  font-size:.8rem!important;
}
.declaration-center p{
  font-size:1rem!important;
  line-height:1.45!important;
  font-weight:650;
}
.declaration-actions button,
.focus-card-actions button{
  font-size:.95rem!important;
  line-height:1.25!important;
  min-height:56px!important;
}
.enter-focus span,
.enter-focus strong{
  font-size:.9rem!important;
  line-height:1.35!important;
}
.declare-principle strong{
  font-size:1rem!important;
}
.declare-principle span{
  font-size:.95rem!important;
  line-height:1.55!important;
}

/* Full-screen Focus Mode */
.focus-mode-label{
  font-size:.82rem!important;
}
.focus-mode-label span{
  font-size:.8rem!important;
  line-height:1.35!important;
}
.focus-swipe-hint{
  font-size:.8rem!important;
  line-height:1.3!important;
  font-weight:650;
}
.focus-declaration-main p{
  font-size:1.05rem!important;
}

/* Learn */
.learn-home-head p,
.paths-head p,
.path-detail-head p,
.recall-head p{
  font-size:1rem!important;
  line-height:1.6!important;
}
.learning-row span{
  font-size:.8rem!important;
  line-height:1.3!important;
}
.learning-row h3{
  font-size:1.08rem!important;
}
.learning-row p{
  font-size:.95rem!important;
  line-height:1.5!important;
}
.learning-row>a{
  font-size:.88rem!important;
  line-height:1.25!important;
  padding:11px 12px!important;
}
.learn-empty p,
.recall-empty p{
  font-size:.96rem!important;
  line-height:1.6!important;
}
.learn-empty a,
.recall-empty a{
  font-size:.9rem!important;
}
.path-preview-card h3,
.path-card h2{
  font-size:1.12rem!important;
}
.path-preview-card p,
.path-card p{
  font-size:.94rem!important;
  line-height:1.55!important;
}
.path-preview-card b{
  font-size:.9rem!important;
}
.path-preview-card small,
.path-card small{
  font-size:.82rem!important;
}
.wide-secondary{
  font-size:.9rem!important;
  line-height:1.3!important;
  padding:15px!important;
}

.learn-stage p{
  font-size:1rem!important;
}
.learn-reveal-section blockquote{
  font-size:1.18rem!important;
  line-height:1.65!important;
}
.learn-reveal-section strong{
  font-size:.88rem!important;
}
.learn-reveal-section p{
  font-size:1rem!important;
  line-height:1.68!important;
}

/* Recall */
.recall-summary span{
  font-size:.82rem!important;
  line-height:1.35!important;
  font-weight:650;
}
.recall-queue span{
  font-size:.8rem!important;
}
.recall-queue small{
  font-size:.82rem!important;
}
.recall-queue a{
  font-size:.88rem!important;
  padding:11px 12px!important;
}
.recall-mic-status{
  font-size:.9rem!important;
  line-height:1.45!important;
}
.recall-spirit-reminder p{
  font-size:1rem!important;
  line-height:1.55!important;
}
.recall-spirit-reminder strong{
  font-size:.82rem!important;
}
.recall-spirit-reminder small{
  font-size:.84rem!important;
  line-height:1.5!important;
}
.recall-result>p{
  font-size:1rem!important;
  line-height:1.6!important;
}
.recall-result summary{
  font-size:.9rem!important;
}
.result-fact{
  font-size:.9rem!important;
}

/* Learning Paths */
.path-detail-head>a{
  font-size:.88rem!important;
}
.path-step-copy span{
  font-size:.78rem!important;
}
.path-step-copy h2{
  font-size:1.08rem!important;
}
.path-step-copy p{
  font-size:.9rem!important;
  line-height:1.45!important;
}
.path-step-action a,
.path-step-action button{
  font-size:.86rem!important;
  line-height:1.25!important;
  padding:10px 11px!important;
}
.path-step-action span{
  font-size:.82rem!important;
}

/* I NEED THE WORD */
.need-engine-result>div{
  font-size:.8rem!important;
}
.need-engine-result>p{
  font-size:.95rem!important;
  line-height:1.5!important;
}

/* Settings */
.settings-card p{
  font-size:.95rem!important;
  line-height:1.55!important;
}
.translation-roadmap strong{
  font-size:.9rem!important;
}
.translation-roadmap span{
  font-size:.86rem!important;
  line-height:1.5!important;
}
.setting-toggle b{
  font-size:1rem!important;
}
.setting-toggle small{
  font-size:.84rem!important;
  line-height:1.45!important;
}
.reminder-time-label{
  font-size:.95rem!important;
}
.notification-status{
  font-size:.84rem!important;
  line-height:1.5!important;
}

/* PWA / Arsenal */
.pwa-install-card strong{
  font-size:.95rem!important;
}
.arsenal-bottom a{
  font-size:.86rem!important;
  padding:10px 11px!important;
}

/* General form readability: no tiny form UI on mobile. */
input,
select,
textarea,
button{
  font-size:1rem;
}
label{
  font-size:.95rem;
  line-height:1.45;
}
input::placeholder,
textarea::placeholder{
  font-size:.95rem;
}

/* Stronger contrast for secondary copy. */
.declaration-meta,
.focus-card-meta,
.declaration-center p,
.enter-focus,
.declare-principle span,
.focus-mode-label,
.focus-mode-label span,
.focus-swipe-hint,
.learn-home-head p,
.paths-head p,
.path-detail-head p,
.recall-head p,
.learning-row p,
.learn-empty p,
.recall-empty p,
.path-preview-card p,
.path-card p,
.learn-stage p,
.learn-reveal-section p,
.recall-summary span,
.recall-queue small,
.recall-mic-status,
.recall-spirit-reminder small,
.recall-result>p,
.path-step-copy p,
.need-engine-result>p,
.settings-card p,
.translation-roadmap span,
.setting-toggle small,
.notification-status{
  color:#596057!important;
}

/* Default Large / Extra Large remain meaningful upgrades. */
html[data-text-size="large"]{
  font-size:17px;
}
html[data-text-size="xlarge"]{
  font-size:18px;
}

/* Phones get additional breathing room, never smaller type. */
@media(max-width:600px){
  .content{
    padding-left:max(16px,env(safe-area-inset-left));
    padding-right:max(16px,env(safe-area-inset-right));
  }

  .daily-declaration-card{
    padding:22px 20px!important;
  }

  .declaration-center h1{
    font-size:clamp(2.15rem,10vw,2.75rem)!important;
    line-height:1.05!important;
  }

  .learn-home-head h1,
  .paths-head h1,
  .path-detail-head h1,
  .recall-head h1{
    font-size:2.05rem!important;
    line-height:1.07!important;
  }

  .learn-reveal-section blockquote{
    font-size:1.2rem!important;
  }
}

/* Even on very narrow phones, do NOT reduce typography. */
@media(max-width:380px){
  .declaration-center h1{
    font-size:2.05rem!important;
  }

  .focus-card-actions{
    grid-template-columns:1fr;
  }
}
