/* Dotify's warm-green palette, shared with the native logbook. */
:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --surface: #fffef9;
  --ink: #24352f;
  --muted: #656e64;
  --line: #dedfd3;
  --green: #345e4f;
  --soft: #e9eee4;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--green); }
a:focus-visible, summary:focus-visible { outline: 3px solid #875a25; outline-offset: 6px; border-radius: 3px; }
::selection { background: #d8e5cd; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; }
em { color: var(--green); font-weight: 400; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 5; background: var(--ink); color: white; padding: 12px 20px; }
.skip-link:focus { top: 12px; color: white; }
.site-header { height: 112px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; text-decoration: none; font: 650 32px/1 var(--sans); letter-spacing: -1.8px; }
.brand-period { color: var(--green); }
.brand-mark { display: grid; grid-template-columns: repeat(2, 7px); gap: 3px; margin-right: 13px; transform: rotate(-8deg); }
.brand-mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.brand-mark i:last-child { opacity: .4; }
.site-header nav { display: flex; gap: 34px; align-items: center; }
.site-header nav a { font-size: 13px; text-decoration: none; padding-block: 12px; }
.site-header nav a:last-child { border: 1px solid #bdc5b6; border-radius: 30px; padding: 9px 22px; }
.site-header nav a[aria-current] { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 748px; gap: 36px; padding-block: 64px 54px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.9px; line-height: 1.7; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(58px, 5.5vw, 78px); margin: 27px 0 25px; }
.hero-description { max-width: 425px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 35px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; border-radius: 40px; padding: 15px 25px; background: var(--green); color: var(--surface); font-size: 13px; text-decoration: none; font-weight: 550; }
.button:hover { color: white; background: var(--ink); }
.button span { font-size: 19px; font-weight: 400; }
.platform { font-size: 10px; line-height: 1.8; }
.platform > span { color: var(--muted); }
.hero-footnote { display: flex; gap: 9px; align-items: center; margin-top: 57px; font-size: 11px; color: var(--muted); }
.hero-footnote > span { color: var(--green); font-size: 20px; }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 28px 0 0; }
.visual-orbit { position: absolute; width: min(440px, calc(100% - 48px)); height: 440px; top: 95px; border-radius: 50%; background: #e8eadc; z-index: -1; }
.visual-orbit::after { content: ''; position: absolute; inset: -24px; border-radius: inherit; border: 1px solid #e2e3d7; }
.annotation { font: italic 16px var(--serif); color: var(--muted); }
.annotation-top { position: absolute; top: -17px; right: 4px; transform: rotate(9deg); }
.annotation-top > span { display: inline-block; font-size: 31px; transform: translate(-10px, 23px); }
.phone { width: 282px; background: var(--paper); border: 5px solid #fffcf2; border-radius: 39px; padding: 13px 16px 8px; box-shadow: 0 0 0 1px #d5d8cc, 12px 22px 45px #24352f12; transform: rotate(-5deg); }
.phone-status { display: flex; justify-content: space-between; font-size: 9px; font-weight: 650; padding: 0 5px 23px; }
.phone-topline { display: flex; justify-content: space-between; font-size: 7px; letter-spacing: 1.3px; color: var(--muted); }
.mini-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--green); }
.phone h2 { font-size: 31px; margin-top: 7px; }
.phone h2 > span { color: var(--green); }
.phone-intro { font-size: 8px; color: var(--muted); margin-top: 5px; }
.phone-filter { display: flex; gap: 6px; margin-block: 16px 13px; font-size: 7px; }
.phone-filter span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 20px; }
.phone-filter span:first-child { background: var(--green); color: white; border-color: var(--green); }
.tracker-card { background: var(--surface); padding: 13px; border: 1px solid var(--line); border-radius: 15px; }
.tracker-top { display: flex; gap: 8px; align-items: center; }
.tracker-top > span:last-child { margin-left: auto; font-size: 12px; }
.tracker-icon { display: inline-flex; flex-shrink: 0; width: 29px; height: 29px; align-items: center; justify-content: center; background: var(--soft); color: var(--green); border-radius: 9px; font-size: 20px; }
.tracker-category { font-size: 6px; letter-spacing: 1px; color: var(--muted); }
.tracker-card h3 { font: 400 22px var(--serif); margin-top: 9px; }
.tracker-card > p { color: var(--muted); font-size: 8px; margin-top: 4px; }
.mini-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 15px 0; }
.mini-calendar > i { height: 17px; background: #f0f0e8; border-radius: 4px; }
.mini-calendar > i.filled { background: var(--green); }
.mini-calendar > i.soft { background: #bdcdb7; }
.record-illustration { display: flex; justify-content: space-between; align-items: center; background: var(--green); color: white; font-size: 8px; border-radius: 8px; padding: 8px 10px; }
.record-illustration > span { font-size: 15px; }
.tracker-row { display: flex; gap: 9px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.tracker-row h3 { font-size: 10px; font-weight: 550; }
.tracker-row p { font-size: 7px; color: var(--muted); margin-top: 3px; }
.exercise { background: #f5eddf; color: #875a25; }
.sleep { background: #eeedf7; color: #62628e; }
.row-plus { margin-left: auto; font-size: 18px; }
.phone-tabs { display: flex; justify-content: space-around; border-radius: 25px; padding: 8px; background: #fffcf4; margin-top: 16px; border: 1px solid var(--line); font-size: 7px; text-align: center; line-height: 1.8; color: var(--muted); }
.phone-tabs .selected { color: var(--green); }
.home-indicator { background: var(--ink); height: 3px; width: 78px; border-radius: 3px; margin: 12px auto 0; }
.floating-note { position: absolute; bottom: 85px; right: -4px; display: flex; gap: 12px; align-items: center; font-size: 11px; line-height: 1.7; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 8px 30px #24352f09; transform: rotate(4deg); }
.floating-note strong { font-weight: 500; color: var(--muted); }
.note-icon { border: 1px solid #afc2a8; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; color: var(--green); }
.hero-visual figcaption { font-size: 9px; color: var(--muted); margin-top: 27px; }
.principles { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 27px; border-block: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.principles span { display: flex; gap: 9px; align-items: center; }
.principles i { color: var(--green); font-size: 21px; font-style: normal; }
.section { padding-block: 104px; }
.section-heading { text-align: center; max-width: 700px; margin-inline: auto; }
h2 { font-size: clamp(36px, 3.6vw, 50px); }
.section-heading h2 { margin-top: 20px; }
.section-heading > p:last-child { font-size: 14px; color: var(--muted); max-width: 510px; margin: 22px auto 0; }
.feature-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; border: 1px solid #dce1d2; border-radius: 4px; background: #edf0e5; display: flex; flex-direction: column; }
.feature-exercise { background: #f2ecdf; border-color: #e6ddcc; }
.feature-sleep { background: #eeedf2; border-color: #dfdee7; }
.feature-number { font-size: 8px; letter-spacing: 1.5px; color: var(--muted); }
.feature-art { height: 155px; display: grid; place-items: center; color: var(--green); }
.feature-art svg { width: 100%; height: 100%; }
.feature-exercise .feature-art { color: #875a25; }
.feature-sleep .feature-art { color: #62628e; }
.feature h3 { font: 400 29px/1.2 var(--serif); letter-spacing: -.7px; margin: 15px 0 14px; }
.feature > p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-bottom: 28px; }
.feature-type { display: flex; justify-content: space-between; font-size: 10px; padding-top: 17px; border-top: 1px solid #24352f1f; margin-top: auto; }
.history-section { background: #e9ece0; border-block: 1px solid #dfe3d4; padding-block: 80px; }
.history-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.history-art { text-align: center; }
.history-card { background: var(--surface); width: min(100%, 355px); padding: 29px 31px; margin-inline: auto; transform: rotate(-3deg); border: 1px solid #d7ddcf; border-radius: 6px; box-shadow: 6px 10px 0 #dce3d3; text-align: left; }
.history-card-top { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: 1.3px; color: var(--muted); }
.history-card h3 { font: 400 32px/1.1 var(--serif); letter-spacing: -1px; margin: 19px 0 24px; }
.calendar-heading { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 16px; }
.calendar-heading span:last-child { color: var(--muted); }
.activity-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.activity-grid > span { font-size: 8px; color: var(--muted); padding-bottom: 7px; }
.day { aspect-ratio: 1; display: grid; place-items: center; background: #f0f0e7; font-size: 9px; font-style: normal; border-radius: 3px; }
.day.active { background: var(--green); color: white; }
.day.gentle { background: #d4dfca; }
.history-card > p { margin-top: 20px; font-size: 8px; color: var(--muted); }
.art-caption { display: block; font-size: 9px; color: var(--muted); margin-top: 25px; }
.history-copy h2 { margin-top: 21px; }
.history-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; margin: 24px 0; max-width: 350px; }
.quiet-list { list-style: none; padding: 0; margin: 28px 0 0; font-size: 12px; }
.quiet-list li { padding-block: 10px; border-top: 1px solid #cdd5c3; }
.quiet-list li > span { color: var(--green); margin-right: 13px; }
.privacy-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.privacy-section h2 { margin: 20px 0 32px; }
.text-link { font-size: 12px; }
.text-link span { margin-left: 16px; }
.privacy-points article { display: flex; gap: 22px; padding-block: 24px; border-top: 1px solid var(--line); }
.privacy-points article:first-child { padding-top: 0; border: 0; }
.point-number { font: italic 20px var(--serif); color: #76816e; }
.privacy-points h3 { font-size: 15px; font-weight: 550; }
.privacy-points p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 8px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 90px; border-top: 1px solid var(--line); padding-block: 65px 90px; }
.faq-section h2 { margin-top: 18px; font-size: 40px; }
.faq-list details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; position: relative; padding: 18px 30px 18px 0; font-size: 13px; font-weight: 500; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 3px; top: 14px; font-size: 21px; font-weight: 300; }
details[open] > summary::after { content: '−'; }
details > p { font-size: 12px; line-height: 1.9; color: var(--muted); padding: 0 24px 22px 0; }
.closing { text-align: center; background: #e9eee4; border: 1px solid #dce3d4; border-radius: 5px; padding: 54px 30px 60px; margin-bottom: 90px; }
.closing-flower { display: block; color: var(--green); font-size: 41px; line-height: 1; margin-bottom: 23px; }
.closing h2 { font-size: clamp(32px, 3.7vw, 49px); }
.closing p { font-size: 13px; color: var(--muted); margin: 20px 0 25px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 28px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.footer-brand { font-size: 29px; }
.site-footer > div p { font-size: 10px; color: var(--muted); margin-top: 10px; }
.site-footer nav { display: flex; gap: 24px; font-size: 10px; }
.site-footer nav a { text-decoration: none; padding-block: 12px; }
.copyright { font-size: 9px; color: var(--muted); grid-column: 1 / -1; }
/* Legal pages share the site's navigation, typography, and print-friendly content. */
.document-main { padding-block: 68px 100px; }
.document-heading { max-width: 800px; border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.document-heading h1 { font-size: clamp(46px, 5vw, 66px); margin-block: 20px; }
.document-intro { color: var(--muted); max-width: 650px; font-size: 16px; }
.effective { font-size: 11px; color: var(--muted); margin-top: 24px; }
.document-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 65px; padding-top: 48px; }
.document-sidebar nav { position: sticky; top: 30px; }
.document-sidebar .eyebrow { margin-bottom: 14px; }
.document-sidebar a { display: block; font-size: 11px; line-height: 1.5; padding-block: 7px; color: var(--muted); text-decoration: none; }
.document-sidebar a:hover { color: var(--green); text-decoration: underline; }
.legal-content { max-width: 750px; min-width: 0; overflow-wrap: anywhere; }
.legal-content section { margin-bottom: 37px; }
.legal-content h2, .legal-help h2 { font: 400 28px/1.25 var(--serif); letter-spacing: -.6px; margin-bottom: 17px; }
.legal-content p, .legal-content li { color: #505c52; font-size: 14px; line-height: 1.9; }
.legal-content p + p { margin-top: 15px; }
.legal-content ul { padding-left: 20px; margin-block: 16px; }
.legal-content li { padding-left: 5px; margin-bottom: 10px; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-help { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 42px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; margin-top: 45px; }
.contact-card { background: var(--soft); border: 1px solid #d6dfd0; padding: 32px; border-radius: 5px; }
.contact-card h2 { font-size: 31px; margin: 18px 0; }
.contact-card p { color: #505c52; font-size: 13px; margin-bottom: 21px; }
.contact-email { font-size: 18px; overflow-wrap: anywhere; }
.contact-tips h2 { font-size: 29px; margin-bottom: 16px; }
.contact-tips ul { padding-left: 20px; color: var(--muted); font-size: 13px; }
.contact-tips li { padding-left: 5px; margin-bottom: 9px; }
.support-faq { margin-top: 68px; max-width: 820px; }
.support-faq > h2 { font-size: 35px; margin-bottom: 22px; }
.support-faq details > p { font-size: 14px; }
@media (min-width: 1500px) { .hero { min-height: 790px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 20px; min-height: 700px; }
  .hero h1 { font-size: 60px; }
  .hero-description { font-size: 14px; }
  .floating-note { right: -5px; bottom: 64px; font-size: 10px; padding: 11px; }
  .annotation-top { font-size: 14px; right: 0; }
  .feature { padding: 21px; }
  .feature h3 { font-size: 25px; }
  .history-inner, .privacy-section { gap: 55px; }
  .document-layout { gap: 35px; grid-template-columns: 195px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 86px; }
  .brand { font-size: 28px; }
  .site-header nav { gap: 17px; }
  .site-header nav a { font-size: 11px; }
  .site-header nav a:nth-child(2) { display: none; }
  .site-header nav a:last-child { padding: 7px 14px; }
  .hero { grid-template-columns: 1fr; padding-block: 52px 34px; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero .eyebrow, .hero-actions, .hero-footnote { justify-content: center; }
  .hero h1 { font-size: clamp(48px, 9vw, 72px); margin-top: 22px; }
  .hero-description { max-width: 440px; margin-inline: auto; font-size: 15px; }
  .hero-actions { margin-top: 27px; }
  .hero-footnote { margin-top: 26px; }
  .hero-visual { width: min(100%, 460px); margin-inline: auto; padding-top: 24px; }
  .annotation-top { right: 5px; top: -15px; }
  .floating-note { right: 0; bottom: 72px; }
  .principles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; font-size: 10px; padding-block: 23px; }
  .principles i { font-size: 18px; }
  .section { padding-block: 65px; }
  h2 { font-size: 36px; }
  .section-heading > p:last-child { font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 35px; }
  .feature { padding: 26px; }
  .feature-art { height: 140px; }
  .feature h3 { font-size: 30px; }
  .feature > p { font-size: 14px; max-width: 440px; }
  .feature-number { font-size: 9px; }
  .feature-type { font-size: 12px; }
  .history-inner { grid-template-columns: 1fr; gap: 55px; }
  .history-section { padding-block: 55px; }
  .history-copy { max-width: 480px; margin-inline: auto; }
  .history-copy > p:not(.eyebrow) { max-width: none; }
  .privacy-section { grid-template-columns: 1fr; gap: 40px; }
  .privacy-section h2 br { display: none; }
  .privacy-points p { font-size: 14px; }
  .privacy-points article { gap: 20px; }
  .faq-section { grid-template-columns: 1fr; gap: 23px; padding-block: 45px 60px; }
  summary { font-size: 14px; }
  details > p { font-size: 14px; }
  .closing { margin-bottom: 60px; padding-inline: 15px; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; }
  .site-footer nav { gap: 15px 24px; flex-wrap: wrap; font-size: 11px; }
  .document-main { padding-top: 45px; padding-bottom: 60px; }
  .document-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 30px; }
  .document-sidebar { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .document-sidebar nav { position: static; }
  .document-sidebar a { font-size: 12px; padding-block: 8px; }
  .document-intro { font-size: 15px; }
  .legal-content h2 { font-size: 27px; }
  .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .contact-card { padding: 26px; }
}
@media (max-width: 380px) {
  .phone { width: 260px; transform: rotate(-3deg); }
  .hero-actions { gap: 14px; }
  .button { gap: 20px; }
  .platform, .principles { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; color: black; font-size: 12pt; }
  .wrap { width: 100%; }
  .site-header, .site-footer, .document-sidebar, .skip-link { display: none; }
  .document-main { padding: 0; }
  .document-layout { display: block; padding-top: 25px; }
  .legal-content { max-width: none; }
  .legal-content section { break-inside: avoid; }
  a { color: inherit; }
}
