:root {
  color-scheme: light;
  --paper: #f6f4ee;
  --white: #fffefa;
  --ink: #192536;
  --muted: #4f5b6a;
  --brand: #293c59;
  --accent: #e8edf5;
  --line: #dcd9d0;
  font: 17px/1.6 'Segoe UI', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #4b588b; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-130%); left: 12px; z-index: 4; background: white; padding: 8px 14px; }
.skip:focus { transform: none; }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 86px; border-bottom: 1px solid var(--line); }
.site-header nav, .site-footer > div { display: flex; align-items: center; gap: 28px; }
.site-header a, .site-footer a { text-decoration: none; }
.site-header nav a, .site-footer > div a { font-size: .9rem; font-weight: 650; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 790; font-size: 1.24rem; letter-spacing: -.045em; }
.brand-mark { display: inline-grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: white; background: var(--brand); }
.brand-mark::before { content: ''; width: 16px; height: 8px; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); transform: rotate(-42deg); border-radius: 10px; }
.nav-cta { border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 42px; align-items: center; padding-block: 62px; }
.platform { display: flex; justify-content: flex-start; align-items: center; gap: 8px; font-size: .86rem; font-weight: 690; letter-spacing: .02em; color: var(--brand); }
.platform > span { width: 8px; height: 8px; background: var(--brand); border-radius: 50%; }
.hero h1, .policy h1 { margin: 13px 0 20px; font-family: Georgia, serif; font-size: clamp(42px, 4.5vw, 64px); line-height: 1.06; letter-spacing: -.05em; font-weight: 700; }
.hero h1 em { color: var(--brand); font-style: normal; }
.intro { max-width: 460px; color: var(--muted); font-size: 1.12rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 11px 20px; border-radius: 13px; text-decoration: none; font-weight: 720; text-align: center; }
.primary { background: var(--brand); color: white; }
.primary:hover { background: #29334f; }
.secondary { background: var(--white); border: 1px solid var(--line); color: var(--brand); }
.secondary:hover { background: #f2f3fa; }
.hero-copy .button { margin-top: 24px; }
.caption { color: var(--muted); font-size: .82rem; margin-top: 10px; }
.hero-visual { min-height: 465px; padding: 27px 12px; isolation: isolate; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 34px; border: 1px solid var(--line); background: linear-gradient(136deg, #eee7d8, #dde5ed); }
.ring { position: absolute; border: 1px solid #ffffffaa; border-radius: 100%; z-index: -1; pointer-events: none; }
.ring-one { width: 395px; height: 395px; left: -175px; top: 110px; }
.ring-two { width: 604px; height: 604px; left: -270px; top: 35px; }
.phone { width: min(310px, 92%); display: grid; justify-items: center; gap: 8px; margin-inline: auto; }
.phone a { display: block; width: 100%; border-radius: 23px; }
.phone img { display: block; width: 100%; height: auto; border: 4px solid #343c54; border-radius: 23px; box-shadow: 0 16px 34px #1e243d30; }
.phone figcaption { color: var(--muted); font-size: .78rem; text-align: center; }
.alerts-capture { width: min(290px, 100%); }
.lock-screen-capture { width: min(340px, 100%); }
.lock-screen-capture img { aspect-ratio: 591 / 680; object-fit: cover; object-position: top; }
.features { border-top: 1px solid var(--line); padding-block: 38px 52px; }
h2 { font-family: Georgia, serif; font-size: clamp(30px, 3.5vw, 44px); letter-spacing: -.045em; line-height: 1.13; font-weight: 700; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.feature-grid article { padding: 19px 20px; border: 1px solid var(--line); background: var(--white); border-radius: 15px; }
.feature-grid h3 { margin: 7px 0 4px; font-size: 1.07rem; letter-spacing: -.018em; }
.feature-grid p, .download-panel p, .usage-note { color: var(--muted); font-size: 1rem; }
.medication-screens { padding-bottom: 38px; }
.screen-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.screen-gallery .phone { width: 100%; padding: clamp(12px, 4vw, 28px); border: 1px solid var(--line); border-radius: 24px; background: var(--accent); }
.screen-gallery .phone a { max-width: 310px; }
.screen-gallery figcaption { font-size: .95rem; font-weight: 650; color: var(--ink); }
.alerts-wrap { padding-bottom: 38px; }
.alerts-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}
.alerts-copy h2 { max-width: 17ch; }
.alerts-copy h3 { margin-top: 20px; font-size: 1.1rem; }
.alerts-copy p { margin-top: 9px; color: var(--muted); }
.download-panel { padding: clamp(16px, 3vw, 28px); background: var(--accent); border: 1px solid var(--line); border-radius: 21px; }
.download-panel h2 { margin-bottom: 8px; }
.download-form { display: grid; gap: 15px; margin-top: 18px; }
.download-password { display: grid; gap: 5px; width: min(100%, 360px); }
.download-password label { font-weight: 650; }
.download-password input { width: 100%; min-height: 50px; padding: 8px 12px; border: 1px solid #7b8192; border-radius: 10px; background: var(--white); color: var(--ink); font: inherit; }
.download-password input:focus-visible, .download-form button:focus-visible { outline: 3px solid #4b588b; outline-offset: 4px; }
.download-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.download-platforms article { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.download-platforms p { flex: 1; }
.download-platforms button { font-family: inherit; font-size: 1rem; cursor: pointer; }
.download-platforms button.primary { border: 1px solid transparent; }
.usage-note { font-size: .83rem; }.usage-note { margin-block: 14px 34px; }
.install-guide { margin-top: 12px; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 10px 16px; }
.install-guide summary { font-size: .92rem; font-weight: 680; cursor: pointer; }
.install-guide summary:focus-visible { outline: 2px solid #4b588b; outline-offset: 3px; }
.install-guide ol { font-size: 1rem; margin: 10px 0 4px; padding-left: 23px; color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 78px; border-top: 1px solid var(--line); }
.policy { max-width: 760px; padding-block: 34px 65px; }
.policy h1 { font-size: clamp(44px, 6vw, 65px); }
.policy h2 { margin-block: 24px 8px; font-size: 1.45rem; letter-spacing: -.025em; }
.policy p { margin-bottom: 10px; color: var(--muted); }
.policy a { color: #354262; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 46px); }
  .hero { gap: 22px; padding-block: 43px; }
  .hero-visual { min-height: 407px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 68px; }
  .site-header nav { gap: 6px; }
  .site-header nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 28px 32px; gap: 24px; }
  .hero h1 { max-width: 500px; font-size: clamp(41px, 10vw, 63px); margin-block: 9px 13px; }
  .intro { font-size: 1rem; }
  .hero-copy .button { margin-top: 18px; }
  .hero-visual { min-height: 0; padding-block: 19px; border-radius: 22px; }
  .phone { width: min(270px, 94%); }
  .features { padding-block: 29px 33px; }
  .screen-gallery { grid-template-columns: 1fr; gap: 12px; }
  .alerts-panel { grid-template-columns: 1fr; }
  .alerts-wrap { padding-bottom: 26px; }
  .feature-grid, .download-platforms { grid-template-columns: 1fr; gap: 10px; }
  .feature-grid article, .download-panel { padding: 16px; }
}
