/* Notizy brandpage, 12 September 2026. Font licenses: /assets/brand/*-OFL.txt. */
@font-face{font-family:"Manrope";src:url("../assets/brand/manrope-normal.woff2") format("woff2");font-style:normal;font-weight:400 700;font-display:swap;}
@font-face{font-family:"Newsreader";src:url("../assets/brand/newsreader-normal.woff2") format("woff2");font-style:normal;font-weight:400 500;font-display:swap;}
@font-face{font-family:"Newsreader";src:url("../assets/brand/newsreader-italic.woff2") format("woff2");font-style:italic;font-weight:400;font-display:swap;}

:root {
  --notizy-paper: #F5F3EB;
  --notizy-brand: #08423A;
  --notizy-ink: #1C302B;
  --notizy-sage: #DFE8DC;
  --notizy-lime: #E7EDBF;
  --notizy-clay: #EEDDD2;
  --notizy-white: #FFFFFF;
  --notizy-brand-hover: #06352F;
  --notizy-muted: #596A63;
  --notizy-line: #CCD5CC;
  --notizy-control-border: #72877B;
  --notizy-error: #9C3F34;
  --notizy-error-surface: #F9ECE8;
  --notizy-rule: #08423A24;
  --notizy-font-display: "Newsreader", Georgia, serif;
  --notizy-font-body: "Manrope", Arial, sans-serif;
  --notizy-content-width: 1200px;
  --notizy-radius-control: 8px;
  --notizy-radius-card: 16px;
  --notizy-radius-large: 24px;
  --notizy-radius-feature: 28px 64px 28px 28px;
  --notizy-radius-photo: 112px 28px 112px 28px;
  --notizy-space-section: clamp(48px, 6vw, 80px);
  --notizy-space-related: clamp(16px, 2vw, 24px);
  --notizy-duration-quick: 180ms;
  --notizy-duration-ui: 280ms;
  --notizy-duration-reveal: 640ms;
  --notizy-ease-ui: cubic-bezier(0.2, 0.7, 0.3, 1);
  --notizy-ease-settle: cubic-bezier(0.22, 1, 0.36, 1);
  --notizy-shadow-rest: 0 2px 3px #08423a05, 0 12px 28px -18px #08423a28;
  --notizy-shadow-raised: 0 3px 5px #08423a08, 0 18px 36px -20px #08423a38;
  --notizy-space-4: 4px;
  --notizy-space-8: 8px;
  --notizy-space-12: 12px;
  --notizy-space-16: 16px;
  --notizy-space-24: 24px;
  --notizy-space-32: 32px;
  --notizy-space-48: 48px;
  --notizy-space-64: 64px;
  --notizy-space-96: 96px;
}


/* Shared, deliberately compact application of the website brand. */
.notizy-theme {
    margin: 0;
    min-height: 100vh;
    padding: 24px 40px 0;
    background: radial-gradient(ellipse 70% 650px at 100% 0, #dfe8dc80, transparent 75%), var(--notizy-paper);
    color: var(--notizy-ink);
    font: 400 1rem/1.7 var(--notizy-font-body);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: anywhere;
}
.notizy-theme *, .notizy-theme *::before, .notizy-theme *::after { box-sizing: border-box; }
.notizy-theme a { color: var(--notizy-brand); text-underline-offset: 4px; }
.notizy-theme a:hover { text-decoration-thickness: 2px; }
.notizy-theme :is(button, input, select, textarea) { font: inherit; }
.notizy-theme :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--notizy-brand);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px var(--notizy-paper);
}
.notizy-theme h1, .notizy-theme h2, .notizy-theme h3 {
    font-family: var(--notizy-font-display);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.028em;
    text-wrap: balance;
    color: var(--notizy-ink);
}
.notizy-theme h1 { font-size: clamp(2.25rem, 2rem + 1vw, 3rem); margin: 0 0 16px; }
.notizy-theme h1 em { color: var(--notizy-brand); }
.notizy-theme h2 { font-size: 2rem; margin: 0 0 24px; }
.notizy-theme h3 { font-size: 1.5rem; margin: 0 0 16px; }
.notizy-theme p { margin: 0 0 20px; }
.notizy-theme strong { font-weight: 600; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 1100; padding: 12px 20px; background: var(--notizy-white); }
.skip-link:focus { top: 12px; }
.portal-header {
    max-width: 1200px;
    min-height: 88px;
    padding: 12px 24px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--notizy-rule);
    border-radius: 20px;
    background: linear-gradient(110deg, #fbfaf5f5, #eff3e8f2);
    box-shadow: var(--notizy-shadow-rest);
}
.portal-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.portal-brand img { display: block; object-fit: contain; }
.brand-symbol { width: 56px; height: 56px; }
.brand-wordmark { width: 96px; height: auto; }
.portal-label { border-left: 1px solid var(--notizy-line); padding-left: 24px; color: var(--notizy-muted); font-size: .875rem; }
.portal-nav { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.portal-nav a { font-size: .875rem; font-weight: 600; text-decoration: none; padding-block: 10px; }
.portal-nav a:hover { text-decoration: underline; }
.portal-nav a span { margin-left: 6px; }
.page-shell { max-width: 1200px; margin: auto; }
.container {
    width: 100%;
    max-width: 600px;
    margin: 48px auto;
    padding: 40px;
    background: var(--notizy-white);
    border: 1px solid var(--notizy-line);
    border-radius: var(--notizy-radius-feature);
    box-shadow: var(--notizy-shadow-rest);
}
.eyebrow { color: var(--notizy-brand); font-size: .875rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.notizy-theme .eyebrow { margin-bottom: 16px; }
.intro-copy { color: var(--notizy-muted); }
.meta-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.meta-strip span, .status-badge, .discount-badge {
    display: inline-flex; align-items: center;
    background: var(--notizy-sage); color: var(--notizy-brand);
    border-radius: 999px; padding: 4px 11px;
    font-size: .875rem; line-height: 1.5; font-weight: 600;
}
.registration-steps { display: flex; gap: 24px; list-style: none; padding: 20px 0; margin: 24px 0; border-block: 1px solid var(--notizy-line); }
.registration-steps li { display: flex; align-items: center; gap: 8px; color: var(--notizy-muted); font-size: .875rem; }
.registration-steps li[aria-current] { color: var(--notizy-brand); font-weight: 600; }
.step-number { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--notizy-paper); font-size: .75rem; }
[aria-current] .step-number { background: var(--notizy-brand); color: var(--notizy-white); }
.notizy-theme form { margin: 0; }
.notizy-theme label { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 600; }
.notizy-theme input:is([type='email'], [type='text'], [type='password']), .notizy-theme select, .notizy-theme textarea {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 13px 16px;
    margin-bottom: 24px;
    border: 1px solid var(--notizy-control-border);
    border-radius: var(--notizy-radius-control);
    background: var(--notizy-white);
    color: var(--notizy-ink);
    transition: border-color 180ms ease;
}
.notizy-theme textarea { resize: vertical; }
.notizy-theme input::placeholder, .notizy-theme textarea::placeholder { color: var(--notizy-muted); opacity: 1; }
.notizy-theme input[readonly] { background: var(--notizy-paper); color: var(--notizy-muted); }
.notizy-theme input:is([type='checkbox'], [type='radio']) { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--notizy-brand); }
.notizy-theme :is(.button, .danger-button, .action-button, .secondary-action, .download-btn),
.notizy-theme input[type='submit'] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    max-width: 100%;
    padding: 15px 23px;
    border: 1px solid var(--notizy-brand);
    border-radius: var(--notizy-radius-control);
    background: var(--notizy-brand);
    color: var(--notizy-white);
    font: 600 .875rem/1.5 var(--notizy-font-body);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--notizy-shadow-rest);
    transition: background-color 280ms var(--notizy-ease-ui), transform 280ms var(--notizy-ease-ui), box-shadow 280ms var(--notizy-ease-ui);
}
.notizy-theme input[type='submit'] { display: block; width: 100%; white-space: normal; }
.notizy-theme :is(.action-button, .secondary-action) { background: transparent; color: var(--notizy-brand); border-color: var(--notizy-control-border); box-shadow: none; }
.notizy-theme :is(.action-button, .download-btn) { min-height: 48px; padding: 12px 16px; }
.notizy-theme .secondary-action { width: 100%; margin-bottom: 24px; }
.notizy-theme .danger-button { background: var(--notizy-error); border-color: var(--notizy-error); }
.notizy-theme .action-danger { color: var(--notizy-error); border-color: var(--notizy-error); }
.notizy-theme :is(.text-button, .edit-button) { background: transparent; border: 0; padding: 10px 4px; color: var(--notizy-brand); font-size: .875rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.notizy-theme :is(button, input):disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
    .notizy-theme :is(.button, input[type='submit'], .download-btn):hover:not(:disabled) { background: var(--notizy-brand-hover); transform: translateY(-1px); box-shadow: var(--notizy-shadow-raised); }
    .notizy-theme :is(.action-button, .secondary-action):hover:not(:disabled) { background: var(--notizy-sage); transform: translateY(-1px); }
    .notizy-theme .danger-button:hover:not(:disabled) { background: #81342B; }
    .notizy-theme .action-danger:hover { background: var(--notizy-error-surface); }
    .notizy-theme .actions .button:hover:not(:disabled) { background: var(--notizy-sage); color: var(--notizy-brand); }
}
.notizy-theme .checkbox-label, .notizy-theme .invoice-delivery-checkbox { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; cursor: pointer; }
.checkbox-label input, .invoice-delivery-checkbox input { margin: 0; }
.company-fields { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--notizy-line); }
.postal-city-container { display: grid; grid-template-columns: 2fr 3fr; gap: 16px; margin-bottom: 24px; }
.postal-city-container > * { min-width: 0; }
.notizy-theme .postal-city-container input { margin-bottom: 8px; }
.postcode-feedback, .vat-feedback, .field-hint, .invoice-delivery-help, .history-intro, .cancel-submit-hint { font-size: .875rem; color: var(--notizy-muted); }
.field-hint, .invoice-delivery-help { margin-top: -12px !important; }
.postcode-valid { color: var(--notizy-brand); }
.postcode-invalid { color: var(--notizy-error); }
.activation-code-field.is-collapsed { display: none; }
.error, .message { padding: 16px; border-radius: var(--notizy-radius-control); border: 1px solid; margin-bottom: 24px; }
.error { color: var(--notizy-error); background: var(--notizy-error-surface); border-color: var(--notizy-error); }
.message { color: var(--notizy-brand); background: var(--notizy-sage); border-color: var(--notizy-control-border); }
.price-info, .license-info { background: var(--notizy-sage); padding: 24px; border: 1px solid var(--notizy-rule); border-radius: var(--notizy-radius-card); margin-bottom: 24px; }
.price-info p, .license-info p { margin: 0 0 8px; }
.price-info p:last-child, .license-info p:last-child { margin-bottom: 0; }
.billing-options { display: grid; gap: 12px; margin-bottom: 24px; }
.notizy-theme .billing-options-title { margin: 0; font-size: .875rem; font-weight: 600; }
.notizy-theme .billing-option { display: flex; align-items: center; gap: 12px; border: 1px solid var(--notizy-control-border); padding: 16px; border-radius: var(--notizy-radius-control); cursor: pointer; margin: 0; }
.billing-option:has(input:checked) { background: var(--notizy-sage); border-color: var(--notizy-brand); }
.billing-option input { margin: 0; }
.billing-option-content { min-width: 0; }
.billing-option-content > strong { display: block; margin-bottom: 8px; }
.price-comparison { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.regular-price { color: var(--notizy-muted); text-decoration: line-through; }
.discounted-price, .current-price { color: var(--notizy-brand); font-size: 1.125rem; font-weight: 600; }
.discount-badge { background: var(--notizy-lime); }
.price-period { color: var(--notizy-muted); font-weight: 400; }
.terms-container { margin: 24px 0; }
.terms-checkbox { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.terms-checkbox input { margin: 4px 0 0; }
.terms-checkbox label { font-weight: 400; margin: 0; }
.status-message { color: var(--notizy-brand); }
.contact-support, .portal-info { margin-top: 24px; }
.contact-support p:last-child, .portal-info p:last-child { margin-bottom: 0; }
.portal-footer { max-width: 1200px; margin: 0 auto; padding: 24px 0; border-top: 1px solid var(--notizy-line); display: flex; justify-content: space-between; gap: 24px; color: var(--notizy-muted); font-size: .875rem; }
.portal-footer a { color: inherit; }

/* Account overview, payment history and related dialogs. */
.dashboard-container { max-width: 1120px; padding: 0; background: transparent; border: none; border-radius: 0; box-shadow: none; }
.dashboard-container > h1 { margin-bottom: 32px; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.dashboard-section { min-width: 0; padding: 28px; border: 1px solid var(--notizy-line); border-radius: var(--notizy-radius-card); background: var(--notizy-white); box-shadow: var(--notizy-shadow-rest); }
.dashboard-section:nth-child(2) { background: var(--notizy-sage); border-radius: var(--notizy-radius-feature); }
.dashboard-section-wide { grid-column: 1 / -1; }
.dashboard-section > p:last-child { color: var(--notizy-muted); margin-bottom: 0; }
.info-grid { display: grid; gap: 20px; }
.notizy-theme .info-item label, .notizy-theme .company-info-item label { color: var(--notizy-muted); font-weight: 400; margin-bottom: 4px; }
.info-item p, .company-info-item p { font-weight: 600; margin: 0; }
.company-details { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--notizy-line); }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-header h3 { margin: 0; }
.company-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.company-info-item { min-width: 0; }
.subscription-details + .subscription-details { border-top: 1px solid var(--notizy-control-border); padding-top: 24px; }
.subscription-details p { margin-bottom: 12px; }
.subscription-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--notizy-control-border); }
.separator { display: none; }
.history-item { border-top: 1px solid var(--notizy-line); padding-top: 16px; margin-top: 16px; }
.actions { display: flex; justify-content: flex-end; gap: 16px; margin-top: 24px; }
.actions .button { background: transparent; color: var(--notizy-brand); }
.payments-list, .invoices-list { border: 1px solid var(--notizy-line); border-radius: var(--notizy-radius-control); overflow: hidden; }
.payment-item { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--notizy-line); font-size: .875rem; }
.payment-item:last-child, .invoice-item:last-child { border-bottom: none; }
.payment-amount { text-align: center; font-variant-numeric: tabular-nums; }
.payment-status { text-align: right; }
.invoices-header, .invoice-item { display: grid; grid-template-columns: 1fr 1.15fr .85fr 1fr 1fr; gap: 16px; align-items: center; padding: 16px 20px; font-size: .875rem; }
.invoices-header { background: var(--notizy-paper); font-weight: 600; color: var(--notizy-muted); }
.invoice-item { border-bottom: 1px solid var(--notizy-line); }
.invoice-item > * { min-width: 0; }
.invoice-amount { font-variant-numeric: tabular-nums; }
.invoice-status { color: var(--notizy-brand); }
.invoice-action { text-align: right; }
.invoice-delivery-settings { background: var(--notizy-paper); padding: 24px; border-radius: var(--notizy-radius-card); margin-bottom: 24px; }
.invoice-delivery-form { max-width: 640px; }
.no-invoices { padding: 24px; background: var(--notizy-paper); border-radius: var(--notizy-radius-card); color: var(--notizy-muted); }
.no-invoices p:last-child { margin-bottom: 0; }
.no-invoices .sub-text { font-size: .875rem; }
.modal { display: none; position: fixed; inset: 0; padding: 24px; background: #1c302b80; align-items: center; justify-content: center; z-index: 1000; }
.modal-content { width: 100%; max-width: 560px; max-height: calc(100dvh - 48px); overflow-y: auto; padding: 32px; border: 1px solid var(--notizy-line); border-radius: var(--notizy-radius-large); background: var(--notizy-white); box-shadow: var(--notizy-shadow-raised); }
.modal-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.billing-interval-options { margin-block: 20px; }
.billing-interval-options label { padding: 12px; border: 1px solid var(--notizy-control-border); border-radius: var(--notizy-radius-control); cursor: pointer; }
.billing-interval-options label:has(input:checked) { background: var(--notizy-sage); border-color: var(--notizy-brand); }
.restart-summary { margin-top: 16px; padding: 16px; background: var(--notizy-paper); border-radius: var(--notizy-radius-control); }
.restart-summary p { margin-bottom: 8px; }
.restart-summary p:last-child { margin-bottom: 0; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 16px; font-size: .875rem; font-weight: 600; }
.cancel-alternatives { margin-block: 32px; }
.alternative-card { padding: 24px; margin-bottom: 16px; background: var(--notizy-sage); border: 1px solid var(--notizy-line); border-radius: var(--notizy-radius-card); }
.alternative-title { font-weight: 600; }
.cancel-consequences { padding: 24px; margin-block: 24px; background: var(--notizy-clay); border-radius: var(--notizy-radius-card); }
.cancel-consequences p { margin-bottom: 8px; font-weight: 600; }
.cancel-consequences ul { padding-left: 20px; margin: 0; }
.cancel-page-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.cancel-submit-hint { width: 100%; margin: 0; }

@media (max-width: 900px) {
    .portal-label { display: none; }
    .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .notizy-theme { padding: 12px 20px 0; }
    .portal-header { min-height: 76px; padding: 10px 12px; gap: 12px; border-radius: 16px; }
    .brand-symbol { width: 46px; height: 46px; }
    .brand-wordmark { width: 83px; }
    .portal-brand { gap: 8px; }
    .portal-nav { gap: 0; }
    .portal-nav .website-link { display: none; }
    .portal-nav a { font-size: .8125rem; }
    .container { margin-block: 32px; padding: 28px 24px; border-radius: 20px 36px 20px 20px; }
    .notizy-theme h1 { font-size: 2.25rem; }
    .notizy-theme h2 { font-size: 1.875rem; }
    .registration-steps { gap: 12px; }
    .registration-steps li { gap: 6px; font-size: .8125rem; }
    .step-number { min-width: 24px; height: 24px; }
    .meta-strip { gap: 6px; }
    .meta-strip span { font-size: .75rem; }
    .postal-city-container, .company-info { grid-template-columns: 1fr; }
    .dashboard-container { padding: 0; }
    .dashboard-section { padding: 24px 20px; }
    .dashboard-section:nth-child(2) { border-radius: 20px 36px 20px 20px; }
    .invoices-header { display: none; }
    .invoice-item { grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; }
    .invoice-item [data-label]::before { content: attr(data-label); display: block; color: var(--notizy-muted); font-size: .75rem; margin-bottom: 4px; }
    .invoice-action { grid-column: 1 / -1; text-align: left; }
    .payment-item { padding: 14px 12px; gap: 8px; }
    .invoice-delivery-settings, .alternative-card, .cancel-consequences, .price-info { padding: 20px; }
    .portal-footer { flex-direction: column; gap: 8px; font-size: .8125rem; }
    .modal { padding: 16px; }
    .modal-content { max-height: calc(100dvh - 32px); padding: 24px; }
    .modal-buttons { flex-direction: column; align-items: stretch; }
    .cancel-page-actions > :is(.button, .danger-button) { width: 100%; }
}
@media (max-width: 380px) {
    .portal-header { flex-wrap: wrap; }
    .portal-nav { margin-left: 0; width: 100%; }
    .container { padding: 24px 20px; }
    .registration-steps { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .notizy-theme *, .notizy-theme *::before, .notizy-theme *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .notizy-theme :is(a, button, input):is(:hover, :active) { transform: none !important; }
}
.price-note { color: var(--notizy-brand); }
.impersonation-banner { max-width: 1200px; margin: 20px auto 0; padding: 16px 20px; border: 1px solid var(--notizy-control-border); background: var(--notizy-clay); border-radius: var(--notizy-radius-control); font-size: .875rem; }
.impersonation-banner a { display: inline-block; margin-left: 16px; font-weight: 600; }
