@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/sg-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: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/sg-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/assets/jb-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: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/assets/jb-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #F4F6F5; --surface: #FFFFFF; --ink: #0F1F1A; --muted: #56655F; --line: #D5DCD9; --alt: #E9EEEC;
  --gold: #B8862B; --gold-bright: #D9A441; --teal: #0B7A65; --alert: #B4412F;
  --night: #0F1F1A; --night-2: #17292390; --night-ink: #E8EEEB; --night-muted: #A3B2AC; --night-line: #263A33;
  --receipt: #FCFCF8; --receipt-ink: #1B2622; --receipt-muted: #6A746F;
  --sans: 'Schibsted Grotesk', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0C1512; --surface: #131F1B; --ink: #E8EEEB; --muted: #94A39E; --line: #26352F; --alt: #111C18; --gold: #D9A441; --teal: #45BFA3; --alert: #E58470; --night: #08100E; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-block-start: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }
.wrap { inline-size: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; background: var(--gold-bright); color: #0F1F1A; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { inset-block-start: 12px; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; font-weight: 650; letter-spacing: -.025em; max-inline-size: 22ch; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.lead { font-size: 19px; color: var(--muted); max-inline-size: 60ch; margin-block-start: 16px; text-wrap: pretty; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border-radius: 9px; font-weight: 650; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn-gold { background: var(--gold-bright); color: #0F1F1A; }
.btn-gold:hover { background: #E6B552; }
.btn-ghost { border-color: var(--night-line); color: var(--night-ink); }
.btn-ghost:hover { border-color: var(--night-muted); }
.btn-big { padding: 14px 22px; font-size: 17px; }

/* Header */
.top { background: var(--night); color: var(--night-ink); }
.top-row { display: flex; align-items: center; gap: 28px; padding-block: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; text-decoration: none; }
.top-nav { display: flex; gap: 26px; margin-inline-start: 12px; }
.top-nav a, .top-signin { text-decoration: none; color: var(--night-muted); font-size: 16px; font-weight: 500; }
.top-nav a:hover, .top-signin:hover { color: #fff; }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; padding: 6px 10px; border: 1px solid var(--night-line); border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--night-muted); }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary, .lang summary:hover { color: #fff; border-color: var(--night-muted); }
.lang ul { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 8px); z-index: 5; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-inline-size: 260px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.lang a { display: block; padding: 8px 12px; border-radius: 7px; text-decoration: none; font-size: 15px; }
.lang a:hover { background: var(--alt); }
.lang a[aria-current] { font-weight: 700; color: var(--teal); }

/* Hero */
.hero { background: var(--night); color: var(--night-ink); padding-block: 56px 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.3vw, 84px); line-height: .98; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.hero-text { font-size: clamp(18px, 1.6vw, 21px); color: var(--night-muted); max-inline-size: 54ch; margin-block-start: 26px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 34px; }
.hero-note { margin-block-start: 14px; color: var(--night-muted); font-size: 15px; }
.hero-small { padding-block: 80px 110px; }
.hero-small h1 { font-size: clamp(34px, 4.6vw, 56px); }
.hero-small p { margin-block-start: 24px; }
.hero-demo { position: relative; padding-block-end: 20px; font-family: var(--mono); font-size: 14px; }
.demo-label { font-family: var(--sans); font-size: 13px; font-weight: 600; margin-block-end: 10px; }
.term { background: #16261F; border: 1px solid var(--night-line); border-radius: 12px; padding: 18px 20px 54px; color: #CFE0D9; }
.term .demo-label { color: var(--night-muted); }
.term pre { font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.term b { color: var(--gold-bright); }
.receipt {
  background: var(--receipt); color: var(--receipt-ink); padding: 18px 20px 30px; margin: -36px 0 0 12%; position: relative; transform: rotate(1.4deg); transform-origin: top left;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4); --tooth: 9px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--tooth)) var(--tooth) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--tooth)) var(--tooth) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat;
  animation: print 1.1s cubic-bezier(.2, .7, .2, 1) .35s both;
}
@keyframes print { from { clip-path: inset(0 0 100% 0); translate: 0 -14px; } to { clip-path: inset(0 0 0 0); translate: 0 0; } }
.receipt .demo-label { color: var(--receipt-muted); }
.receipt-line { display: grid; grid-template-columns: auto minmax(16px, 1fr) auto; gap: 8px; align-items: baseline; padding-block: 7px; border-block-end: 1px dashed #C9CEC6; }
.receipt-line i { border-block-end: 1px dotted var(--receipt-muted); translate: 0 -4px; }
.receipt-line span:first-child { color: var(--receipt-muted); }
.receipt-total { border-block-end: 0; border-block-start: 2px solid var(--receipt-ink); margin-block-start: 8px; padding-block-start: 11px; font-weight: 700; font-size: 16px; }
.receipt-total span:first-child { color: var(--receipt-ink); }

/* Sections */
.section { padding-block: 96px; }
.section-alt { background: var(--alt); }
.section-dark { background: var(--night); color: var(--night-ink); }
.section-dark .lead { color: var(--night-muted); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-block-start: 48px; border-block-start: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 26px 28px 0 0; }
.steps li + li { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--gold); display: block; margin-block-end: 18px; }
.steps p, .features dd { color: var(--muted); margin-block-start: 8px; text-wrap: pretty; }

.compare { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.compare-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-cols > div { padding: 26px; border-radius: 14px; }
.compare-cols h3 { margin-block-end: 16px; }
.compare-cols li { padding: 11px 0 11px 26px; position: relative; border-block-start: 1px solid var(--line); font-size: 16px; }
.compare-old { border: 1px dashed var(--line); color: var(--muted); }
.compare-old li::before { content: '×'; position: absolute; inset-inline-start: 2px; color: var(--alert); font-weight: 700; }
.compare-new { background: var(--night); color: var(--night-ink); }
.compare-new li { border-color: var(--night-line); }
.compare-new li::before { content: ''; position: absolute; inset-inline-start: 3px; inset-block-start: 1.15em; inline-size: 9px; block-size: 9px; border-radius: 2px; background: var(--gold-bright); }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; margin-block-start: 44px; }
.feature { padding-block: 24px; border-block-start: 1px solid var(--line); }
.features dt { font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.features dd { max-inline-size: 52ch; }

/* API */
.api-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-block-start: 44px; align-items: start; }
.api-grid h3 { margin-block-end: 14px; }
.code { background: #16261F; border: 1px solid var(--night-line); border-radius: 12px; padding: 18px 20px; color: #D5E4DE; font: 400 13.5px/1.65 var(--mono); overflow-x: auto; tab-size: 2; }
.code code { font: inherit; }
.code-note { margin-block-start: 12px; color: var(--night-muted); font-size: 15px; }
.code-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.code-row { display: flex; flex-wrap: wrap; gap: 4px; margin-block-end: 10px; }
.code-row label { padding: 6px 13px; border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--night-muted); border: 1px solid transparent; }
.code-row label:hover { color: #fff; }
.code-panel { display: none; }
#code-0:checked ~ .code-0, #code-1:checked ~ .code-1, #code-2:checked ~ .code-2, #code-3:checked ~ .code-3, #code-4:checked ~ .code-4 { display: block; }
#code-0:checked ~ .code-row label[for='code-0'], #code-1:checked ~ .code-row label[for='code-1'], #code-2:checked ~ .code-row label[for='code-2'], #code-3:checked ~ .code-row label[for='code-3'], #code-4:checked ~ .code-row label[for='code-4'] { background: var(--gold-bright); color: #0F1F1A; }
#code-0:focus-visible ~ .code-row label[for='code-0'], #code-1:focus-visible ~ .code-row label[for='code-1'], #code-2:focus-visible ~ .code-row label[for='code-2'], #code-3:focus-visible ~ .code-row label[for='code-3'], #code-4:focus-visible ~ .code-row label[for='code-4'] { outline: 2px solid #fff; outline-offset: 2px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-block-start: 44px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
.plan-pick { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.plan-for { color: var(--muted); font-size: 15px; margin-block-start: 2px; }
.plan-price { margin-block-start: 22px; }
.plan-price b { font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.plan-price span { color: var(--muted); font-size: 15px; }
.plan-credits { margin-block-start: 14px; font-weight: 650; color: var(--teal); }
.plan-unit { font-size: 14px; color: var(--muted); }
.plan ul { margin-block-start: 18px; border-block-start: 1px solid var(--line); padding-block-start: 16px; display: grid; gap: 9px; font-size: 15px; }
.plans-note { margin-block-start: 22px; color: var(--muted); }
.plans-note a { color: var(--teal); font-weight: 650; }
.rules { margin-block-start: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 28px; border-block-start: 2px solid var(--ink); padding-block-start: 24px; }
.rules ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq details { border-block-start: 1px solid var(--line); }
.faq details:last-child { border-block-end: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 36px 20px 0; font-size: 19px; font-weight: 650; letter-spacing: -.01em; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; inset-inline-end: 4px; inset-block-start: 16px; font-size: 24px; font-weight: 400; color: var(--gold); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding-block-end: 22px; color: var(--muted); max-inline-size: 62ch; }

.legal { max-inline-size: 760px; }
.legal address { font-style: normal; font-size: 19px; margin-block: 16px 32px; }
.legal dl { border-block-start: 2px solid var(--ink); }
.legal dl div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; padding-block: 16px; border-block-end: 1px solid var(--line); }
.legal dt { font-weight: 650; }
.legal dd { color: var(--muted); }
.legal a { color: var(--teal); }
.legal-text h2 { font-size: 22px; letter-spacing: -.01em; max-inline-size: none; margin-block: 40px 12px; }
.legal-text p, .legal-text ul { margin-block: 12px; max-inline-size: 72ch; }
.legal-text ul { padding-inline-start: 22px; list-style: disc; display: grid; gap: 8px; }
.legal-text code { font-family: var(--mono); font-size: .9em; }
.legal-stand { color: var(--muted); font-size: 15px; }
.legal-text .note { border-inline-start: 3px solid var(--gold-bright); background: var(--alt); padding: 12px 16px; border-radius: 0 8px 8px 0; }
.legal-basis { margin-block-start: 22px; font-size: 14px; color: var(--muted); }
.foot-legal a { margin-inline-start: 10px; text-decoration: underline; }
@media (max-width: 640px) { .legal dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.how-figure { margin: 48px 0 0; }
.how-figure img { display: block; inline-size: 100%; block-size: auto; max-inline-size: 960px; }
.uses { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-block-start: 40px; }
.uses li { padding-block: 22px; border-block-start: 1px solid var(--line); }
.uses p { color: var(--muted); margin-block-start: 8px; text-wrap: pretty; }
.uses-note { margin-block-start: 26px; color: var(--muted); font-size: 15px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--night-muted); margin-block-end: 14px; }
.crumbs a { color: var(--night-muted); }
.crumbs a:hover { color: #fff; }

/* Closing call and footer */
.cta { background: var(--gold-bright); color: #0F1F1A; padding-block: 80px; }
.cta h2 { max-inline-size: 18ch; }
.cta p { font-size: 19px; margin-block: 14px 28px; }
.cta .btn-gold { background: #0F1F1A; color: #fff; }
.cta .btn-gold:hover { background: #1C312B; }
.foot { background: var(--night); color: var(--night-muted); padding-block: 56px 28px; font-size: 15px; }
.foot-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2fr); gap: 40px; }
.foot .logo { color: var(--night-ink); margin-block-end: 12px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links { display: grid; gap: 8px; }
.foot-legal { margin-block-start: 40px; padding-block-start: 20px; border-block-start: 1px solid var(--night-line); font-size: 14px; }

@media (max-width: 980px) {
  .hero { padding-block: 36px 72px; }
  .hero-grid, .compare, .api-grid, .faq { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .plans, .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-nav { display: none; }
  .section { padding-block: 68px; }
  .rules { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .foot-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { inline-size: calc(100% - 32px); }
  .top-row { gap: 12px; padding-block: 14px; }
  .top-signin { display: none; }
  .top-actions { gap: 10px; }
  .steps, .features, .compare-cols, .plans, .rules ul, .uses { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 22px 0; border-inline-start: 0; }
  .steps li + li { border-block-start: 1px solid var(--line); }
  .btn-big { inline-size: 100%; }
  .receipt { margin-inline-start: 6%; }
  .hero-demo { font-size: 13px; }
  .lang ul { min-inline-size: 230px; }
}
@media (max-width: 480px) {
  .top .logo span { display: none; }
  .top .btn { padding-inline: 12px; font-size: 15px; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 42px); overflow-wrap: anywhere; }
  h2 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .receipt { animation: none; } }
