/* 123 Oppas — shared styles for the public site and the app */
@font-face { font-family: 'Sora'; src: url('/fonts/sora.woff') format('woff'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/sourcesans3.woff') format('woff'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/fonts/vazirmatn.woff') format('woff'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Noto Sans Ethiopic'; src: url('/fonts/notosansethiopic-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Noto Sans Ethiopic'; src: url('/fonts/notosansethiopic-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  /* Colours taken from the 123-oppas.nl logo: navy, Dutch red and blue */
  --navy: #14275e; --ink: #27304f; --muted: #5d6680; --line: #e2e7f0; --soft: #f3f6fb; --bg: #ffffff;
  --coral: #c8282e; --coral-d: #a91f25; --coral-l: #fcecec; --blue: #2c5fb3; --blue-l: #eaf0fa;
  --teal: #1d7a5f; --teal-l: #e5f4ee;
  --radius: 16px; --shadow: 0 1px 2px rgba(20,39,94,.05), 0 10px 30px rgba(20,39,94,.07);
  --head: 'Sora', system-ui, sans-serif; --body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1220px;
}
html[dir=rtl] { --head: 'Vazirmatn', system-ui, sans-serif; --body: 'Vazirmatn', system-ui, sans-serif; }
html[lang=am], html[lang=ti] { --head: 'Noto Sans Ethiopic', 'Sora', sans-serif; --body: 'Noto Sans Ethiopic', 'Source Sans 3', sans-serif; }
html[lang=hi] { --body: 'Source Sans 3', 'Nirmala UI', 'Noto Sans Devanagari', system-ui, sans-serif; --head: 'Sora', 'Nirmala UI', 'Noto Sans Devanagari', sans-serif; }
html[lang=zh] { --body: 'Source Sans 3', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif; --head: 'Sora', 'PingFang SC', 'Microsoft YaHei', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-d); text-underline-offset: 2px; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
html[dir=rtl] h1, html[dir=rtl] h2, html[dir=rtl] h3 { letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid rgba(232,96,60,.45); outline-offset: 2px; }
bdi { unicode-bidi: isolate; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 12px;
  font: 650 16px/1.2 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-d); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-lg { min-height: 54px; padding: 12px 26px; font-size: 17px; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: 15px; border-radius: 10px; }
.btn[disabled] { opacity: .55; cursor: default; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex: none; direction: ltr; }
.logo .logo-emblem { height: 48px; width: auto; }
.logo .logo-word { height: 27px; width: auto; }
@media (max-width: 420px) { .logo .logo-emblem { height: 42px; } .logo .logo-word { height: 22px; } }
.main-nav { display: flex; gap: 2px; margin-inline-start: 4px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 9px; border-radius: 10px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current=page] { background: var(--soft); color: var(--navy); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer; place-items: center; }

/* Language menu */
.langmenu { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 12px; white-space: nowrap; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); font: 600 15px var(--body); cursor: pointer; }
.lang-code { display: none; font-weight: 700; }
.lang-pop { direction: ltr; text-align: left; position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: min(420px, calc(100vw - 24px)); max-height: min(70vh, 560px); overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(29,35,64,.18); padding: 10px; z-index: 60; }
.lang-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.lang-grid .lang-wide { grid-column: 1 / -1; }
.lang-grid a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 500; text-align: left; unicode-bidi: isolate; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-grid a:hover { background: var(--soft); }
.lang-grid a[aria-current=true] { background: var(--coral-l); color: var(--coral-d); font-weight: 700; }

/* Mobile panel: same items as desktop */
.mobile-panel { display: none; position: fixed; inset: var(--panel-top, 68px) 0 0 0; background: var(--bg); z-index: 39; overflow: auto; padding: 18px 20px 40px; }
.mobile-panel.open { display: block; }
.mobile-panel a.m-link { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; font: 600 18px var(--body); }
.mobile-panel .m-actions { display: grid; gap: 10px; margin-top: 20px; }
/* Long menu labels (some languages): switch to the menu button before anything overflows */
.nav-compact .main-nav, .nav-compact .header-actions .hide-m { display: none; }
.nav-compact .burger { display: inline-grid; }
@media (max-width: 1020px) {
  .main-nav, .header-actions .hide-m { display: none; }
  .burger { display: inline-grid; }
  .lang-cur { display: none; } .lang-code { display: inline; }
}

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 30px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .section { padding: 46px 0; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: box-shadow .2s, transform .2s; }
.grid-3 > .card:hover, .grid-2 > .card:hover { box-shadow: var(--shadow); }
.ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-l); color: var(--blue); margin-bottom: 14px; }
.ic.red { background: var(--coral-l); color: var(--coral); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: block; color: var(--coral); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
html[dir=rtl] .kicker { letter-spacing: 0; }
.steps { counter-reset: s; }
.feature-dark { background: linear-gradient(135deg, var(--navy), #1f3d8a); color: #dfe6f7; border: 0; }
.feature-dark h2 { color: #fff; }
.card h3 { margin-bottom: 6px; }
.card h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
.card p:last-child { margin-bottom: 0; }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 15px 'Sora', sans-serif; margin-bottom: 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-inline-start: 30px; margin: 0 0 10px; }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a6d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Page hero (inner pages) */
.page-hero { padding: 54px 0 34px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--soft), var(--bg)); }
.page-hero h1 { font-size: min(clamp(1.9rem, 4.6vw, 3rem), calc((100vw - 40px) / (var(--len, 24) * .56))); white-space: nowrap; }
/* Home: the headline shares the row with the logo illustration, so it is sized to its column */
.hero h1 { font-size: min(3.1rem, calc((min(100vw, var(--wrap)) - 40px) * .64 / (var(--len, 24) * .55))); white-space: nowrap; line-height: 1.12; }
@media (max-width: 900px) { .hero h1 { font-size: min(2.6rem, calc((100vw - 40px) / (var(--len, 24) * .55))); } }
@media (max-width: 520px) { .page-hero h1, .hero h1 { white-space: normal; font-size: clamp(1.6rem, 7.4vw, 2.1rem); } }
.page-body { padding: 44px 0 70px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }

/* Home hero */
.hero { padding: 56px 0 64px; background: radial-gradient(1200px 500px at 85% 20%, var(--blue-l), transparent 60%), linear-gradient(180deg, #f7f9fd, var(--bg)); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; gap: 22px 48px; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; }
.hero-text { display: grid; gap: 22px; }
.hero-art { justify-self: center; width: 100%; max-width: 440px; }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(20,39,94,.12)); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; justify-self: start; background: #fff; border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: 6px 14px; font-weight: 650; font-size: .92rem; box-shadow: var(--shadow); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.hero h1 { margin: 0; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--ink); font-weight: 600; font-size: .98rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--teal); flex: none; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { order: -1; max-width: 300px; } }
@media (max-width: 520px) { .hero-art { max-width: 230px; } }
.hero-grid > *, .hero-text > *, .search-split > * { min-width: 0; }
.hero .lead { margin-bottom: 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 900px) { .hero { padding: 40px 0; } }
.search-card { max-width: 720px; }
.search-split { display: grid; grid-template-columns: 1fr; gap: 16px; }
.search-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 2px 4px rgba(20,39,94,.04), 0 20px 50px rgba(20,39,94,.10); }
.search-card label { display: block; font-weight: 650; color: var(--navy); margin-bottom: 8px; }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .search-row { flex-direction: column; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--soft); border-radius: 12px; padding: 12px; text-align: center; }
.stat strong { display: block; white-space: nowrap; font: 700 1.25rem 'Sora', sans-serif; color: var(--navy); }
.stat span { font-size: .9rem; color: var(--muted); line-height: 1.3; display: block; overflow-wrap: anywhere; hyphens: auto; }

/* Forms (site + app) */
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 400 16px var(--body); }
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--coral); outline: none; box-shadow: 0 0 0 3px rgba(232,96,60,.15); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price { font: 700 2.2rem 'Sora', sans-serif; color: var(--navy); margin: 4px 0 6px; direction: ltr; unicode-bidi: isolate; }
.card.featured { border: 2px solid var(--coral); }
.guarantee { display: flex; gap: 16px; align-items: flex-start; background: var(--teal-l); border-radius: var(--radius); padding: 22px; margin-top: 22px; }
.guarantee h3 { color: var(--teal); }
.cmp { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.cmp th, .cmp td { padding: 13px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { background: var(--navy); color: #fff; font-weight: 650; }
.cmp td.us { font-weight: 650; color: var(--teal); }
.cmp tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .cmp th, .cmp td { padding: 10px 8px; font-size: 15px; } }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 650; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 600 22px/1 'Sora', sans-serif; color: var(--coral); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 18px 16px; margin: 0; }

/* Why table */
.why-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.why-row .q { font-weight: 650; color: var(--muted); }
.why-row .a { color: var(--navy); }
@media (max-width: 700px) { .why-row { grid-template-columns: 1fr; gap: 4px; } }

/* CTA band */
.band { background: linear-gradient(135deg, var(--navy), #1f3d8a); color: #fff; border-radius: 22px; padding: 36px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 6px; }
.band p { margin: 0; color: #d7daea; max-width: 620px; }
.note { font-size: .95rem; color: var(--muted); }
.live { display: inline-block; background: var(--teal-l); color: var(--teal); font-weight: 700; border-radius: 999px; padding: 6px 14px; }

/* Footer */
.site-footer { background: var(--soft); color: var(--muted); padding: 56px 0 26px; margin-top: 0; border-top: 1px solid var(--line); }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h3 { color: var(--navy); font-size: 1rem; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.site-footer .logo { margin-bottom: 14px; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .92rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
.ltr { direction: ltr; unicode-bidi: isolate; }
