/* SloePost website — static, no build step */

@import url("fonts/fonts.css");

:root {
  --paper: #f6f5f2;
  --paper-2: #efece6;
  --cream: #fffdf9;
  --ink: #17161a;
  --muted: #625e59;
  --faint: #6f6962;
  --line: #e2dcd3;
  --line-strong: #cec6bb;
  --plum: #5a3d5c;
  --plum-deep: #43294b;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 48px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection {
  background: var(--plum);
  color: var(--cream);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}

.skip:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 15px;
}

.brand img {
  width: 24px;
  height: 24px;
  color: var(--ink);
}

.site-header nav {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  color: var(--muted);
}

.site-header nav a:hover {
  color: var(--ink);
}

.nav-cta {
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}

.nav-cta:hover {
  border-color: var(--ink);
  color: var(--ink);
}

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

/* ---------- frame ---------- */

.frame {
  max-width: var(--max);
  margin: 0 auto;
  border-left: 1px dashed var(--line-strong);
  border-right: 1px dashed var(--line-strong);
  padding: 0 var(--pad);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(56px, 9vw, 104px);
}

.eyebrow {
  margin: 0 0 26px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero h1 {
  margin: 0;
  max-width: 15ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 8.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--plum);
}

.lede {
  margin: 26px 0 0;
  max-width: 58ch;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--muted);
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.btn.primary {
  background: var(--ink);
  color: var(--cream);
}

.btn.primary:hover {
  background: var(--plum);
}

.btn.ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: var(--ink);
  background: var(--cream);
}

.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn span {
  transition: transform 160ms ease;
}

.btn:hover span {
  transform: translateX(3px);
}

.snail-wrap {
  width: min(660px, 96%);
  margin: clamp(28px, 5vw, 48px) 0 0;
}

.snail {
  width: 100%;
  height: auto;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: clamp(24px, 4vw, 40px);
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--faint);
  text-align: left;
}

.hero-meta span:last-child {
  text-align: right;
}

@media (max-width: 700px) {
  .hero-meta {
    flex-direction: column;
    gap: 6px;
  }

  .hero-meta span:last-child {
    text-align: left;
  }
}

/* ---------- sections ---------- */

section {
  border-top: 1px solid var(--line);
}

.section-inner {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-label {
  margin: 0 0 22px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.section-title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.section-title em {
  font-style: italic;
  color: var(--plum);
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.step {
  padding: 28px 30px 8px 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step + .step {
  padding-left: 30px;
}

.step .num {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  color: var(--line-strong);
}

.step h3 {
  margin: 18px 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 34ch;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
  }

  .step + .step {
    padding-left: 0;
  }

  .step:last-child {
    border-bottom: 0;
  }
}

/* ---------- caption showcase ---------- */

.captions {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.caption-copy p {
  max-width: 42ch;
  color: var(--muted);
  margin: 22px 0 0;
}

.caption-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.caption-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.caption-list li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--plum);
}

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.phone {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background:
    radial-gradient(120% 80% at 50% 0%, #3d2f42 0%, #1c1820 55%, #141216 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 10px 22px;
  box-shadow: 0 18px 40px -24px rgb(23 22 26 / 0.55);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgb(255 255 255 / 0.035) 0 2px, transparent 2px 9px);
}

.phone .cap {
  position: relative;
  width: 100%;
  font-weight: 700;
  font-size: 11.5px;
  line-height: 1.3;
  text-align: center;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.phone.clean .cap {
  color: #fff;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.6);
}

.phone.bold .cap {
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.01em;
  -webkit-text-stroke: 3px #17161a;
  paint-order: stroke fill;
}

.phone.boxed .cap {
  background: var(--plum);
  color: #fff;
  padding: 8px 10px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .captions {
    grid-template-columns: 1fr;
  }
}

/* ---------- privacy band ---------- */

.privacy-band {
  background: var(--ink);
  color: #f3f0eb;
  border-top: 0;
}

.privacy-band .section-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}

.privacy-band .section-label {
  color: #8f8a83;
}

.privacy-band .section-title {
  color: #f3f0eb;
}

.privacy-band .section-title em {
  color: #c9a6ce;
}

.privacy-band p {
  color: #b3aca4;
  margin: 22px 0 0;
  max-width: 46ch;
}

.privacy-band .btn.ghost {
  border-color: #4a464e;
  color: #f3f0eb;
  margin-top: 6px;
}

.privacy-band .btn.ghost:hover {
  border-color: #8f8a83;
  background: #201f23;
}

.privacy-band ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
  align-content: start;
}

.privacy-band li {
  padding-bottom: 18px;
  border-bottom: 1px solid #2e2b31;
  color: #b3aca4;
  font-size: 14.5px;
}

.privacy-band li strong {
  display: block;
  color: #f3f0eb;
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 14.5px;
}

@media (max-width: 820px) {
  .privacy-band .section-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- download ---------- */

.download {
  text-align: center;
}

.download .section-title {
  margin: 0 auto;
}

.download p {
  margin: 20px auto 0;
  max-width: 46ch;
  color: var(--muted);
}

.download .actions {
  margin-top: 28px;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 18px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--plum);
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--pad) 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}

.footer-brand img {
  width: 22px;
  height: 22px;
}

.footer-meta {
  max-width: 34ch;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  color: var(--muted);
}

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

/* ---------- prose (terms, privacy) ---------- */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad) 96px;
}

.prose h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.prose .updated {
  margin: 0 0 48px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.prose h2 {
  margin: 52px 0 14px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 15.5px;
  font-weight: 600;
}

.prose p,
.prose li {
  color: #3b3833;
  font-size: 15.5px;
  line-height: 1.72;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--plum);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--plum-deep);
}

.callout {
  margin: 32px 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--plum);
  border-radius: 0 12px 12px 0;
  background: var(--cream);
}

.callout p {
  margin: 0;
  font-size: 15px;
}

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

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