/* Hightouch-inspired tokens for jokipojat.com / pCloud affiliate */
:root {
  --accent: #40de9e;
  --accent-hover: #2ea281;
  --accent-pressed: #228457;
  --accent-wash: #e3fcee;
  --accent-soft: #b2f9d4;
  --ink: #141213;
  --body: #302d2e;
  --muted: #8f8a8b;
  --muted-strong: #696365;
  --canvas: #ffffff;
  --surface-alt: #f5f5f5;
  --surface-warm: #ebebeb;
  --border: #c7c2c3;
  --border-soft: #ebebeb;
  --on-primary: #141213;
  --on-dark: #f5f5f5;
  --footer-bg: #141213;
  --reframe-green: #efffbc;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-card: 16px;
  --max-width: 1240px;
  --section-pad: clamp(64px, 10vw, 120px);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-editorial: "Lora", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--body);
  background: var(--canvas);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--on-primary);
  font-weight: 600;
  border-radius: var(--radius-lg);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59, 65, 62, 0.17);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--ink);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-primary);
}

.btn-primary:active {
  background: var(--accent-pressed);
}

.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--muted);
  color: var(--ink);
}

.btn-block-mobile {
  width: 100%;
}

@media (min-width: 480px) {
  .btn-block-mobile {
    width: auto;
  }
}

.header-cta {
  flex-shrink: 0;
}

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 128px) 0 var(--section-pad);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-strong);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 20px;
}

.hero-title .accent-word {
  color: var(--accent-hover);
}

.hero-carousel {
  min-height: 1.1em;
  position: relative;
}

.hero-claims {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-claim {
  display: none;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-claim.is-active {
  display: block;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 36rem;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.carousel-controls {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  align-items: center;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--canvas);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
}

.carousel-btn:hover {
  border-color: var(--accent);
}

.carousel-pause {
  font-size: 13px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px;
}

.hero-visual {
  background: var(--surface-alt);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border-soft);
}

.hero-visual ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-visual li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
}

.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent-wash);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-pressed);
  font-size: 14px;
  font-weight: 700;
}

/* Logo strip */
.proof-strip {
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.proof-strip p {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.proof-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  align-items: center;
}

.proof-item {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted-strong);
  opacity: 0.85;
}

/* Sections */
.section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-header {
  max-width: 40rem;
  margin-bottom: 48px;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
}

.section-lead {
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  color: var(--body);
}

/* Cards grid */
.cards-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .cards-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cards-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.capability-card {
  background: var(--canvas);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.section-alt .capability-card {
  background: var(--canvas);
}

.capability-card:hover {
  box-shadow: 0 8px 24px rgba(20, 18, 19, 0.06);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-wash);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.capability-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 8px;
}

.capability-card p {
  margin: 0;
  font-size: 16px;
  color: var(--body);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--reframe-green);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}

.pricing-capacity {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}

.pricing-desc {
  font-size: 15px;
  color: var(--muted-strong);
  margin: 0 0 20px;
  flex-grow: 1;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 32px;
}

/* Dark panel */
.dark-panel {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-card);
  padding: clamp(32px, 5vw, 48px);
}

.dark-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--on-dark);
}

.dark-panel p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.85);
  margin: 0 0 24px;
  max-width: 36rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip {
  background: rgba(64, 222, 158, 0.15);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.dark-panel .btn-primary {
  color: var(--on-primary);
}

/* Quote */
.editorial-quote {
  font-family: var(--font-editorial);
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.45;
  color: var(--body);
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 0;
  max-width: 32rem;
}

.quote-attribution {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: var(--section-pad) 0;
  background: var(--accent-wash);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 16px;
}

.cta-band p {
  font-size: 18px;
  max-width: 32rem;
  margin: 0 auto 28px;
  color: var(--body);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--on-dark);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--on-dark);
  margin: 0 0 12px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(245, 245, 245, 0.65);
  margin: 0;
  max-width: 28rem;
}

.footer-col h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--on-dark);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(245, 245, 245, 0.75);
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 245, 245, 0.12);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(245, 245, 245, 0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.disclosure {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.45);
  margin-top: 16px;
}