/* doparagonu.pl - the website. Tokens follow the app (web/src/styles.css). */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400 800; font-display: swap; src: url(fonts/schibsted-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400 800; font-display: swap; src: url(fonts/schibsted-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(fonts/plexmono-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(fonts/plexmono-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/plexmono-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/plexmono-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #F6F4EE;
  --desk: #E4E0D6;
  --ink: #16161A;
  --body: #3D3B37;
  --muted: #5C5A55;
  --line: #DEDAD0;
  --line-strong: #CFCABD;
  --tag: #EFEDE6;
  --accent: #1D47C9;
  --accent-hover: #15359A;
  --accent-soft: #E2E9FB;
  --amber-soft: #FCEBD4;
  --amber-ink: #7A3A06;
  --ok: #1E8A4C;
  --ok-soft: #DDF0E4;
  --ok-ink: #0F5E33;
  --danger: #B42318;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- header --- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.wordmark span { font-weight: 600; color: var(--muted); }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--body); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1.5px solid transparent;
  font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 11px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }

/* --- hero --- */
.hero { padding: 56px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink);
  font-size: 14px; font-weight: 700;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero h1 { margin-top: 20px; font-size: clamp(38px, 5.2vw, 60px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 22px; font-size: 19px; color: var(--body); max-width: 33em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: 16px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 10px; }
.tick {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--ok-soft); color: var(--ok-ink);
}
@media (max-width: 900px) {
  .hero { padding: 32px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* The receipt turning into an invoice: receipt top left, checks below it, the invoice on the right. */
.hero .wrap > * { min-width: 0; }
.scene { position: relative; height: 600px; }
.receipt {
  position: absolute; left: 4px; top: 8px; width: 232px;
  background: #fff; color: #222; padding: 20px 18px 28px;
  font: 500 11px/1.55 var(--mono);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -18px rgba(22, 22, 26, .35);
  transform: rotate(-3deg);
  --zig: 8px;
  -webkit-mask: conic-gradient(from 135deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) var(--zig) repeat-x,
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--zig) + 1px) no-repeat;
  mask: conic-gradient(from 135deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) var(--zig) repeat-x,
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--zig) + 1px) no-repeat;
}
.receipt .c { text-align: center; }
.receipt .b { font-weight: 500; letter-spacing: .02em; }
.receipt .row { display: flex; justify-content: space-between; gap: 10px; }
.receipt .rule { border-top: 1px dashed #999; margin: 8px 0; }
.receipt .sum { font-size: 14px; font-weight: 500; }
.receipt .nip { margin-top: 8px; padding: 3px 6px; margin-inline: -6px; background: #FFF3B0; border-radius: 3px; }
.invoice {
  position: absolute; right: -8px; top: 136px; width: 272px;
  background: #fff; border-radius: 20px; padding: 20px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -24px rgba(22, 22, 26, .45);
  font-size: 14px;
}
.invoice .head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.invoice .num { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.badge-ok { background: var(--ok-soft); color: var(--ok-ink); }
.invoice dl { margin: 16px 0 0; display: grid; gap: 10px; }
.invoice dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.invoice dd { margin: 1px 0 0; font-weight: 600; }
.invoice .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.invoice .total strong { font-size: 22px; letter-spacing: -0.02em; }
.invoice .ksef { margin-top: 12px; font: 500 10.5px/1.4 var(--mono); color: var(--muted); word-break: break-all; }
.chips { position: absolute; left: 0; top: 470px; display: grid; justify-items: start; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 12px 24px -12px rgba(22, 22, 26, .6);
}
.chip svg { color: #7EE0A6; }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: rise .6s both; }
  .chip:nth-child(2) { animation-delay: .15s; }
  .chip:nth-child(3) { animation-delay: .3s; }
  .invoice { animation: rise .7s .45s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } }
}
/* Narrow screens: the same three pieces in a column, the invoice slightly over the receipt's foot. */
@media (max-width: 600px) {
  .scene { height: auto; display: flex; flex-direction: column; }
  .receipt, .invoice, .chips { position: relative; left: auto; right: auto; top: auto; }
  .receipt { align-self: flex-start; margin-left: 6px; }
  .chips { order: 3; margin-top: 18px; display: flex; flex-wrap: wrap; }
  .invoice { align-self: flex-end; width: min(296px, 90%); margin-top: -36px; }
}

/* --- sections --- */
section { padding: 88px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.section-head h2 { margin-top: 10px; font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--body); }
@media (max-width: 760px) { section { padding: 64px 0; } }

/* What changes in 2027. */
.law { background: var(--ink); color: #fff; }
.law .kicker { color: #9DB4F5; }
.law .section-head p { color: #C9C7C1; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 22px; border-radius: 18px; background: #222228; }
.fact .big { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.fact p { margin-top: 10px; color: #D6D4CE; font-size: 15.5px; line-height: 1.5; }
.fact .src { display: block; margin-top: 12px; font: 500 12px/1.4 var(--mono); color: #8E8C86; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* How it works. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: 18px;
}
.step h3 { margin-top: 18px; font-size: 21px; font-weight: 800; }
.step p { margin-top: 10px; color: var(--body); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Features. */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.feature { background: var(--paper); padding: 26px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--tag); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.feature h3 { margin-top: 16px; font-size: 18.5px; font-weight: 750; letter-spacing: -0.015em; }
.feature p { margin-top: 8px; font-size: 15.5px; color: var(--body); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.who { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.who span { padding: 8px 14px; border-radius: 999px; background: var(--tag); font-size: 15px; font-weight: 600; color: var(--body); }

/* Pricing. */
.pricing { background: var(--desk); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; }
.plan { display: flex; flex-direction: column; padding: 30px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); }
.plan.featured { border-color: var(--accent); box-shadow: 0 24px 48px -28px rgba(29, 71, 201, .55); }
.plan .name { display: flex; align-items: center; justify-content: space-between; font-size: 20px; font-weight: 800; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.plan .price strong { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan .year { margin-top: 6px; font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .tick { margin-top: 1px; width: 22px; height: 22px; }
.plan .btn { margin-top: auto; }
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.price-note { margin-top: 22px; font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* Partners. */
.partner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: var(--accent); color: #fff; }
.partner h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.partner p { margin-top: 14px; color: #DCE4FB; font-size: 17px; }
.partner ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-weight: 600; }
.partner li { display: flex; gap: 10px; align-items: flex-start; }
.partner .tick { background: rgba(255, 255, 255, .16); color: #fff; }
.partner .btn { margin-top: 24px; background: #fff; color: var(--accent); }
.partner .btn:hover { background: var(--accent-soft); color: var(--accent-hover); }
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; padding: 28px; gap: 28px; } }

/* Sign-up. */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.signup .section-head { margin-bottom: 0; }
form.card { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span, fieldset legend { font-size: 14.5px; font-weight: 700; }
.field small { font-weight: 500; color: var(--muted); }
input[type=email], input[type=text], select {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: #fff; color: var(--ink); font: 500 16px var(--sans);
}
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.options label {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); font-size: 15px; font-weight: 600; cursor: pointer;
}
.options label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.options input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.form-msg { font-weight: 600; font-size: 15px; }
.form-msg.error { color: var(--danger); }
.done { text-align: center; padding: 20px 8px; }
.done .tick { width: 56px; height: 56px; margin: 0 auto; }
.done h3 { margin-top: 16px; font-size: 24px; font-weight: 800; }
.done p { margin-top: 8px; color: var(--body); }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 420px) { .options { grid-template-columns: 1fr; } form.card { padding: 20px; } }

/* FAQ. */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-size: 18.5px; font-weight: 700; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 500; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--body); display: grid; gap: 10px; }

/* Footer. */
footer { padding: 48px 0 56px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-start; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--body); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--ink); }

/* Text pages (privacy policy). */
.doc { max-width: 760px; padding: 48px 20px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; }
.doc h2 { margin-top: 36px; font-size: 22px; font-weight: 800; }
.doc p, .doc li { color: var(--body); }
.doc p { margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc .meta { margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 420px) { .eyebrow { font-size: 12.5px; padding: 6px 10px; } }
