/* Link11 Arc — arc.l11next.com
   Colours follow the Link11 palette (link11.com): purple-dark #28223F,
   green-light #28D567, green #18833F, green-neon #99FF33, black #181D27.
   System fonts only: the site loads nothing from third parties. */

:root {
  --ink: #181D27;
  --ink-2: #414651;
  --muted: #535862;
  --line: #D5D7DA;
  --bg: #FFFFFF;
  --bg-soft: #F6F7F8;
  --card: #FFFFFF;
  --brand: #28223F;
  --brand-deep: #1C1730;
  --green: #28D567;
  --green-ink: #18833F;
  --neon: #99FF33;
  --on-dark: #FFFFFF;
  --on-dark-2: #C9C6D6;
  --radius: 14px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ECEDF0;
    --ink-2: #C4C7CE;
    --muted: #A4A7AE;
    --line: #2E2A40;
    --bg: #12101C;
    --bg-soft: #181526;
    --card: #1B1829;
    --green-ink: #3DDC7A;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--green-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 820px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--green); color: #181D27; padding: 8px 14px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.site-header { background: var(--brand); color: var(--on-dark); position: relative; z-index: 2; }
/* On the landing page the header floats over the hero, so the hero's glow
   runs up to the top edge instead of stopping at a seam. */
body:has(.hero) .site-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; }
.brand img { width: 112px; height: auto; }
.brand-sep { width: 1px; height: 26px; background: rgba(255, 255, 255, .35); }
.brand-product { font-weight: 800; font-size: 1.3rem; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: var(--green); }
.nav .lang { border: 1px solid rgba(255, 255, 255, .3); margin-left: 4px; }

/* ---------- hero (landing) ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(40, 213, 103, .16), transparent 60%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: var(--on-dark);
  padding: 128px 0 40px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero .lead { color: var(--on-dark-2); font-size: 1.15rem; max-width: 36em; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-ink); margin-bottom: 14px;
}
.hero .eyebrow, .page-head .eyebrow { color: var(--green); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--green); color: #181D27; }
.btn-primary:hover { background: var(--neon); }
.btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--brand); color: var(--on-dark); }
.btn-dark:hover { background: var(--brand-deep); }
@media (prefers-color-scheme: dark) {
  .btn-dark { background: var(--green); color: #181D27; }
  .btn-dark:hover { background: var(--neon); }
}
.status { display: flex; align-items: center; gap: 10px; color: var(--on-dark-2); font-size: .95rem; margin: 0; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 5px rgba(153, 255, 51, .18); flex: none; }
.hero-art svg { width: 100%; height: auto; }
.hero-art text { font-family: var(--font); font-size: 15px; font-weight: 600; fill: var(--on-dark-2); }
.platforms ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 36px 0 0;
}
.platforms li {
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 6px 16px;
  font-weight: 600; font-size: .95rem; color: var(--on-dark);
}

/* ---------- page head (subpages) ---------- */
.page-head { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%); color: var(--on-dark); padding: 44px 0 40px; }
.page-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin-bottom: .3em; }
.page-head .lead { color: var(--on-dark-2); margin: 0; font-size: 1.08rem; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); }
.section .narrow > h2:not(:first-child) { margin-top: 1.8em; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 44em; margin-bottom: 36px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(40, 213, 103, .14); color: var(--green-ink);
}
.icon svg { width: 24px; height: 24px; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps p { color: var(--muted); margin: 0; }
.step-no {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: var(--green); font-weight: 800; margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) { .step-no { background: var(--green); color: #181D27; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23181D27' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.band { background: var(--brand); color: var(--on-dark); padding: 48px 0; }
.band h2 { font-size: 1.5rem; }
.band p { color: var(--on-dark-2); max-width: 52em; margin: 0; }

/* ---------- support ---------- */
.contact-card {
  border: 1px solid var(--line); border-left: 6px solid var(--green); border-radius: var(--radius);
  padding: 28px; background: var(--card); margin-bottom: 56px;
}
.contact-card h2 { font-size: 1.4rem; }
.contact-card ul { margin: 0 0 0 1.2em; padding: 0; }
.mail-big { font-size: 1.35rem; font-weight: 800; }

.faq { border-top: 1px solid var(--line); margin-bottom: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 3px solid var(--green-ink); border-bottom: 3px solid var(--green-ink); transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- legal text ---------- */
.legal { padding: 56px 0 80px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; margin: 0 0 1em; color: var(--ink-2); }
.legal .summary {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 8px;
}
.legal .summary p:last-child { margin: 0; }
.legal .meta { color: var(--muted); font-size: .95rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0 0 1em; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-deep); color: var(--on-dark-2); padding: 40px 0 28px; font-size: .95rem; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand img { width: 104px; height: auto; margin-bottom: 12px; }
.foot-brand p { margin: 0; max-width: 30em; }
.foot nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot nav a { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--green); }
.fine { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 18px; font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar { min-height: 64px; }
  .brand img { width: 92px; }
  .brand-product { font-size: 1.15rem; }
  .nav a { padding: 6px 7px; font-size: .9rem; }
  .nav .hide-sm { display: none; }
  .hero { padding-top: 100px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
