:root {
  color-scheme: light;
  --ink: #10263a;
  --muted: #60758a;
  --navy: #0b3154;
  --blue: #1769aa;
  --cyan: #15a6a6;
  --mint: #2dd4bf;
  --sky: #e7f3fc;
  --paper: #ffffff;
  --canvas: #eef4f9;
  --line: #d7e3ed;
  --warning: #9a5a00;
  --warning-bg: #fff4d8;
  --danger: #a32b36;
  --success: #137663;
  --shadow: 0 18px 45px rgba(11, 49, 84, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 11px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 0%, rgba(45, 212, 191, 0.16), transparent 24rem),
    linear-gradient(180deg, #f8fbfe 0%, var(--canvas) 65%);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(23, 105, 170, 0.35);
  outline-offset: 3px;
}

a {
  color: var(--blue);
}

.app-shell {
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 20px 118px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 2px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: 0 9px 20px rgba(11, 49, 84, 0.2);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: #fff;
}

.brand-mark::before {
  width: 22px;
  height: 6px;
}

.brand-mark::after {
  width: 6px;
  height: 22px;
}

.brand-mark span {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 23px;
  height: 23px;
  border: 5px solid var(--mint);
  border-radius: 50%;
  background: var(--navy);
}

.eyebrow {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.topbar h1 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.privacy-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
}

.privacy-chip svg {
  flex: 0 0 auto;
}

.view {
  animation: view-in 220ms ease-out;
}

@keyframes view-in {
  from {
    transform: translateY(5px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.intro-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 164px;
  padding: 27px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(21, 166, 166, 0.32), transparent 55%),
    var(--navy);
  box-shadow: var(--shadow);
}

.intro-panel::after {
  position: absolute;
  top: -55px;
  right: 60px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.date-label {
  margin: 0 0 7px;
  color: #aeece5;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.intro-panel h2 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.intro-panel p:last-child {
  max-width: 570px;
  margin: 11px 0 0;
  color: #c9d9e7;
  font-size: 0.94rem;
  line-height: 1.55;
}

.progress-ring {
  --progress: 0deg;
  position: relative;
  z-index: 1;
  display: grid;
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--mint) var(--progress), rgba(255, 255, 255, 0.16) 0);
}

.progress-ring::before {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--navy);
  content: "";
}

.progress-ring span {
  position: relative;
  font-size: 0.95rem;
  font-weight: 850;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 2px 14px;
}

.section-heading h2,
.section-heading h3 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  letter-spacing: -0.025em;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.text-button {
  padding: 7px;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.dose-list {
  position: relative;
  display: grid;
  gap: 12px;
}

.dose-list::before {
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 27px;
  width: 2px;
  background: linear-gradient(var(--mint), #bdd7e8 86%, transparent);
  content: "";
}

.dose-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 105px;
  padding: 18px 18px 18px 10px;
  border: 1px solid rgba(215, 227, 237, 0.95);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 7px 22px rgba(11, 49, 84, 0.055);
  transition: border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.dose-card:hover {
  transform: translateY(-1px);
  border-color: #b6cfe1;
}

.dose-card.is-done {
  opacity: 0.68;
}

.dose-card.is-done .dose-title {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.time-node {
  position: relative;
  z-index: 1;
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  color: var(--navy);
  background: #d9f5f1;
  box-shadow: 0 0 0 1px #b7ded8;
  font-size: 0.78rem;
  font-weight: 850;
}

.dose-card.is-done .time-node {
  color: #fff;
  background: var(--success);
  box-shadow: 0 0 0 1px var(--success);
}

.dose-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.dose-meta {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.route-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  color: #1c5c75;
  background: var(--sky);
  font-size: 0.75rem;
  font-weight: 780;
}

.check-control {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1.5px solid #abc0d1;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.check-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-control span {
  width: 12px;
  height: 7px;
  transform: rotate(-45deg) translate(1px, -1px);
  border-bottom: 2.5px solid transparent;
  border-left: 2.5px solid transparent;
}

.check-control:has(input:checked) {
  border-color: var(--success);
  background: var(--success);
}

.check-control:has(input:checked) span {
  border-color: #fff;
}

.notice {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 15px 17px;
  border: 1px solid #efd69a;
  border-radius: var(--radius-sm);
  color: #65420e;
  background: var(--warning-bg);
  font-size: 0.9rem;
  line-height: 1.5;
}

.notice strong {
  display: block;
  margin-bottom: 2px;
}

.notice-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--warning);
  font-size: 0.82rem;
  font-weight: 900;
}

.empty-card {
  padding: 35px 20px;
  border: 1px dashed #b7c9d8;
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.calendar-card,
.review-card,
.sync-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.calendar-card {
  padding: 16px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.weekday {
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.day-button {
  position: relative;
  display: flex;
  min-height: 92px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: 160ms ease;
}

.day-button:hover,
.day-button.is-selected {
  border-color: var(--blue);
  box-shadow: 0 5px 14px rgba(23, 105, 170, 0.12);
}

.day-button.is-selected {
  background: #eff8ff;
}

.day-button.is-complete::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}

.day-button.is-spacer {
  visibility: hidden;
}

.day-number {
  font-size: 1.08rem;
  font-weight: 850;
}

.day-count {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.25;
}

.day-progress {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf3;
}

.day-progress span {
  display: block;
  width: var(--day-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--mint);
}

.calendar-detail {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.detail-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #f4f8fb;
}

.detail-time {
  color: var(--blue);
  font-weight: 850;
}

.detail-row strong {
  display: block;
  line-height: 1.35;
}

.detail-row span:last-child {
  color: var(--muted);
  font-size: 0.84rem;
}

.milestone-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.milestone {
  padding: 15px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 12px 12px 0;
  background: #eaf8f7;
}

.milestone strong {
  display: block;
  margin-bottom: 4px;
}

.milestone p {
  margin: 0;
  color: #46677a;
  font-size: 0.88rem;
  line-height: 1.48;
}

.review-layout {
  display: grid;
  gap: 18px;
}

.review-card,
.sync-card {
  padding: 22px;
}

.review-card h3,
.sync-card h3 {
  margin: 0;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.review-card > p,
.sync-card > p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.schedule-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.schedule-row:last-child {
  border-bottom: 0;
}

.schedule-row h4 {
  margin: 0;
  font-size: 1rem;
}

.schedule-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.time-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.time-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #dff3f7;
  font-size: 0.84rem;
  font-weight: 850;
}

.time-editor {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-editor input[type="time"] {
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid #aac1d2;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.confirm-box,
.privacy-option,
.milestone-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.confirm-box {
  padding: 13px;
  border: 1px solid #efd69a;
  border-radius: 12px;
  color: #65420e;
  background: #fff9ea;
  font-size: 0.88rem;
  line-height: 1.45;
}

.confirm-box input,
.privacy-option input,
.milestone-option input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.sync-steps {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.sync-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
  color: #425f73;
  font-size: 0.9rem;
}

.sync-steps li::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  content: counter(steps);
  counter-increment: steps;
  font-size: 0.78rem;
  font-weight: 850;
}

.action-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 17px;
  border-radius: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: 160ms ease;
}

.primary-button {
  border: 1px solid var(--navy);
  color: #fff;
  background: var(--navy);
  box-shadow: 0 9px 20px rgba(11, 49, 84, 0.18);
}

.primary-button:hover {
  transform: translateY(-1px);
  background: #12456f;
}

.primary-button:disabled {
  transform: none;
  cursor: wait;
  opacity: 0.65;
}

.secondary-button {
  border: 1px solid #a9bfd0;
  color: var(--navy);
  background: #fff;
}

.secondary-button:hover {
  border-color: var(--blue);
  background: #f1f8fd;
}

.status-panel {
  display: none;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 11px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.status-panel.is-visible {
  display: block;
}

.status-panel.is-success {
  color: #0f5f50;
  background: #dff7ef;
}

.status-panel.is-error {
  color: var(--danger);
  background: #ffeaec;
}

.status-panel.is-info {
  color: #205d7c;
  background: #e7f3fc;
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 14px;
  display: grid;
  width: min(650px, calc(100% - 28px));
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 0 auto;
  padding: 7px;
  border: 1px solid rgba(170, 194, 211, 0.75);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 15px 40px rgba(11, 49, 84, 0.18);
  backdrop-filter: blur(16px);
}

.nav-item {
  min-height: 53px;
  padding: 8px 5px;
  border: 0;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.nav-item svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto 3px;
}

.nav-item.is-active {
  color: #fff;
  background: var(--navy);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 17px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.site-footer a {
  font-weight: 750;
  text-decoration: none;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 98px;
  left: 20px;
  width: min(430px, calc(100% - 40px));
  margin: auto;
  padding: 13px 16px;
  transform: translateY(20px);
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
  text-align: center;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 28px 80px rgba(4, 26, 46, 0.28);
}

dialog::backdrop {
  background: rgba(5, 30, 51, 0.62);
  backdrop-filter: blur(3px);
}

.dialog-body {
  padding: 24px;
}

.dialog-body h2 {
  margin: 0 0 9px;
  font-size: 1.35rem;
}

.dialog-body p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.55;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-shell {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 70px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.legal-card {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.045em;
}

.legal-card h2 {
  margin: 30px 0 8px;
  font-size: 1.15rem;
}

.legal-card p,
.legal-card li {
  color: #4d667a;
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.88rem;
}

.brand-link { color: inherit; text-decoration: none; }

.landing-body {
  background: radial-gradient(circle at 84% 5%, rgba(45, 212, 191, 0.18), transparent 29rem), linear-gradient(180deg, #f8fbfe 0%, #eef4f9 72%, #f8fbfe 100%);
}

.landing-header, .landing-hero, .landing-section, .landing-trust, .landing-cta, .landing-footer {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.landing-header { display: flex; min-height: 96px; align-items: center; justify-content: space-between; gap: 24px; }
.landing-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.landing-brand > span:last-child { display: grid; gap: 1px; }
.landing-brand small { color: var(--blue); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.landing-brand strong { font-size: 1.3rem; letter-spacing: -0.025em; }
.landing-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }
.landing-nav a, .landing-footer a { color: var(--ink); font-size: 0.9rem; font-weight: 750; text-decoration: none; }
.landing-nav a:hover, .landing-footer a:hover, .trust-links a:hover { color: var(--blue); }

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.74fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
  min-height: 650px;
  padding: 64px 0 92px;
}

.landing-kicker { margin: 0 0 16px; color: var(--cyan); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.landing-hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.55rem, 5.7vw, 5rem); line-height: 0.99; letter-spacing: -0.062em; }
.hero-lead { max-width: 670px; margin: 26px 0 0; color: #4d667a; font-size: clamp(1.03rem, 1.6vw, 1.18rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.landing-primary, .landing-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.landing-primary { color: #fff; background: var(--navy); box-shadow: 0 12px 28px rgba(11, 49, 84, 0.2); }
.landing-primary:hover, .landing-secondary:hover { transform: translateY(-2px); }
.landing-secondary { border: 1px solid var(--line); color: var(--navy); background: rgba(255, 255, 255, 0.8); }
.hero-privacy { display: flex; max-width: 650px; align-items: flex-start; gap: 9px; margin: 24px 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.hero-privacy svg { width: 17px; flex: 0 0 auto; margin-top: 2px; }

.hero-product {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 29px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 32px 80px rgba(11, 49, 84, 0.16);
  backdrop-filter: blur(12px);
  transform: rotate(1.3deg);
}

.hero-product::before { position: absolute; z-index: -1; top: -26px; right: -24px; width: 112px; height: 112px; border-radius: 34px; background: var(--mint); content: ""; opacity: 0.72; transform: rotate(10deg); }
.product-topline { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 13px; font-size: 0.9rem; }
.product-topline span { color: var(--muted); }
.product-progress { height: 8px; margin-bottom: 22px; overflow: hidden; border-radius: 999px; background: #dfeaf2; }
.product-progress span { display: block; width: 75%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--mint)); }
.product-dose { display: grid; grid-template-columns: 58px 1fr 28px; gap: 13px; align-items: center; min-height: 82px; margin-top: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.product-dose.is-complete { opacity: 0.66; }
.product-time { color: var(--navy); font-size: 0.88rem; font-weight: 900; }
.product-dose > span:nth-child(2) { display: grid; gap: 4px; }
.product-dose strong { font-size: 0.9rem; }
.product-dose small { color: var(--muted); font-size: 0.76rem; }
.product-check, .product-calendar { display: grid; width: 27px; height: 27px; place-items: center; border: 2px solid var(--line); border-radius: 9px; color: #fff; font-size: 0.75rem; font-weight: 900; }
.is-complete .product-check { border-color: var(--success); background: var(--success); }
.product-calendar { border: 0; color: var(--navy); background: var(--sky); }

.landing-section { padding: 92px 0; border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px 60px; align-items: end; margin-bottom: 42px; }
.section-intro .landing-kicker { grid-column: 1 / -1; margin-bottom: -4px; }
.section-intro h2, .landing-trust h2, .landing-cta h2 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.7rem); line-height: 1.05; letter-spacing: -0.052em; }
.section-intro > p:last-child { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 255px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, 0.82); }
.feature-number { color: var(--cyan); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.12em; }
.feature-card h3 { margin: 68px 0 10px; font-size: 1.3rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.landing-trust { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(42px, 8vw, 110px); padding: 92px clamp(26px, 6vw, 72px); border-radius: 28px; color: #fff; background: var(--navy); }
.trust-copy > p { margin: 0; color: #c9d9e7; font-size: 1.03rem; line-height: 1.75; }
.trust-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.trust-links a { color: #fff; font-weight: 800; text-underline-offset: 5px; }
.landing-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 24px; padding: 64px clamp(26px, 6vw, 72px); border-radius: 28px; background: linear-gradient(120deg, #9ce8dc, var(--mint)); }
.landing-cta .landing-kicker { color: var(--navy); }
.landing-primary.is-light { flex: 0 0 auto; color: var(--navy); background: #fff; }

.landing-footer { display: grid; grid-template-columns: 1fr auto; gap: 20px 38px; padding: 58px 0 42px; color: var(--muted); }
.landing-footer > div { display: grid; gap: 5px; }
.landing-footer strong { color: var(--ink); }
.landing-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.landing-footer > p { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.84rem; }

@media (min-width: 760px) {
  .app-shell {
    padding: 0 32px 110px;
  }

  .topbar {
    padding-top: 31px;
  }

  .intro-panel {
    min-height: 210px;
    padding: 36px 40px;
  }

  .progress-ring {
    width: 104px;
    height: 104px;
  }

  .progress-ring::before {
    width: 82px;
    height: 82px;
  }

  .dose-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dose-list::before {
    display: none;
  }

  .review-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: start;
  }

  .sync-card {
    position: sticky;
    top: 20px;
  }

  .action-stack {
    grid-template-columns: 1fr;
  }

  .calendar-card {
    padding: 23px;
  }

  .day-button {
    min-height: 112px;
    padding: 13px;
  }
}

@media (min-width: 1060px) {
  .dose-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dose-card {
    grid-template-columns: 55px 1fr auto;
  }
}

@media (max-width: 620px) {
  .app-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .privacy-chip span {
    display: none;
  }

  .privacy-chip {
    width: 38px;
    padding: 8px;
    justify-content: center;
  }

  .intro-panel {
    min-height: 150px;
    padding: 23px 21px;
  }

  .intro-panel p:last-child {
    padding-right: 72px;
    font-size: 0.86rem;
  }

  .progress-ring {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 68px;
    height: 68px;
  }

  .progress-ring::before {
    width: 54px;
    height: 54px;
  }

  .progress-ring span {
    font-size: 0.8rem;
  }

  .calendar-card {
    padding: 10px;
    overflow-x: auto;
  }

  .calendar-grid {
    min-width: 590px;
  }

  .schedule-row {
    grid-template-columns: 1fr;
  }

  .time-pills {
    justify-content: flex-start;
  }

  .landing-header, .landing-hero, .landing-section, .landing-trust, .landing-cta, .landing-footer { width: min(100% - 28px, 1180px); }
  .landing-header { min-height: 82px; }
  .landing-nav a:first-child { display: none; }
  .landing-nav { gap: 13px; }
  .landing-nav a { font-size: 0.78rem; }
  .landing-brand small { display: none; }
  .landing-brand .brand-mark { width: 40px; height: 40px; }
  .landing-hero { grid-template-columns: 1fr; min-height: auto; padding: 50px 0 72px; }
  .landing-hero h1 { font-size: clamp(2.55rem, 13vw, 3.8rem); }
  .hero-actions, .hero-actions a { width: 100%; }
  .hero-product { padding: 18px; transform: none; }
  .product-dose { grid-template-columns: 50px 1fr 27px; padding: 12px; }
  .landing-section { padding: 70px 0; }
  .section-intro, .feature-grid, .landing-trust { grid-template-columns: 1fr; }
  .section-intro { gap: 16px; }
  .feature-card { min-height: 205px; }
  .feature-card h3 { margin-top: 45px; }
  .landing-trust { gap: 30px; padding-top: 54px; padding-bottom: 54px; }
  .landing-cta { display: grid; padding-top: 48px; padding-bottom: 48px; }
  .landing-primary.is-light { width: 100%; }
  .landing-footer { grid-template-columns: 1fr; }
  .landing-footer > p { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
