main { max-width: 600px; padding: 36px 24px 64px; }
h1 { margin: 0 0 24px; font-size: clamp(2.5rem, 8vw, 3.5rem); letter-spacing: -.045em; }
section { margin: 18px 0; padding: clamp(20px, 5vw, 32px); background: white; border: 1px solid var(--line); border-radius: 20px; }
h2 { margin: 0 0 18px; font-size: 1.4rem; }
p { color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
p:empty { margin: 0; }
#error { color: #9d302c; }
form { display: grid; gap: 12px; justify-items: start; }
[hidden] { display: none; }
label { font-weight: 600; }
#checkout { margin: 24px 0 18px; padding-top: 22px; border-top: 1px solid var(--line); }
#selectedPlan { color: #244d9c; background: #edf2fc; border-radius: 10px; padding: 12px 16px; }
#plan { color: #202c39; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
#upgrade, #billing { margin-top: 24px; }
#upgrade summary { width: fit-content; cursor: pointer; background: var(--blue); color: white; border-radius: 10px; padding: 12px 18px; font-weight: 600; }
#sharing { margin-top: 0; }
.billing-note { background: #f3f6fc; border-left: 3px solid var(--blue); padding: 12px 16px; border-radius: 0 8px 8px 0; }
.billing-note p { margin: 0; font-size: .9375rem; }
.billing-note p + p { margin-top: 4px; }
.billing-note a { color: #244d9c; text-decoration: underline; text-underline-offset: .15em; }
input, select, button { font: inherit; border-radius: 10px; }
input, select { width: 100%; padding: 12px; border: 1px solid #8996a3; }
button { padding: 12px 18px; border: 0; color: white; background: var(--blue); cursor: pointer; font-weight: 600; }
button:hover { background: #1e479f; }
button.secondary { background: #edf2fc; color: #244d9c; }
button:disabled { opacity: .65; cursor: wait; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

#methods { display: grid; gap: 12px; }
#methods[hidden] { display: none; }
#methods button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; font: 500 1rem/1.25 "Google Sans", Roboto, Arial, sans-serif; }
#google { background: white; color: #1f1f1f; border: 1px solid #747775; }
#google:hover { background: #f8fafd; }
#googleMessage:not(:empty) { margin: 0 0 18px; }
@media (max-width: 600px) { main { padding-inline: 0; } }
