:root {
  --color-orange: #ff7a1a;
  --color-orange-hover: #ff8f3d;
  --color-orange-pressed: #e96500;
  --color-orange-mist: rgba(255, 122, 26, 0.1);
  --color-danger: #ff3b30;
  --color-priority-low: #30d158;
  --text-primary: #1d1d1f;
  --text-secondary: #636366;
  --text-tertiary: #86868b;
  --text-muted: #a1a1a6;
  --surface-card: rgba(255, 255, 255, 0.76);
  --border-glass: rgba(255, 255, 255, 0.78);
  --border-orange: rgba(255, 122, 26, 0.36);
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.1);
  --shadow-panel: 0 18px 44px rgba(101, 113, 132, 0.11), 0 2px 8px rgba(101, 113, 132, 0.06);
  --shadow-orange: 0 12px 28px rgba(255, 122, 26, 0.24);
  --radius-pill: 999px;
  --radius-panel: 24px;
  --motion-fast: 140ms;
  --motion-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 122, 26, 0.12), transparent 29rem),
    radial-gradient(circle at 82% 14%, rgba(90, 169, 255, 0.13), transparent 34rem),
    linear-gradient(145deg, #fbfbfc, #ebecef);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text-primary);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "SF Pro Display",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 122, 26, 0.12), transparent 29rem),
    radial-gradient(circle at 82% 14%, rgba(90, 169, 255, 0.13), transparent 34rem),
    linear-gradient(145deg, #fbfbfc, #ebecef);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.44) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.44) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 64%);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 4px;
}

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

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  width: min(900px, calc(100vw - 36px));
  min-height: 64px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 16px;
  z-index: 30;
  margin: 16px auto 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(170%);
}

.nav-toggle {
  display: none;
}

.brand-link,
.header-download,
.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 900;
  transition:
    color var(--motion-fast) var(--motion-spring),
    background var(--motion-fast) var(--motion-spring),
    transform var(--motion-fast) var(--motion-spring);
}

.brand-link {
  padding: 0 14px 0 8px;
  gap: 9px;
  color: var(--text-primary);
  font-size: 16px;
}

.brand-link img {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  box-shadow: 0 5px 13px rgba(0, 0, 0, 0.1);
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  padding: 0 13px;
  color: var(--text-secondary);
  font-size: 13px;
}

.site-nav a:hover {
  color: var(--color-orange);
  background: rgba(255, 122, 26, 0.09);
}

.header-download {
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(180deg, var(--color-orange-hover), var(--color-orange));
  box-shadow: var(--shadow-orange), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  font-size: 13px;
}

.header-download:hover,
.download-button:hover {
  transform: translateY(-1px);
}

.site-nav a:active,
.header-download:active,
.download-button:active {
  transform: scale(0.96);
}

main {
  width: min(1320px, calc(100vw - 36px));
  margin: 0 auto;
  overflow-x: clip;
}

section {
  scroll-margin-top: 100px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-section {
  min-height: calc(100vh - 84px);
  padding: 64px 0 42px;
  display: grid;
  gap: 28px;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 46px -22px 28px;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.16)),
    linear-gradient(110deg, rgba(255, 122, 26, 0.07), rgba(90, 169, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 34px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.hero-copy {
  min-width: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-brand-art {
  width: min(720px, 92vw);
  margin-bottom: 0;
}

.hero-wordmark {
  width: 100%;
  height: auto;
  max-height: 192px;
  object-fit: contain;
  /* The source PNG has asymmetric transparent padding; offset the visible mark. */
  transform: translate(8.6%, 8.33%);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.12));
}

h1 {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin-bottom: clamp(38px, 3.4vw, 46px);
  display: grid;
  gap: clamp(4px, 0.55vw, 8px);
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy h1 {
  text-wrap: normal;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h1 span:first-child {
  font-size: clamp(32px, 3.8vw, 58px);
  line-height: 1;
}

h1 span:nth-child(2) {
  font-size: clamp(22px, 2.55vw, 40px);
  line-height: 1.16;
  font-weight: 900;
}

.download-grid {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 0;
}

.download-button {
  min-height: 56px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, var(--color-orange-hover), var(--color-orange));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px rgba(255, 122, 26, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 16px;
  font-weight: 950;
  transition:
    color var(--motion-fast) var(--motion-spring),
    transform var(--motion-fast) var(--motion-spring),
    background var(--motion-fast) var(--motion-spring),
    box-shadow var(--motion-fast) var(--motion-spring);
}

.download-button:hover {
  color: #fff;
  background: linear-gradient(180deg, #ff9e56, var(--color-orange));
  box-shadow: 0 14px 32px rgba(255, 122, 26, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.download-button svg {
  width: 26px;
  height: 26px;
}

.download-button > svg:not(.download-mark) {
  opacity: 0.95;
}

.download-mark {
  width: 0;
  height: 21px;
  flex: 0 0 auto;
  margin-left: 0;
  opacity: 0;
  transform: translateX(-4px) scale(0.9);
  transition:
    width var(--motion-fast) var(--motion-spring),
    margin-left var(--motion-fast) var(--motion-spring),
    opacity var(--motion-fast) var(--motion-spring),
    transform var(--motion-fast) var(--motion-spring);
}

.download-button:hover .download-mark,
.download-button:focus-visible .download-mark {
  width: 21px;
  margin-left: 2px;
  opacity: 1;
  transform: translateX(0) scale(1);
}

.download-button:hover > svg:not(.download-mark),
.download-button:focus-visible > svg:not(.download-mark) {
  transform: scale(1.04);
}

.hero-shot {
  display: grid;
  justify-items: center;
}

.page-frame {
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(229, 232, 238, 0.72);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
}

.frame-dots {
  height: 34px;
  padding-left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.frame-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 122, 26, 0.32);
}

.frame-dots span:nth-child(2) {
  background: rgba(255, 204, 2, 0.46);
}

.frame-dots span:nth-child(3) {
  background: rgba(48, 209, 88, 0.38);
}

.hero-shot-frame {
  width: min(1300px, 98vw);
  aspect-ratio: 1.34 / 1;
}

.hero-shot-frame img {
  max-width: none;
  width: 100%;
  height: calc(100% - 54px);
  object-fit: contain;
  object-position: center;
  padding: 0;
  filter: drop-shadow(0 12px 20px rgba(101, 113, 132, 0.08));
  transform: translateY(-4px) scale(1.16);
  transform-origin: center center;
}

.feature-section {
  padding: 84px 0 0;
}

.section-heading {
  margin-bottom: 28px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: 0;
}

.feature-stack {
  display: grid;
  gap: clamp(46px, 4.8vw, 68px);
}

.feature-row {
  scroll-margin-top: 110px;
  min-height: 560px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(210px, 0.26fr) minmax(0, 0.74fr);
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(229, 232, 238, 0.72);
  border-radius: 28px;
  box-shadow: none;
}

.feature-row.reverse {
  grid-template-columns: minmax(0, 0.74fr) minmax(210px, 0.26fr);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-frame {
  order: 1;
}

.feature-copy {
  min-width: 0;
  padding: 8px;
}

.feature-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 950;
}

.feature-copy p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
}

.feature-frame {
  height: auto;
  aspect-ratio: 1.34 / 1;
}

.feature-frame img {
  max-width: none;
  width: 100%;
  height: calc(100% - 34px);
  object-fit: contain;
  object-position: center;
  padding: 0;
  filter: drop-shadow(0 10px 18px rgba(101, 113, 132, 0.07));
  transform: scale(1.14);
  transform-origin: center center;
}

.feature-row:first-child .feature-frame img {
  object-fit: contain;
  object-position: center;
  padding: 0;
  transform: scale(1.16);
}

.feature-row .feature-frame img.feature-gif {
  transform: none;
}

.site-footer {
  margin-top: 82px;
  padding: 34px max(28px, calc((100vw - 1320px) / 2)) 30px;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(560px, 1fr);
  gap: 56px;
  color: rgba(255, 255, 255, 0.88);
  background: #222628;
}

.footer-logo {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.footer-logo strong {
  color: #fff;
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.footer-brand p {
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.55;
  font-weight: 950;
}

.footer-brand p span {
  display: block;
}

.social-row {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-button {
  min-height: 24px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  position: relative;
  border-radius: var(--radius-pill);
  color: #fff;
  background: #050505;
  border: 0;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.qr-popover {
  width: 154px;
  padding: 12px;
  display: grid;
  gap: 8px;
  justify-items: center;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 16px);
  z-index: 20;
  transform: translateX(-50%) translateY(8px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid rgba(229, 232, 238, 0.9);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  transition:
    opacity var(--motion-fast) var(--motion-spring),
    transform var(--motion-fast) var(--motion-spring);
}

.qr-popover::after {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
  border-right: 1px solid rgba(229, 232, 238, 0.9);
  border-bottom: 1px solid rgba(229, 232, 238, 0.9);
}

.qr-code {
  width: 96px;
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #111 50%, transparent 0) 0 0 / 16px 16px,
    linear-gradient(#111 50%, transparent 0) 0 0 / 16px 16px,
    #fff;
  border: 8px solid #fff;
  outline: 1px solid rgba(0, 0, 0, 0.12);
}

.qr-code-image {
  height: 96px;
  object-fit: contain;
  background: #fff;
}

.qr-popover span:last-child {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

.social-button:hover,
.social-button:focus-visible,
.social-button.is-active {
  color: var(--color-orange);
}

.social-button:hover .qr-popover,
.social-button:focus-visible .qr-popover,
.social-button.is-active .qr-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.footer-brand small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.footer-brand small.footer-record {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  white-space: nowrap;
}

.footer-brand small.footer-record > a {
  flex: 0 0 auto;
}

.police-record {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.police-record img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 44px;
  justify-self: end;
  justify-content: end;
}

.footer-links h3 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}

.footer-links a,
.footer-link-button {
  display: block;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 800;
}

.footer-link-button {
  width: max-content;
  padding: 0;
  position: relative;
  border: 0;
  background: transparent;
  font-family: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-qr-popover {
  left: 0;
  transform: translateY(8px) scale(0.96);
}

.footer-qr-popover::after {
  left: 28px;
}

.footer-links a:hover,
.footer-link-button:hover,
.footer-link-button:focus-visible,
.footer-link-button.is-active {
  color: var(--color-orange);
}

.footer-link-button:hover .qr-popover,
.footer-link-button:focus-visible .qr-popover,
.footer-link-button.is-active .qr-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.download-toast {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(29, 29, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  font-size: 13px;
  font-weight: 900;
}

.download-toast[hidden] {
  display: none;
}

.download-notice-backdrop {
  padding: 20px;
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 96;
  background: rgba(34, 34, 36, 0.24);
  backdrop-filter: blur(14px);
}

.download-notice-backdrop[hidden] {
  display: none;
}

.download-notice-dialog {
  width: min(420px, 100%);
  padding: 24px;
  display: grid;
  gap: 16px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: 0 28px 72px rgba(31, 35, 42, 0.22);
}

.download-notice-dialog header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-notice-dialog header > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(180deg, var(--color-orange-hover), var(--color-orange));
  border-radius: 14px;
  box-shadow: var(--shadow-orange);
}

.download-notice-dialog svg {
  width: 24px;
  height: 24px;
}

.download-notice-dialog h3,
.download-notice-dialog p {
  margin: 0;
}

.download-notice-dialog header p {
  margin-bottom: 4px;
  color: var(--color-orange);
  font-size: 12px;
  font-weight: 950;
}

.download-notice-dialog h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
}

.download-notice-dialog > p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.download-notice-dialog button {
  min-height: 44px;
  color: #fff;
  background: var(--color-orange);
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.download-notice-dialog button:hover {
  background: var(--color-orange-hover);
}

.copy-bubble {
  width: max-content;
  max-width: min(330px, calc(100vw - 18px));
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  position: fixed;
  z-index: 95;
  left: var(--bubble-left, 0);
  top: var(--bubble-top, 0);
  transform: translateX(-50%);
  color: var(--text-primary);
  background: #fff;
  border: 1px solid rgba(229, 232, 238, 0.92);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
  opacity: 1;
}

.copy-bubble-label {
  grid-column: 1 / -1;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
}

.copy-bubble-email {
  min-width: 0;
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.copy-bubble button {
  min-width: 56px;
  height: 30px;
  padding: 0 12px;
  color: #fff;
  background: var(--color-orange);
  border: 0;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.copy-bubble button:hover,
.copy-bubble button:focus-visible {
  background: var(--color-orange-hover);
}

.copy-bubble::after {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  left: var(--bubble-caret-left, 50%);
  bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
  border-right: 1px solid rgba(229, 232, 238, 0.92);
  border-bottom: 1px solid rgba(229, 232, 238, 0.92);
}

.copy-bubble.is-below::after {
  top: -6px;
  bottom: auto;
  transform: translateX(-50%) rotate(45deg);
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid rgba(229, 232, 238, 0.92);
  border-top: 1px solid rgba(229, 232, 238, 0.92);
}

.copy-bubble[hidden] {
  display: none;
}

.settings-modal-backdrop {
  padding: 20px;
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(34, 34, 36, 0.18);
  backdrop-filter: blur(14px);
}

.settings-modal-backdrop[hidden] {
  display: none;
}

.settings-dialog {
  width: min(100%, 460px);
  overflow: hidden;
  color: var(--text-primary);
  background: rgba(246, 247, 249, 0.96);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
}

.settings-dialog header,
.settings-dialog footer {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-dialog header {
  border-bottom: 0;
}

.settings-dialog header p {
  margin: 0 0 4px;
  color: var(--color-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.settings-dialog h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 20px;
  line-height: 24px;
  font-weight: 950;
}

.settings-dialog header button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.settings-dialog header button:hover {
  color: var(--color-orange);
  background: rgba(255, 122, 26, 0.09);
}

.settings-dialog header button svg {
  width: 18px;
  height: 18px;
}

.settings-dialog-body {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.settings-dialog-body .settings-field + .settings-field {
  margin-top: 2px;
}

.settings-field {
  display: grid;
  gap: 7px;
}

.settings-field span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 900;
}

.settings-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text-primary);
  font: inherit;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1.5px solid rgba(255, 122, 26, 0.24);
  border-radius: 11px;
  outline: 0;
}

.settings-field input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.12);
}

.settings-field small {
  color: var(--color-danger);
  font-size: 12px;
  font-weight: 800;
}

.settings-feedback-dialog {
  width: min(100%, 520px);
  height: min(720px, calc(100vh - 40px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.settings-feedback-body {
  gap: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.settings-feedback-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.settings-feedback-types button {
  min-height: 36px;
  padding: 0 10px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border-glass);
  border-radius: 11px;
  cursor: pointer;
}

.settings-feedback-types button:hover,
.settings-feedback-types button.active {
  color: var(--color-orange);
  background: var(--color-orange-mist);
  border-color: rgba(255, 122, 26, 0.24);
}

.settings-feedback-types button.active {
  box-shadow: inset 0 0 0 1px rgba(255, 122, 26, 0.1);
}

.settings-feedback-field textarea {
  width: 100%;
  min-height: 118px;
  padding: 12px;
  resize: vertical;
  color: var(--text-primary);
  font: inherit;
  font-size: 14px;
  line-height: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  outline: none;
}

.settings-feedback-field textarea:focus,
.settings-feedback-field input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.12);
}

.settings-feedback-field textarea::placeholder,
.settings-feedback-field input::placeholder {
  color: var(--text-tertiary);
}

.feedback-error[hidden],
.settings-feedback-image-error[hidden],
.settings-feedback-image-list[hidden] {
  display: none;
}

.settings-feedback-upload {
  display: grid;
  gap: 8px;
}

.settings-feedback-upload-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-feedback-upload-head span {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 900;
}

.settings-feedback-upload-head small {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 850;
}

.settings-feedback-add-image:focus-visible,
.settings-feedback-image-thumb button:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

.settings-feedback-upload-note,
.settings-feedback-image-error {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
}

.settings-feedback-image-error {
  color: var(--color-danger);
}

.settings-feedback-attachment-row {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.settings-feedback-add-image {
  min-width: 104px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--color-orange);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.68);
  border: 1px dashed rgba(255, 122, 26, 0.3);
  border-radius: 11px;
  cursor: pointer;
}

.settings-feedback-add-image:hover:not(:disabled) {
  color: var(--color-orange-pressed);
  background: var(--color-orange-mist);
  border-color: rgba(255, 122, 26, 0.4);
}

.settings-feedback-add-image:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(31, 35, 42, 0.08);
}

.settings-feedback-add-image svg {
  width: 16px;
  height: 16px;
}

.settings-feedback-attachment-row.is-processing .settings-feedback-add-image svg {
  animation: taskOrbit 800ms linear infinite;
}

.settings-feedback-image-list {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.settings-feedback-image-thumb {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border-glass);
  border-radius: 11px;
}

.settings-feedback-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(31, 35, 42, 0.05);
}

.settings-feedback-image-thumb button {
  width: 22px;
  height: 22px;
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 5px 12px rgba(31, 35, 42, 0.14);
  cursor: pointer;
}

.settings-feedback-image-thumb button:hover {
  color: var(--color-danger);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 69, 58, 0.18);
}

.settings-feedback-image-thumb button svg {
  width: 13px;
  height: 13px;
}

.settings-dialog footer {
  padding-top: 0;
}

.settings-dialog footer button {
  min-height: 44px;
  flex: 1;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 900;
  transition:
    color var(--motion-fast) ease,
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    opacity var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-spring);
  cursor: pointer;
}

.settings-dialog footer button:active {
  transform: scale(0.97);
}

.settings-dialog footer button:first-child {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-glass);
}

.settings-dialog footer button:last-child {
  color: white;
  background: var(--color-orange);
  border: 0;
}

.settings-dialog footer button:last-child:disabled {
  color: rgba(255, 255, 255, 0.9);
  background: #ffd2b5;
  cursor: not-allowed;
  opacity: 1;
}

.settings-dialog footer button:last-child:hover:not(:disabled) {
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.settings-dialog header button:focus-visible,
.settings-dialog footer button:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

@keyframes taskOrbit {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .hero-section {
    padding-top: 50px;
  }

  h1 {
    white-space: normal;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-frame {
    order: initial;
  }

  .feature-copy {
    text-align: center;
  }

  .feature-copy p {
    margin-inline: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 20px, 900px);
    top: 8px;
    min-height: 56px;
    padding: 7px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 22px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    order: 1;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(229, 232, 238, 0.9);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 99px;
    transition:
      transform var(--motion-fast) var(--motion-spring),
      opacity var(--motion-fast) var(--motion-spring);
  }

  .site-header.is-nav-open .nav-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-nav-open .nav-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .brand-link {
    min-height: 42px;
    flex: 1 1 calc(100% - 50px);
    order: 2;
    justify-content: flex-end;
    padding: 0 8px 0 12px;
  }

  .header-download {
    display: none;
  }

  .site-nav {
    order: 3;
    width: 100%;
    max-width: none;
    max-height: 0;
    flex: 0 0 100%;
    align-self: flex-start;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 180ms var(--motion-spring),
      opacity var(--motion-fast) var(--motion-spring),
      visibility var(--motion-fast) var(--motion-spring),
      padding var(--motion-fast) var(--motion-spring);
  }

  .site-header.is-nav-open .site-nav {
    max-height: 280px;
    padding: 4px 0 2px;
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    min-height: 40px;
    width: 100%;
    justify-content: flex-start;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(229, 232, 238, 0.72);
    border-radius: 14px;
  }

  main {
    width: min(100% - 20px, 1200px);
  }

  .hero-section {
    min-height: auto;
    padding: 48px 0 28px;
    gap: 22px;
  }

  .hero-section::before {
    inset: 44px -10px 18px;
    border-radius: 24px;
  }

  .hero-brand-art {
    width: min(430px, 94vw);
    margin-bottom: 0;
  }

  .hero-wordmark {
    max-height: 112px;
  }

  h1 {
    width: min(100%, calc(100vw - 20px));
    max-width: 100%;
    margin-bottom: 22px;
    gap: 4px;
    white-space: nowrap;
  }

  h1 span:first-child {
    font-size: clamp(22px, 6vw, 31px);
  }

  h1 span:nth-child(2) {
    font-size: clamp(15px, 3.85vw, 20px);
  }

  .download-grid {
    width: calc(100% - 32px);
    max-width: none;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-inline: auto;
  }

  .download-button {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    gap: 5px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .download-button svg {
    width: 18px;
    height: 18px;
  }

  .download-mark {
    width: 15px;
    height: 15px;
    margin-left: 0;
    opacity: 1;
    transform: none;
  }

  .hero-shot-frame img {
    width: 100%;
    height: calc(100% - 44px);
    padding: 0;
    transform: translateY(-3px) scale(1.13);
  }

  .feature-section {
    padding-top: 62px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .feature-row {
    min-height: auto;
    padding: 10px;
    border-radius: 22px;
  }

  .feature-stack {
    gap: 34px;
  }

  .feature-copy {
    padding: 2px 4px 0;
  }

  .feature-copy p {
    font-size: 14px;
  }

  .feature-frame {
    aspect-ratio: 1.34 / 1;
    height: auto;
    min-height: 300px;
    border-radius: 18px;
  }

  .frame-dots {
    height: 28px;
    padding-left: 14px;
  }

  .feature-frame img {
    width: 100%;
    height: calc(100% - 28px);
    padding: 0;
    transform: scale(1.1);
  }

  .feature-row:first-child .feature-frame img {
    transform: scale(1.12);
  }

  .feature-row .feature-frame img.feature-gif {
    transform: none;
  }

  .site-footer {
    margin-top: 62px;
    padding: 30px 10px;
  }

  .footer-brand small.footer-record {
    gap: 6px;
    font-size: min(13px, 2.8vw);
  }

  .police-record {
    gap: 3px;
  }

  .police-record img {
    width: 14px;
    height: 14px;
  }

  .settings-modal-backdrop {
    padding: 16px;
  }

  .settings-feedback-dialog {
    height: calc(100vh - 32px);
  }

  .settings-feedback-types {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0;
    justify-self: stretch;
    justify-content: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
