@font-face { font-family: "Savedia Google Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("./assets/savedia_google_sans_medium.woff2") format("woff2"); }
:root { color-scheme: light; --ink: #172443; --muted: #68738b; --coral: #fa766c; --line: #e7e3e1; --paper: #fffdfa; --lavender: #f4f1fc; font-family: "Segoe UI", sans-serif; font-size: 16px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; min-height: 100vh; color: var(--ink); background: linear-gradient(145deg, #faf8ff 0%, #fffbf4 75%); }
.shell { width: min(100% - 40px, 480px); margin: 0 auto; padding: 40px 0 28px; }
.brand { display: flex; align-items: center; gap: 8px; font: 700 1.65rem Georgia, serif; letter-spacing: -.025em; }
.spark { color: var(--coral); font-family: Georgia, serif; }
.eyebrow { margin-top: 44px; font-size: .68rem; font-weight: 700; letter-spacing: .17em; color: var(--muted); }
h1 { margin: 14px 0; font: 500 clamp(2rem, 8vw, 2.65rem)/1.08 Georgia, serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.intro { margin: 0 0 27px; color: var(--muted); line-height: 1.6; }
.card { padding: clamp(20px, 5vw, 32px); border: 1px solid var(--line); border-radius: 27px; background: #fffffff2; box-shadow: 0 10px 35px #202b4a05; }
.step-marker { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--lavender); color: var(--ink); font: 700 1.2rem Georgia, serif; }
h2 { font-size: 1.3rem; margin: 18px 0 8px; letter-spacing: -.02em; line-height: 1.3; overflow-wrap: anywhere; }
#step-title:focus { outline: none; }
p { line-height: 1.6; }
.muted { color: var(--muted); font-size: .9rem; margin: 0 0 22px; }
.identity { padding: 12px 14px; border-radius: 12px; background: var(--lavender); overflow-wrap: anywhere; font-size: .875rem; }
label { display: block; font-weight: 600; font-size: .85rem; margin: 0 0 9px; }
input { display: block; width: 100%; min-width: 0; min-height: 52px; padding: 14px; border: 1px solid #c8ccd5; border-radius: 13px; color: var(--ink); background: var(--paper); font: inherit; }
input::placeholder { color: #7d8394; opacity: 1; }
input:focus-visible, button:focus-visible { outline: 3px solid #7e8fb1; outline-offset: 4px; }
button { width: 100%; min-height: 50px; border-radius: 14px; border: 1px solid transparent; padding: 14px; font: 600 .9rem/1.5 "Segoe UI", sans-serif; cursor: pointer; overflow-wrap: anywhere; }
button:disabled { cursor: wait; opacity: .6; }
.primary { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: white; background: var(--ink); margin-top: 18px; text-align: left; }
.primary:hover:not(:disabled) { background: #293d62; }
.secondary { color: var(--ink); background: white; border-color: var(--line); margin-top: 10px; }
.secondary:hover:not(:disabled), .text-button:hover:not(:disabled) { background: var(--lavender); }
.google-signin { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid #747775; border-radius: 4px; color: #1f1f1f; background: #fff; font: 500 .875rem/1.25rem "Savedia Google Sans", Arial, sans-serif; text-align: left; }
.google-signin img { flex: 0 0 20px; width: 20px; height: 20px; object-fit: contain; }
.google-signin span { min-width: 0; }
.google-signin:hover:not(:disabled) { background: #fff; box-shadow: 0 1px 3px #1f1f1f26; }
.field-note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.secondary-actions { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 10px; }
.text-button { width: auto; flex: 1 1 125px; min-height: 48px; padding: 8px; color: var(--ink); font-size: .8rem; background: transparent; }
.permission { display: flex; align-items: flex-start; gap: 12px; padding: 17px 0; border-block: 1px solid var(--line); }
.permission > span { flex-shrink: 0; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--lavender); }
.permission strong { font-size: .9rem; }
.permission p { margin: 5px 0 0; color: var(--muted); font-size: .85rem; }
.policy-summary { margin: 18px 0; padding: 14px 0; border-block: 1px solid var(--line); font-size: .9rem; line-height: 1.6; }
.policy-summary summary { cursor: pointer; font-weight: 600; }
.policy-summary p { margin: 12px 0; }
.status { font-size: .85rem; color: #754135; margin: 18px 0 0; overflow-wrap: anywhere; }
.status:empty { display: none; }
footer { color: var(--muted); font-size: .75rem; text-align: center; line-height: 1.9; padding: 24px 10px 0; }
.footer-detail { font-size: .7rem; }
@media (min-width: 700px) { .shell { padding-top: 56px; } }
@media (max-width: 340px) { .shell { width: calc(100% - 28px); padding-top: 24px; } .eyebrow { margin-top: 30px; } }
@media (prefers-reduced-motion: no-preference) { .card { animation: arrive .3s ease-out; } @keyframes arrive { from { opacity: .5; transform: translateY(6px); } to { opacity: 1; transform: none; } } }

/* Shared Savedia identity: the unchanged Android/Store mark, never a substitute logo. */
a { color: var(--ink); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #7e8fb1; outline-offset: 4px; border-radius: 3px; }
.brand { color: var(--ink); text-decoration: none; width: fit-content; }
.brand img { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; }
footer p { margin: 0 0 10px; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 18px; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
