:root {
  --navy: #004E98;
  --deep-navy: #00356F;
  --midnight: #012B5F;
  --sky: #9EDFED;
  --pale-sky: #EAF7FB;
  --ink: #071B3D;
  --slate: #526076;
  --line: #DCE7F1;
  --white: #FFFFFF;
  --shadow: 0 14px 35px rgba(0, 78, 152, 0.14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--ink); background: linear-gradient(180deg, #ffffff 0%, #f4fafd 100%); }
button, input { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100dvh; display: flex; justify-content: center; background: linear-gradient(180deg, #ffffff 0%, #f4fafd 100%); }
.phone { width: min(100%, 440px); min-height: 100dvh; padding: calc(env(safe-area-inset-top) + 20px) 20px calc(env(safe-area-inset-bottom) + 20px); display: flex; flex-direction: column; }
.dark-screen { background: linear-gradient(180deg, var(--deep-navy), var(--midnight)); color: white; }
.logo { display: block; max-width: 265px; width: 72%; height: auto; margin: 0 auto; }
.header { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.header .logo-mini { height: 54px; width: auto; max-width: 205px; object-fit: contain; margin: 0 auto; }
.icon-button { width: 44px; height: 44px; border: 0; border-radius: 99px; background: transparent; color: var(--navy); display: grid; place-items: center; font-size: 24px; }
.dark-screen .icon-button { color: white; background: rgba(255,255,255,0.06); }

h1 { margin: 0; font-size: clamp(32px, 10vw, 42px); line-height: 1.05; font-weight: 900; color: var(--navy); letter-spacing: -0.03em; }
h2 { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 900; color: var(--navy); letter-spacing: -0.025em; }
p { margin: 0; color: var(--slate); line-height: 1.5; }
.center { text-align: center; }
.spacer { flex: 1; }
.small { font-size: 13px; }

.primary-button { width: 100%; border: 0; border-radius: 15px; padding: 17px 18px; background: var(--navy); color: white; font-weight: 850; font-size: 17px; box-shadow: var(--shadow); }
.secondary-button { width: 100%; border: 1px solid var(--line); border-radius: 15px; padding: 15px 18px; background: white; color: var(--navy); font-weight: 800; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; font-weight: 800; }

.safety { display: flex; gap: 10px; align-items: flex-start; color: var(--slate); }
.safety .shield { color: var(--navy); font-size: 22px; margin-top: 1px; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.state-card { border: 0; border-radius: 20px; background: white; padding: 17px 14px; min-height: 150px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.state-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--pale-sky); color: var(--navy); font-size: 25px; margin-bottom: 12px; }
.state-title { font-weight: 900; color: var(--navy); font-size: 17px; }
.state-subtitle { color: var(--ink); font-size: 12px; line-height: 1.25; margin-top: 6px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.stat { background: var(--pale-sky); border: 1px solid var(--line); border-radius: 17px; padding: 13px 14px; display: flex; align-items: baseline; gap: 8px; }
.stat strong { color: var(--navy); font-size: 24px; }
.stat span { color: var(--slate); font-weight: 750; }

.hero-circle { width: 104px; height: 104px; border-radius: 50%; margin: 10px auto 26px; display: grid; place-items: center; color: white; font-size: 50px; background: linear-gradient(135deg, var(--sky), var(--navy), var(--deep-navy)); box-shadow: var(--shadow); }
.info-stack { display: grid; gap: 11px; margin-top: 25px; }
.info-tile { background: white; border: 1px solid var(--line); border-radius: 17px; padding: 15px; box-shadow: 0 10px 22px rgba(0, 78, 152, 0.07); display: flex; gap: 14px; align-items: center; }
.info-icon { color: var(--navy); font-size: 24px; width: 28px; text-align: center; }
.info-label { color: var(--slate); font-size: 11px; font-weight: 900; letter-spacing: 0.03em; }
.info-value { color: var(--ink); font-size: 16px; font-weight: 850; margin-top: 3px; }

.breath-wrap { display: grid; place-items: center; margin: 35px 0 28px; }
.breath-circle { width: min(68vw, 275px); height: min(68vw, 275px); border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--sky) var(--progress), rgba(255,255,255,0.18) 0); transition: transform 1s ease-in-out; box-shadow: 0 0 45px rgba(158, 223, 237, 0.26); }
.breath-inner { width: calc(100% - 40px); height: calc(100% - 40px); border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 35% 30%, var(--navy), var(--midnight)); }
.phase-label { color: white; font-size: 36px; font-weight: 900; }
.phase-count { color: var(--sky); font-size: 28px; font-weight: 850; margin-top: 8px; }
.phase-row { display: flex; justify-content: center; gap: 13px; flex-wrap: wrap; margin-top: 16px; }
.phase-dot { text-align: center; color: rgba(255,255,255,0.75); font-size: 12px; }
.phase-dot i { display: block; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.28); margin: 0 auto 8px; }
.phase-dot.active { color: white; }
.phase-dot.active i { width: 18px; height: 18px; background: white; }
.controls { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.round-control { border: 0; background: transparent; color: rgba(255,255,255,0.86); text-align: center; font-size: 12px; }
.round-control i { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.24); font-style: normal; color: white; font-size: 28px; }

.outcomes { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 15px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: white; color: var(--ink); font-weight: 750; }
.chip.selected { border-color: var(--navy); background: var(--sky); color: var(--deep-navy); }
.contact-row { display: flex; align-items: center; gap: 16px; margin: 19px 0; font-weight: 750; color: var(--ink); }
.contact-row i { color: var(--navy); font-style: normal; font-size: 26px; width: 30px; text-align: center; }
.callout { background: var(--pale-sky); border: 1px solid var(--line); border-radius: 19px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.callout i { color: var(--navy); font-style: normal; font-size: 34px; }
.callout strong { display: block; color: var(--navy); margin-top: 8px; }
.divider { height: 1px; background: var(--line); margin: 28px 0; }

@media (min-width: 700px) {
  body { background: #edf5fa; }
  .app-shell { padding: 28px 0; align-items: center; }
  .phone { min-height: 860px; border-radius: 38px; box-shadow: 0 24px 70px rgba(0,0,0,0.18); overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #f4fafd 100%); }
  .phone.dark-screen { background: linear-gradient(180deg, var(--deep-navy), var(--midnight)); }
}
