@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url(fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url(fonts/instrument-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url(fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); }

:root {
  --navy: #272343;
  --night: #16152B;
  --paper: #FFFFFE;
  --aqua: #E3F6F5;
  --aqua-2: #BAE8E8;
  --line: #9FD4D2;
  --yellow: #FFD803;
  --muted: #4A4767;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--night); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}
h1, h2, h3 { font-family: var(--display); }
h2 { font-weight: 700; font-size: clamp(32px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.01em; margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 32px; }
.band { background: var(--aqua); }
.band-dark { background: var(--navy); color: var(--paper); }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--yellow); padding: 8px 12px; z-index: 10; }

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 12px;
}
.btn-main { background: var(--yellow); color: var(--navy); }
.btn-main:hover { color: var(--navy); background: #F2CD00; }
.btn-line { border: 2px solid var(--navy); padding: 12px 22px; }
.btn-small { font-size: 16px; padding: 10px 18px; border-radius: 10px; }

/* Header */
.site-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; }
.brand img { border-radius: 9px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 16px; font-weight: 500; flex-grow: 1; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 48px 88px; position: relative; overflow: hidden; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero h1 { font-weight: 800; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.02em; margin: 0 0 24px; max-width: 12ch; }
.lead { font-size: 20px; line-height: 1.55; margin: 0 0 32px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-note { margin: 0; font-size: 15px; }

.demo-col { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; position: relative; }
.demo { width: 100%; max-width: 400px; position: relative; z-index: 1; background: var(--aqua-2); border-radius: 28px; padding: 28px 24px 24px; }
.demo-title { margin: 0 0 12px; font-weight: 600; font-size: 15px; }
.pass { display: flex; gap: 8px; margin-bottom: 16px; }
.pass button {
  flex: 1;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
}
.pass button[aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.popup { background: var(--paper); border-radius: 16px; overflow: hidden; border: 1px solid var(--aqua); }
.popup-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--aqua); font-size: 14px; font-weight: 600; }
.popup-head .label { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--muted); }
.logo-wrap { position: relative; width: 22px; height: 22px; }
.logo-wrap img { display: block; border-radius: 6px; }
.mark { position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--paper); }
.mark[hidden] { display: none; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--aqua); }
.rows .letter { width: 26px; height: 26px; flex: none; border-radius: 7px; background: var(--aqua); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.rows .text { display: flex; flex-direction: column; min-width: 0; }
.rows .title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .site { font-size: 12px; color: var(--muted); }
.popup-foot { padding: 9px 14px; font-size: 12px; color: var(--muted); }
.caption { margin: 0; max-width: 400px; font-size: 15px; line-height: 1.5; text-align: center; color: var(--muted); position: relative; z-index: 1; min-height: 4.5em; }

/* Parallax ribbons: tied to scroll where the browser supports it, still otherwise */
.rb { position: absolute; display: block; pointer-events: none; z-index: 0; }
.rb-a { top: -36px; left: 2%; transform: rotate(-8deg); }
.rb-b { top: 150px; right: 1%; transform: rotate(6deg); }
.rb-c { top: 330px; left: 0; transform: rotate(-3deg); }
@supports (animation-timeline: scroll()) {
  .rb { animation: linear both; animation-timeline: scroll(root); animation-range: 0 900px; will-change: transform; }
  .rb-a { animation-name: rb-a; }
  .rb-b { animation-name: rb-b; }
  .rb-c { animation-name: rb-c; }
}
@keyframes rb-a { from { transform: translateY(0) rotate(-8deg); } to { transform: translateY(-220px) rotate(-14deg); } }
@keyframes rb-b { from { transform: translateY(0) rotate(6deg); } to { transform: translateY(-90px) rotate(10deg); } }
@keyframes rb-c { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(140px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rb { animation: none !important; }
}
@media (max-width: 700px) {
  .demo-col { overflow: hidden; padding-block: 32px; }
  .rb-c { display: none; }
  .rb-a { top: 0; left: 0; }
  .rb-b { right: 0; }
}

/* Why */
.why { display: flex; flex-wrap: wrap; gap: 48px 72px; padding-block: 88px; }
.why-copy { flex: 1 1 360px; min-width: 0; }
.why-copy h2 { margin-bottom: 20px; }
.why-copy p { margin: 0 0 16px; max-width: 32em; }
.table-box { flex: 1.3 1 480px; min-width: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--paper); border-radius: 16px; overflow: hidden; }
caption { text-align: left; font-weight: 600; padding-bottom: 12px; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--aqua-2); text-align: left; }
thead th { padding-block: 14px; border-bottom: 2px solid var(--navy); }
thead th.us { background: var(--yellow); }
tbody th { font-weight: 500; }
tbody td.us { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* Features */
.features { padding-block: 96px 40px; }
.features h2 { margin-bottom: 48px; max-width: 18ch; }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 48px; }
.groups h3 { font-size: 22px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 3px solid var(--yellow); }
.groups p { margin: 0 0 10px; }
.shot { margin: 0 auto; padding: 32px 32px 96px; max-width: 1200px; }
.shot img { display: block; width: 100%; border-radius: 20px; background: var(--aqua); }
.shot figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* Install */
.install { padding-block: 88px; }
.install h2 { margin-bottom: 40px; }
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 48px; }
.steps li { display: flex; gap: 16px; }
.steps .n { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--yellow); }
.steps strong { display: block; font-size: 19px; margin-bottom: 6px; }
.steps code { background: rgba(255, 255, 254, .12); padding: 1px 6px; border-radius: 5px; font-size: 15px; }
.install .actions { align-items: center; margin: 0; }
.band-dark a:not(.btn) { color: var(--paper); }
.install .soon { margin: 20px 0 0; font-size: 15px; color: var(--aqua-2); }

/* Privacy */
.privacy { display: flex; flex-wrap: wrap; gap: 40px 72px; padding-block: 96px; }
.privacy h2 { flex: 1 1 320px; }
.privacy-body { flex: 1.4 1 480px; min-width: 0; }
.privacy ul { margin: 0 0 24px; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; padding: 88px 32px; }
.faq h2 { margin-bottom: 32px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; }
summary::-webkit-details-marker { display: none; }
summary h3 { margin: 0; font-family: inherit; font-size: 19px; font-weight: 600; }
summary .chev { font-size: 26px; line-height: 1; transition: transform .2s; }
details[open] .chev { transform: rotate(45deg); }
details p { margin: 0 0 18px; max-width: 40em; }

/* Footer */
.site-foot { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; padding-block: 48px; font-size: 15px; }
.site-foot .brand { font-size: 18px; }
.site-foot .brand img { border-radius: 7px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; flex-grow: 1; }

@media (max-width: 520px) {
  .wrap, .faq, .shot { padding-inline: 20px; }
  .lead { font-size: 18px; }
}
