/* opnkit public home page — the "Mosaic" brand (see the general design canvas). Fonts are self-hosted. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  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: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url("/fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  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 {
  --teal: #0e7c6b; --teal-hover: #0a6457; --teal-soft: rgba(14,124,107,.12);
  --deep: #03110f; --deep-2: #092623; --mint: #7fd9c4; --mint-ink: #0a2f2a; --mint-pale: #d6ebe6; --sage: #b9d8d1;
  --ink: #17201e; --ink-2: #3c4846; --muted: #5b6866;
  --stone: #f6f4ef; --stone-2: #f1eee7; --stone-3: #ece8df;
  --line: #e2ded5; --line-2: #ece8e0; --field: #c9c4ba;
  --bad: #a3261b; --bad-bg: #fdf0ee;
  --code: #0f1f1c;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --c0: polygon(0 6%, 100% 0, 94% 100%, 4% 94%);
  --c1: polygon(4% 0, 100% 8%, 96% 92%, 0 100%);
  --c2: polygon(0 0, 92% 4%, 100% 100%, 8% 96%);
  --c3: polygon(6% 4%, 100% 0, 100% 96%, 0 100%);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--stone); line-height: 1.5; font-size: 16px; }
a { color: var(--teal); }
a:hover { color: var(--teal-hover); }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.c0 { clip-path: var(--c0); } .c1 { clip-path: var(--c1); } .c2 { clip-path: var(--c2); } .c3 { clip-path: var(--c3); }

/* Buttons */
.btn { font: inherit; font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn.primary { background: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-hover); color: #fff; }
.btn.primary[disabled] { opacity: .7; cursor: progress; }
.btn.ghost { background: #fff; color: var(--teal); border-color: var(--field); }
.btn.light { background: #fff; color: #0a4f45; }
.btn.light:hover { background: var(--mint-pale); color: #0a4f45; }
.btn.big { font-size: 17px; padding: 15px 24px; }
.btn.fake { cursor: default; flex: 1 1 160px; }

/* Header + hero on the live mosaic */
.hero-band { position: relative; overflow: hidden; background: var(--deep) url("/img/mosaic.svg") center / cover no-repeat; color: #fff; }
.mosaic { position: absolute; inset: 0; overflow: hidden; }
.mosaic svg { display: block; width: 100%; height: 100%; }
.mosaic .shade { position: absolute; inset: 0; pointer-events: none; }
.nav { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand.dark { color: var(--ink); font-size: 22px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a, .nav-right a { color: var(--mint-pale); text-decoration: none; }
.nav-links a:hover, .nav-right a:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.langs { display: flex; gap: 2px; }
.langs a { font-size: 13px; font-weight: 600; padding: 6px 7px; border-radius: 8px; }
.langs a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.nav-apps { font-weight: 600; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 9px 14px; }
.lang-suggest { position: relative; z-index: 1; max-width: 1176px; margin: 0 auto 8px; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.1); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.lang-suggest[hidden] { display: none; }
.lang-suggest a { color: #fff; }
.lang-suggest button { font: inherit; background: none; border: 0; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; min-width: 32px; }
.notice { position: relative; z-index: 2; }
.notice[hidden] { display: none; }
.notice > * { }
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.notice p { flex: 1 1 320px; overflow-wrap: anywhere; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 18px; font-weight: 500; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.notice.bad p { background: var(--bad-bg); color: var(--bad); }

.hero { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.hero-text { position: relative; flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-glow { position: absolute; inset: -90px -140px -90px -160px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 58% at 45% 50%, rgba(3,17,15,.86) 0%, rgba(3,17,15,.7) 45%, rgba(3,17,15,0) 100%); }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mint-pale);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-weight: 700; font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.04; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.lead { font-size: 19px; color: var(--mint-pale); max-width: 34rem; }

.join { background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 12px; max-width: 38rem; margin: 6px 0 0; }
.join[hidden] { display: none; }
.join-title { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.join-row { display: flex; flex-wrap: wrap; gap: 8px; }
.join-row input { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 17px; color: var(--ink); border: 1px solid var(--field); border-radius: 12px; padding: 11px 14px; min-height: 48px; background: #fff; }
.join-row input:focus { outline: 3px solid rgba(14,124,107,.25); border-color: var(--teal); }
.join-row input[aria-invalid="true"] { border-color: var(--bad); }
.needs { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.needs legend { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: 14px; background: var(--stone-2); border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.chip input:checked + span { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); font-weight: 600; }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.join-note { font-size: 13px; color: var(--muted); }
.join-error { font-size: 14px; color: var(--bad); background: var(--bad-bg); border-radius: 10px; padding: 8px 12px; }
.join-error[hidden] { display: none; }
.join-done { flex-direction: row; align-items: flex-start; gap: 14px; }
.join-done p { color: var(--ink-2); margin-top: 4px; }
.tick { flex: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--mint); color: var(--mint-ink); clip-path: var(--c0); }

.tiles { position: relative; flex: 1 1 400px; min-width: 0; max-width: 520px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  transform: perspective(1400px) rotateY(-16deg) rotateX(7deg); }
.tiles-glow { position: absolute; inset: -80px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(3,17,15,.78) 0%, rgba(3,17,15,.55) 55%, rgba(3,17,15,0) 100%); }
.tile { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px; }
.tile b { font-family: var(--display); font-size: 26px; line-height: 1; }
.tile small { font-size: 12px; font-weight: 600; line-height: 1.2; }
.tile.lit { background: var(--mint); color: var(--mint-ink); }
.tile.mid { background: #14947f; color: #fff; }
.tile.dim { background: rgba(255,255,255,.10); color: #fff; }
.tile.deep { background: rgba(4,20,18,.45); color: var(--mint-pale); }

/* Sections */
.section { padding-top: 96px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 42rem; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.eyebrow.light { color: var(--sage); }
.section h2, .switch h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; }
.sub { font-size: 18px; color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); }

.needs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.need { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 1px 2px rgba(23,32,30,.04), 0 10px 28px rgba(23,32,30,.06); }
.need-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--teal-soft); color: var(--teal); margin-bottom: 6px; }
.need-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.need h3 { font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.need p { font-size: 15px; color: var(--muted); }
.need .need-app { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 14px; }
.need-app strong { color: var(--ink); font-weight: 600; }

.how { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 56px; padding-bottom: 80px; }
.how-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.steps li { display: flex; gap: 18px; }
.steps li > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.steps strong { font-size: 18px; }
.steps li > span:last-child > span { color: var(--muted); }
.num { flex: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--teal); color: #fff; font-family: var(--display); font-weight: 700; }

.plan { flex: 1 1 460px; min-width: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(23,32,30,.04), 0 24px 60px rgba(23,32,30,.12); }
.plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.plan-title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.dot { width: 10px; height: 10px; background: var(--teal); border-radius: 50%; }
.seg { display: flex; background: var(--stone-2); border-radius: 10px; padding: 3px; }
.seg button { font: inherit; font-size: 14px; font-weight: 600; border: 0; border-radius: 8px; padding: 8px 14px; min-height: 36px; cursor: pointer; background: transparent; color: var(--muted); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.plan-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.ask { font-size: 15px; color: var(--muted); background: var(--stone); border-radius: 12px; padding: 12px 14px; }
.plan-simple { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan-simple li { position: relative; padding-left: 32px; overflow-wrap: anywhere; }
.plan-simple li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c6b' stroke-width='2.4'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.plan-expert { margin: 0; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; background: var(--code); color: var(--mint-pale); border-radius: 12px; padding: 14px 16px; overflow-x: auto; }
.plan-expert span { color: var(--mint); }
.plan-expert i { font-style: normal; color: #9fb8b2; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.plan figcaption { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }

.switch { position: relative; overflow: hidden; background: var(--deep-2) url("/img/mosaic.svg") center / cover no-repeat; color: #fff; border-radius: 24px; padding: 48px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; margin-top: 40px; }
.switch > div { max-width: 44rem; display: flex; flex-direction: column; gap: 12px; }
.switch p:not(.eyebrow) { font-size: 18px; color: var(--mint-pale); }

.why-title { max-width: 44rem; }
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.why > div { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--teal); }
.why h3 { font-size: 20px; }
.why p { color: var(--muted); }

.faq { gap: 0; }
.faq > * { width: 100%; max-width: 820px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 18px 0; min-height: 44px; }
.faq details p { color: var(--ink-2); padding: 0 0 18px; }

.cta { position: relative; overflow: hidden; background: var(--deep); border-radius: 28px; color: #fff; padding: 64px 48px; margin: 64px 0 96px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; max-width: 36rem; }
.cta-text::before { content: ""; position: absolute; inset: -70px -120px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 62% 60% at 45% 50%, rgba(3,17,15,.85) 0%, rgba(3,17,15,.65) 45%, rgba(3,17,15,0) 100%); }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.03em; }
.cta p { font-size: 18px; color: var(--mint-pale); }
.cta .btn { position: relative; z-index: 1; }

.foot { border-top: 1px solid var(--line); background: var(--stone-2); }
.foot-in { padding-top: 48px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; max-width: 320px; color: var(--muted); font-size: 15px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 15px; }
.foot-cols nav { display: flex; flex-direction: column; gap: 10px; }
.foot-cols a { color: var(--ink-2); text-decoration: none; }
.foot-cols a:hover { color: var(--teal); text-decoration: underline; }

@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-links { order: 3; width: 100%; gap: 18px; overflow-x: auto; }
  .hero { padding-top: 24px; padding-bottom: 64px; gap: 40px; }
  .tiles { transform: none; }
  .section { padding-top: 64px; }
  .switch, .cta { padding: 32px 24px; }
  .join-row .btn { flex: 1 1 100%; }
}

/* Apps that work together */
.together { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 56px; }
.together-text { flex: 1 1 380px; min-width: 0; }
.together-list { flex: 1 1 480px; min-width: 0; list-style: none; margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px rgba(23,32,30,.04), 0 24px 60px rgba(23,32,30,.10); }
.together-list li { display: flex; gap: 16px; }
.together-list li > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.together-list strong { font-family: var(--display); font-size: 18px; }
.together-list li > span:last-child > span { color: var(--muted); }
.together-list .num { background: var(--mint); color: var(--mint-ink); }

/* ------------------------------------------------------------------ Inner pages: compact mosaic header */
.nav-links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--mint); }
.hero-band.inner .nav { padding-bottom: 8px; }
.page-head { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; padding-top: 40px; padding-bottom: 72px; }
.page-head > * { position: relative; }
.page-head > .hero-glow { position: absolute; inset: -40px auto -40px -160px; width: min(980px, 100%); }
.page-head h1 { font-weight: 700; font-size: clamp(2.25rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; max-width: 18ch; }
.page-head .lead { max-width: 40rem; }
.page-head.centered { align-items: center; text-align: center; }
.page-head.centered h1 { max-width: none; }
.page-head.centered > .hero-glow { inset: -40px 0; width: auto; background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(3,17,15,.8) 0%, rgba(3,17,15,.55) 50%, rgba(3,17,15,0) 100%); }
.stats { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stats li { font-size: 14px; font-weight: 600; color: var(--mint-pale); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px; }
.stats li:first-child { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); }
.see-all { margin-top: -8px; }
.foot-cols nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }

/* ------------------------------------------------------------------ App catalogue */
.catalog { gap: 28px; }
.catalog + .catalog { padding-top: 56px; }
.catalog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: inherit; font-size: 14px; font-weight: 600; min-height: 40px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.filters button:hover { border-color: var(--teal); color: var(--teal); }
.filters button[aria-pressed="true"] { background: var(--deep-2); border-color: var(--deep-2); color: #fff; }
.filter-empty { color: var(--muted); }

.apps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.app { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px;
  box-shadow: 0 1px 2px rgba(23,32,30,.04), 0 14px 36px rgba(23,32,30,.07); transition: box-shadow .2s, transform .2s; }
.app:hover { box-shadow: 0 1px 2px rgba(23,32,30,.05), 0 22px 50px rgba(23,32,30,.11); transform: translateY(-2px); }
.app:target { outline: 3px solid var(--mint); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .app, .app:hover { transition: none; transform: none; } }
.app-top { display: flex; align-items: flex-start; gap: 14px; }
.app-icon { flex: none; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--deep-2); color: var(--mint); }
.app-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-name { flex: 1; min-width: 0; }
.app-name h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.app-name p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.badge { flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge.ready { background: var(--mint); color: var(--mint-ink); }
.app-tag { font-size: 17px; color: var(--ink); font-weight: 500; }
.app-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); }
.app-feats li { position: relative; padding-left: 28px; }
.app-feats li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c6b' stroke-width='2.6'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.app-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.app-facts li { font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--stone); border: 1px solid var(--line-2); padding: 4px 10px; border-radius: 8px; }
.app-with, .app-domain { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.app-with a { font-weight: 600; color: var(--teal); background: var(--teal-soft); text-decoration: none; padding: 2px 10px; border-radius: 999px; }
.app-with a:hover { background: rgba(14,124,107,.2); }
.app-domain a { font-weight: 600; }
.app-actions { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.app-actions .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.app-src { font-size: 13px; color: var(--muted); }

.soon-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.soon { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; border: 1px dashed var(--field); background: rgba(255,255,255,.5); }
.soon .app-icon { width: 44px; height: 44px; background: var(--stone-3); color: var(--teal); }
.soon .app-icon svg { width: 22px; height: 22px; }
.soon h3 { font-size: 17px; font-weight: 600; }
.soon p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.soon .soon-app { margin-top: 8px; }
.soon-app a { font-weight: 600; }

/* ------------------------------------------------------------------ Domain search and order page */
/* Signed in: a round initial in the menu bar; the e-mail and "Log out" open under it. */
.account { position: relative; }
.account summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--mint); color: var(--mint-ink); font-family: var(--display); font-weight: 700; font-size: 16px; }
.account summary::-webkit-details-marker { display: none; }
.account summary:hover, .account[open] summary { box-shadow: 0 0 0 3px rgba(127,217,196,.35); }
.account-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 220px; max-width: 320px; display: flex; flex-direction: column; gap: 10px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 44px rgba(0,0,0,.3); font-size: 14px; }
.account-menu span { overflow-wrap: anywhere; color: var(--ink-2); }
.account-menu .link { align-self: flex-start; font-weight: 600; }
/* Medium screens: keep the menu on one line (longer French and German labels included). */
@media (min-width: 721px) and (max-width: 1240px) {
  .nav { gap: 12px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .nav-right { gap: 10px; font-size: 14px; }
  .langs a { padding: 6px 5px; }
  .nav-apps { padding: 7px 11px; }
  .brand { font-size: 21px; }
  .brand svg { width: 26px; height: 26px; }
  .account summary { width: 36px; height: 36px; font-size: 15px; }
}
/* Narrower: brand and account on the first row, the links as a full second row. */
@media (min-width: 721px) and (max-width: 980px) {
  .nav-links { order: 3; width: 100%; }
}
.link { font: inherit; background: none; border: 0; color: var(--teal); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.link.light { color: #fff; }
.search { display: flex; gap: 8px; width: 100%; max-width: 40rem; background: #fff; padding: 8px; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); margin-top: 8px; }
.search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 18px; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.search input:focus { outline: none; box-shadow: 0 0 0 3px var(--teal-soft); }
.hint { color: var(--sage); font-size: 14px; }
.error { color: var(--bad); background: var(--bad-bg); border-radius: 12px; padding: 12px 16px; margin-top: 16px; }
.error.on-dark { max-width: 40rem; margin: 0; }

.order { max-width: 860px; margin-top: -40px; margin-bottom: 72px; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 20px; }
.order .card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px clamp(20px, 4vw, 36px);
  box-shadow: 0 1px 2px rgba(23,32,30,.04), 0 18px 44px rgba(23,32,30,.08); }
.order h2 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 16px; }
.order h3 { font-size: 18px; }
.order .btn { min-height: 44px; }
.order .btn:not(.primary) { background: #fff; color: var(--teal); border-color: var(--field); }
.order .btn:not(.primary):hover { border-color: var(--teal); }
.order .btn:disabled { opacity: .55; cursor: progress; }
.order .btn.big { width: 100%; }
.order input, .order select { font: inherit; color: var(--ink); }
.order .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.order .row input, .order .grid input, .order .grid select, .order .inline select {
  border: 1px solid var(--field); border-radius: 12px; padding: 10px 12px; background: #fff; min-height: 44px; }
.order .row input { flex: 1 1 14rem; }
.order input:focus, .order select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.order input[aria-invalid="true"] { border-color: var(--bad); }
#code { font-variant-numeric: tabular-nums; max-width: 11rem; flex: 0 1 11rem; }
#code:not(:placeholder-shown) { letter-spacing: .3em; }

.results { list-style: none; margin: 0; padding: 0; }
.results li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.results li:first-child { border-top: 0; }
.results .name { font-family: var(--display); font-weight: 600; font-size: 18px; flex: 1; overflow-wrap: anywhere; }
.results .price { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.results .taken { color: var(--muted); font-size: 14px; }
.results li.unavailable .name { color: var(--muted); font-weight: 500; }
.results li.selected { background: linear-gradient(90deg, var(--teal-soft), transparent); margin: 0 -14px; padding-inline: 14px; border-radius: 12px; }

.step { padding: 20px 0; border-top: 1px solid var(--line-2); }
.step:first-of-type { border-top: 0; padding-top: 0; }
.step-head { display: flex; align-items: center; gap: 12px; }
.order .num { width: 32px; height: 32px; font-size: 15px; clip-path: var(--c1); }
.step.locked { opacity: .45; pointer-events: none; }
.step.locked .num { background: var(--muted); }
.order-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0 8px; font-size: 18px; overflow-wrap: anywhere; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.check input { accent-color: var(--teal); margin-top: 4px; }
.note { color: var(--muted); font-size: 14px; margin-top: 10px; }
.done-line { display: flex; gap: 16px; align-items: center; margin-top: 10px; color: var(--teal); font-weight: 600; }
.order .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 14px; }
.order .grid label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.order .grid .wide { grid-column: 1 / -1; }
.payment-element { margin: 14px 0 12px; min-height: 48px; }
.summary { margin: 12px 0; padding: 14px 16px; background: var(--stone); border-radius: 12px; }
.summary:empty { display: none; }
.success { text-align: center; }
.success .tick { width: 56px; height: 56px; margin: 0 auto 12px; font-size: 28px; font-weight: 700; }
.order .faq { padding-bottom: 12px; }
.order .faq h2 { margin-bottom: 8px; }
.order .faq details:last-child { border-bottom: 0; }
@media (max-width: 560px) {
  .search { flex-direction: column; }
  .order .grid { grid-template-columns: 1fr; }
  .results li { flex-wrap: wrap; gap: 6px 16px; }
  .results .name { flex-basis: 100%; }
}

/* Loading state, in the mosaic line: a small facet that turns through the teal shades. */
.btn.is-busy { position: relative; opacity: 1; cursor: progress; }
.btn.is-busy::before {
  content: ""; width: .85em; height: .85em; flex: none;
  background: conic-gradient(from 0deg, currentColor 0 25%, color-mix(in srgb, currentColor 55%, transparent) 0 50%,
    color-mix(in srgb, currentColor 30%, transparent) 0 75%, color-mix(in srgb, currentColor 75%, transparent) 0);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  animation: facet-turn 1.1s cubic-bezier(.5, 0, .5, 1) infinite;
}
@keyframes facet-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-busy::before { animation: none; } }

/* ------------------------------------------------------------------ Text pages (legal notice, privacy policy) */
.text-page { max-width: 860px; margin-top: -40px; margin-bottom: 72px; position: relative; z-index: 2; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px clamp(20px, 4vw, 44px); line-height: 1.65;
  box-shadow: 0 1px 2px rgba(23,32,30,.04), 0 18px 44px rgba(23,32,30,.08); }
.doc section + section { margin-top: 28px; }
.doc h2 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.doc p, .doc ul { margin: 0 0 12px; }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 4px; }
.doc a { overflow-wrap: anywhere; text-underline-offset: 2px; }
.doc .updated { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .order, .text-page { margin-top: -24px; } .page-head { padding-bottom: 56px; } }
