/* ============================================================
   SkipStone landing page — brand styles
   Palette mirrors the app: sky #6FD6F2 → teal #1CA6C9 → deep #0B7C8C
   ============================================================ */

:root {
  --sky: #6fd6f2;
  --teal: #1ca6c9;
  --teal-deep: #0b7c8c;
  --teal-ink: #0a3a44;
  --ink: #0b2a33;
  --slate: #51666e;
  --paper: #f5fafc;
  --white: #ffffff;
  --grad: linear-gradient(135deg, #2eb8da 0%, #0e8da6 100%);
  --hero-grad: linear-gradient(160deg, #6fd6f2 0%, #1ca6c9 52%, #0b7c8c 100%);
  --radius: 18px;
  --shadow: 0 18px 50px rgba(8, 48, 60, 0.12);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.85rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px rgba(14, 141, 166, 0.4);
}
.btn--light {
  background: #fff;
  color: var(--teal-deep);
  box-shadow: 0 10px 26px rgba(6, 40, 50, 0.25);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.section .btn--ghost,
.nav .btn--ghost { color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(11, 124, 140, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}
.nav__brand img { border-radius: 9px; }
.nav__links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.nav__links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav__links a:hover { color: #fff; }
.nav__cta { padding: 0.6rem 1.2rem; font-size: 0.92rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--hero-grad);
  color: #fff;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2.5rem) clamp(5rem, 9vw, 8rem);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero__inner > * { min-width: 0; }
.hero__copy { max-width: 100%; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.85); }
.hero__copy h1 {
  font-size: clamp(1.95rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
.hero__copy h1 .grad-text {
  background: linear-gradient(120deg, #ffffff 0%, #c9f1fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  margin: 1.4rem 0 2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
}
.hero__sub strong { color: #fff; }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.platforms {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.platforms__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}
.platforms ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.platforms li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Hero art / animated stone */
.hero__art { display: flex; justify-content: center; }
.stone-scene { width: min(420px, 80vw); aspect-ratio: 1; }
.stone { animation: bob 3.6s ease-in-out infinite; transform-origin: 230px 240px; }
@keyframes bob {
  0%, 100% { transform: rotate(-18deg) translateY(0); }
  50%      { transform: rotate(-18deg) translateY(-12px); }
}
.ripple { opacity: 0; transform-origin: 230px 320px; }
.r1 { animation: ring 3.6s ease-out infinite; }
.r2 { animation: ring 3.6s ease-out infinite 0.5s; }
.r3 { animation: ring 3.6s ease-out infinite 1s; }
@keyframes ring {
  0%   { opacity: 0.7; transform: scale(0.5); }
  70%  { opacity: 0.18; }
  100% { opacity: 0; transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .stone, .ripple { animation: none; }
  .ripple { opacity: 0.4; }
}

/* Wave divider at bottom of hero */
.wave-divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--paper);
  -webkit-mask: radial-gradient(80px 60px at 50% 0, transparent 98%, #000) repeat-x;
  mask: radial-gradient(80px 60px at 50% 0, transparent 98%, #000) repeat-x;
  -webkit-mask-size: 160px 60px;
  mask-size: 160px 60px;
}

/* ---------- Positioning strip ---------- */
.strip {
  max-width: 880px;
  margin: clamp(2.5rem, 5vw, 4rem) auto;
  padding: 0 1.5rem;
  text-align: center;
}
.strip p {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: var(--teal-ink);
  line-height: 1.45;
}
.strip strong { color: var(--teal-deep); }

/* ---------- Generic section ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}
.section--tint {
  max-width: none;
  background: linear-gradient(180deg, #eef8fb 0%, #e3f3f8 100%);
}
.section--tint > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.8rem; }
.section__head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14, 141, 166, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(8, 48, 60, 0.16);
}
.card__icon {
  font-size: 1.9rem;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #e4f6fb, #cdeef6);
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--slate); }

/* ---------- Use cases ---------- */
.usecases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.3rem;
}
.usecase {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  border-left: 4px solid var(--teal);
  box-shadow: 0 10px 30px rgba(8, 48, 60, 0.08);
}
.usecase__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.7rem;
}
.usecase p { font-size: 1.05rem; font-weight: 500; color: var(--teal-ink); }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-bottom: 3rem;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
}
.step__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(14, 141, 166, 0.35);
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }
.step p { color: var(--slate); }

/* ---------- Transports ---------- */
.transports {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.transport {
  background: linear-gradient(135deg, #0e8da6, #0b7c8c);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.transport h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.transport p { color: rgba(255, 255, 255, 0.88); font-size: 0.96rem; }

/* ---------- Final CTA ---------- */
.cta {
  background: var(--hero-grad);
  color: #fff;
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem;
}
.cta__inner { max-width: 720px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.cta p { margin: 1rem 0 2rem; font-size: 1.15rem; color: rgba(255, 255, 255, 0.92); }
.cta__actions { display: flex; justify-content: center; }
.cta__stores {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.store-badge {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------- Footer ---------- */
.footer {
  background: #07313a;
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
.footer__brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 800; font-size: 1.15rem; color: #fff;
}
.footer__brand img { border-radius: 8px; }
.footer__links { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-weight: 600; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--hero-grad);
  color: #fff;
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
}
.legal-hero__inner { max-width: 820px; margin: 0 auto; }
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -0.02em; }
.legal-hero p { margin-top: 0.5rem; color: rgba(255, 255, 255, 0.88); }
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2.5rem) 4rem;
}
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 0.6rem; color: var(--ink); }
.legal h3 { font-size: 1.08rem; margin: 1.4rem 0 0.4rem; color: var(--teal-ink); }
.legal p, .legal li { color: var(--slate); margin-bottom: 0.8rem; }
.legal ul { padding-left: 1.3rem; }
.legal .lead { font-size: 1.1rem; color: var(--teal-ink); }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.95rem;
}
.legal th, .legal td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d7e6eb;
  vertical-align: top;
  color: var(--slate);
}
.legal th { background: #eef8fb; color: var(--teal-ink); font-weight: 700; }
.legal .toc { background: #f1f9fb; border: 1px solid #d7e6eb; border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1.5rem 0; }
.legal .toc ol { margin: 0; padding-left: 1.2rem; }
.legal .toc li { margin-bottom: 0.3rem; }
.legal .toc a { color: var(--teal-deep); font-weight: 600; }
.legal__back { display: inline-block; margin-top: 2rem; font-weight: 700; color: var(--teal-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero__inner {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .hero__copy { width: 100%; }
  .hero__copy h1 { font-size: clamp(1.85rem, 8vw, 2.6rem); }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions, .platforms { justify-content: center; }
  .hero__art { order: -1; }
  .nav__links { display: none; }
}
