:root {
  --bg: #0b0a08;
  --bg-soft: #14110e;
  --paper: #e8dccd;
  --paper-strong: #f2e8db;
  --panel: rgba(245, 236, 223, 0.08);
  --panel-strong: #e8dccd;
  --line: rgba(242, 232, 219, 0.12);
  --line-dark: rgba(18, 15, 12, 0.12);
  --text: #f5efe7;
  --muted: #b9afa1;
  --ink: #17120d;
  --accent: #e38742;
  --accent-soft: #f4bf7a;
  --olive: #c7d073;
  --teal: #88c7c5;
  --danger: #c84b54;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
  --shell: min(1380px, calc(100% - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  justify-items: center;
  align-content: start;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(227, 135, 66, 0.2), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(136, 199, 197, 0.15), transparent 18%),
    linear-gradient(180deg, #13100d 0%, var(--bg) 38%, #080706 100%);
  overflow-x: hidden;
}

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

button,
input,
progress {
  font: inherit;
}

.ambient {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.ambient-left {
  top: 4rem;
  left: -10rem;
  background: var(--accent);
}

.ambient-right {
  right: -9rem;
  top: 20rem;
  background: var(--teal);
}

.page-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: sticky;
  z-index: 60;
  isolation: isolate;
  width: var(--shell);
  margin: 16px auto 0;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 7, 6, 0.9);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.shell {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 3rem;
  align-self: center;
}

.brand-mark {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--paper-strong);
  color: var(--ink);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-size: 0.98rem;
  line-height: 1;
}

.brand-copy-header {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.brand-copy-header strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em;
  transform: translateY(0.05em);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: var(--paper-strong);
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a[aria-current="page"] {
  color: var(--accent-soft);
  background: rgba(244, 191, 122, 0.08);
}

.shell {
  display: grid;
  gap: 4.5rem;
  padding: 2.7rem 0 4.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(0, 1.32fr);
  gap: 1.25rem;
  align-items: start;
}

.hero-copy,
.hero-aside,
.notes-card,
.card,
.workflow-card,
.cta-band {
  border-radius: var(--radius-lg);
}

.hero-copy {
  padding: 2rem 0 0 0;
}

.hero-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-pill-alt {
  background: rgba(245, 239, 231, 0.12);
  color: var(--paper-strong);
}

.eyebrow,
.micro-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
}

.eyebrow {
  color: var(--accent-soft);
}

.micro-label {
  color: rgba(23, 18, 13, 0.52);
}

.hero h1,
.section-intro h2,
.cta-copy h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin-top: 1rem;
  font-size: clamp(5.4rem, 15vw, 11.5rem);
}

.hero h1 span {
  display: block;
  color: var(--paper);
  font-size: 0.58em;
  letter-spacing: 0.17em;
}

.hero-text {
  max-width: 37rem;
  margin: 1rem 0 0;
  font-size: 1.03rem;
  line-height: 1.8;
  color: #ddd2c5;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-button:hover,
.hero-button:focus-visible,
.btn:hover:not(:disabled),
.btn:focus-visible:not(:disabled) {
  transform: translateY(-2px);
}

.hero-button-primary {
  background: var(--paper-strong);
  color: var(--ink);
}

.hero-button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-aside {
  position: relative;
  min-height: 100%;
  padding: 0.15rem 0 0;
}

.hero-workspace {
  margin-top: 4.6rem;
}

.sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 1.2rem;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
  animation: floaty 8s ease-in-out infinite;
}

.sticker-one {
  top: 0.2rem;
  left: 0.2rem;
  transform: rotate(-8deg);
  background: var(--teal);
}

.sticker-two {
  top: 0.4rem;
  right: 1rem;
  transform: rotate(8deg);
  background: var(--accent-soft);
  animation-delay: -1.4s;
}

.sticker-three {
  top: 3.4rem;
  left: 1.1rem;
  transform: rotate(-4deg);
  background: var(--olive);
  animation-delay: -2.2s;
}

.showcase,
.workflow,
.cta-band {
  position: relative;
}

.section-intro {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin-bottom: 1.6rem;
}

.section-intro h2 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.section-intro p:last-child {
  margin: 0;
  line-height: 1.8;
  color: var(--muted);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 1rem;
  align-items: start;
}

.notes-panel {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 102px;
}

.notes-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
}

.notes-card-dark {
  background:
    linear-gradient(180deg, rgba(227, 135, 66, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.notes-card-dark h3,
.notes-card-light p,
.card-heading h3,
.list-head h3,
.workflow-card h3 {
  margin: 0.7rem 0 0;
}

.notes-card-dark h3,
.card-heading h3,
.list-head h3,
.workflow-card h3 {
  font-size: 1.3rem;
}

.list-head h3 {
  margin-bottom: 0.7rem;
}

.notes-card-dark p,
.notes-card-light p,
.workflow-card p {
  margin: 0.65rem 0 0;
  color: #ddd2c5;
  line-height: 1.75;
}

.notes-stack {
  display: grid;
  gap: 1rem;
}

.notes-card-light {
  background: linear-gradient(180deg, var(--panel-strong) 0%, #e3d6c6 100%);
  color: var(--ink);
  border-color: var(--line-dark);
}

.notes-card-light p {
  color: rgba(23, 18, 13, 0.8);
}

.note-tag,
.floating-chip,
.workflow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note-tag {
  background: rgba(23, 18, 13, 0.08);
}

.workspace {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.transfer-card {
  background:
    linear-gradient(180deg, rgba(136, 199, 197, 0.08), transparent),
    rgba(255, 255, 255, 0.03);
}

.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.card-heading-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.floating-chip {
  background: rgba(245, 239, 231, 0.12);
  color: var(--paper-strong);
  border: 1px solid rgba(245, 239, 231, 0.12);
}

.floating-chip-alt {
  background: rgba(227, 135, 66, 0.16);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.transfer-card .action-row {
  margin-top: 1rem;
}

.action-row-primary {
  align-items: stretch;
}

.input {
  min-width: 220px;
  flex: 1;
  border: 1px solid rgba(245, 239, 231, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper-strong);
}

.input::placeholder {
  color: rgba(245, 239, 231, 0.44);
}

.btn {
  border: 1px solid rgba(245, 239, 231, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.05rem;
  font-weight: 800;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  color: var(--paper-strong);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn.primary {
  background: var(--paper-strong);
  border-color: transparent;
  color: var(--ink);
}

.btn.danger {
  background: rgba(200, 75, 84, 0.16);
  border-color: rgba(200, 75, 84, 0.28);
  color: #ffd9dc;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.status-row,
.target-row,
.share-row,
.scanner-row,
.progress-head,
.list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.status-row {
  margin-top: 1rem;
  padding: 1rem 1rem;
  border: 1px solid rgba(245, 239, 231, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.target-row {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(245, 239, 231, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill.idle {
  background: rgba(245, 239, 231, 0.12);
  color: var(--paper-strong);
}

.pill.connecting {
  background: rgba(244, 191, 122, 0.2);
  color: #ffd8a6;
}

.pill.connected {
  background: rgba(136, 199, 197, 0.22);
  color: #c7fffb;
}

.pill.disconnected,
.pill.failed {
  background: rgba(200, 75, 84, 0.2);
  color: #ffd9dc;
}

.participants-dropdown {
  position: relative;
  margin-left: auto;
}

.participants-counter {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(136, 199, 197, 0.22);
  border-radius: 999px;
  background: rgba(136, 199, 197, 0.1);
  color: #d6fffb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.participants-counter::-webkit-details-marker {
  display: none;
}

.participants-counter::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23d6fffb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  transition: transform 180ms ease;
}

.participants-dropdown[open] .participants-counter::after {
  transform: rotate(180deg);
}

.participants-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  width: min(280px, 72vw);
  padding: 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(245, 239, 231, 0.1);
  background: rgba(15, 14, 11, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  z-index: 12;
}

.participants-menu-label {
  margin: 0 0 0.6rem;
  color: rgba(245, 239, 231, 0.54);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.participants-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.participants-list li {
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(245, 239, 231, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.participants-empty {
  color: var(--muted);
  font-weight: 600;
}

.identity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(244, 191, 122, 0.24);
  border: 1px solid rgba(244, 191, 122, 0.34);
  color: #ffd89a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.target-row {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
}

.target-select {
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.25L7 9.25L11 5.25' stroke='%23f5efe7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px 14px;
}

.target-row > div {
  min-width: 0;
  align-self: center;
}

#shareTargetHint {
  display: block;
  margin-top: 0.35rem;
  line-height: 1.5;
}

.scanner,
.share,
.progress-panel,
.list-panel {
  margin-top: 1rem;
}

.scanner,
.share,
.list-panel {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 239, 231, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.share {
  gap: 1.15rem;
}

.scanner video {
  width: 100%;
  max-width: 440px;
  border-radius: 18px;
  background: #000;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(245, 239, 231, 0.12);
}

.scanner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.qr {
  width: fit-content;
  min-width: 180px;
  min-height: 180px;
  padding: 0.75rem;
  margin-top: 0.25rem;
  border-radius: 18px;
  border: 1px dashed rgba(23, 18, 13, 0.16);
  background: var(--panel-strong);
}

.qr img,
.qr canvas {
  display: block;
}

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 1rem;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 2px dashed rgba(245, 239, 231, 0.16);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
}

.dropzone.dragover {
  border-color: var(--accent-soft);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(227, 135, 66, 0.18), rgba(255, 255, 255, 0.03));
}

.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

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

.dropzone-copy strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.dropzone-copy p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.progress-panel {
  display: grid;
  gap: 0.75rem;
}

progress {
  width: 100%;
  height: 16px;
  border-radius: 999px;
}

progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
}

progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-radius: 999px;
}

.muted {
  margin: 0;
  color: var(--muted);
}

.lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  max-height: 300px;
  overflow: auto;
}

.list li {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 239, 231, 0.08);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.list-empty-state {
  color: var(--muted);
}

.download-link {
  border: 0;
  border-radius: 10px;
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}

.list-file-meta {
  min-width: 0;
  overflow-wrap: anywhere;
}

.file-remove-btn {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border: 1px solid rgba(200, 75, 84, 0.24);
  border-radius: 999px;
  background: rgba(200, 75, 84, 0.12);
  color: #ffd9dc;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.file-remove-btn:hover,
.file-remove-btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(200, 75, 84, 0.2);
  border-color: rgba(200, 75, 84, 0.34);
}

.file-remove-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    rgba(255, 255, 255, 0.03);
}

.workflow-index {
  background: rgba(245, 239, 231, 0.12);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--panel-strong) 0%, #d7c8b7 100%);
  color: var(--ink);
}

.cta-copy p:last-child {
  margin: 0.55rem 0 0;
  color: rgba(23, 18, 13, 0.75);
}

.site-footer {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto 24px;
  padding: 1.2rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.63fr));
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    rgba(255, 255, 255, 0.03);
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand-mark {
  display: block;
  width: clamp(96px, 12vw, 140px);
  height: clamp(96px, 12vw, 140px);
  background: transparent;
  border-radius: 0;
  flex: 0 0 auto;
  line-height: 0;
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand h3,
.footer-column p {
  margin: 0;
}

.footer-brand h3 {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  line-height: 1.5;
}

.footer-column {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.footer-title {
  color: var(--paper-strong);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.footer-column a,
.footer-column p {
  color: var(--muted);
  line-height: 1.7;
}

.hidden {
  display: none !important;
}

@keyframes floaty {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -9px;
  }
}

@media (max-width: 1180px) {

  .hero,
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper-strong);
  line-height: 1;
  position: relative;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-line+.nav-toggle-line {
  margin-top: 0.24rem;
}

.site-header.nav-open .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.site-header.nav-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.shell-static {
  gap: 2rem;
}

.page-hero,
.page-card,
.page-band {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.page-hero {
  display: grid;
  gap: 1rem;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.page-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  margin-bottom:0.3rem;
  border-radius: 999px;
  background: rgba(244, 191, 122, 0.16);
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.05em;
}

.page-summary {
  max-width: 58rem;
  margin: 0;
  color: #ddd2c5;
  line-height: 1.8;
}

.page-grid-layout,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-stack {
  display: grid;
  gap: 1rem;
}

.page-card {
  padding: 1.3rem;
}

.page-card h2,
.page-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.page-card p,
.page-card li {
  margin: 0;
  color: #ddd2c5;
  line-height: 1.8;
}

.page-card+.page-card {
  margin-top: 0;
}

.page-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.page-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  background: linear-gradient(135deg, var(--panel-strong) 0%, #d7c8b7 100%);
  color: var(--ink);
}

.page-band h2,
.page-band p {
  margin: 0;
}

.page-band p {
  color: rgba(23, 18, 13, 0.78);
}

.contact-card {
  min-height: 100%;
}

.contact-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1rem;
  align-items: start;
}

.contact-form-card {
  padding: 1.4rem;
}

.contact-card-head {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.contact-card-head h2,
.contact-card-head p {
  margin: 0;
}

.contact-card-head p {
  color: #ddd2c5;
  line-height: 1.8;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.55rem;
}

.form-field span {
  color: var(--paper-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-field em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(245, 239, 231, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper-strong);
}

.form-field textarea {
  min-height: 220px;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid rgba(244, 191, 122, 0.3);
  outline-offset: 2px;
}

.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-color: rgba(200, 75, 84, 0.72);
  box-shadow: 0 0 0 3px rgba(200, 75, 84, 0.12);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-status.success {
  color: #c7fffb;
}

.contact-status.error {
  color: #ffd9dc;
}

.social-links {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(245, 239, 231, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.social-link span,
.social-link strong {
  display: block;
}

.social-link span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.social-link strong {
  color: var(--paper-strong);
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-copy {
    padding-top: 0.2rem;
  }

  .hero-aside {
    padding-top: 5rem;
  }

  .hero-workspace {
    margin-top: 0;
  }

  .action-row-primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-row-primary .input {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
  }

  .page-grid-layout,
  .contact-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    display: grid;
    grid-template-areas:
      "brand toggle"
      "nav nav";
    grid-template-columns: minmax(0, 1fr) 3rem;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    border-radius: 24px;
    top: 10px;
    min-height: auto;
    margin-top: 12px;
  }

  .brand {
    grid-area: brand;
    min-height: 3rem;
    align-self: center;
  }

  .brand-copy-header strong {
    font-size: 2rem;
    transform: translateY(0.04em);
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    grid-area: toggle;
    justify-self: end;
    align-self: center;
    place-self: center end;
  }

  .site-nav {
    grid-area: nav;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    justify-content: stretch;
    justify-items: stretch;
    align-items: stretch;
    transition: max-height 180ms ease, opacity 180ms ease, padding-top 180ms ease;
  }

  .site-header.nav-open .site-nav {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
    padding-top: 0.65rem;
  }

  .site-nav a {
    width: 100%;
    padding: 0.9rem 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    justify-content: center;
    text-align: center;
    background: transparent;
  }

  .hero-aside {
    padding-top: 4.7rem;
  }

  .share-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .page-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (max-width: 640px) {
  :root {
    --shell: min(1380px, calc(100% - 18px));
  }

  .shell {
    gap: 3.5rem;
    padding-top: 2rem;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-labels {
    gap: 0.5rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 20vw, 5.8rem);
  }

  .hero-text {
    font-size: 0.97rem;
    line-height: 1.7;
  }

  .hero-aside {
    padding-top: 4rem;
  }

  .hero-workspace {
    margin-top: 6.3rem;
  }

  .sticker {
    font-size: 0.72rem;
  }

  .sticker-two {
    right: 0.2rem;
  }

  .sticker-three {
    left: 0.2rem;
  }

  .action-row-primary,
  .action-row,
  .share-row,
  .scanner-row,
  .status-row,
  .target-row,
  .progress-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .participants-dropdown {
    margin-left: 0;
    width: 100%;
  }

  .participants-counter {
    margin-left: 0;
    justify-self: start;
    white-space: normal;
  }

  .participants-menu {
    left: 0;
    right: auto;
    width: 100%;
  }

  .target-select {
    max-width: none;
    width: 100%;
  }

  .identity-badge {
    width: auto;
    max-width: 100%;
  }

  .btn,
  .input,
  .hero-button {
    width: 100%;
  }

  .card-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .card-heading-meta {
    justify-content: flex-start;
    margin-left: 0;
  }

  .floating-chip,
  .floating-chip-alt {
    justify-self: start;
  }

  .footer-brand {
    flex-direction: column;
  }

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

  .lists {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: clamp(2.7rem, 16vw, 4.6rem);
  }
}
