/* Shared styles for the static homepage and policy pages. */
:root {
  color-scheme: light;
  --paper: #f6f7f2;
  --ink: #213d39;
  --muted: #5e706a;
  --teal: #008da5;
  --line: #d8dfd6;
  --sage: #e8eedd;
  --lime: #daedab;
  --white: #fff;
  --font: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-inline-size: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, summary, a { -webkit-tap-highlight-color: #008da52b; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; border-radius: 3px; }
::selection { background: var(--lime); color: var(--ink); }
figure, p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { line-height: 1.13; }
h1, h2 { font-weight: 600; letter-spacing: -.055em; }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--teal); }
.container { inline-size: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; inset-block-start: -100px; inset-inline-start: 24px; background: var(--ink); color: var(--white); padding: 12px 20px; }
.skip-link:focus { inset-block-start: 12px; }
.site-header { border-block-end: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-block-size: 106px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 700; line-height: 1.15; flex-shrink: 0; letter-spacing: -.04em; }
.brand img { object-fit: contain; }
.brand-subtitle { display: block; margin-block-start: 4px; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .015em; }
.main-nav { display: flex; align-items: center; gap: 29px; font-size: 13px; font-weight: 600; }
.main-nav a { padding-block: 12px; text-decoration: none; }
.main-nav a:hover { color: var(--teal); }
.button { min-block-size: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; background: var(--ink); color: var(--white); padding: 16px 23px; border: 1px solid var(--ink); border-radius: 7px; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .18s, transform .18s; }
.button:hover { background: #32534c; transform: translateY(-2px); }
.button-small { min-block-size: 43px; padding: 11px 18px; font-size: 12px; }
.text-link { display: inline-flex; gap: 14px; align-items: center; min-block-size: 44px; font-size: 14px; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; line-height: 1.5; text-transform: uppercase; font-weight: 700; letter-spacing: .14em; }
.status-dot { inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--teal); }
.hero { display: grid; grid-template-columns: 1fr 1.04fr; gap: 30px; align-items: center; padding-block: 68px 76px; }
.hero-copy { position: relative; z-index: 2; padding-block-start: 6px; }
.hero h1 { margin-block: 24px 27px; font-size: clamp(66px, 6.5vw, 90px); line-height: 1.04; }
.hero h1 em { position: relative; }
.hero h1 em::after { content: ""; position: absolute; inset-inline: -3px; inset-block-end: -4px; block-size: 5px; border-block-start: 2px solid currentColor; border-radius: 50%; transform: rotate(-3deg); }
.hero-description { max-inline-size: 415px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-block-start: 32px; }
.hero-note { margin-block-start: 15px; color: var(--muted); font-size: 11px; }
.habit-trail { display: flex; align-items: center; gap: 21px; margin-block-start: 47px; }
.trail-label { color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-style: italic; line-height: 1.5; }
.trail-days { display: flex; gap: 6px; }
.trail-days span { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.trail-days small { color: var(--muted); font-size: 9px; }
.trail-days i { display: flex; align-items: center; justify-content: center; inline-size: 29px; block-size: 29px; background: #dcebe1; border-radius: 5px; color: #2e6459; font-size: 19px; line-height: 1; font-style: normal; }
.trail-days i.trail-next { border: 1px dashed #b9c5b5; background: transparent; }
.hero-visual { position: relative; min-inline-size: 0; block-size: 660px; isolation: isolate; }
.hero-orbit { position: absolute; z-index: -1; inline-size: 95%; aspect-ratio: 1; background: #e6eddc; border-radius: 50%; inset-block-start: 80px; inset-inline-start: 1%; }
.hero-orbit::after { content: ""; position: absolute; inset: -20px; border: 1px dashed #bdcdb6; border-radius: 50%; }
.hero-phone { position: absolute; block-size: auto; filter: drop-shadow(0 20px 18px #213d3920); }
.hero-phone-back { inline-size: 260px; inset-block-start: 8px; inset-inline-start: 5%; transform: rotate(-8deg); }
.hero-phone-front { inline-size: 273px; inset-block-start: 121px; inset-inline-end: 0; transform: rotate(7deg); }
.orbit-label { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; inline-size: 110px; block-size: 110px; border: 1px solid #466851; border-radius: 50%; background: var(--lime); font-size: 10px; line-height: 1.7; font-weight: 700; letter-spacing: .09em; inset-block-start: 6px; inset-inline-end: 7%; transform: rotate(10deg); }
.screenshot-label { position: absolute; inset-block-end: -24px; inset-inline-start: 8%; font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--muted); font-size: 16px; transform: rotate(-3deg); }
.screenshot-label span { display: inline-block; margin-inline-end: 10px; font-size: 30px; transform: rotate(8deg); }
.promise-strip { background: var(--ink); color: #eff3e9; }
.promises { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 26px; }
.promises p { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.promises span { color: var(--lime); font-size: 19px; line-height: 1; }
.section { padding-block: 100px; }
.section-intro { display: flex; gap: 55px; justify-content: space-between; align-items: flex-end; margin-block-end: 48px; }
h2 { font-size: clamp(36px, 3.7vw, 50px); }
.section-intro h2, .data-intro h2, .faq-section h2 { margin-block-start: 16px; }
.section-intro > p { max-inline-size: 355px; color: var(--muted); font-size: 15px; line-height: 1.8; padding-block-end: 3px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.feature { padding-block-start: 30px; border-block-start: 1px solid #bfcdbb; }
.feature-icon { display: flex; align-items: center; justify-content: center; inline-size: 49px; block-size: 49px; border-radius: 13px; background: #e7eddf; margin-block-end: 25px; }
.feature-icon svg { inline-size: 27px; block-size: 27px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; letter-spacing: -.035em; margin-block-end: 13px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.app-section { background: #edf0e9; padding-block: 88px 63px; border-block: 1px solid var(--line); }
.app-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shot-stage { block-size: 470px; overflow: hidden; border-radius: 12px; display: flex; align-items: flex-start; justify-content: center; padding-block-start: 35px; }
.stage-blue { background: #dfeaf0; }
.stage-green { background: #dce5ce; }
.stage-peach { background: #eee0cf; }
.shot-stage img { inline-size: 235px; block-size: auto; filter: drop-shadow(0 15px 12px #213d3918); transition: transform .3s; }
.app-shot:hover .shot-stage img { transform: translateY(-7px); }
.app-shot figcaption { display: flex; align-items: flex-start; gap: 12px; padding-block-start: 23px; }
.shot-number { display: flex; align-items: center; justify-content: center; flex-shrink: 0; inline-size: 26px; block-size: 26px; border: 1px solid #c4cebd; border-radius: 50%; color: var(--muted); font-size: 9px; }
.app-shot h3 { margin-block: 2px 7px; font-size: 18px; letter-spacing: -.025em; }
.app-shot p { color: var(--muted); font-size: 12px; }
.gallery-note { font-size: 11px; color: var(--muted); text-align: center; margin-block-start: 35px; }
.data-section { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 110px; }
.data-intro > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.85; margin-block: 23px 18px; max-inline-size: 380px; }
.backup-panel { padding: 31px 35px; background: #fffefa; border: 1px solid #d9dfd2; border-radius: 12px; box-shadow: 0 5px 0 #e9ecdf; }
.backup-topline { display: flex; align-items: center; justify-content: space-between; margin-block-end: 23px; }
.backup-symbol { inline-size: 42px; block-size: 42px; }
.backup-symbol svg { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.small-label { padding: 4px 11px; background: #edf2e5; border-radius: 20px; font-size: 10px; font-weight: 600; letter-spacing: .03em; }
.backup-panel h3 { font-size: 25px; letter-spacing: -.04em; margin-block-end: 14px; }
.backup-panel p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.google-data-note { border-block: 1px solid var(--line); margin-block: 24px 18px; padding-block: 22px; }
.google-data-note h4 { font-size: 13px; font-weight: 700; margin-block-end: 10px; }
.backup-panel .backup-control { font-size: 11px; }
.faq-section { padding-block: 6px 100px; display: grid; grid-template-columns: .85fr 1fr; gap: 110px; }
.faq-list { border-block-start: 1px solid var(--line); }
details { border-block-end: 1px solid var(--line); }
summary { position: relative; cursor: pointer; list-style: none; padding-block: 22px; padding-inline-end: 35px; font-size: 14px; font-weight: 600; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; inset-inline-end: 5px; inset-block-start: 18px; font-size: 22px; font-weight: 400; }
details[open] > summary::after { content: "−"; }
details > p { padding-block-end: 23px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.closing-section { position: relative; overflow: hidden; padding-block: 67px; padding-inline: 30px; background: var(--sage); border: 1px solid #d4dfc8; border-radius: 15px; text-align: center; margin-block-end: 85px; isolation: isolate; }
.closing-section .eyebrow { justify-content: center; }
.closing-section h2 { margin-block: 19px 27px; font-size: clamp(39px, 4.4vw, 59px); }
.closing-note { margin-block-start: 16px; color: var(--muted); font-size: 11px; }
.closing-mark { position: absolute; z-index: -1; color: #d9e4cc; font-size: 380px; font-family: Georgia, serif; font-weight: 700; line-height: 1; inset-inline-end: -20px; inset-block-start: 20px; transform: rotate(-12deg); }
.site-footer { border-block-start: 1px solid var(--line); padding-block: 40px; }
.footer-inner { display: flex; gap: 38px; justify-content: space-between; align-items: center; }
.footer-brand { font-size: 16px; }
.footer-brand .brand-subtitle { font-size: 10px; }
.footer-inner > div > p { color: var(--muted); font-size: 10px; margin-block-start: 15px; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 23px; font-size: 11px; }
.footer-inner nav a { min-block-size: 44px; display: inline-flex; align-items: center; gap: 5px; }
.footer-end { font-family: Georgia, serif; font-size: 14px; font-style: italic; color: var(--muted); white-space: nowrap; }
/* Policy pages share the same identity and remain readable without scripting. */
.policy-header .header-inner { min-block-size: 96px; }
.policy-layout { display: grid; grid-template-columns: 220px minmax(0, 740px); gap: 90px; padding-block: 70px 95px; align-items: start; }
.policy-toc { position: sticky; inset-block-start: 30px; }
.policy-toc .eyebrow { margin-block-end: 17px; }
.policy-toc nav { display: flex; flex-direction: column; gap: 6px; }
.policy-toc a { font-size: 12px; padding-block: 7px; text-decoration: none; }
.policy-toc a:hover { text-decoration: underline; }
.policy-title { font-size: clamp(43px, 5vw, 63px); margin-block: 12px 18px; }
.policy-lead { font-size: 19px; color: var(--ink); margin-block-end: 18px; }
.policy-date { font-size: 11px; color: var(--muted); margin-block-end: 35px; }
.policy-summary { border-inline-start: 3px solid var(--teal); background: #eaf0e1; padding: 20px 24px; margin-block: 28px 35px; }
.policy-summary p { margin: 0; color: var(--ink); }
.policy-content section { border-block-start: 1px solid var(--line); padding-block-start: 29px; margin-block-start: 32px; }
.policy-content h2 { font-size: 26px; letter-spacing: -.035em; margin-block-end: 16px; }
.policy-content h3 { font-size: 17px; margin-block: 25px 12px; }
.policy-content p, .policy-content li { font-size: 14px; color: #4e645d; line-height: 1.9; overflow-wrap: anywhere; }
.policy-content p + p { margin-block-start: 15px; }
.policy-content ul { padding-inline-start: 22px; margin-block: 15px; }
.policy-content li + li { margin-block-start: 9px; }
.policy-content strong { color: var(--ink); }
.policy-contact { display: inline-block; padding-block: 7px; }
@media (min-width: 1500px) { .hero { padding-block: 88px 91px; } }
@media (max-width: 1150px) {
  .container { inline-size: calc(100% - 64px); }
  .hero { gap: 15px; }
  .hero-visual { block-size: 610px; }
  .hero-phone-back { inline-size: 225px; inset-inline-start: 1%; }
  .hero-phone-front { inline-size: 240px; inset-block-start: 114px; }
  .hero-orbit { inline-size: 95%; inset-inline-start: 1%; inset-block-start: 110px; }
  .hero h1 { font-size: 75px; }
  .hero-actions { gap: 13px; }
  .hero-actions .text-link { font-size: 12px; }
  .data-section, .faq-section { gap: 65px; }
  .policy-layout { gap: 45px; grid-template-columns: 190px minmax(0, 1fr); }
  .main-nav { gap: 20px; }
  .footer-end { display: none; }
}
@media (max-width: 900px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 12px; }
  .main-nav a:nth-child(2) { display: none; }
  .hero { grid-template-columns: 1fr 1fr; padding-block: 55px 66px; }
  .hero h1 { font-size: 60px; }
  .hero-description { font-size: 15px; }
  .hero-visual { block-size: 555px; }
  .hero-phone-back { inline-size: 188px; inset-block-start: 15px; }
  .hero-phone-front { inline-size: 205px; inset-block-start: 115px; inset-inline-end: 0; }
  .hero-orbit { inset-block-start: 125px; }
  .orbit-label { inline-size: 90px; block-size: 90px; font-size: 8px; inset-inline-end: 0; }
  .screenshot-label { font-size: 13px; inset-block-end: -35px; }
  .habit-trail { gap: 12px; margin-block-start: 30px; }
  .trail-days { gap: 4px; }
  .trail-days i { inline-size: 25px; block-size: 25px; }
  .trail-label { font-size: 12px; }
  .hero-note { max-inline-size: 280px; }
  .promises { gap: 15px; }
  .promises p { gap: 7px; font-size: 10px; }
  .section { padding-block: 76px; }
  .section-intro { gap: 35px; }
  .section-intro > p { max-inline-size: 280px; font-size: 13px; }
  .feature-grid { gap: 25px; }
  .feature h3 { font-size: 18px; }
  .feature p { font-size: 13px; }
  .app-gallery { gap: 17px; }
  .shot-stage { block-size: 365px; padding-block-start: 25px; }
  .shot-stage img { inline-size: 185px; }
  .app-shot h3 { font-size: 16px; }
  .shot-number { display: none; }
  .data-section, .faq-section { gap: 35px; }
  .backup-panel { padding: 27px 25px; }
  .backup-panel h3 { font-size: 22px; }
  .data-intro > p:not(.eyebrow) { font-size: 14px; }
  .faq-section { padding-block-end: 75px; }
}
@media (max-width: 680px) {
  html { scroll-padding-block-start: 20px; }
  .container { inline-size: calc(100% - 40px); }
  .header-inner { min-block-size: 84px; gap: 15px; flex-wrap: wrap; padding-block: 17px 0; }
  .brand { font-size: 17px; }
  .brand img { inline-size: 37px; block-size: 37px; }
  .brand-subtitle { font-size: 10px; }
  .header-download { margin-inline-start: auto; min-block-size: 40px; padding: 9px 12px; font-size: 11px; }
  .main-nav { order: 3; inline-size: 100%; justify-content: space-between; border-block-start: 1px solid var(--line); gap: 10px; }
  .main-nav a { padding-block: 13px; font-size: 11px; }
  .main-nav a:nth-child(2) { display: block; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 43px 54px; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { font-size: 10px; }
  .hero h1 { font-size: clamp(59px, 13vw, 83px); margin-block: 20px 22px; }
  .hero-description { max-inline-size: 460px; font-size: 16px; line-height: 1.8; }
  .hero-actions { margin-block-start: 26px; gap: 18px; }
  .hero-actions .button { font-size: 13px; gap: 12px; padding-inline: 19px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-note { max-inline-size: none; font-size: 10px; }
  .habit-trail { display: none; }
  .hero-visual { block-size: 550px; inline-size: min(100%, 460px); margin-inline: auto; }
  .hero-phone-back { inline-size: 210px; inset-inline-start: 4%; inset-block-start: 0; }
  .hero-phone-front { inline-size: 223px; inset-inline-end: 3%; inset-block-start: 91px; }
  .hero-orbit { inline-size: 88%; inset-inline-start: 6%; inset-block-start: 88px; }
  .orbit-label { inline-size: 90px; block-size: 90px; inset-inline-end: 8%; inset-block-start: 0; }
  .screenshot-label { inset-block-end: -7px; inset-inline-start: 10%; }
  .promises { display: grid; grid-template-columns: 1fr 1fr; padding-block: 23px; gap: 17px; }
  .promises p { font-size: 11px; gap: 9px; }
  .promises span { inline-size: 18px; text-align: center; }
  .section { padding-block: 62px; }
  .section-intro { display: block; margin-block-end: 32px; }
  .section-intro > p { max-inline-size: 420px; font-size: 14px; margin-block-start: 20px; }
  h2 { font-size: 37px; }
  .eyebrow { font-size: 10px; }
  .feature-grid { grid-template-columns: 1fr; gap: 29px; }
  .feature { display: grid; grid-template-columns: 47px 1fr; column-gap: 18px; padding-block-start: 24px; }
  .feature-icon { grid-row: span 2; margin-block-end: 0; inline-size: 44px; block-size: 44px; }
  .feature h3 { font-size: 19px; margin-block: 3px 10px; }
  .feature p { grid-column: 2; font-size: 13px; }
  .app-section { padding-block: 58px 45px; }
  .app-gallery { grid-template-columns: 1fr; gap: 34px; }
  .app-shot { display: grid; grid-template-columns: 1fr; }
  .shot-stage { block-size: 430px; padding-block-start: 29px; }
  .shot-stage img { inline-size: 230px; }
  .app-shot figcaption { padding-block-start: 17px; }
  .shot-number { display: flex; }
  .app-shot h3 { font-size: 19px; }
  .app-shot p { font-size: 13px; }
  .gallery-note { font-size: 10px; margin-block-start: 29px; }
  .data-section, .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .data-intro > p:not(.eyebrow) { max-inline-size: 450px; }
  .backup-panel { padding: 27px; }
  .backup-panel h3 { font-size: 25px; }
  .faq-section { padding-block: 0 60px; }
  .closing-section { padding-block: 48px; padding-inline: 20px; margin-block-end: 57px; }
  .closing-section h2 { font-size: 39px; }
  .closing-mark { font-size: 270px; inset-inline-end: -50px; inset-block-start: 70px; }
  .site-footer { padding-block: 29px; }
  .footer-inner { display: block; }
  .footer-inner nav { justify-content: flex-start; margin-block-start: 20px; gap: 4px 21px; }
  .footer-inner > div > p { margin-block-start: 13px; }
  .policy-header .header-inner { min-block-size: 84px; padding-block: 16px; flex-wrap: nowrap; }
  .policy-layout { display: block; padding-block: 39px 60px; }
  .policy-toc { position: static; margin-block-end: 37px; }
  .policy-toc nav { flex-direction: row; flex-wrap: wrap; gap: 0 18px; }
  .policy-toc .eyebrow { margin-block-end: 7px; }
  .policy-title { font-size: 49px; }
  .policy-lead { font-size: 17px; }
  .policy-summary { padding: 17px 20px; }
  .policy-content h2 { font-size: 25px; }
}
@media (max-width: 360px) {
  .container { inline-size: calc(100% - 32px); }
  .hero h1 { font-size: 57px; }
  .hero-actions { gap: 9px; }
  .hero-visual { block-size: 490px; }
  .hero-phone-back { inline-size: 177px; }
  .hero-phone-front { inline-size: 190px; inset-block-start: 80px; }
  .orbit-label { inline-size: 77px; block-size: 77px; font-size: 7px; }
  .promises p { font-size: 10px; }
  .closing-section h2 { font-size: 34px; }
  .policy-title { font-size: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button:hover, .app-shot:hover .shot-stage img { transform: none; }
}
