/* Teori — website (landing, legal, support). System fonts only: no third-party requests. */
:root {
  --blue: #2563eb;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --green: #16a34a;
  --amber: #f59e0b;
  --red: #e11d48;
  --bg: #f4f6fb;
  --card: #ffffff;
  --alt: #eef2fa;
  --text: #0f172a;
  --muted: #5b6b82;
  --line: #e2e8f0;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px rgba(15, 23, 42, .07);
  --hero: linear-gradient(135deg, #2563eb 0%, #4f46e5 52%, #7c3aed 100%);
  --radius: 24px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1e;
    --card: #131a2e;
    --alt: #1a2340;
    --text: #e8edf7;
    --muted: #9aa8bf;
    --line: #243052;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

/* Language: blocks/spans carry lang="da" / lang="en"; the other one is hidden. */
html[data-lang="da"] body [lang="en"],
html[data-lang="en"] body [lang="da"] { display: none !important; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* ── Header ── */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 12px rgba(79, 70, 229, .3); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.langs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--alt); }
.langs button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; cursor: pointer; letter-spacing: .04em;
}
html[data-lang="da"] .langs [data-set-lang="da"],
html[data-lang="en"] .langs [data-set-lang="en"] { background: var(--card); color: var(--text); box-shadow: 0 1px 4px rgba(15, 23, 42, .12); }
@media (max-width: 760px) { .nav { display: none; } .langs { margin-left: auto; } }

/* ── Buttons, chips ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 16px; font-weight: 700; font-size: 16px; border: 0; cursor: pointer;
  background: var(--hero); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .3);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(79, 70, 229, .38); }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 16px;
  background: var(--text); color: var(--bg); min-width: 188px; position: relative;
}
.store:hover { text-decoration: none; }
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store small { display: block; font-size: 11px; opacity: .75; line-height: 1.2; }
.store b { display: block; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.store[aria-disabled="true"] { cursor: default; }
.soon {
  position: absolute; top: -9px; right: -8px; background: var(--amber); color: #111827;
  font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 14px; font-weight: 600; }
.chips span { display: inline-flex; align-items: center; gap: 6px; }
.chips span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--green) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' 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; }

/* ── Hero ── */
.hero { position: relative; padding: 56px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 620px; z-index: -1;
  background: radial-gradient(600px 320px at 78% 30%, rgba(124, 58, 237, .18), transparent 70%),
              radial-gradient(520px 300px at 18% 10%, rgba(37, 99, 235, .14), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--indigo) 12%, transparent); color: var(--indigo);
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: #a5b4fc; } }
.hero h1 { font-size: clamp(40px, 6.2vw, 68px); font-weight: 850; margin: 18px 0 18px; letter-spacing: -.04em; }
.grad { background: var(--hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
}

/* Phone mockup */
.phone-zone { position: relative; display: grid; place-items: center; min-height: 600px; }
.phone {
  width: 300px; height: 612px; border-radius: 48px; padding: 12px; background: #0b1020; position: relative;
  box-shadow: 0 40px 80px rgba(30, 27, 75, .35), inset 0 0 0 2px #2a3150;
  animation: float 7s ease-in-out infinite;
}
.screen { height: 100%; border-radius: 38px; overflow: hidden; background: #f4f6fb; color: #0f172a; padding: 46px 16px 16px; position: relative; font-size: 13px; }
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #0b1020; }
.s-hello { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.s-date { color: #64748b; font-size: 12px; margin-bottom: 12px; }
.s-hero { background: var(--hero); color: #fff; border-radius: 22px; padding: 16px; display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; box-shadow: 0 12px 24px rgba(79, 70, 229, .35); }
.ring { position: relative; width: 92px; height: 92px; }
.ring svg { width: 92px; height: 92px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bg { stroke: rgba(255, 255, 255, .22); }
.ring .fg { stroke: #fff; stroke-linecap: round; stroke-dasharray: 239; stroke-dashoffset: 239; animation: ring 2.2s .4s cubic-bezier(.2, .8, .2, 1) forwards; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 850; letter-spacing: -.03em; }
.s-hero small { display: block; font-size: 9px; letter-spacing: .12em; font-weight: 800; opacity: .8; text-transform: uppercase; }
.s-hero strong { display: block; font-size: 16px; line-height: 1.2; margin: 2px 0 4px; }
.s-hero .s-sub { font-size: 11px; opacity: .85; line-height: 1.35; }
.s-btn { grid-column: 1 / -1; background: #fff; color: var(--indigo); border-radius: 14px; text-align: center; font-weight: 800; padding: 10px; font-size: 14px; }
.s-goal { margin-top: 12px; background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: 0 6px 16px rgba(15, 23, 42, .06); }
.s-goal b { font-size: 13px; }
.bar { height: 8px; border-radius: 99px; background: #eef2fa; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #fbbf24, #f59e0b); animation: grow 1.8s .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.s-card { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 6px 16px rgba(15, 23, 42, .06); }
.s-card .n { font-size: 24px; font-weight: 850; letter-spacing: -.03em; }
.s-card .t { font-weight: 700; font-size: 12px; line-height: 1.25; }
.s-card .d { color: #64748b; font-size: 10px; }
.s-q { margin-top: 12px; background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 6px 16px rgba(15, 23, 42, .06); }
.s-q .t { font-weight: 700; font-size: 12px; margin-bottom: 8px; }
.opt { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 10px; background: #f1f5f9; font-size: 11px; margin-top: 6px; }
.opt i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; }
.opt.ok { background: #dcfce7; animation: pick 6s 2.4s infinite; }
.opt.ok i { border-color: var(--green); background: var(--green) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat; }
.float-chip {
  position: absolute; background: var(--card); color: var(--text); border-radius: 16px; padding: 10px 14px; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; border: 1px solid var(--line);
}
.float-chip .dot { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 15px; }
.phone-wrap { position: relative; }
.chip-a { top: -6px; left: -78px; animation: float 6s 1s ease-in-out infinite; }
.chip-b { bottom: 46px; right: -72px; animation: float 6.5s .2s ease-in-out infinite; }
@media (max-width: 560px) { .chip-a { left: -10px; top: -14px; } .chip-b { right: -10px; } }
@media (max-width: 380px) { .phone { width: 280px; height: 572px; } }

/* ── Sections ── */
section { padding: 72px 0; }
.head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 850; letter-spacing: -.035em; margin: 12px 0 14px; }
.head p { color: var(--muted); font-size: 18px; }

.facts { padding: 8px 0 24px; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact { background: var(--card); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); }
.fact b { display: block; font-size: 30px; font-weight: 850; letter-spacing: -.03em; }
.fact span { color: var(--muted); font-size: 14px; font-weight: 600; }
@media (max-width: 760px) { .facts .wrap { grid-template-columns: repeat(2, 1fr); } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.feature:hover { transform: translateY(-4px); }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.feature .ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }
.c1 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.c2 { background: linear-gradient(135deg, #fb7185, #e11d48); }
.c3 { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.c4 { background: linear-gradient(135deg, #34d399, #059669); }
.c5 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.c6 { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.c7 { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.c8 { background: linear-gradient(135deg, #f472b6, #db2777); }
.c9 { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--hero); color: #fff; font-weight: 850; margin-bottom: 16px;
}
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.prices { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.price {
  background: var(--card); border-radius: 28px; padding: 30px 28px; box-shadow: var(--shadow); width: 100%; max-width: 360px;
  position: relative; border: 2px solid transparent; display: flex; flex-direction: column;
}
.price.hl { border-color: var(--indigo); box-shadow: 0 20px 50px rgba(79, 70, 229, .22); }
.price .badge { position: absolute; top: -13px; left: 28px; background: var(--hero); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.price h3 { font-size: 21px; font-weight: 800; }
.price .desc { color: var(--muted); font-size: 15px; margin-top: 4px; min-height: 48px; }
.price .amount { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 2px; }
.price .amount b { font-size: 46px; font-weight: 850; letter-spacing: -.04em; }
.price .amount s { color: var(--muted); font-size: 18px; }
.price .per { color: var(--muted); font-size: 14px; font-weight: 600; }
.price ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; font-size: 15px; }
.price li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: color-mix(in srgb, var(--green) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' 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; }
.price-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 26px; }
.skeleton { height: 380px; border-radius: 28px; background: linear-gradient(90deg, var(--card), var(--alt), var(--card)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }

/* Schools */
.school {
  background: var(--hero); color: #fff; border-radius: 32px; padding: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center;
  box-shadow: 0 30px 60px rgba(79, 70, 229, .28); position: relative; overflow: hidden;
}
.school::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -80px; top: -120px; background: rgba(255, 255, 255, .1); }
.school h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 850; margin-bottom: 10px; }
.school p { opacity: .9; }
.school .btn { background: #fff; color: var(--indigo); box-shadow: none; position: relative; z-index: 1; }
@media (max-width: 760px) { .school { grid-template-columns: 1fr; padding: 30px; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* Footer */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 600; font-size: 15px; }
footer nav a { color: var(--muted); }
footer .fine { color: var(--muted); font-size: 13px; width: 100%; }

/* ── Documents (privacy, terms, support) ── */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 20px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); font-weight: 850; letter-spacing: -.035em; margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.doc .intro { font-size: 19px; margin-bottom: 8px; }
.doc h2 { font-size: 23px; font-weight: 800; margin: 38px 0 12px; letter-spacing: -.02em; }
.doc h3 { font-size: 18px; font-weight: 750; margin: 22px 0 6px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.doc .box { background: var(--card); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); margin: 18px 0; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--alt); }
.doc tr:last-child td { border-bottom: 0; }
mark.todo { background: #fef3c7; color: #92400e; border-radius: 6px; padding: 0 5px; font-weight: 600; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 6px; }
.toc a { background: var(--card); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow); }
.toc a:hover { color: var(--text); text-decoration: none; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.cards .box { margin: 0; }
.cards h3 { margin-top: 0; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.mailto { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }

/* ── Motion ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ring { to { stroke-dashoffset: 31; } }
@keyframes grow { to { width: 80%; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pick { 0%, 8% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 30%, 100% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
