/* The account pages: a card in the middle, the same paper, ink and type as the rest of the site. */
.acct { min-height: 100svh; display: grid; place-items: center; padding: 110px var(--gutter) 60px; background: radial-gradient(900px 600px at 50% 0%, #FFFFFF, var(--paper) 70%); }
.acct-card { width: min(440px, 100%); padding: 36px 30px 30px; border-radius: 30px; background: var(--white); box-shadow: 0 0 0 1px #ECECE8, 0 40px 80px -40px rgba(0, 0, 0, .35); }
.acct-card .face { display: block; width: 76px; height: 76px; margin: 0 auto 14px; }
.acct-card h1 { font-size: 34px; text-align: center; margin-bottom: 8px; }
.acct-card .sub { text-align: center; color: var(--ink-2); font-size: 15px; margin-bottom: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { height: 50px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px #E4E4E0 inset; font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: box-shadow .2s; }
.field input:focus { box-shadow: 0 0 0 2px var(--ink) inset; background: var(--white); }
.field input.code { text-align: center; font: 600 28px/1 var(--mono); letter-spacing: .3em; height: 64px; }
.acct-card .btn { width: 100%; justify-content: center; }
.acct-card .btn + .btn { margin-top: 10px; }
.acct-card .btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn-google { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px #DADAD6 inset; }
.btn-google:hover { transform: translateY(-2px); }
.btn-google svg { width: 20px; height: 20px; margin: 0; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--mute); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.problem { margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: #FDECEA; color: #A3261B; font-size: 14px; }
.good { margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: #EAF6EE; color: #22693A; font-size: 14px; }
.switch { margin-top: 18px; text-align: center; font-size: 14px; color: var(--ink-2); }
.switch a, .link { font-weight: 600; color: var(--ink); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.dash { width: min(720px, 100%); display: grid; gap: 16px; }
.dash > [data-ready] { display: contents; }
.dash > [data-ready][hidden] { display: none; }
.dash-card { padding: 28px; border-radius: 26px; background: var(--white); box-shadow: 0 0 0 1px #ECECE8; }
.hello { display: flex; align-items: center; gap: 16px; }
.hello .face { width: 60px; height: 60px; flex: none; }
.hello h1 { font-size: 30px; }
.hello small { color: var(--mute); font-size: 14px; display: block; }
.hello .btn { margin-inline-start: auto; }
.wallet { background: var(--ink); color: #fff; box-shadow: none; }
.wallet .label { font-size: 14px; color: rgba(255, 255, 255, .6); font-weight: 600; }
.wallet .balance { font-size: clamp(38px, 7vw, 56px); font-weight: 600; letter-spacing: -.03em; margin: 6px 0 14px; }
.wallet .note { font-size: 13px; color: rgba(255, 255, 255, .55); }
.confirm { display: flex; align-items: center; gap: 14px; background: #FFF8E6; box-shadow: 0 0 0 1px #F2E3B8 inset; }
.confirm b { display: block; }
.confirm span { color: #6B5310; font-size: 14px; }
.confirm .btn { margin-inline-start: auto; flex: none; }
.ledger h2 { font-size: 22px; margin-bottom: 12px; }
.ledger ul { list-style: none; padding: 0; margin: 0; }
.ledger li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid #F0F0EC; }
.ledger li:first-child { border-top: 0; }
.ledger li b { display: block; font-size: 15px; font-weight: 600; }
.ledger li small { color: var(--mute); font-size: 13px; }
.ledger .amount { font-weight: 600; font-size: 15px; white-space: nowrap; }
.ledger .amount.in { color: #2F8F4E; }
.soon { display: flex; align-items: center; gap: 14px; }
.soon .face { width: 46px; height: 46px; flex: none; }
.soon b { display: block; }
.soon span { color: var(--ink-2); font-size: 14px; }
[data-loading] { text-align: center; color: var(--mute); }
.wallet [data-plan-button] { margin-top: 18px; }
.wallet .balance { font-size: clamp(30px, 5vw, 44px); }
.soon .btn { margin-inline-start: auto; flex: none; }

/* Connecting the Mac app (link.html). */
.code-check { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border-radius: 16px; background: var(--paper); font-size: 14px; color: var(--ink-2); }
.code-check b { font: 600 20px/1 var(--mono); letter-spacing: .12em; color: var(--ink); }
#link [data-loading], #link h1 + .sub b { word-break: break-word; }

/* The plans (plans.html). */
.plans-page { display: block; padding-top: 120px; }
.plans-page > [data-loading] { padding-top: 80px; }
.plans-wrap { width: min(1080px, 100%); margin: 0 auto; }
.plans-head { text-align: center; margin-bottom: 36px; }
.plans-head h1 { font-size: clamp(44px, 8vw, 88px); margin-bottom: 14px; }
.plans-head .sub { max-width: 560px; margin: 0 auto 26px; color: var(--ink-2); font-size: 18px; }
.period { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; }
.period button { border: 0; background: none; font: 500 15px/1 var(--sans); color: var(--ink-2); padding: 11px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.period button[aria-checked="true"] { background: var(--ink); color: var(--white); }
.period button span { font: 500 11px/1 var(--mono); letter-spacing: .04em; padding: 4px 7px; border-radius: 999px; background: #E7F6EC; color: #22693A; }
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px 28px; border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px #ECECE8; }
.plan-card .face { width: 52px; height: 52px; margin-bottom: 16px; }
.plan-card h2 { font-size: 30px; }
.plan-card .for { color: var(--ink-2); font-size: 15px; margin: 6px 0 20px; }
.plan-card .price { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.plan-card .price b { font-size: 52px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.plan-card .price span { color: var(--mute); font-size: 15px; }
.plan-card .billed { color: var(--mute); font-size: 13px; margin: 8px 0 20px; min-height: 1em; }
.plan-card .btn { width: 100%; justify-content: center; }
.plan-card .btn:disabled { opacity: .5; cursor: default; transform: none; }
.plan-card ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 15px; }
.plan-card li { display: flex; gap: 10px; align-items: flex-start; }
.plan-card li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan-card.best { background: var(--ink); color: var(--white); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.plan-card.best .for, .plan-card.best .price span, .plan-card.best .billed { color: rgba(255, 255, 255, .6); }
.plan-card.best .btn-ink { background: var(--white); color: var(--ink); }
.plan-card.best li::before { background-color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.badge { position: absolute; top: 24px; right: 24px; margin: 0; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.plans-wrap > .problem { max-width: 560px; margin: 0 auto 16px; }
.plans-fine { text-align: center; color: var(--mute); font-size: 13px; margin: 28px auto 0; max-width: 560px; }
.acct-card.sent { margin: 40px auto 0; }
.acct-card.sent .sub b { color: var(--ink); }
@media (max-width: 860px) {
  .plan-cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan-card.best { order: -1; }
}
