/*
Theme Name: StowHop
Description: The StowHop app website and privacy policy.
Version: 1.0.0
Text Domain: stowhop
*/

:root {
  --sh-ink: #1F1A3D;
  --sh-ink-soft: #4A4470;
  --sh-violet: #5B3FD9;
  --sh-violet-dark: #4A30C2;
  --sh-orange: #FF6B4A;
  --sh-gold: #FFB547;
  --sh-lilac: #C9B8FF;
  --sh-sky: #BFD8FF;
  --sh-card: #FFFFFF;
  --sh-line: rgba(31, 26, 61, 0.12);
  --sh-bg: #F6F3FF;
  --sh-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sh-serif: "New York", "Iowan Old Style", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sh-ink: #F3F0FF;
    --sh-ink-soft: #C4BEE6;
    --sh-violet: #A995FF;
    --sh-violet-dark: #C2B4FF;
    --sh-card: #26204A;
    --sh-line: rgba(243, 240, 255, 0.14);
    --sh-bg: #17132E;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sh-font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--sh-ink);
  background: var(--sh-bg);
}

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

.sh-wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* Header */
.sh-header { padding: 20px 0; }
.sh-header .sh-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sh-brand { display: flex; align-items: center; gap: 10px; color: var(--sh-ink); text-decoration: none; font-weight: 700; font-size: 20px; }
.sh-brand img { width: 36px; height: 36px; border-radius: 9px; }
.sh-nav { display: flex; gap: 20px; font-size: 16px; }
.sh-nav a { white-space: nowrap; color: var(--sh-ink-soft); text-decoration: none; }
.sh-nav a:hover { color: var(--sh-violet); }

/* Hero */
.sh-hero {
  background: linear-gradient(180deg, var(--sh-lilac) 0%, var(--sh-sky) 100%);
  color: #1F1A3D;
  padding: 56px 0 72px;
  text-align: center;
}
.sh-hero__icon {
  width: 148px; height: 148px; margin: 0 auto 28px;
  border-radius: 34px;
  box-shadow: 0 18px 40px rgba(91, 63, 217, 0.28);
}
.sh-hero h1 {
  font-family: var(--sh-serif);
  font-size: clamp(38px, 7vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.sh-hero p { font-size: clamp(18px, 2.4vw, 21px); max-width: 560px; margin: 0 auto 28px; color: #3A335F; }
.sh-badge {
  display: inline-block;
  background: #1F1A3D; color: #fff;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 17px; text-decoration: none;
}

/* Sections */
.sh-section { padding: 64px 0; }
.sh-section h2 {
  font-family: var(--sh-serif);
  font-size: clamp(28px, 4.5vw, 38px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.sh-lead { color: var(--sh-ink-soft); margin: 0 0 32px; max-width: 620px; }

.sh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.sh-step {
  background: var(--sh-card);
  border: 1px solid var(--sh-line);
  border-radius: 22px;
  padding: 26px 24px;
}
.sh-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(180deg, var(--sh-gold), var(--sh-orange));
  color: #fff; font-weight: 700; margin-bottom: 14px;
}
.sh-step h3 { font-size: 20px; margin: 0 0 6px; }
.sh-step p { margin: 0; color: var(--sh-ink-soft); font-size: 17px; }

.sh-private {
  background: var(--sh-card);
  border: 1px solid var(--sh-line);
  border-radius: 26px;
  padding: 36px 32px;
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
}
.sh-private__mark {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(180deg, #7B5CF0, var(--sh-orange) 60%, var(--sh-gold));
  display: flex; align-items: center; justify-content: center;
}
.sh-private h2 { margin-bottom: 6px; }
.sh-private p { margin: 0; color: var(--sh-ink-soft); }

/* Links */
.sh-link {
  color: var(--sh-violet);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1.5px;
}
.sh-link:hover { color: var(--sh-violet-dark); }
.sh-link--arrow::after { content: " \2192"; display: inline-block; transition: transform 0.2s ease; text-decoration: none; }
.sh-link--arrow:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .sh-link--arrow::after { transition: none; }
  .sh-link--arrow:hover::after { transform: none; }
}

/* Footer */
.sh-footer { border-top: 1px solid var(--sh-line); padding: 28px 0 40px; font-size: 15px; color: var(--sh-ink-soft); }
.sh-footer .sh-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.sh-footer a { color: var(--sh-ink-soft); }

/* Legal page */
.sh-prose { max-width: 680px; padding: 40px 0 72px; }
.sh-prose h1 { font-family: var(--sh-serif); font-size: clamp(32px, 6vw, 44px); line-height: 1.1; margin: 0 0 8px; }
.sh-prose .sh-date { color: var(--sh-ink-soft); margin: 0 0 32px; font-size: 16px; }
.sh-prose h2 { font-size: 20px; margin: 32px 0 6px; }
.sh-prose p { margin: 0 0 14px; }

@media (max-width: 760px) {
  .sh-steps { grid-template-columns: 1fr; }
  .sh-private { grid-template-columns: 1fr; padding: 28px 22px; }
  .sh-section { padding: 48px 0; }
  .sh-nav { gap: 14px; }
}

@media (max-width: 520px) {
  .sh-nav a:first-child { display: none; }
}
