:root {
  --ink: #1e211e;
  --muted: #656a64;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: #d9ddd5;
  --coffee: #694938;
  --coffee-dark: #3b2a23;
  --coral: #f27b55;
  --teal: #177c78;
  --mint: #d8ece4;
  --yellow: #f4cf66;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid rgba(30, 33, 30, .08);
  background: rgba(247, 247, 242, .94);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 750; }
.brand img, .footer-brand img { border-radius: 9px; box-shadow: 0 3px 12px rgba(59, 42, 35, .14); }
nav { display: flex; gap: 30px; font-size: 14px; color: #4f554f; }
nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a.active { color: var(--ink); border-color: var(--coral); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  height: min(820px, calc(100vh - 112px));
  min-height: 600px;
  padding: 48px max(24px, calc((100vw - var(--max-width)) / 2));
  overflow: hidden;
  background: #eef1eb;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 13px;
  background: var(--coral);
}
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.eyebrow { margin: 0 0 18px; color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 6px; font-size: clamp(62px, 7vw, 108px); line-height: .98; letter-spacing: 0; }
.hero-lead { margin: 24px 0 20px; font-size: clamp(28px, 3vw, 46px); font-weight: 700; line-height: 1.25; }
.hero-detail { max-width: 520px; margin-bottom: 30px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 6px; font-size: 14px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(30, 33, 30, .12); }
.button-primary { color: #fff; background: var(--ink); }
.button-secondary { background: transparent; }
.availability { margin: 18px 0 0; color: #747a73; font-size: 12px; }

.hero-visual { position: relative; align-self: stretch; height: 100%; min-height: 0; }
.hero-disc { position: absolute; width: 560px; height: 560px; right: -105px; top: 52px; border-radius: 50%; background: var(--yellow); }
.phone { position: absolute; overflow: hidden; border: 10px solid #171817; border-radius: 48px; background: #171817; box-shadow: 0 34px 80px rgba(30, 33, 30, .24); }
.phone-hero { width: min(330px, calc((100vh - 130px) * .48)); aspect-ratio: 330 / 690; left: 50%; bottom: -46px; transform: translateX(-54%) rotate(4deg); }
.phone-screen { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #f7f1e8; }
.dashboard-screen { position: relative; padding: 18px 14px 72px; color: #392c25; font-size: 11px; }
.status-row { display: flex; justify-content: space-between; padding: 0 8px 14px; color: #111; font-weight: 800; }
.app-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; font-size: 13px; font-weight: 750; }
.app-topline b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--coffee); }
.week-card { position: relative; display: flex; flex-direction: column; justify-content: center; height: 92px; padding: 16px; overflow: hidden; color: #fff; border-radius: 16px; background: var(--coffee-dark); }
.week-card small { opacity: .72; }
.week-card strong { margin-top: 5px; font-size: 18px; }
.bean { position: absolute; color: #9b7259; font-size: 24px; transform: rotate(24deg); opacity: .65; }
.bean-one { right: 30px; top: 12px; }.bean-two { right: 68px; bottom: 5px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 9px 0; }
.mini-stats div { display: flex; align-items: center; justify-content: space-between; padding: 10px; border-radius: 10px; background: #fff; }
.mini-stats small { color: #938274; }.mini-stats b { font-size: 15px; }
.favorite-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: #fff; background: #177c78; }
.favorite-row div { display: flex; flex-direction: column; }.favorite-row small { opacity: .75; }.favorite-row span { color: #ffe285; font-weight: 800; }
.calendar, .recent-mock { margin-top: 9px; padding: 11px; border-radius: 12px; background: #fff; }
.mock-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }.mock-heading small { color: #907d70; }
.weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.weekdays { color: #9b8e84; font-size: 8px; }
.calendar-grid i { width: 22px; height: 22px; margin: auto; border-radius: 50%; background: #f5eee6; }
.calendar-grid .has-cup { background: #d5ece4; }.calendar-grid .today { background: var(--coral); }
.record { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid #eee7df; }
.record > div { display: flex; flex: 1; flex-direction: column; }.record small { color: #9b8e84; font-size: 8px; }.record strong { font-size: 11px; }
.coffee-dot { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: #fff; background: #167b56; font-weight: 800; }.coffee-dot.alt { background: #222; }
.mock-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); height: 66px; padding-top: 8px; background: #fff; box-shadow: 0 -6px 20px rgba(50, 40, 32, .06); }
.mock-tabs span { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 17px; }.mock-tabs small { font-size: 8px; }

.intro-band { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3.5vw, 48px); min-height: 100px; padding: 22px 24px; color: #fff; background: var(--ink); }
.intro-band p { margin: 0; font-size: 14px; font-weight: 700; white-space: nowrap; }.intro-band span { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.section { max-width: var(--max-width); margin: 0 auto; padding: 120px 24px; }
.section-heading { max-width: 660px; }
.section h2, .contact-band h2, .legal-hero h1, .support-hero h1 { margin-bottom: 24px; font-size: clamp(36px, 4.8vw, 64px); line-height: 1.15; letter-spacing: 0; }
.features { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.feature-list article { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 30px 0; border-top: 1px solid var(--line); }
.feature-list article:last-child { border-bottom: 1px solid var(--line); }
.feature-number { color: var(--coral); font-size: 13px; font-weight: 800; }
.feature-list h3 { margin-bottom: 8px; font-size: 22px; }.feature-list p { max-width: 560px; margin: 0; color: var(--muted); }

.insight-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; max-width: none; padding-left: max(24px, calc((100vw - var(--max-width)) / 2)); padding-right: max(24px, calc((100vw - var(--max-width)) / 2)); background: var(--mint); }
.insight-demo { min-width: 0; padding: 34px; border: 1px solid #b7d6ca; background: #fff; box-shadow: 18px 18px 0 var(--teal); }
.insight-header { display: flex; justify-content: space-between; color: var(--muted); }.insight-header span { color: var(--teal); font-size: 12px; font-weight: 700; }
.insight-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 32px; }.insight-totals div { display: flex; flex-direction: column; }.insight-totals strong { font-size: 30px; }.insight-totals small { color: var(--muted); }
.chart { display: flex; align-items: end; gap: 7%; height: 160px; border-bottom: 1px solid var(--line); }.chart i { flex: 1; max-width: 36px; min-height: 10px; background: var(--coral); }
.chart-labels { display: flex; justify-content: space-between; padding-top: 10px; color: var(--muted); font-size: 10px; }
.insight-copy p:not(.eyebrow) { color: #4f5d56; font-size: 17px; }

.privacy-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.privacy-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-weight: 750; }.text-link span { color: var(--coral); }
.privacy-points { border-top: 1px solid var(--line); }
.privacy-points > div { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.privacy-points > div > span { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 800; }
.privacy-points p { display: flex; flex-direction: column; gap: 5px; margin: 0; }.privacy-points b { font-size: 18px; }.privacy-points small { color: var(--muted); font-size: 14px; }
.contact-band { padding: 110px max(24px, calc((100vw - var(--max-width)) / 2)); color: #fff; background: var(--teal); }
.contact-band .eyebrow { color: var(--yellow); }.contact-band h2 { max-width: 760px; }
.mail-link { display: inline-flex; align-items: center; gap: 16px; max-width: 100%; padding-bottom: 8px; border-bottom: 2px solid currentColor; font-size: clamp(20px, 3vw, 38px); font-weight: 750; overflow-wrap: anywhere; }.mail-link span { color: var(--yellow); }
.contact-links { display: flex; gap: 22px; margin-top: 32px; font-size: 14px; }.contact-links a { padding-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,.65); }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 118px; padding: 24px max(24px, calc((100vw - var(--max-width)) / 2)); background: #fff; font-size: 12px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 750; }footer p { margin: 0; }footer > div:last-child { display: flex; justify-content: flex-end; gap: 20px; }

.legal-page, .support-page { min-height: 70vh; }
.legal-hero, .support-hero { padding: 110px max(24px, calc((100vw - 880px) / 2)) 70px; background: #eef1eb; }
.legal-hero h1, .support-hero h1 { margin-bottom: 18px; }.legal-hero > p:not(.eyebrow), .support-hero > p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: 18px; }.legal-hero small { color: #777d76; }
.policy-summary { max-width: 880px; margin: 54px auto 0; padding: 24px; border-left: 5px solid var(--coral); background: #fff; }.policy-summary p { margin: 5px 0 0; color: var(--muted); }
.legal-content { max-width: 880px; margin: 0 auto; padding: 42px 24px 20px; }.legal-content section { padding: 28px 0; border-bottom: 1px solid var(--line); }.legal-content h2 { margin-bottom: 12px; font-size: 22px; }.legal-content p { color: #555b55; }.legal-content p:last-child { margin-bottom: 0; }.legal-content a { color: var(--teal); text-decoration: underline; }
.legal-actions { display: flex; align-items: center; gap: 28px; max-width: 880px; margin: 0 auto; padding: 28px 24px 100px; }
.support-hero .button { margin-top: 14px; }
.faq { max-width: 880px; margin: 0 auto; padding: 100px 24px; }.faq .section-heading { margin-bottom: 40px; }.faq .section-heading h2 { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }.faq details { border-bottom: 1px solid var(--line); }.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-size: 18px; font-weight: 750; list-style: none; }.faq summary::-webkit-details-marker { display: none; }.faq summary span { color: var(--coral); font-size: 26px; font-weight: 400; transition: transform .2s ease; }.faq details[open] summary span { transform: rotate(45deg); }.faq details p { max-width: 720px; padding: 0 50px 24px 0; color: var(--muted); }
.support-contact { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding: 90px max(24px, calc((100vw - var(--max-width)) / 2)); color: #fff; background: var(--teal); }.support-contact h2 { margin-bottom: 8px; font-size: clamp(34px, 4vw, 56px); }.support-contact p { margin-bottom: 0; }.support-contact .eyebrow { margin-bottom: 12px; color: var(--yellow); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; height: auto; max-height: none; min-height: 0; padding-bottom: 0; }
  .hero-copy { padding-bottom: 20px; }
  .hero-visual { width: 100%; max-width: 540px; height: 650px; min-height: 0; justify-self: center; }
  .hero-disc { right: 50%; transform: translateX(58%); }
  .features, .privacy-section, .insight-section { grid-template-columns: 1fr; gap: 56px; }
  .insight-copy { grid-row: 1; }
  .support-contact { align-items: start; flex-direction: column; }
  footer { grid-template-columns: 1fr 1fr; }footer p { grid-row: 2; grid-column: 1 / -1; }footer > div:last-child { justify-content: flex-end; }
}

@media (max-width: 620px) {
  .site-header { min-height: 64px; padding: 9px 18px; }.brand img { width: 36px; height: 36px; }.brand span { font-size: 15px; }nav { gap: 14px; font-size: 12px; }nav a:first-child { display: none; }
  .hero { display: block; height: calc(100vh - 104px); min-height: 0; padding: 48px 20px 0; }.hero h1 { font-size: 58px; }.hero-lead { font-size: 28px; }.hero-detail { font-size: 15px; }.hero-visual { position: absolute; left: 0; right: 0; bottom: 0; height: 280px; }.hero-disc { width: 340px; height: 340px; top: 62px; }.phone-hero { width: 250px; bottom: -285px; }.dashboard-screen { padding: 17px 12px 66px; }.calendar-grid i { width: 18px; height: 18px; }
  .intro-band { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: center; }.intro-band span { display: none; }
  .section { padding: 82px 20px; }.section h2, .contact-band h2, .legal-hero h1, .support-hero h1 { font-size: 38px; }.features { gap: 42px; }.feature-list article { grid-template-columns: 48px 1fr; }.feature-list h3 { font-size: 19px; }
  .insight-section { padding: 82px 20px; }.insight-demo { padding: 22px 16px; box-shadow: 10px 10px 0 var(--teal); }.insight-totals strong { font-size: 24px; }.chart { height: 120px; }
  .privacy-section { gap: 42px; }.contact-band { padding: 82px 20px; }.mail-link { font-size: 20px; }
  .legal-hero, .support-hero { padding: 80px 20px 54px; }.policy-summary { margin: 32px 20px 0; }.legal-content { padding: 28px 20px 16px; }.legal-actions { align-items: flex-start; flex-direction: column; padding: 26px 20px 78px; }
  .faq { padding: 76px 20px; }.faq summary { font-size: 16px; }.faq details p { padding-right: 0; }.support-contact { padding: 76px 20px; }
  footer { grid-template-columns: 1fr; align-items: start; padding: 28px 20px; }footer p, footer > div:last-child { grid-row: auto; grid-column: auto; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
