/* sendless.cloud — same colors and type as the app. */
:root {
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #5b6675;
  --border: #dce2ea;
  --brand: #2f6fb5;
  --brand-hover: #285e9a;
  --brand-text: #2f6fb5;
  --brand-soft: #e8f0fa;
  --on-brand: #ffffff;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 32px -12px rgba(16, 24, 40, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --bg-alt: #12161c;
    --surface: #161b22;
    --text: #e4e8ee;
    --muted: #9aa4b2;
    --border: #2a313c;
    --brand: #3a7bc8;
    --brand-hover: #4a8ad6;
    --brand-text: #8db3e6;
    --brand-soft: #1b2a3d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand-text);
}
h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  letter-spacing: -0.015em;
}
h3 {
  font-size: 1.08rem;
}
p {
  margin: 0;
  text-wrap: pretty;
}
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 800px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  z-index: 20;
}
.skip:focus {
  top: 12px;
}

/* light/dark logo pairs */
.for-dark {
  display: none !important;
}
@media (prefers-color-scheme: dark) {
  .for-light {
    display: none !important;
  }
  .for-dark {
    display: block !important;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn:hover {
  border-color: color-mix(in srgb, var(--text) 30%, var(--border));
}
.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 0.92rem;
}
.btn-lg {
  height: 52px;
  padding: 0 24px;
  font-size: 1.05rem;
}

/* ---------- header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.brand img {
  height: 28px;
  width: auto;
}
.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover {
  color: var(--text);
}

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 0;
  text-align: center;
  background: radial-gradient(1200px 480px at 50% -10%, var(--brand-soft), transparent 70%);
}
.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  letter-spacing: -0.025em;
  max-width: 820px;
  margin: 0 auto;
}
.lead {
  max-width: 680px;
  margin: 20px auto 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
}
.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.region {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}
.region[hidden] {
  display: none;
}
.region select {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.fineprint {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- screenshots ---------- */
.shot {
  margin: 0;
}
.shot picture {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.shot-hero {
  max-width: 1040px;
  margin: 56px auto 0;
  /* The screenshot rises out of the hero into the next section. */
  margin-bottom: -96px;
  position: relative;
}
.shot figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  align-items: start;
}
/* Same frame for both, showing the top of each page. */
.shots img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

/* ---------- sections ---------- */
.section {
  padding: 88px 0;
}
.hero + .section {
  padding-top: 160px;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.08rem;
}
.grid {
  display: grid;
  gap: 24px;
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.point .icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 10px;
  background: var(--brand-soft);
  stroke: var(--brand-text);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
}
.point p,
.features p,
.steps p {
  margin-top: 6px;
  color: var(--muted);
}
.features article {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

/* how it works */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 52px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
}
.stack-box {
  margin-top: 56px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.stack-box > p {
  margin-top: 16px;
  color: var(--muted);
}
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.services li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 500;
}
.services .optional span {
  color: var(--muted);
  font-weight: 400;
}
.services .optional span::before {
  content: '· ';
}

/* pricing */
.plans {
  max-width: 920px;
  margin: 0 auto;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.plan-pro {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow);
}
.price {
  margin-top: 8px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plan-sub {
  color: var(--muted);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  flex: 1;
}
.checks li {
  position: relative;
  padding-left: 28px;
  margin-top: 10px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--brand-text);
  border-bottom: 2px solid var(--brand-text);
  transform: rotate(-45deg);
}
.plan .btn {
  align-self: flex-start;
}
.note {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* faq */
.faq {
  margin-top: 32px;
  border-top: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  padding: 0 0 18px;
  color: var(--muted);
  max-width: 680px;
}

/* closing call to action */
.closing {
  text-align: center;
  background: radial-gradient(900px 360px at 50% 120%, var(--brand-soft), transparent 70%);
  border-top: 1px solid var(--border);
}
.closing h2 {
  margin-bottom: 28px;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand img {
  height: 40px;
  width: auto;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--text);
}
.legal {
  flex-basis: 100%;
  font-size: 0.8rem;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 60vh;
  display: grid;
  place-content: center;
  gap: 16px;
  text-align: center;
  padding: 64px 0;
}
.notfound p {
  color: var(--muted);
}

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .shots {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }
  .nav {
    display: none;
  }
  .topbar-inner {
    justify-content: space-between;
  }
  .brand img {
    height: 24px;
  }
  .hero {
    padding-top: 48px;
  }
  .eyebrow {
    font-size: 0.76rem;
    padding: 3px 10px;
  }
  .shot-hero {
    margin-top: 40px;
    margin-bottom: -48px;
  }
  .hero + .section {
    padding-top: 104px;
  }
  .section {
    padding: 64px 0;
  }
  .grid-4,
  .grid-3,
  .grid-2,
  .steps {
    grid-template-columns: 1fr;
  }
  .plan {
    padding: 24px;
  }
  .cta .btn {
    width: 100%;
  }
}
