:root {
  --brand-start: #e76f51;
  --brand-start-dark: #cf5d42;
  --brand-p2p: #264653;
  --brand-p2p-light: #2a9d8f;
  --brand-success: #3cb371;
  --ink-900: #212529;
  --ink-700: #495057;
  --ink-500: #6c757d;
  --surface-0: #ffffff;
  --surface-50: #fff8f5;
  --surface-100: #f8f9fa;
  --surface-200: #f1f3f5;
  --border-color: #dee2e6;
  --shadow-soft: 0 20px 60px rgba(33, 37, 41, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at top left, rgba(231, 111, 81, 0.12), transparent 34%),
    linear-gradient(180deg, #fffdfc 0%, #ffffff 38%, #f8f9fa 100%);
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(222, 226, 230, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-wordmark,
.brand-inline {
  color: var(--brand-start-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-wordmark {
  font-size: 20px;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-700);
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a[aria-current="page"] {
  color: var(--brand-start-dark);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.site-nav .button {
  color: #ffffff;
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.button-primary,
.button-app-sendanywair {
  background: linear-gradient(135deg, var(--brand-start), #f08a62);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(231, 111, 81, 0.24);
}

.button-app-sendanywair,
.button-app-p2p {
  min-width: 154px;
}

.button-app-p2p {
  background: linear-gradient(135deg, var(--brand-p2p), var(--brand-p2p-light));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(38, 70, 83, 0.22);
}

.button-secondary {
  background: var(--surface-0);
  color: var(--ink-900);
  border-color: var(--border-color);
}

.hero {
  padding: 78px 0 42px;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(231, 111, 81, 0.12);
  color: var(--brand-start-dark);
  font-size: 14px;
  font-weight: 800;
}

h1 {
  margin: 24px 0 16px;
  max-width: 820px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p,
.section-heading p,
.panel p,
.card p,
.receiver-card p,
.faq-card p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.7;
}

.hero p,
.section-heading p {
  font-size: 1.08rem;
}

.hero-actions,
.inline-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.section {
  padding: 54px 0;
}

.section-tint {
  background: linear-gradient(180deg, rgba(255, 248, 245, 0.72), rgba(255, 255, 255, 0));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

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

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

.card,
.panel,
.receiver-card,
.faq-card {
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--surface-0);
  box-shadow: 0 10px 30px rgba(33, 37, 41, 0.04);
}

.panel {
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(231, 111, 81, 0.12);
  color: var(--brand-start-dark);
  font-weight: 800;
}

.card h3,
.panel h3,
.receiver-card h3,
.faq-card h3 {
  margin: 0 0 10px;
}

.feature-list,
.plan-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.plan-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ink-700);
  line-height: 1.65;
}

.check-dot {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(60, 179, 113, 0.12);
  color: #1f7a4f;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.available {
  background: rgba(60, 179, 113, 0.12);
  color: #1f7a4f;
}

.status-pill.p2p {
  background: rgba(38, 70, 83, 0.12);
  color: var(--brand-p2p);
}

.peer-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.peer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.peer-row strong {
  display: block;
  margin-bottom: 4px;
}

.peer-row span {
  color: var(--ink-500);
  font-size: 13px;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: var(--surface-200);
  overflow: hidden;
}

.progress-fill {
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-start), #f4a261);
}

.transfer-line {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(38, 70, 83, 0.06);
  border: 1px solid rgba(38, 70, 83, 0.1);
}

.receiver-meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.receiver-meta span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-500);
  font-size: 14px;
}

.receiver-meta strong {
  color: var(--ink-900);
}

.download-actions {
  margin-top: 18px;
  gap: 10px;
}

.download-actions .button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
}

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

.step {
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #fff8f5 100%);
}

.step-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-bottom: 18px;
  background: var(--brand-start);
  color: #fff;
  font-weight: 800;
}

.flow-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(222, 226, 230, 0.95);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 245, 0.72)),
    radial-gradient(circle at 18% 20%, rgba(231, 111, 81, 0.14), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(60, 179, 113, 0.13), transparent 26%);
  box-shadow: var(--shadow-soft);
}

.p2p-flow-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.flow-node-body {
  fill: #fff;
  stroke: var(--border-color);
  stroke-width: 2;
}

.flow-node-accent {
  fill: rgba(231, 111, 81, 0.12);
  stroke: rgba(231, 111, 81, 0.24);
  stroke-width: 2;
}

.flow-node-ready {
  fill: rgba(60, 179, 113, 0.12);
  stroke: rgba(60, 179, 113, 0.24);
  stroke-width: 2;
}

.flow-node-muted {
  fill: rgba(38, 70, 83, 0.08);
  stroke: rgba(38, 70, 83, 0.14);
  stroke-width: 2;
}

.flow-node-title {
  fill: var(--ink-900);
  font-size: 23px;
  font-weight: 800;
}

.flow-node-subtitle,
.flow-step-label {
  fill: var(--ink-500);
  font-size: 15px;
  font-weight: 600;
}

.flow-line {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-line-signal {
  stroke: #e76f51;
  stroke-dasharray: 12 14;
  animation: lineMarch 3.8s linear infinite;
}

.flow-line-direct {
  stroke: #3cb371;
  stroke-dasharray: 18 12;
  animation: lineMarch 3s linear infinite;
}

.flow-line-save {
  stroke: #264653;
  stroke-dasharray: 14 11;
  animation: lineMarch 3.4s linear infinite;
}

.flow-line-fallback {
  stroke: #adb5bd;
  stroke-dasharray: 8 14;
}

.flow-packet-signal {
  fill: #e76f51;
}

.flow-packet-direct {
  fill: #3cb371;
}

.flow-packet-save {
  fill: #264653;
}

.flow-motion {
  position: absolute;
  inset: 18px;
  z-index: 2;
  pointer-events: none;
}

.motion-packet {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 22px rgba(33, 37, 41, 0.22);
}

.motion-packet-signal {
  background: #e76f51;
  animation: packetSignal 7.2s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.motion-packet-direct {
  background: #3cb371;
  animation: packetDirect 7.2s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  animation-delay: 1.8s;
}

.motion-packet-save {
  background: #264653;
  animation: packetSave 7.2s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  animation-delay: 4.2s;
}

.flow-side {
  display: grid;
  gap: 12px;
}

.flow-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  animation: stepGlow 7.2s ease-in-out infinite;
}

.flow-step:nth-child(2) {
  animation-delay: 1.2s;
}

.flow-step:nth-child(3) {
  animation-delay: 2.7s;
}

.flow-step:nth-child(4) {
  animation-delay: 4.4s;
}

.flow-step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(231, 111, 81, 0.12);
  color: var(--brand-start-dark);
  font-weight: 800;
}

.note {
  background: linear-gradient(135deg, rgba(231, 111, 81, 0.1), rgba(244, 162, 97, 0.08));
  border-color: rgba(231, 111, 81, 0.18);
}

.privacy-panel {
  padding: 24px;
  border: 1px solid rgba(38, 70, 83, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(38, 70, 83, 0.08), rgba(42, 157, 143, 0.08));
}

.privacy-panel h3 {
  margin: 0 0 10px;
}

.privacy-panel p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.7;
}

.privacy-panel p + p {
  margin-top: 12px;
}

.cta-block {
  padding: 30px;
  margin: 30px 0 64px;
  border-radius: 28px;
  background: linear-gradient(135deg, #212529 0%, #343a40 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-block h2 {
  margin: 0;
  font-size: 2rem;
}

.cta-block p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 0 0 42px;
  color: var(--ink-500);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink-900);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(260px, 0.26fr);
  gap: 28px;
  align-items: start;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content section,
.legal-nav {
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--surface-0);
  box-shadow: 0 10px 30px rgba(33, 37, 41, 0.04);
}

.legal-content h2,
.legal-nav h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li,
.legal-nav li {
  color: var(--ink-700);
  line-height: 1.7;
}

.legal-content p {
  margin: 0;
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content ul,
.legal-nav ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.legal-nav {
  position: sticky;
  top: 96px;
}

.legal-nav a {
  color: var(--ink-700);
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--brand-start-dark);
}

.legal-updated {
  color: var(--ink-500);
  font-size: 14px;
}

@keyframes lineMarch {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -78;
  }
}

@keyframes packetSignal {
  0%, 8% {
    left: 17%;
    top: 28%;
    opacity: 0;
  }

  14% {
    opacity: 1;
  }

  42% {
    left: 50%;
    top: 30%;
    opacity: 1;
  }

  70% {
    left: 82%;
    top: 29%;
    opacity: 1;
  }

  82%, 100% {
    left: 82%;
    top: 29%;
    opacity: 0;
  }
}

@keyframes packetDirect {
  0%, 7% {
    left: 18%;
    top: 54%;
    opacity: 0;
  }

  13% {
    opacity: 1;
  }

  44% {
    left: 50%;
    top: 66%;
    opacity: 1;
  }

  73% {
    left: 82%;
    top: 54%;
    opacity: 1;
  }

  86%, 100% {
    left: 82%;
    top: 54%;
    opacity: 0;
  }
}

@keyframes packetSave {
  0%, 10% {
    left: 82%;
    top: 58%;
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  58% {
    left: 82%;
    top: 81%;
    opacity: 1;
  }

  76%, 100% {
    left: 82%;
    top: 81%;
    opacity: 0;
  }
}

@keyframes stepGlow {
  0%, 100% {
    border-color: var(--border-color);
    box-shadow: none;
    transform: translateY(0);
  }

  18%, 36% {
    border-color: rgba(231, 111, 81, 0.35);
    box-shadow: 0 14px 34px rgba(231, 111, 81, 0.12);
    transform: translateY(-2px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .grid-2,
  .grid-3,
  .receiver-grid,
  .faq-grid,
  .legal-layout,
  .steps {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-nav a:not(.button) {
    display: none;
  }

  .site-nav,
  .hero-actions,
  .inline-actions,
  .footer-inner,
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero {
    padding-top: 44px;
  }

  .cta-block {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-line,
  .motion-packet,
  .flow-step {
    animation: none;
  }

  .flow-packet {
    display: none;
  }
}
