/* Sip Siren — landing page styles
   Matches the app's design system: clean, minimal, lots of whitespace,
   soft rounded cards, water-blue gradient accent. */

:root {
  --water: #259ef2;
  --water-deep: #1976d2;
  --ink: #14181d;
  --subtle: #5c6570;
  --surface: #f6f8fa;
  --card: #ffffff;
  --hairline: rgba(0, 0, 0, 0.06);
  --success: #3cb371;
  --radius-card: 24px;
  --radius-control: 16px;
  --water-gradient: linear-gradient(180deg, var(--water), var(--water-deep));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--card);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--water-deep);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav a.nav-link {
  color: var(--subtle);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

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

.btn {
  display: inline-block;
  background: var(--water-gradient);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(37, 158, 242, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 158, 242, 0.45);
}

.btn-large {
  font-size: 17px;
  padding: 14px 32px;
}

@media (max-width: 640px) {
  .nav a.nav-link {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 64px;
  background: radial-gradient(
      1000px 500px at 80% -10%,
      rgba(37, 158, 242, 0.1),
      transparent 60%
    ),
    var(--card);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero h1 em {
  font-style: normal;
  background: var(--water-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  margin-top: 20px;
  font-size: 19px;
  color: var(--subtle);
  max-width: 34em;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.appstore-badge img {
  height: 54px;
  width: auto;
}

.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--subtle);
}

.hero-phone img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(20, 24, 29, 0.18);
}

@media (max-width: 820px) {
  .hero {
    padding: 56px 0 48px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-phone {
    order: -1;
  }
  .hero-phone img {
    max-width: 260px;
  }
}

/* ---------- Sections ---------- */

section {
  padding: 80px 0;
}

.section-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--water-deep);
  background: rgba(37, 158, 242, 0.1);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-sub {
  margin-top: 14px;
  font-size: 17px;
  color: var(--subtle);
  max-width: 42em;
}

/* ---------- How it works ---------- */

.how {
  background: var(--surface);
}

.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--water-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--subtle);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- Screenshots strip ---------- */

.shots {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shots img {
  border-radius: var(--radius-card);
  box-shadow: 0 16px 40px rgba(20, 24, 29, 0.12);
}

@media (max-width: 700px) {
  .shots {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  margin-top: 40px;
  max-width: 760px;
}

.faq-list details {
  border-bottom: 1px solid var(--hairline);
  padding: 4px 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  padding: 18px 36px 18px 0;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--water-deep);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  color: var(--subtle);
  font-size: 15.5px;
  padding: 0 0 20px;
  max-width: 46em;
}

/* ---------- Final CTA ---------- */

.cta {
  padding: 40px 0 96px;
}

.cta-card {
  background: var(--water-gradient);
  border-radius: 32px;
  padding: 72px 32px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px rgba(25, 118, 210, 0.35);
}

.cta-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-card p {
  margin-top: 12px;
  font-size: 17px;
  opacity: 0.9;
}

.cta-card .appstore-badge {
  display: inline-block;
  margin-top: 28px;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0 56px;
  font-size: 14px;
  color: var(--subtle);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  margin-right: auto;
}

.footer-inner .brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

footer a {
  color: var(--subtle);
  text-decoration: none;
}

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

/* ---------- Legal pages ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--subtle);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
}

.legal h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 10px;
}

.legal p,
.legal li {
  font-size: 15.5px;
  color: #3c434b;
  margin-bottom: 14px;
}

.legal ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal li {
  margin-bottom: 6px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.legal th,
.legal td {
  border: 1px solid var(--hairline);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--surface);
  font-weight: 700;
}
