
  /* Buttons: 48px high (44px for .btn-sm), touch friendly */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--chip);
    color: var(--text);
    font: 600 14.5px / 1.2 var(--sans);
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

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

  .btn-sm {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13.5px;
  }

  .btn:active {
    filter: brightness(0.94);
  }

  /* Round 44px icon-only button (close, dismiss) */
  .icon-btn {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--dim);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .icon-btn:hover {
    background: var(--chip);
    color: var(--strong);
  }

  .icon-btn:active {
    filter: brightness(0.94);
  }

  .btn:focus-visible,
  .icon-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  /* Accent halo around a large icon */
  .halo {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 5%, transparent);
  }

  .i {
    flex: none;
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .i-s {
    width: 16px;
    height: 16px;
  }

  .i-l {
    width: 32px;
    height: 32px;
    stroke-width: 1.6;
  }

  :host {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 var(--safe-right, 0px) 0 var(--safe-left, 0px);
    background: var(--bg);
    color: var(--text);
    font: 15px / 1.45 var(--sans);
  }

  h1,
  h2,
  h3,
  p,
  figure,
  ul {
    margin: 0;
    padding: 0;
  }

  ul {
    list-style: none;
  }

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

  a.btn {
    text-decoration: none;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .bar,
  main,
  footer p {
    width: min(100% - 32px, 1080px);
    margin: 0 auto;
  }

  /* Header: brand, link to the app, language */
  header {
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }

  .bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: calc(8px + var(--safe-top, 0px)) 0 8px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin-right: auto;
    color: var(--strong);
    font: 700 16px / 1 var(--mono);
    letter-spacing: 0.04em;
    text-decoration: none;
  }

  .brand b,
  .hero h1 b {
    font-weight: inherit;
    color: var(--accent);
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .brand:focus-visible,
  nav a:focus-visible,
  .lang a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 10px;
  }

  nav {
    display: flex;
  }

  .lang {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
  }

  .lang a {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 9px;
    color: var(--dim);
    font: 700 12.5px / 1 var(--mono);
    letter-spacing: 0.08em;
    text-decoration: none;
  }

  .lang a:hover {
    color: var(--strong);
  }

  .lang a[aria-current='page'] {
    background: var(--chip);
    color: var(--strong);
  }

  main {
    flex: 1;
    padding: 44px 0 64px;
  }

  footer {
    border-top: 1px solid var(--line);
  }

  footer p {
    padding: 18px 0 calc(18px + var(--safe-bottom, 0px));
    color: var(--dim);
    font-size: 13px;
  }

  /* Back to the zedesk.net catalogue: a 44px target for the finger */
  footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: -12px 0;
    color: var(--text-2);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  footer a:hover {
    color: var(--accent);
  }

  footer a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Hero: icon, title, tagline, lead and button; the QR code beside it */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px 64px;
  }

  .icon {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
  }

  .hero h1 {
    color: var(--strong);
    font: 700 44px / 1.05 var(--mono);
    letter-spacing: 0.02em;
  }

  .tagline {
    max-width: 30ch;
    margin-top: 14px;
    color: var(--strong);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.35;
  }

  .lead {
    max-width: 64ch;
    margin-top: 10px;
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.55;
  }

  .cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
  }

  .cta .btn,
  .callout .btn {
    padding: 0 18px;
    font-size: 15px;
  }

  /* QR code: white paper in both themes, for the contrast */
  .qr {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-dialog, 18px);
    background: var(--panel);
    text-align: center;
  }

  .code-paper {
    display: grid;
    place-items: center;
    width: 232px;
    max-width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: #ffffff;
  }

  .code-paper img {
    width: 100%;
    height: auto;
  }

  .qr figcaption {
    max-width: 232px;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.45;
  }

  .url {
    display: block;
    margin-top: 4px;
    color: var(--strong);
    font: 700 15px / 1.3 var(--mono);
    letter-spacing: 0.02em;
  }

  /* Sections: a title, an intro, then a grid of cards */
  .section {
    margin-top: 64px;
  }

  .section h2,
  .callout h2 {
    color: var(--strong);
    font-size: 24px;
    line-height: 1.25;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 12px;
    margin-top: 22px;
  }

  .card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card, 14px);
    background: var(--panel);
  }

  .ti {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
  }

  .card h3 {
    color: var(--strong);
    font-size: 15.5px;
    line-height: 1.35;
  }

  .card p {
    margin-top: 2px;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.5;
  }

  /* Preview: phone frames, four abreast on a large screen, two below 900px,
     then the computer screenshot across the width */
  .screens {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: center;
    gap: 28px 20px;
    margin-top: 22px;
  }

  .screens > li {
    width: 100%;
    max-width: 300px;
  }

  .screen {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .phone,
  .laptop {
    padding: 7px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 14px 34px -20px var(--shadow);
  }

  .phone {
    border-radius: 30px;
  }

  .laptop {
    border-radius: var(--radius-dialog, 18px);
  }

  /* Background shown while the image loads, in its already kept room */
  .phone img,
  .laptop img {
    width: 100%;
    height: auto;
    background: var(--panel-2);
  }

  .phone img {
    border-radius: 23px;
  }

  .laptop img {
    border-radius: 11px;
  }

  .screen.wide {
    max-width: 920px;
    margin: 36px auto 0;
  }

  .screen h3 {
    color: var(--strong);
    font-size: 15.5px;
    line-height: 1.35;
  }

  .screen p {
    margin-top: 2px;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.5;
  }

  /* Final call to open the app */
  .callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    margin-top: 64px;
    padding: 24px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-dialog, 18px);
    background: color-mix(in srgb, var(--accent) 6%, var(--panel));
  }

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

  @media (max-width: 760px) {
    main {
      padding-top: 28px;
    }

    .section,
    .callout {
      margin-top: 48px;
    }

    .hero {
      grid-template-columns: minmax(0, 1fr);
    }

    .hero h1 {
      font-size: 36px;
    }

    .tagline {
      font-size: 20px;
    }
  }
