/* Splice PDF — marketing site
   Palette drawn from the app icon: crimson→pink gradient body,
   paper-white sheets, glowing indigo slash. */

:root {
  --ink: #16080c;            /* near-black with a red undertone */
  --ink-raised: #20101a;
  --paper: #f4eff1;
  --paper-dim: #b9aab2;
  --paper-faint: #8a7a83;
  --crimson: #e0344f;
  --pink: #e91e63;
  --slash-a: #7c6cf0;        /* indigo end of the slash */
  --slash-b: #4f9df7;        /* blue end of the slash */
  --hairline: rgba(244, 239, 241, 0.1);
  --grad-brand: linear-gradient(135deg, #ef4056 0%, #d31f55 55%, #c2185b 100%);
  --grad-slash: linear-gradient(100deg, var(--slash-a), var(--slash-b));
  --font-display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: var(--paper); }

/* ---- atmosphere: glow fields + film grain ---------------------------- */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(224, 52, 79, 0.22), transparent 65%),
    radial-gradient(700px 500px at -10% 35%, rgba(124, 108, 240, 0.13), transparent 60%),
    radial-gradient(800px 600px at 60% 110%, rgba(194, 24, 91, 0.12), transparent 65%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- layout ----------------------------------------------------------- */

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- nav -------------------------------------------------------------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
}

.nav-brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 4px 14px rgba(224, 52, 79, 0.45));
}

.nav-brand strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-brand span {
  display: block;
  font-size: 0.72rem;
  color: var(--paper-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--paper-dim);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 160ms ease;
}

.nav-links a:hover { color: var(--paper); }

.nav-cta {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 18px;
  background: rgba(244, 239, 241, 0.04);
}

.nav-cta:hover {
  border-color: rgba(233, 30, 99, 0.6);
  background: rgba(233, 30, 99, 0.1);
}

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

.hero {
  position: relative;
  padding: 90px 0 60px;
  text-align: center;
}

/* the glowing slash that cuts diagonally behind the headline */
.hero h1::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 58%;
  width: min(120vw, 1400px);
  height: 3px;
  transform: translate(-50%, -50%) rotate(-9deg);
  background: var(--grad-slash);
  border-radius: 999px;
  box-shadow:
    0 0 24px rgba(124, 108, 240, 0.75),
    0 0 80px rgba(79, 157, 247, 0.4);
  opacity: 0;
  animation: slash-in 900ms cubic-bezier(0.16, 1, 0.3, 1) 500ms forwards;
}

@keyframes slash-in {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 0.9; clip-path: inset(0 0 0 0); }
}

.hero-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 30px;
  filter: drop-shadow(0 18px 50px rgba(224, 52, 79, 0.5));
  animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.5vw, 5.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.hero h1 .cut-word {
  background: var(--grad-slash);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 560px;
  margin: 26px auto 0;
  color: var(--paper-dim);
  font-size: 1.2rem;
  animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) 240ms both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
  animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) 360ms both;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--paper-faint);
  animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) 460ms both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- buttons ---------------------------------------------------------- */

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  box-shadow:
    0 10px 32px rgba(224, 52, 79, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 44px rgba(224, 52, 79, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-store .apple { font-size: 1.35rem; line-height: 1; }

.btn-store small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-ghost {
  color: var(--paper-dim);
  text-decoration: none;
  font-size: 0.98rem;
  border-bottom: 1px dashed var(--paper-faint);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}

.btn-ghost:hover { color: var(--paper); border-color: var(--paper); }

/* ---- perforated cut-line divider -------------------------------------- */

.cutline {
  position: relative;
  border: none;
  border-top: 2px dashed rgba(244, 239, 241, 0.18);
  margin: 70px 0;
  overflow: visible;
}

.cutline::after {
  content: "✂";
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-54%) rotate(180deg);
  font-size: 1.3rem;
  color: var(--slash-a);
  background: var(--ink);
  padding: 0 10px;
  text-shadow: 0 0 18px rgba(124, 108, 240, 0.8);
}

.cutline.alt::after { left: auto; right: 8%; }

/* ---- screenshot showcase ---------------------------------------------- */

.showcase {
  position: relative;
  margin-top: 70px;
  perspective: 1200px;
  animation: rise 800ms cubic-bezier(0.16, 1, 0.3, 1) 560ms both;
}

.window-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 90px rgba(224, 52, 79, 0.14);
}

.window-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- features ---------------------------------------------------------- */

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 560px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.feature {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px 24px;
  background: linear-gradient(160deg, rgba(244, 239, 241, 0.045), rgba(244, 239, 241, 0.015));
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 30, 99, 0.45);
}

.feature::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 60%;
  height: 2px;
  background: var(--grad-slash);
  opacity: 0;
  transition: opacity 220ms ease, right 320ms ease;
}

.feature:hover::before { opacity: 1; right: 24px; }

.feature .glyph {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 16px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.95rem;
  color: var(--paper-dim);
  line-height: 1.55;
}

/* ---- split/combine duo ------------------------------------------------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 54px;
}

.duo .window-frame { box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); }

.duo h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.duo h3 .tag {
  display: inline-block;
  vertical-align: 4px;
  margin-left: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(124, 108, 240, 0.16);
  color: #a99cf5;
}

.duo p { color: var(--paper-dim); }

.duo.flip > .duo-copy { order: 2; }

/* ---- privacy strip ------------------------------------------------------ */

.privacy-strip {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 56px 48px;
  margin: 30px 0;
  background:
    radial-gradient(500px 300px at 12% 0%, rgba(124, 108, 240, 0.14), transparent 70%),
    linear-gradient(160deg, rgba(244, 239, 241, 0.05), rgba(244, 239, 241, 0.01));
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.privacy-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.privacy-strip p { color: var(--paper-dim); }

.privacy-facts {
  list-style: none;
  display: grid;
  gap: 14px;
}

.privacy-facts li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.98rem;
  color: var(--paper-dim);
}

.privacy-facts li::before {
  content: "—";
  color: var(--pink);
  font-weight: 700;
  flex-shrink: 0;
}

.privacy-facts strong { color: var(--paper); font-weight: 600; }

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

.footer {
  padding: 56px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--paper-faint);
  font-size: 0.88rem;
}

.footer a { color: var(--paper-dim); text-decoration: none; }
.footer a:hover { color: var(--paper); }

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

/* ---- prose (privacy policy) --------------------------------------------- */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0 40px;
}

.prose h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 10px;
}

.prose .effective {
  color: var(--paper-faint);
  font-size: 0.92rem;
  margin-bottom: 44px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 44px 0 12px;
}

.prose p { color: var(--paper-dim); margin-bottom: 16px; }

.prose ul {
  margin: 0 0 16px 2px;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--paper-dim);
}

.prose ul li::before {
  content: "✂";
  position: absolute;
  left: 0;
  top: 1px;
  transform: rotate(180deg);
  font-size: 0.85rem;
  color: var(--slash-a);
}

.prose strong { color: var(--paper); font-weight: 600; }

.prose a { color: var(--pink); text-decoration: none; border-bottom: 1px solid rgba(233, 30, 99, 0.35); }
.prose a:hover { border-color: var(--pink); }

.prose .tldr {
  border: 1px dashed rgba(124, 108, 240, 0.5);
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 36px;
  background: rgba(124, 108, 240, 0.07);
}

.prose .tldr p { margin: 0; color: var(--paper); font-size: 1.08rem; }

/* ---- responsive ---------------------------------------------------------- */

@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; gap: 24px; }
  .duo.flip > .duo-copy { order: 0; }
  .privacy-strip { grid-template-columns: 1fr; padding: 40px 30px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}
