/* Dioptyr's page and privacy policy (dioptyr/*.html), on top of site.css and livewindow.css (the page)
   or legal.css (the policy): the same layout as LiveWindow's, with the app's brand blue, its AccentColor
   (sRGB 0.24, 0.42, 0.86), as the accent. --accent-ink is that blue lightened to read as text on --bg.
   /assets/* is served immutable for a year: bump the ?v= on every reference when this file changes. */

.dioptyr{
    --accent:61,107,219;
    --accent-ink:#8fb0f5;
}

/* The page's light comes from the app's blue rather than the home page's warm wash. */
.dioptyr .wash{
    background:
      radial-gradient(58vmax 44vmax at 22% 12%,rgba(var(--accent),.17),transparent 65%),
      radial-gradient(68vmax 52vmax at 88% 96%,rgba(var(--accent),.07),transparent 70%);
}

/* Long words that outgrow a 320-point phone: Danish and Swedish make "eye-exam simulator" one word in the
   spaced capitals, and the policy's title ("Datenschutzerklärung", "конфиденциальности") does too. */
.dioptyr .tag{color:var(--accent-ink);overflow-wrap:anywhere;hyphens:auto}
.dioptyr.legal h1{overflow-wrap:anywhere;hyphens:auto}

/* Where the App Store badge will go: the pill, in the accent until it's a link. */
.dioptyr .card-soon{
    background:rgba(var(--accent),.14);
    border-color:rgba(var(--accent),.5);
    color:var(--ink);
}
/* The hero's pill holds a sentence ("Bientôt disponible sur Apple Vision Pro"), so on a phone it wraps:
   site.css's pill never shrinks, so the cap on its width is what makes the text wrap. */
.dioptyr .lw-actions .card-soon{
    height:auto;min-height:44px;max-width:100%;padding:.65rem 1.05rem;
    white-space:normal;text-wrap:balance;text-align:center;justify-content:center;line-height:1.45;
}

.dioptyr .lw-quotes li{border-color:rgba(var(--accent),.32)}

.dioptyr .lw p a,
.dioptyr.legal main p a:not(.home){text-decoration-color:rgba(var(--accent),.85)}
.dioptyr .lw p a:hover,
.dioptyr.legal main p a:not(.home):hover{text-decoration-color:var(--ink)}

.dioptyr .langs-list a[aria-current="page"]{border-color:rgba(var(--accent),.6)}

.dioptyr .link:focus-visible,
.dioptyr a.home:focus-visible,
.dioptyr .langs-list a:focus-visible,
.dioptyr .lw p a:focus-visible,
.dioptyr.legal main p a:not(.home):focus-visible{box-shadow:0 0 0 2px rgba(var(--accent),.9)}

/* ---------- What it is ---------- */
/* The disclaimer, as its own panel: the same glass as the facts, edged in the accent. */
.dy-honest{
    padding:clamp(1.5rem,4vw,2.5rem);
    border-radius:calc(var(--radius) + 8px);
    background:linear-gradient(135deg,rgba(var(--accent),.12),rgba(255,255,255,.02));
    border:1px solid rgba(var(--accent),.38);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 22px 60px -28px rgba(0,0,0,.75);
}
.dy-honest .tag{margin-bottom:.8rem}
.dy-honest p:last-child{color:var(--ink)}
