:root {
  color-scheme: light;
  --ink: #102247;
  --ink-soft: #51627e;
  --blue: #2757d6;
  --blue-bright: #347cf5;
  --cyan: #26bfea;
  --line: #dce6f4;
  --panel: rgba(255, 255, 255, 0.96);
  --wash: #f4f8fd;
  --green: #087f5b;
  --green-bg: #e7f8f1;
  --shadow: 0 22px 65px rgba(27, 64, 126, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #eef5fc; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(38, 191, 234, 0.14), transparent 28rem),
    radial-gradient(circle at 92% 24%, rgba(52, 124, 245, 0.12), transparent 32rem),
    linear-gradient(180deg, #fbfdff 0, #f3f8fd 64%, #edf5fc 100%);
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; border-radius: .5rem; background: #fff; color: var(--blue); }
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(189, 207, 231, 0.75);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.05rem; font-weight: 750; letter-spacing: -.025em; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand strong { color: var(--blue); }
.back-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-soft); font-size: .9rem; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--blue); }
.back-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.language-switch { padding: .18rem; display: inline-flex; gap: .12rem; border: 1px solid var(--line); border-radius: .62rem; background: #fff; }
.language-switch a { min-width: 34px; padding: .28rem .4rem; border-radius: .44rem; color: var(--ink-soft); text-align: center; text-decoration: none; font-size: .68rem; font-weight: 850; }
.language-switch a[aria-current="true"] { color: #fff; background: var(--blue); }

.account-shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 4.25rem 0 3.5rem; }
.intro { max-width: 670px; margin-bottom: 1.8rem; }
.eyebrow, .section-kicker { margin: 0 0 .5rem; color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.intro h1 { max-width: 640px; margin: 0; font-size: clamp(2rem, 5vw, 3.55rem); line-height: 1.03; letter-spacing: -.055em; }
.intro > p:last-child { max-width: 630px; margin: 1rem 0 0; color: var(--ink-soft); font-size: 1.03rem; line-height: 1.65; }

.notice { margin: 0 0 1rem; padding: .9rem 1rem; border: 1px solid #a9decf; border-radius: .8rem; background: var(--green-bg); color: #056448; font-size: .92rem; font-weight: 700; }
.notice.error { border-color: #f3b8b8; background: #fff0f0; color: #a62929; }
.workspace-grid { display: grid; grid-template-columns: minmax(280px, .74fr) minmax(480px, 1.26fr); gap: 1rem; align-items: start; }
.panel { border: 1px solid rgba(196, 214, 237, 0.86); border-radius: 1.25rem; background: var(--panel); box-shadow: var(--shadow); }
.account-panel { padding: 1.4rem; }
.plan-panel { padding: 1.5rem; overflow: hidden; position: relative; }
.plan-panel::before { content: ""; position: absolute; width: 14rem; height: 14rem; right: -7rem; top: -8rem; border-radius: 50%; background: rgba(38, 191, 234, .09); pointer-events: none; }
.panel-heading { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.panel-heading h2 { margin: 0; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.025em; }
.status-badge, .privacy-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: .3rem .65rem; border-radius: 999px; background: var(--green-bg); color: var(--green); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.status-badge.neutral { background: #eef3f9; color: #64738a; }
.privacy-chip svg { width: 16px; height: 16px; margin-right: .35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.account-copy { margin: 1.35rem 0 1.1rem; color: var(--ink-soft); font-size: .91rem; line-height: 1.6; }

.button { min-height: 46px; border: 1px solid transparent; border-radius: .75rem; padding: .75rem 1rem; cursor: pointer; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(38, 191, 234, .45); outline-offset: 3px; }
.button:disabled { cursor: wait; opacity: .58; }
.button.primary { color: #fff; background: linear-gradient(120deg, var(--blue), var(--blue-bright)); box-shadow: 0 10px 24px rgba(39, 87, 214, .22); }
.button.secondary { border-color: #cbd9ec; color: var(--blue); background: #fff; }
.button.secondary:hover:not(:disabled) { border-color: #8eb4ee; background: #f5f9ff; }
.button.full { width: 100%; }
.google-mark { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; margin-right: .45rem; border-radius: 50%; background: #fff; color: #3567d8; font-size: .78rem; }

.account-loading { display: grid; grid-template-columns: 45px 1fr; gap: .55rem .75rem; align-items: center; margin-top: 1.35rem; }
.skeleton { display: block; border-radius: .45rem; background: linear-gradient(100deg, #edf2f8 20%, #f8fbfe 40%, #edf2f8 60%); background-size: 200% 100%; animation: shimmer 1.35s infinite linear; }
.avatar-skeleton { grid-row: span 2; width: 45px; height: 45px; border-radius: .8rem; }
.text-skeleton { width: 78%; height: .8rem; }
.text-skeleton.short { width: 58%; }
@keyframes shimmer { to { background-position-x: -200%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

.identity-row { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: .75rem; align-items: center; margin-top: 1.35rem; }
.avatar { display: grid; place-items: center; width: 45px; height: 45px; border-radius: .8rem; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); font-size: .78rem; font-weight: 900; }
.identity-copy { min-width: 0; }
.identity-copy strong, .identity-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.identity-copy strong { font-size: .93rem; }
.identity-copy span { margin-top: .22rem; color: var(--ink-soft); font-size: .75rem; }
.account-facts { display: grid; gap: .7rem; margin: 1.25rem 0; }
.account-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-top: 1px solid #e6edf6; }
.account-facts dt { color: var(--ink-soft); font-size: .82rem; }
.account-facts dd { margin: 0; font-size: .82rem; font-weight: 850; text-transform: capitalize; }
.usage-block { margin: 0 0 1.25rem; }
.usage-line { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; color: var(--ink-soft); font-size: .76rem; }
.usage-line strong { color: var(--ink); }
progress { display: block; width: 100%; height: 8px; overflow: hidden; border: 0; border-radius: 999px; background: #e5edf7; }
progress::-webkit-progress-bar { background: #e5edf7; border-radius: 999px; }
progress::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--blue-bright)); }
progress::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--blue-bright)); }

.billing-options { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.4rem; }
.paid-plan { position: relative; margin-top: 1.4rem; padding: 1.1rem; border: 1px solid #bfe4d8; border-radius: 1rem; background: linear-gradient(145deg, #f3fcf8, #fff 68%); }
.paid-plan-hero { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .8rem; align-items: center; }
.paid-plan-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: .85rem; color: #fff; background: linear-gradient(135deg, #0f9b70, #24c99a); box-shadow: 0 9px 20px rgba(15, 155, 112, .2); font-size: 1.1rem; font-weight: 900; }
.paid-plan-hero strong, .paid-plan-hero small { display: block; }
.paid-plan-hero strong { font-size: 1rem; letter-spacing: -.015em; }
.paid-plan-hero small { margin-top: .3rem; color: var(--ink-soft); font-size: .75rem; line-height: 1.45; }
.billing-facts { display: grid; gap: 0; margin: 1rem 0; border-top: 1px solid #dcebe6; }
.billing-facts div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #dcebe6; }
.billing-facts dt { color: var(--ink-soft); font-size: .76rem; }
.billing-facts dd { margin: 0; text-align: right; font-size: .78rem; font-weight: 800; }
.portal-help { max-width: 38rem; margin: .75rem auto 0; color: var(--ink-soft); text-align: center; font-size: .7rem; line-height: 1.5; }
.price-card { display: flex; flex-direction: column; min-height: 250px; padding: 1rem; border: 1px solid #d6e2f1; border-radius: 1rem; background: #fff; }
.price-card.recommended { border-color: #74a6ef; background: linear-gradient(150deg, #f3f8ff, #fff 60%); box-shadow: inset 0 0 0 1px rgba(52, 124, 245, .08); }
.price-topline { min-height: 23px; display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: var(--green); font-size: .66rem; font-weight: 850; letter-spacing: .07em; }
.recommendation { padding: .25rem .45rem; border-radius: 999px; color: #fff; background: var(--blue); }
.price-card h3 { margin: .9rem 0 .25rem; font-size: 1rem; }
.price { display: flex; align-items: baseline; gap: .35rem; margin: 0; }
.price strong { font-size: 2.2rem; line-height: 1.05; letter-spacing: -.055em; }
.price span { color: var(--ink-soft); font-size: .77rem; }
.equivalent { min-height: 3.35rem; margin: .5rem 0 1rem; color: var(--ink-soft); font-size: .75rem; line-height: 1.45; }
.price-card .button { width: 100%; margin-top: auto; }
.business-only { margin: .8rem 0 0; color: var(--ink-soft); text-align: center; font-size: .7rem; line-height: 1.5; }
.business-confirmation { margin: .75rem 0 0; padding: .75rem .85rem; display: flex; align-items: flex-start; gap: .55rem; border: 1px solid #d9e4f1; border-radius: .75rem; color: var(--ink-soft); background: #f8fbff; font-size: .72rem; line-height: 1.45; cursor: pointer; }
.business-confirmation input { flex: 0 0 auto; width: 17px; height: 17px; margin: .05rem 0 0; accent-color: var(--blue); }
.business-confirmation a { color: var(--blue); font-weight: 750; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 0; margin: 1.2rem 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 25px 1fr; gap: .5rem; align-items: start; padding: .65rem; border-radius: .75rem; background: var(--wash); }
.check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-bg); color: var(--green); font-size: .72rem; font-weight: 900; }
.feature-list strong, .feature-list small { display: block; }
.feature-list strong { font-size: .76rem; line-height: 1.35; }
.feature-list small { margin-top: .2rem; color: var(--ink-soft); font-size: .65rem; line-height: 1.45; }
.secure-note { display: flex; align-items: center; gap: .45rem; margin: 0; color: var(--ink-soft); font-size: .7rem; line-height: 1.45; }
.secure-note svg { flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-footer { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(189, 207, 231, .75); color: var(--ink-soft); font-size: .78rem; }
.site-footer > span:last-child { display: flex; flex-wrap: wrap; gap: .55rem 1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
[hidden] { display: none !important; }

@media (max-width: 860px) {
  .account-shell { padding-top: 3rem; }
  .workspace-grid { grid-template-columns: 1fr; }
  .account-panel { order: 0; }
  .plan-panel { order: 1; }
}
@media (max-width: 620px) {
  .site-header { min-height: 66px; }
  .brand span { font-size: .9rem; }
  .brand img { width: 38px; height: 38px; }
  .back-link { font-size: 0; }
  .back-link::after { content: "Home"; font-size: .82rem; }
  .language-nl .back-link::after { content: "Website"; }
  .account-shell { width: min(100% - 1rem, 1120px); padding: 2.2rem 0; }
  .intro h1 { font-size: 2.15rem; }
  .intro > p:last-child { font-size: .94rem; }
  .panel, .account-panel, .plan-panel { border-radius: 1rem; }
  .account-panel, .plan-panel { padding: 1rem; }
  .panel-heading { display: grid; }
  .privacy-chip, .status-badge { justify-self: start; }
  .billing-options { grid-template-columns: 1fr; }
  .paid-plan { padding: .9rem; }
  .billing-facts div { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .billing-facts dd { text-align: left; }
  .price-card { min-height: 245px; }
  .feature-list { grid-template-columns: 1fr; }
  .site-footer { min-height: 100px; flex-direction: column; justify-content: center; align-items: flex-start; }
}
