/* triznip.com. Serif headings as on rfrmdwordlabs.com; the trapezoid is the app's own button. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
             src: url(fonts/instrument-serif-normal-latin.woff2) format("woff2"); }
:root {
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: -apple-system, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ink: #1b1d24; --muted: #5d6270; --line: #e3e5ea;
  --ground: #ffffff; --panel: #f4f5f8; --accent: #0a6cff; --night: #1c2438;
  --navy: #1f338c; --red: #db2a2e; --orange: #ed7805; --green: #249942; --blue: #3894f5; --purple: #8c3dcc; --teal: #00949e; --yellow: #ffd400;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f2f3f7; --muted: #a8adbb; --line: #2a2e3a; --ground: #15171d; --panel: #1d2029; --accent: #4d94ff; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 var(--sans); color: var(--ink); background: var(--ground); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

/* Top bar: clear over the hero, solid once it has scrolled away. */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 10; transition: background .3s ease, box-shadow .3s ease; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.bar .brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 26px; color: #fff; letter-spacing: .3px; }
.bar .brand img { width: 36px; height: 36px; border-radius: 9px; }
.bar nav { display: flex; gap: 22px; font-size: 15px; }
.bar nav a { color: #fff; opacity: .85; }
.bar.solid { background: color-mix(in srgb, var(--ground) 90%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.bar.solid .brand, .bar.solid nav a { color: var(--ink); }

/* Hero: the night ground of the icon, with tiles drifting behind the words. */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 100px 0 80px; background: var(--night); color: #fff; overflow: hidden; text-align: center; }
.hero .field { position: absolute; inset: 0; pointer-events: none; }
.hero .t { position: absolute; width: 0; height: 0; border-left: 70px solid transparent; border-right: 70px solid transparent; border-bottom: 121px solid rgba(255,255,255,.06); animation: drift 26s linear infinite; }
.hero .t1 { left: 6%; top: 12%; border-bottom-color: rgba(255,47,24,.28); animation-duration: 31s; }
.hero .t2 { left: 18%; top: 62%; border-bottom-color: rgba(255,212,0,.22); transform: rotate(180deg); animation-duration: 37s; }
.hero .t3 { left: 30%; top: 24%; border-bottom-color: rgba(24,249,61,.14); animation-duration: 29s; transform: rotate(180deg); }
.hero .t4 { left: 58%; top: 10%; border-bottom-color: rgba(4,51,255,.3); animation-duration: 41s; }
.hero .t5 { left: 72%; top: 48%; border-bottom-color: rgba(255,47,24,.2); animation-duration: 33s; transform: rotate(180deg); }
.hero .t6 { left: 86%; top: 20%; border-bottom-color: rgba(255,212,0,.26); animation-duration: 27s; }
.hero .t7 { left: 44%; top: 74%; border-bottom-color: rgba(4,51,255,.2); animation-duration: 35s; }
.hero .t8 { left: 90%; top: 72%; border-bottom-color: rgba(24,249,61,.16); animation-duration: 39s; transform: rotate(180deg); }
@keyframes drift { from { translate: 0 0; } 50% { translate: 18px -28px; } to { translate: 0 0; } }
.hero .in { position: relative; z-index: 2; max-width: 820px; padding: 0 24px; }
.hero .emblem { width: min(320px, 78vw); height: auto; aspect-ratio: 1; border-radius: 22.5%; box-shadow: 0 16px 40px rgba(0,0,0,.45); margin-bottom: 18px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 8vw, 88px); line-height: 1.02; margin: 8px 0 18px; letter-spacing: -.01em; }
.hero h1 b { font-weight: 400; color: var(--yellow); }
.hero .lede { max-width: 680px; margin: 0 auto 22px; font-size: clamp(17px, 2.1vw, 20px); color: rgba(255,255,255,.82); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.kicker.light { color: var(--yellow); }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 28px; padding: 8px 16px; background: rgba(255,255,255,.1); border-radius: 999px; font-size: 14.5px; color: rgba(255,255,255,.9); }
.status a { color: #fff; text-decoration: underline; }
.status { text-align: left; border-radius: 22px; }
.status .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(237,120,5,.3); }
.acts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cue { position: absolute; left: 50%; bottom: 20px; z-index: 3; width: 22px; height: 34px; margin-left: -11px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; }
.cue::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0; } }

/* The trapezoid button. In a pair the first points up and the second down, so the slanted sides run parallel. */
.btn { display: inline-block; min-width: 200px; padding: 14px 36px; font-weight: 700; color: #fff; background: var(--accent); filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); }
.btn.up { clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); }
.btn.down { clip-path: polygon(0 0, 100% 0, 93% 100%, 7% 100%); }
.btn.quiet { color: var(--night); background: #fff; }
.btn:hover { text-decoration: none; filter: drop-shadow(0 9px 14px rgba(0,0,0,.36)); }

.sec { padding: 88px 0; }
.sec.alt { background: var(--panel); }
.sec h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 54px); line-height: 1.12; margin: 0 0 14px; letter-spacing: -.01em; }
.intro { font-size: 18.5px; color: var(--muted); max-width: 720px; margin: 0 0 36px; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.point { padding: 26px 24px 22px; background: var(--panel); clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%); }
.point .num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; color: #fff; font-weight: 800; font-size: 20px; clip-path: polygon(50% 0, 100% 100%, 0 100%); padding-top: 12px; }
.point .num.navy { background: var(--navy); } .point .num.red { background: var(--red); } .point .num.orange { background: var(--orange); }
.point h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 0 0 8px; }
.point p { margin: 0; color: var(--muted); }
.point .plays { margin-top: 12px; font-weight: 700; font-size: 14.5px; color: var(--ink, inherit); }

.feature { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.feature.flip { grid-template-columns: 1fr 300px; }
.feature.flip .pic { order: 2; }
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.1; margin: 0 0 10px; }
.feature p { margin: 10px 0; font-size: 17.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; padding: 0; list-style: none; }
.chips li { font-size: 13.5px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.chips .new { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--accent); font-weight: 600; }

/* Apple's iPhone bezel, with the screenshot behind it at the bezel's own screen area. */
.bz { position: relative; width: 100%; max-width: 300px; margin: 0 auto; }
.bz > .bezel { position: relative; z-index: 2; display: block; width: 100%; height: auto; pointer-events: none; }
.bz > .scr { position: absolute; z-index: 1; overflow: hidden; background: #000; }
.bz > .scr img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bz-iphone > .scr { left: 5.102%; top: 2.2%; width: 89.796%; height: 95.6%; border-radius: 14.2% / 6.55%; }
.tilt { transition: transform .35s ease; will-change: transform; }

.sheet { margin: 24px 0 0; }
.sheet img { width: 100%; max-width: 560px; border-radius: 18px; display: block; }
.sheet figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; }

.rise { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.rise.seen { opacity: 1; transform: none; }
.rise.d1 { transition-delay: .12s; } .rise.d2 { transition-delay: .24s; }

.foot { padding: 32px 0 44px; font-size: 14px; color: var(--muted); text-align: center; }
.foot a { color: var(--muted); }

/* Privacy and other text pages. */
.text { padding: 110px 0 60px; }
.text .wrap { max-width: 720px; }
.text h1 { font-family: var(--serif); font-weight: 400; font-size: 48px; margin: 0 0 6px; }
.text h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 30px 0 6px; }
.muted { color: var(--muted); }
.bar.page { position: sticky; background: color-mix(in srgb, var(--ground) 90%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.bar.page .brand, .bar.page nav a { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .t, .cue::after { animation: none; }
  .rise { opacity: 1; transform: none; transition: none; }
  .tilt { transition: none; }
}
@media (max-width: 860px) {
  .three { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip .pic { order: 0; }
  .bz { max-width: 260px; }
  .bar nav { gap: 14px; font-size: 14px; }
  .bar nav .opt { display: none; }
  .sec { padding: 64px 0; }
}

/* What is new, by version: the number on the left, what it brought beside it; one under the other on a phone. */
.intro.relhead { margin-bottom: 14px; }
.rel { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; max-width: 720px; margin: 0 0 36px; font-size: 17px; color: var(--muted); }
.rel dt { font-weight: 700; color: var(--ink); white-space: nowrap; }
.rel dd { margin: 0; }
@media (max-width: 560px) { .rel { grid-template-columns: 1fr; gap: 2px; } .rel dd { margin-bottom: 12px; } }
