/* Mobile flow stylesheet. Pulls design tokens from shared/tokens.css so the palette matches the desktop. Visual treatments here mirror the desktop's hero copy, hero-card panel, capture-tips, primary button, image-frame, finger-cards, and size-ref-table — the mobile flow is the desktop page paginated, not a different visual identity. */ @import url("../shared/tokens.css"); * { box-sizing: border-box; } [hidden] { display: none !important; } html, body { margin: 0; padding: 0; width: 100%; height: 100%; background: var(--bg-1); color: var(--ink); font-family: "Iowan Old Style", "Palatino", "Book Antiqua", "Times New Roman", serif; -webkit-font-smoothing: antialiased; overflow: hidden; } #mobileRoot { width: 100%; /* Cascade order: each later rule overrides on browsers supporting that unit. Old browsers stop at vh; modern iOS Safari reaches dvh which tracks URL-bar transitions, so per-step footers stay visible. */ height: 100vh; height: 100svh; height: 100dvh; } /* --- Step base layout -------------------------------------------- */ .step { display: flex; flex-direction: column; width: 100%; height: 100%; padding: max(16px, env(safe-area-inset-top, 0px)) 20px max(16px, env(safe-area-inset-bottom, 0px)); background: radial-gradient(circle at 10% 10%, var(--bg-3), transparent 55%), radial-gradient(circle at 90% 0%, var(--bg-2), transparent 55%), linear-gradient(140deg, var(--bg-1), #fff8f2 60%, #f0e2d8 100%); } .step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; min-height: 40px; flex: 0 0 auto; } .step-back { width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid var(--border); border-radius: 50%; background: white; color: var(--ink); font-size: 22px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .step-back:active { background: var(--sand); } .step-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; } .step-foot { flex: 0 0 auto; padding-top: 14px; } /* Secondary action under a primary button — text-link weight so it reads as an "escape hatch" rather than an equally-weighted choice. Padding is sized to clear the WCAG 2.5.5 / Apple HIG ~44px minimum touch target. */ .step-link { display: block; width: 100%; margin-top: 8px; padding: 12px 16px; background: transparent; border: none; border-radius: 8px; color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; } .step-link:hover { color: var(--ink); } .step-link:focus-visible { color: var(--ink); outline: 2px solid var(--accent); outline-offset: 2px; } .guide-upload-error { margin: 8px 4px 0; font-size: 0.85rem; color: var(--accent); text-align: center; } /* --- Typography (matches desktop hero/panel) --------------------- */ .hero-eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; font-weight: 600; color: var(--accent-dark); margin: 0 0 24px; } .hero-headline { font-family: "Futura", "Gill Sans", "Optima", "Trebuchet MS", sans-serif; font-size: clamp(2rem, 8vw, 2.4rem); letter-spacing: 0.02em; line-height: 1.15; margin: 0 0 28px; color: var(--ink); } .hero-sub { font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft); margin: 0; max-width: 36ch; } /* Step 1 leans into a softly centered hero: vertically nudge the copy toward the middle so the eye lands on the headline, not the very top of the page. */ .step-intro .step-body { display: flex; flex-direction: column; justify-content: center; } /* --- Panel (matches desktop .hero-card / .panel) ----------------- */ .panel { background: rgba(255, 255, 255, 0.78); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: 0 18px 40px rgba(43, 31, 31, 0.08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); margin-bottom: 16px; } .panel:last-child { margin-bottom: 0; } .panel-title { font-family: "Futura", "Gill Sans", "Optima", "Trebuchet MS", sans-serif; font-size: 1.4rem; margin: 0 0 14px; color: var(--ink); } /* --- Form controls (matches desktop) ----------------------------- */ .controls { display: flex; flex-direction: column; gap: 14px; } .controls label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--ink-soft); } .controls input[type="text"], .controls input[type="email"], .controls select { /* Lock both controls to the same height. iOS Safari's native , so identical padding alone doesn't match — an explicit height (with box-sizing: border-box, set globally) does. */ height: 48px; width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 0 14px; /* iOS auto-zoom guard — must be ≥ 16px. */ font-size: 1rem; line-height: 1.4; background: white; color: var(--ink); } /* Strip the native