/* OSEC public pages: one look for the home page, the download page, the invitation page and the two text pages. */
@font-face { font-family: Figtree; src: url(/fonts/Figtree-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree-Medium.ttf); font-weight: 500; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree-SemiBold.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree-ExtraBold.ttf); font-weight: 800; font-display: swap; }
:root {
  color-scheme: light dark;
  --navy: #1E3A5F; --deep: #10223C; --gold: #B8902B; --sun: #F1D98A;
  --paper: #FAF7F2; --card: #FFFFFF; --ink: #17202E; --muted: #5B6777; --line: #E4DED3; --head: #1E3A5F; --link: #1E3A5F;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0E1622; --card: #162233; --ink: #E9EDF3; --muted: #A5B1C2; --line: #26364B; --head: #FFFFFF; --link: #F1D98A; --gold: #D9B44F; }
}
[hidden] { display:none !important; }
@view-transition { navigation: auto; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--paper); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
[data-l] { display: none; }
html[lang=om] [data-l=om], html[lang=nb] [data-l=nb], html[lang=en] [data-l=en] { display: revert; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.015em; margin: 0 0 16px; color: var(--head); }

/* ---------- top bar ---------- */
.top .wrap { display: flex; align-items: center; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 800; font-size: 22px; letter-spacing: .01em; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 2px; }
.langs { display: flex; gap: 2px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 4px; }
.langs button { font: inherit; font-size: 15px; font-weight: 600; color: #DCE4EF; background: none; border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.langs button[aria-pressed=true] { background: #fff; color: #1E3A5F; }
.top :focus-visible, .hero :focus-visible, .band :focus-visible { outline-color: var(--sun); }
.top.over { position: absolute; inset: 0 0 auto 0; z-index: 2; }
.top.bar { background: #1E3A5F; }

/* ---------- store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: #fff; color: #10223C; border-radius: 14px; padding: 12px 20px 12px 16px; font-weight: 600; line-height: 1.15; }
.store small { display: block; font-size: 12px; font-weight: 500; color: #5B6777; }
.store svg { width: 28px; height: 28px; flex: none; }
.store.other { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.store.other small { color: #C3CEDD; }

/* ---------- home: hero ---------- */
.hero { position: relative; background: #1E3A5F; color: #fff; overflow: hidden; }
.rays { position: absolute; right: -6%; top: 50%; width: 1100px; height: 1100px; transform: translateY(-50%); opacity: .5; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 150px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; margin: 0 0 22px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { font-size: 21px; line-height: 1.5; color: #D6DEEA; max-width: 34ch; margin: 0 0 34px; }
.hero .stores { margin-bottom: 18px; }
.hero .note { font-size: 15px; color: #B9C5D6; margin: 0 0 70px; }
.phone { justify-self: center; align-self: end; width: min(330px, 78vw); border-radius: 44px 44px 0 0; border: 10px solid #0B1626; border-bottom: 0; overflow: hidden; background: #0B1626; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.phone img { display: block; width: 100%; height: 520px; object-fit: cover; object-position: top; }

/* ---------- home: what is inside ---------- */
.inside { padding: 96px 0 84px; }
.inside .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.inside .sub { color: var(--muted); max-width: 30ch; margin: 0; }
.list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.list li { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list b { font-weight: 600; color: var(--head); }
.list li > span { color: var(--muted); }

/* ---------- home: how to start ---------- */
.start { padding: 0 0 96px; }
.start .head { max-width: 30em; margin-bottom: 40px; }
.start .head p { color: var(--muted); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; border-top: 2px solid var(--head); }
.steps div { padding: 26px 28px 8px 0; counter-increment: step; }
.steps div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.steps div::before { content: counter(step); display: block; font-size: 48px; font-weight: 800; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.steps b { display: block; font-size: 20px; color: var(--head); margin-bottom: 6px; }
.steps div > span { color: var(--muted); }

/* ---------- home: visit us ---------- */
.band { background: #10223C; color: #fff; padding: 84px 0; }
.band .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.band h2 { color: #fff; margin: 0; }
.band address { font-style: normal; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; font-weight: 600; margin: 0 0 22px; }
.band p { margin: 0 0 8px; color: #D6DEEA; }
.band a { color: var(--sun); font-weight: 600; text-underline-offset: 4px; }
.band .row { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* ---------- foot ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 16px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
footer .name { margin-right: auto; font-weight: 600; color: var(--head); }
footer a { text-underline-offset: 4px; }

/* ---------- small pages: download and invitation ---------- */
.small { min-height: 100vh; display: flex; flex-direction: column; background: #1E3A5F; color: #fff; position: relative; overflow: hidden; }
.small .rays { right: auto; left: 50%; top: 0; transform: translate(-50%, -50%); opacity: .4; }
.small main { position: relative; flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 24px 24px 56px; }
.small h1 { font-size: clamp(34px, 7vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin: 24px 0 12px; }
.small .lead { color: #D6DEEA; margin: 0 0 28px; }
.small .stores { margin-bottom: 28px; }
.code { font-size: clamp(40px, 12vw, 60px); font-weight: 800; letter-spacing: .14em; color: var(--sun); margin: 0 0 6px; line-height: 1.1; }
.codeLabel { font-size: 15px; color: #B9C5D6; margin: 0 0 28px; }
.small ol { margin: 0 0 28px; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid rgba(255,255,255,.2); }
.small ol li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.small ol li::before { content: counter(step); font-weight: 800; font-size: 22px; line-height: 1.25; color: var(--sun); }
.btn { display: block; text-align: center; text-decoration: none; font-weight: 600; padding: 15px 20px; border-radius: 14px; background: #fff; color: #10223C; margin-bottom: 12px; }
.small .fine { font-size: 15px; color: #B9C5D6; }
.small .fine a { color: #fff; }

/* ---------- text pages: privacy and delete account ---------- */
.doc main { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; font-size: 17px; line-height: 1.65; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.015em; color: var(--head); margin: 0 0 8px; }
.doc h2 { font-size: 22px; letter-spacing: 0; line-height: 1.25; margin: 40px 0 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc p, .doc li { margin: 8px 0; }
.doc a { color: var(--link); font-weight: 600; text-underline-offset: 3px; }
.doc .muted { color: var(--muted); }
.doc .box { border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; padding: 6px 20px; margin: 22px 0; background: var(--card); }
.doc .tablewrap { overflow-x: auto; margin: 14px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 16px; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 10px 14px 10px 0; text-align: left; vertical-align: top; }
.doc th { color: var(--head); font-weight: 600; border-bottom: 2px solid var(--head); }
.doc mark { background: rgba(184,144,43,.28); color: inherit; padding: 0 3px; border-radius: 3px; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .top .brand span { display: none; }
  .langs button { padding: 7px 11px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 110px; gap: 10px; }
  .hero .note { margin-bottom: 34px; }
  .phone img { height: 400px; }
  .inside { padding: 64px 0 56px; } .inside .wrap { grid-template-columns: 1fr; gap: 28px; }
  .list li { grid-template-columns: 1fr; gap: 2px; }
  .start { padding-bottom: 64px; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .steps div, .steps div + div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps div:first-child { border-top: 2px solid var(--head); }
  .band { padding: 60px 0; } .band .wrap { grid-template-columns: 1fr; gap: 18px; }
  .doc main { padding: 32px 16px 56px; }
  .small main { padding: 16px 16px 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.doc .top .wrap { max-width: 760px; }
.doc .top .brand span { display: inline; }

/* ---------- give page ---------- */
.small .back { display:inline-flex; align-items:center; gap:8px; font-size:15px; font-weight:600; color:#fff; text-decoration:none; padding:8px 14px 8px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.06); }
.small .back svg { width:18px; height:18px; fill:none; stroke:var(--sun); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.gList { display:grid; gap:12px; margin:0 0 24px; }
.gRow { display:flex; align-items:center; gap:14px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); border-radius:18px; padding:16px 18px; }
.gRow > div { flex:1; min-width:0; } .gRow small { display:block; font-size:14px; color:#B9C5D6; } .gRow b { display:block; font-size:clamp(22px, 6vw, 28px); font-weight:800; letter-spacing:.02em; word-break:break-all; } .gRow em { font-style:normal; font-size:15px; color:#D6DEEA; }
.gRow button { display:inline-flex; align-items:center; gap:8px; font:inherit; font-size:15px; font-weight:600; color:#10223C; background:#fff; border:0; border-radius:12px; padding:10px 14px; cursor:pointer; }
.gRow button svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.gRow button.done { background:var(--sun); }

/* ---------- W7: soft moves when something is clicked ---------- */
a, button, .store, .btn, .langs button { transition:background-color .18s ease, color .18s ease, border-color .18s ease, transform .14s ease, opacity .18s ease; }
.store:active, .btn:active, .langs button:active, .gRow button:active, .small .back:active { transform:scale(.97); }
@media (prefers-reduced-motion: reduce) { a, button, .store, .btn { transition:none; } @view-transition { navigation: none; } }
