/* ObyMe app mock-up in an iPhone 18 Pro frame. Shared by the home page and /start.
   Everything inside the phone is sized in cqw of the phone, so the device scales as one piece.
   Brand tokens are repeated here so the file works on pages with a smaller token set. */
.phone {
  --ink: #2b2233; --ink-soft: #4a4152; --muted: #685e6e;
  --clay: #b4553a; --clay-deep: #93412b; --clay-text: #a24b31;
  --blush: #f2cdbd; --peach: #e08c6e; --sage: #7f9c86; --sage-deep: #3e5c4a; --sage-mist: #dfe7df;
  --cream: #faf4ec; --sand: #f1e6d8; --line: rgba(43, 34, 51, 0.12);
  --font-display: "Chillax", "Chillax Fallback", system-ui, sans-serif;
  --font-body: "Satoshi", "Satoshi Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.phone, .phone * { box-sizing: border-box; }
.phone img { display: block; max-width: none; }
.phone {
  /* Apple's official iPhone 18 Pro bezel (Burgundy), from Apple Design Resources. The PNG is
     1350 x 2760 with a 1206 x 2622 screen opening at (72, 69), so the screen is placed in % of that. */
  position: relative; z-index: 2; margin: 0;
  width: min(300px, 70vw); aspect-ratio: 1350 / 2760;
  container-type: inline-size;
  transform: rotate(-2.5deg);
  animation: phone-float 9s ease-in-out infinite;
}
@keyframes phone-float { 0%, 100% { transform: rotate(-2.5deg) translateY(0); } 50% { transform: rotate(-2.5deg) translateY(-10px); } }
.phone-bezel {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none;
}
/* The shadow is a rounded box behind the device, not a filter on the frame image:
   Chrome paints a pale rectangle around a drop-shadow filter on a rotated image. */
.phone::before {
  content: ""; position: absolute; inset: .8% 1.4%; z-index: 0; border-radius: 16% / 7.8%;
  box-shadow: 0 30px 50px -14px rgba(43,34,51,.42), 0 10px 18px -6px rgba(43,34,51,.2);
}

.phone-screen {
  position: absolute; overflow: hidden;
  left: 5.2%; right: 5.2%; top: 2.4%; bottom: 2.4%;   /* tucks just under the frame's inner edge */
  border-radius: 15.8% / 7.3%;
  background: linear-gradient(180deg, #fbf3ea 0%, var(--cream) 40%, var(--cream) 100%);
  font-family: var(--font-body); color: var(--ink);
  font-size: 4.1cqw; line-height: 1.28;
  -webkit-font-smoothing: antialiased;
}
.phone-screen::after { /* glass sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 30%);
}
.phone-screen > .sb, .phone-screen > .app { position: relative; }

.phone .sb { display: flex; justify-content: space-between; align-items: center; height: 12.6cqw; padding: 0 7cqw 0 9.5cqw; font-weight: 600; font-size: 1.05em; letter-spacing: -.01em; }
.phone .sb-icons { display: inline-flex; align-items: center; gap: 1.4cqw; }
.phone .sb-icons svg { height: 3cqw; width: auto; fill: var(--ink); }
.phone .sb-batt { position: relative; width: 6.6cqw; height: 3.2cqw; border: 1px solid rgba(43,34,51,.45); border-radius: 1cqw; padding: .45cqw; }
.phone .sb-batt i { display: block; height: 100%; width: 78%; background: var(--ink); border-radius: .5cqw; }
.phone .sb-batt::after { content: ""; position: absolute; right: -1.2cqw; top: 50%; width: .8cqw; height: 1.4cqw; transform: translateY(-50%); background: rgba(43,34,51,.45); border-radius: 0 1px 1px 0; }

.phone .app { padding: .5cqw 5.2cqw 0; display: grid; gap: 3cqw; }
.phone .app small { display: block; font-size: .78em; color: var(--muted); letter-spacing: .01em; }
.phone .app b { font-weight: 600; }
.phone .app p { margin: 0; }
.phone .app-head { display: flex; justify-content: space-between; align-items: center; }
.phone .app-head b { font-family: var(--font-display); font-weight: 500; font-size: 1.5em; letter-spacing: -.02em; line-height: 1.1; }
.phone .app-logo { width: 8.5cqw; height: 8.5cqw; }

.phone .wk {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 3cqw; align-items: center;
  padding: 3.6cqw; border-radius: 5.5cqw; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #c96a4c 0%, var(--clay) 45%, var(--clay-deep) 100%);
  box-shadow: 0 3cqw 6cqw -3cqw rgba(147,65,43,.6);
}
.phone .wk-ring { width: 18cqw; height: 18cqw; transform: rotate(-90deg); grid-row: 1; grid-column: 1; }
.phone .wk-track, .phone .wk-fill { fill: none; stroke-width: 5.5; }
.phone .wk-track { stroke: rgba(255,255,255,.22); }
.phone .wk-fill { stroke: #fff; stroke-linecap: round; stroke-dasharray: 24.4 40; animation: ring 1.6s cubic-bezier(.2,.7,.2,1) .3s both; }
@keyframes ring { from { stroke-dasharray: 0 40; } }
.phone .wk-num { grid-row: 1; grid-column: 1; display: grid; place-items: center; text-align: center; line-height: 1; }
.phone .wk-num b { font-family: var(--font-display); font-size: 1.6em; font-weight: 500; }
.phone .wk-num span { font-size: .62em; opacity: .85; margin-top: .3cqw; }
.phone .wk-copy small { color: rgba(255,255,255,.8); }
.phone .wk-copy b { display: block; font-size: .92em; line-height: 1.22; text-wrap: balance; margin: .6cqw 0 .8cqw; }
.phone .wk-copy span { font-size: .76em; opacity: .9; white-space: nowrap; }
.phone .wk-fruit { width: 14cqw; height: 14cqw; align-self: center; filter: drop-shadow(0 1.2cqw 1.6cqw rgba(60,20,10,.35)); }

.phone .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqw; }
.phone .tile { background: #fff; border-radius: 4.6cqw; padding: 3cqw 3.2cqw; box-shadow: 0 1px 2px rgba(43,34,51,.05), 0 2cqw 5cqw -3cqw rgba(43,34,51,.25); }
.phone .tile small { display: flex; align-items: center; gap: 1.2cqw; }
.phone .tile small svg { width: 3.4cqw; height: 3.4cqw; color: var(--clay); }
.phone .tile > b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.55em; letter-spacing: -.02em; margin-top: .6cqw; line-height: 1.1; }
.phone .tile > b span { font-size: .55em; color: var(--muted); letter-spacing: 0; }
.phone .spark { display: block; width: 100%; height: 6cqw; margin: 1cqw 0 1.4cqw; overflow: visible; }
.phone .spark path { fill: none; stroke: var(--sage); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 140; animation: draw 1.8s ease .5s both; }
.phone .spark circle { fill: var(--sage-deep); }
@keyframes draw { from { stroke-dashoffset: 140; } to { stroke-dashoffset: 0; } }
.phone .bars { display: flex; align-items: flex-end; gap: 1cqw; height: 6cqw; margin: 1cqw 0 1.4cqw; }
.phone .bars i { flex: 1; height: var(--h); border-radius: 99px; background: var(--blush); }
.phone .bars i:last-child { background: var(--peach); }
.phone .app .pill { display: inline-block; font-style: normal; font-weight: 600; font-size: .66em; color: var(--sage-deep); background: var(--sage-mist); padding: .7cqw 2cqw; border-radius: 99px; white-space: nowrap; }
.phone .app .pill-soft { color: var(--clay-deep); background: #f8e3d8; }

.phone .dr { display: grid; grid-template-columns: auto 1fr auto; gap: 3.2cqw; align-items: center; background: #fff; border-radius: 4.6cqw; padding: 3.4cqw 3.4cqw; box-shadow: 0 1px 2px rgba(43,34,51,.05), 0 2cqw 5cqw -3cqw rgba(43,34,51,.25); }
.phone .dr-pic { position: relative; width: 14.5cqw; height: 14.5cqw; }
.phone .dr-pic img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 .7cqw #fff, 0 0 0 1.2cqw var(--blush); }
.phone .dr-check { position: absolute; right: -1cqw; bottom: -1cqw; width: 5cqw; height: 5cqw; border-radius: 50%; background: var(--sage-deep); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 .7cqw #fff; }
.phone .dr-check svg { width: 3cqw; height: 3cqw; }
.phone .dr-copy b { display: block; font-size: .9em; }
.phone .dr-copy b span { font-weight: 500; font-size: .78em; color: var(--clay-text); margin-left: .6cqw; }
.phone .dr-copy p { font-size: .76em; color: var(--ink-soft); line-height: 1.32; margin-top: .4cqw; }
.phone .dr-online { align-self: start; font-size: .66em; color: var(--muted); display: inline-flex; align-items: center; gap: 1cqw; }
.phone .dr-online::before { content: ""; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #3fae6a; box-shadow: 0 0 0 .6cqw rgba(63,174,106,.18); }

.phone .next .label { text-transform: uppercase; letter-spacing: .12em; font-weight: 600; font-size: .66em; margin-bottom: 1.4cqw; }
.phone .ev { display: grid; grid-template-columns: auto 1fr; gap: 3cqw; align-items: center; padding: 1.8cqw 0; }
.phone .ev + .ev { border-top: 1px solid var(--line); }
.phone .ev .date { display: grid; place-items: center; width: 10.5cqw; height: 10.5cqw; border-radius: 3cqw; background: var(--sand); font-family: var(--font-display); font-weight: 500; font-size: 1.15em; line-height: 1; }
.phone .ev .date i { font-style: normal; font-family: var(--font-body); font-weight: 600; font-size: .5em; text-transform: uppercase; letter-spacing: .08em; color: var(--clay-text); }
.phone .ev .date-video { background: var(--sage-mist); }
.phone .ev .date-video i { color: var(--sage-deep); }
.phone .ev b { display: block; font-size: .88em; }
.phone .ev span { font-size: .74em; color: var(--muted); }

.phone .tip { border-radius: 4.6cqw; padding: 3cqw 3.4cqw; background: var(--ink); color: #f3ebe4; }
.phone .tip small { color: var(--peach); font-weight: 600; }
.phone .tip p { font-size: .8em; line-height: 1.35; margin-top: .4cqw; }

.phone .tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; justify-content: space-around; padding: 2.6cqw 3cqw 8cqw;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.phone .tabbar span { display: grid; justify-items: center; gap: .8cqw; font-size: .6em; font-weight: 500; color: var(--muted); }
.phone .tabbar svg { width: 5.6cqw; height: 5.6cqw; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone .tabbar .on { color: var(--clay); }
.phone .tabbar .on svg { fill: color-mix(in srgb, var(--clay) 18%, transparent); }
.phone .home-ind { position: absolute; z-index: 4; left: 50%; bottom: 2.4cqw; width: 34cqw; height: 1.4cqw; transform: translateX(-50%); border-radius: 99px; background: var(--ink); }


/* "App preview · sample data": the doctor, patient and numbers are illustrative */
.phone-note { margin: 18px 0 0; font: 500 .78rem/1.3 var(--font-body, system-ui, sans-serif); letter-spacing: .02em; color: #685e6e; text-align: center; }
