:root {
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  color-scheme: light;
  --bg: #f3f6f4;
  --surface: #fff;
  --surface2: #edf3ef;
  --accent: #79dfa2;
  --accent-text: #246c44;
  --on-accent: #123a24;
  --text: #1e2b23;
  --dim: #445b4c;
  --muted: #5c6e62;
  --line: rgba(32, 68, 44, .09);
  --active: rgba(55, 152, 83, .09);
  --glass: rgba(249, 252, 250, .88);
  --edge: rgba(255, 255, 255, .92);
  --warn: #82611b;
  --danger: #b03044;
  --code: #eef3f0;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101211;
  --surface: #1b1f1c;
  --surface2: #171b18;
  --accent: #86e6b3;
  --accent-text: #86e6b3;
  --on-accent: #103021;
  --text: #f0f5f1;
  --dim: #c3cdc6;
  --muted: #9daaa1;
  --line: rgba(223, 244, 229, .09);
  --active: rgba(134, 230, 179, .115);
  --glass: rgba(26, 31, 28, .88);
  --edge: rgba(224, 250, 231, .13);
  --warn: #e0bf67;
  --danger: #f4858c;
  --code: #141815;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 4px;
  border-radius: 6px;
}

input[data-pointer-open-focus="true"]:focus-visible,
textarea[data-pointer-open-focus="true"]:focus-visible {
  outline: none;
  box-shadow: none;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  inset-inline-start: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
}

.skip-link:focus {
  top: 8px;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  position: sticky;
  z-index: 30;
  top: 0;
  height: 72px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(130%);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 1px 6px;
  border: 0;
  background: transparent;
  letter-spacing: -.5px;
  cursor: pointer;
}

.brand strong {
  font-size: 19px;
  font-weight: 710;
}

.brand .product {
  padding-inline-start: 13px;
  border-inline-start: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 450;
  letter-spacing: 0;
}

.brand-chevron {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  opacity: .6;
}

.topbar-spacer {
  flex: 1;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 23px;
  color: var(--dim);
  font-size: 12px;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.topnav a:hover,
.public-footer a:hover {
  color: var(--accent-text);
}

.icon-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--dim);
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--active);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.public-main {
  max-width: 1240px;
  padding: 64px 40px 30px;
  margin: 0 auto;
}

.public-hero {
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 10px 0 68px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: .065em;
}

.public-hero h1 {
  margin: 0;
  font-size: clamp(39px, 4.65vw, 64px);
  font-weight: 590;
  letter-spacing: -2.6px;
  line-height: 1.07;
}

.public-hero .lead {
  max-width: 465px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 580;
  white-space: nowrap;
  cursor: pointer;
}

.btn svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  background: var(--surface2);
}

.btn.primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
}

.btn.primary:hover {
  filter: brightness(.96);
}

.btn.ghost {
  background: transparent;
}

.card-actions .detail-link.btn.ghost {
  background: var(--surface);
}

.card-actions .detail-link.btn.ghost:hover {
  background: var(--surface2);
}

.btn[aria-disabled="true"] {
  border-color: var(--line);
  background: var(--surface2);
  color: var(--muted);
  cursor: not-allowed;
  filter: none;
  opacity: .72;
  pointer-events: none;
}

.hero-note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

.device-scene {
  position: relative;
  width: 100%;
  min-height: 335px;
}

.laptop-mock {
  position: absolute;
  top: 65px;
  inset-inline-start: 0;
  width: 93%;
  padding: 8px;
  transform: rotate(-3deg);
  border: 1px solid #64776a;
  border-radius: 18px;
  background: #222b25;
  box-shadow: 0 22px 35px #14231815;
}

.laptop-mock img {
  display: block;
  width: 100%;
  aspect-ratio: 1.6;
  border-radius: 10px;
  object-fit: cover;
}

.laptop-mock::after {
  position: absolute;
  right: -3%;
  bottom: -7px;
  left: -3%;
  height: 9px;
  border-radius: 1px 1px 10px 10px;
  background: #9da9a0;
  content: "";
}

.phone-mock {
  position: absolute;
  right: -5px;
  bottom: -10px;
  width: 119px;
  height: 250px;
  padding: 5px;
  transform: rotate(6deg);
  overflow: hidden;
  border: 1px solid #8d9c90;
  border-radius: 23px;
  background: #18251c;
  box-shadow: 0 16px 23px #12211525;
}

.phone-mock img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.phone-mock::after {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 37px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: #101211;
  content: "";
}

.sectionhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 15px;
}

.sectionhead h2,
.public-band h2,
.faq h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -.25px;
}

.sectionhead h2 {
  font-weight: 600;
  letter-spacing: -.6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--active);
  color: var(--accent-text);
  font-size: 10px;
  font-weight: 550;
  white-space: nowrap;
}

.pill.neutral {
  background: var(--surface2);
  color: var(--muted);
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.card {
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.download-card .os-logo {
  display: flex;
  align-items: center;
  height: 37px;
  margin-bottom: 24px;
  color: var(--accent-text);
  font-size: 26px;
}

.os-logo svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.download-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.6px;
}

.app-card-badge {
  margin-block-end: 8px;
}

.app-card--recommandee {
  border-color: var(--line);
  box-shadow: none;
}

.app-card--visee {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 40%, transparent);
}

.app-card-etat,
.studio-status {
  min-height: 20px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.app-card-etat {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  max-width: 100%;
  min-height: 24px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--surface2);
  font-size: 10px;
  font-weight: 550;
  line-height: 15px;
}

.studio-status {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 0;
  margin: 0;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--surface2);
  font-size: 10px;
  font-weight: 550;
  line-height: 15px;
}

.platform-note {
  margin: 12px 0 25px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.app-card-details {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 12px;
  padding: 12px 0;
  margin: 0 0 10px;
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.app-card-details dt {
  color: var(--muted);
}

.app-card-details dd {
  min-width: 0;
  margin: 0;
  color: var(--dim);
  overflow-wrap: anywhere;
}

.app-card-details dd:last-child {
  font-family: var(--mono);
  font-size: 9px;
}

.app-card-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 10px;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.app-card-qr canvas,
.app-card-qr svg,
.app-card-qr img {
  display: block;
  width: 104px;
  height: 104px;
  max-width: 100%;
  padding: 5px;
  border-radius: 8px;
  background: #fff;
}

.app-card-lien {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.copy-link,
.detail-link:not(.btn) {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 580;
  text-align: start;
  cursor: pointer;
}

.copy-link:hover,
.detail-link:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-card-lien-secours {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface2);
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
}

.app-card-lien-statut {
  width: 100%;
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto;
}

.card-actions .app-card-cta,
.studio-card-cta {
  width: 100%;
  margin-top: auto;
}

.card-actions .detail-link {
  align-self: stretch;
  width: 100%;
}

.detail-link.btn svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.6px;
}

.public-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.public-band h2 {
  margin-bottom: 5px;
  font-size: 15px;
}

.public-band p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.future-band {
  margin-top: 0;
  border-top: 0;
}

.faq {
  max-width: 780px;
  margin: 48px auto 12px;
}

.faq h2 {
  margin-bottom: 20px;
}

.faq details {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text);
  font-size: 13px;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  color: var(--muted);
  content: "+";
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.public-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 25px 0;
  margin-top: 45px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.public-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.app-footer-legal {
  margin: 0;
}

.app-dialog {
  position: fixed;
  inset-block: 16px;
  inset-inline-end: 16px;
  inset-inline-start: auto;
  width: 462px;
  max-width: calc(100vw - 32px);
  height: calc(100dvh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 26px;
  background: var(--glass);
  color: var(--text);
  transform: translate(0, 0);
  box-shadow: 0 24px 90px #00150930;
  backdrop-filter: blur(24px) saturate(125%);
}

.app-dialog::backdrop {
  background: rgba(9, 20, 12, .26);
  backdrop-filter: blur(3px);
}

.dialog-inside {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 88dvh;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 20px 17px;
  border-bottom: 1px solid var(--line);
}

.dialog-grab {
  display: flex;
  height: 20px;
  flex: none;
  align-items: center;
  justify-content: center;
}

.dialog-grab::before {
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: var(--dim);
  content: '';
}

.dialog-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 620;
}

#app-dialog:has(.detail-wordmark) .dialog-head {
  padding-bottom: 18px;
}

#app-dialog:has(.detail-wordmark) .dialog-head h2 {
  font-weight: 600;
  letter-spacing: -.6px;
}

.dialog-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#app-dialog:has(.settinggroup) .dialog-head {
  padding-bottom: 18px;
}

#app-dialog:has(.settinggroup) .dialog-head h2 {
  font-weight: 600;
  letter-spacing: -.6px;
}

#app-dialog:has([data-action="set-language"]) .dialog-head {
  padding-bottom: 18px;
}

#app-dialog:has([data-action="set-language"]) .dialog-head h2 {
  font-weight: 600;
  letter-spacing: -.6px;
}

#app-dialog:has([data-action="set-language"]) .panel-hint {
  margin-top: 22px;
  font-size: 11px;
  line-height: 1.65;
}

#app-dialog:has([data-action="open-space"]) .dialog-head {
  padding-bottom: 18px;
}

#app-dialog:has([data-action="open-space"]) .dialog-head h2 {
  font-weight: 600;
  letter-spacing: -.6px;
}

.dialog-close {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  margin-bottom: 0;
  padding: 1px 6px;
  border-radius: 50%;
  background: var(--surface2);
  font-size: 16px;
  line-height: 24px;
}

.dialog-body {
  flex: 1;
  min-height: 0;
  padding: 22px;
  overflow: auto;
  scrollbar-width: thin;
}

.settinggroup {
  margin-bottom: 22px;
}

.settingtitle {
  padding: 0 3px;
  margin: 0 0 10px;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 550;
}

.settingbox {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.settingrow {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  text-align: start;
  cursor: pointer;
}

.settingrow:last-child {
  border-bottom: 0;
}

#app-dialog:has(.settinggroup) .settingrow[data-action="open-switcher"] {
  border-bottom: 1px solid var(--line);
}

.settingrow:hover {
  background: var(--surface2);
}

.setting-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 19px;
  height: 19px;
  color: var(--muted);
  font-size: 13px;
}

.setting-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.setting-info {
  flex: 1;
  min-width: 0;
}

.setting-label,
.setting-description {
  display: block;
}

.setting-description {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.setting-chevron {
  margin-inline-end: 4px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.theme-options button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  font-size: 11px;
  cursor: pointer;
}

.theme-options button.active,
.motion-toggle.active {
  border-color: var(--accent-text);
  background: var(--active);
  color: var(--accent-text);
}

.theme-options button svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-options .icon {
  display: flex;
  width: 20px;
  height: 20px;
  flex: none;
  align-items: center;
  justify-content: center;
}

.appearance-note h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 610;
  letter-spacing: -.2px;
}

.appearance-intro {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.appearance-note {
  margin-top: 22px;
  padding: 23px;
  border-radius: 20px;
}

.appearance-note p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

#app-dialog:has(.appearance-intro) .dialog-head {
  padding-bottom: 18px;
}

#app-dialog:has(.appearance-intro) .dialog-head h2 {
  font-weight: 600;
  letter-spacing: -.6px;
}

.panel-hint,
.motion-status,
.detail-status,
.detail-unavailable {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.motion-toggle {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  text-align: start;
  cursor: pointer;
}

.motion-status {
  margin-top: 12px;
}

.detail-status {
  margin: 0 0 18px;
  color: var(--text);
  font-weight: 570;
}

.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0;
  margin: 22px 0 12px;
  font-size: 12px;
}

.detail-list dt {
  color: var(--muted);
}

.detail-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

[dir="rtl"] .detail-list dd {
  text-align: left;
}

.detail-list dd:last-child {
  font-family: inherit;
  font-size: 12px;
}

.detail-unavailable {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--active);
  color: var(--dim);
  font-size: 12px;
  line-height: 1.65;
}

.detail-unavailable-icon {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--accent-text);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-app-icon {
  display: grid;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  place-items: center;
  margin: 0 0 20px;
  border-radius: 14px;
  background: var(--active);
  color: var(--accent-text);
}

.detail-app-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-wordmark {
  margin: 0;
  font-size: 22px;
  line-height: 33px;
  font-weight: 740;
  letter-spacing: -1px;
}

.detail-wordmark .ai {
  color: var(--accent-text);
}

.detail-intro {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.detail-actions.detail-actions-unavailable {
  margin-top: 22px;
}

.detail-actions {
  display: block;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.detail-actions .btn {
  display: inline-flex;
  width: 100%;
  line-height: 1.5;
  white-space: normal;
}

.detail-actions > :not(:first-child) {
  margin-top: 20px;
}

.detail-copy-block {
  min-width: 0;
}

.detail-copy-status {
  margin-top: 5px;
}

.detail-actions .detail-copy {
  background: var(--surface);
}

.detail-qr {
  margin-top: 18px;
}

.toast {
  position: fixed;
  z-index: 80;
  inset-inline-end: 20px;
  bottom: 20px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 32px #00150920;
}

.app-noscript {
  padding: 16px 20px;
  background: var(--surface2);
  color: var(--text);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .app-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-hero {
    gap: 25px;
  }
}

@media (max-width: 800px) {
  .topbar {
    gap: 10px;
    padding: 0 17px;
  }

  .topbar-inner {
    gap: 10px;
    padding: 0;
  }

  .topbar {
    height: 64px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand .product {
    max-width: 80px;
    padding-inline-start: 9px;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topnav {
    display: none;
  }

  .public-main {
    padding: 35px 22px 20px;
  }

  .public-hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 38px;
  }

  .public-hero h1 {
    font-size: 47px;
  }

  .public-hero .lead {
    max-width: 530px;
    font-size: 13px;
  }

  .hero-visual {
    min-height: 295px;
  }

  .device-scene {
    width: min(100%, 500px);
    min-height: 310px;
    height: 310px;
    margin: 0 auto;
  }

  .app-card {
    min-height: 270px;
  }

  .download-card .os-logo {
    margin-bottom: 17px;
  }

  .studio-card .os-logo {
    margin-bottom: 12px;
  }

  .download-card h3,
  .studio-card h3 {
    font-size: 19px;
  }

  .download-card .btn {
    padding: 10px;
    font-size: 11px;
  }

  .app-dialog {
    inset: auto 0 0;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 94dvh;
    border-radius: 25px 25px 0 0;
  }

  .dialog-inside {
    max-height: 94dvh;
  }

  .dialog-body {
    padding: 20px;
  }

  .dialog-head {
    padding: 6px 20px 17px;
  }

  .dialog-head h2 {
    font-size: 21px;
  }

  #app-dialog:has(.detail-wordmark) .dialog-head {
    padding-bottom: 17px;
  }

  [dir="rtl"] .app-dialog {
    inset: auto 0 0;
  }
}

@media (max-width: 520px) {
  #app-dialog:has(.settinggroup) .dialog-head {
    padding-bottom: 17px;
  }

  #app-dialog:has([data-action="set-language"]) .dialog-head {
    padding-bottom: 17px;
  }

  #app-dialog:has([data-action="open-space"]) .dialog-head {
    padding-bottom: 17px;
  }

  #app-dialog:has(.appearance-intro) .dialog-head {
    padding-bottom: 17px;
  }

  #app-dialog:has(.appearance-intro) .appearance-note {
    padding: 19px;
    border-radius: 18px;
  }

  .app-cards {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .app-card {
    min-height: 220px;
    padding: 19px;
    border-radius: 18px;
  }

  .studio-card {
    min-height: 220px;
    padding: 19px;
    border-radius: 18px;
  }

  .app-card .os-logo {
    height: 28px;
    margin-bottom: 12px;
  }

  .app-card .platform-note,
  .studio-card .platform-note {
    margin: 8px 0 18px;
  }

  .app-card .card-actions .btn {
    padding: 10px;
    font-size: 11px;
  }

  .sectionhead {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-hero h1 {
    font-size: 41px;
    letter-spacing: -1.6px;
  }

  .public-hero .hero-visual {
    min-height: 295px;
  }

  .device-scene {
    height: 310px;
    min-height: 310px;
  }

  .phone-mock {
    right: 8px;
  }

  .public-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .public-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-footer nav {
    gap: 12px 18px;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

:root[data-reduced-motion="true"] *,
:root[data-reduced-motion="true"] *::before,
:root[data-reduced-motion="true"] *::after {
  scroll-behavior: auto !important;
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}

.hero-orbit {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 88px;
  margin-block-end: 7px;
  color: var(--accent-text);
}

.hero-orbit svg {
  display: block;
  flex: none;
  width: 88px;
  height: 88px;
  overflow: visible;
}

@media (min-width: 801px) {
  .public-hero .eyebrow {
    margin-block-end: 0;
  }

  .public-hero .lead {
    margin-block: 4px 0;
  }

  .public-hero .hero-actions {
    margin-block: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit {
    animation: none;
    transition: none;
  }
}

/* CLOUDZIR APPLICATION BRAND GENERATED BEGIN */
/*
 * Spec du logo reprise du code de reference frontend/src/components/icons/Logo.tsx
 * et de frontend/src/App.scss, puis comparee aux valeurs calculees par Chrome.
 * .cloudzir-logo : colonne centree, direction ltr, largeur ajustee au contenu.
 * .cloudzir-logo-text : Plus Jakarta Sans, 24px, graisse 800, interligne 32px,
 * espacement 2.4px et ecart interne 2px.
 * .cloudzir-word : CloudZIR, couleur #0f172a en clair et #fff en sombre ; au
 * survol, espacement 0.15em et couleur #334155 ou #f3f4f6.
 * .cloudzir-app : graisse 900, transparence avec degrade #d90429 vers #10b981,
 * clippe au texte ; au survol, scale(1.1) rotate(-2deg) et degrade inverse.
 * .cloudzir-logo-underline : largeur 24px au repos, hauteur 4px, marge haute
 * 4px, rayon 999px, opacite 0.9, degrade vert, couleur du mot, rouge ; au
 * survol, largeur 100 pour cent. Animations de 0.5s et 0.7s comme la reference.
 * Sous 360px et 320px, le bloc et son trait reduisent ensemble leur echelle.
 * La graisse 900 est synthetisee depuis la face auto-hebergee Plus Jakarta Sans
 * 800, sans charger de police tierce.
 */

.brand {
  gap: 8px;
  letter-spacing: normal;
}

.brand .cloudzir-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 280px;
  cursor: pointer;
  user-select: none;
  direction: ltr;
  white-space: nowrap;
}

.brand .cloudzir-logo-text {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Naskh Arabic', 'Noto Sans Arabic', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 2rem;
  letter-spacing: 0.1em;
  text-transform: none;
}

.brand .cloudzir-word {
  order: 1;
  color: #0f172a;
  transition: all 0.5s ease-out;
}

.brand .cloudzir-app {
  order: 2;
  position: relative;
  display: inline-block;
  color: transparent;
  font-weight: 900;
  font-synthesis: weight;
  background: linear-gradient(135deg, #d90429, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  transform-origin: center;
  transition: all 0.7s ease;
}

.brand .cloudzir-logo-underline {
  width: 24px;
  height: 4px;
  margin-top: 4px;
  border-radius: 999px;
  opacity: 0.9;
  background: linear-gradient(to right, #10b981, #0f172a, #d90429);
  box-shadow: 0 0 8px rgba(210, 16, 52, 0.22);
  transition: all 0.5s ease-out;
}

.brand .cloudzir-logo:hover .cloudzir-word {
  color: #334155;
  letter-spacing: 0.15em;
}

.brand .cloudzir-logo:hover .cloudzir-app {
  transform: scale(1.1) rotate(-2deg);
  background: linear-gradient(135deg, #10b981, #d90429);
  -webkit-background-clip: text;
  background-clip: text;
}

.brand .cloudzir-logo:hover .cloudzir-logo-underline {
  width: 100%;
  box-shadow: 0 0 10px rgba(210, 16, 52, 0.5);
}

:root[data-theme='dark'] .brand .cloudzir-word {
  color: #fff;
}

:root[data-theme='dark'] .brand .cloudzir-logo:hover .cloudzir-word {
  color: #f3f4f6;
}

:root[data-theme='dark'] .brand .cloudzir-logo-underline {
  background: linear-gradient(to right, #10b981, #f4f4f5, #d90429);
}

@media (max-width: 360px) {
  .brand {
    gap: 5px;
  }

  .brand .cloudzir-logo-text {
    gap: 0.104167rem;
    font-size: 1.25rem;
    line-height: 1.666667rem;
  }

  .brand .cloudzir-logo-underline {
    width: 20px;
    height: 3.333px;
    margin-top: 3.333px;
  }
}

@media (max-width: 320px) {
  .brand .cloudzir-logo-text {
    gap: 0.09375rem;
    font-size: 1.125rem;
    line-height: 1.5rem;
  }

  .brand .cloudzir-logo-underline {
    width: 18px;
    height: 3px;
    margin-top: 3px;
  }
}
/* CLOUDZIR APPLICATION BRAND GENERATED END */
