/* Rizen marketing site — single shared stylesheet, mobile-first */

:root {
  --sunrise-1: #ff5f6d;
  --sunrise-2: #ff8e53;
  --sunrise-3: #ffc371;
  --sunrise-4: #ffe6a8;
  --ink: #35212c;
  --muted: #6b4d5c;
  --cta: #f06d3f;
  --cta-hover: #e95d2e;
  --cream: #fff8ef;
  --card: #ffffff;
  --line: #f0e2d4;
  --night: #2b1b3d;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(53, 33, 44, 0.1);
  --font-display: "Space Grotesk", "Avenir Next", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 1.0625rem;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

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

.container {
  width: min(92vw, 1080px);
  margin: 0 auto;
}

.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }

.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cta);
  margin-bottom: 0.6rem;
}

.section-lead {
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.1rem;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 239, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo img { width: 36px; height: 36px; border-radius: 9px; }

.nav-links {
  display: none;
  gap: 1.4rem;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

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

.nav-cta { margin-left: auto; }

@media (min-width: 820px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--cta);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(240, 109, 63, 0.35);
}

.btn:hover {
  background: var(--cta-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-small { padding: 0.55rem 1.1rem; font-size: 0.92rem; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 2px solid var(--ink);
}

.btn-ghost:hover { background: var(--ink); color: #fff; }

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

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 80% -10%, rgba(255, 252, 233, 0.75) 0%, transparent 60%),
    linear-gradient(150deg, var(--sunrise-1) 0%, var(--sunrise-2) 34%, var(--sunrise-3) 68%, var(--sunrise-4) 100%);
  color: #3a1f14;
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  padding: clamp(3rem, 8vw, 5rem) 0 0;
  align-items: center;
}

.hero h1 { color: #331a10; max-width: 13em; }

.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  max-width: 34rem;
  color: #4d2a1a;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 1.4rem 0 1rem;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: #4d2a1a;
}

.hero-rating .stars { color: #ffb703; font-size: 1.1rem; letter-spacing: 0.08em; text-shadow: 0 1px 0 rgba(0,0,0,0.12); }

.hero-phone {
  justify-self: center;
  width: min(320px, 78vw);
  margin-bottom: -18%;
}

.hero-phone img {
  border-radius: 38px;
  border: 6px solid #2c1a12;
  box-shadow: 0 30px 60px rgba(53, 20, 5, 0.35);
}

.hero-phone.hero-photo {
  width: min(500px, 94vw);
  margin-bottom: -4%;
}

.hero-photo img {
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 26px 44px rgba(53, 20, 5, 0.38));
}

@media (min-width: 860px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    padding-bottom: 0;
  }
  .hero-phone { margin-bottom: -14%; }
  .hero-phone.hero-photo { margin-bottom: -8%; }
}

/* ---------- Proof strip ---------- */

.proof {
  background: var(--night);
  color: #ffe9d6;
  padding: 3.4rem 0 1.6rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  text-align: center;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
}

.proof-item span { font-size: 0.9rem; opacity: 0.85; }

@media (min-width: 700px) {
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.steps {
  display: grid;
  gap: 1.4rem;
  counter-reset: step;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sunrise-1), var(--sunrise-3));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

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

/* ---------- Missions grid ---------- */

.missions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.missions li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.missions .emoji { font-size: 1.25rem; line-height: 1.3; }

.missions strong { display: block; font-family: var(--font-display); }

.missions span { color: var(--muted); font-size: 0.88rem; }

@media (min-width: 700px) { .missions { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .missions { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Screenshots gallery ---------- */

.shots {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.5rem 0.2rem 1.8rem;
  -webkit-overflow-scrolling: touch;
}

.shots figure {
  flex: 0 0 auto;
  width: min(250px, 68vw);
  margin: 0;
  scroll-snap-align: center;
}

.shots img {
  border-radius: 26px;
  border: 4px solid #2c1a12;
  box-shadow: var(--shadow);
}

.shots figcaption {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* ---------- Feature split ---------- */

.split {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.split-media { justify-self: center; width: min(280px, 74vw); }

.split-media img {
  border-radius: 30px;
  border: 5px solid #2c1a12;
  box-shadow: var(--shadow);
}

.split ul { padding-left: 1.2rem; color: var(--muted); }
.split li { margin-bottom: 0.5rem; }
.split li strong { color: var(--ink); }

@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse .split-media { order: -1; }
}

/* ---------- Guides ---------- */

.guide-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}

.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: block;
}

.guide-card:hover { transform: translateY(-3px); border-color: var(--sunrise-2); color: var(--ink); }

.guide-card h3 { margin-bottom: 0.35rem; }

.guide-card p { color: var(--muted); font-size: 0.94rem; margin: 0 0 0.6rem; }

.guide-card .more { font-weight: 600; color: var(--cta); font-size: 0.92rem; }

@media (min-width: 700px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }

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

.faq-list { margin-top: 2rem; }

.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  margin-bottom: 0.8rem;
}

.faq-list summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--cta);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p { margin: 0.8rem 0 0.2rem; color: var(--muted); }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(80% 90% at 50% 120%, rgba(255, 252, 233, 0.5) 0%, transparent 60%),
    linear-gradient(135deg, var(--sunrise-1), var(--sunrise-2) 45%, var(--sunrise-3));
  border-radius: 26px;
  padding: clamp(2.2rem, 6vw, 3.6rem);
  text-align: center;
  color: #331a10;
  box-shadow: var(--shadow);
}

.cta-band h2 { color: #2f170d; }

.cta-band p { max-width: 34rem; margin-left: auto; margin-right: auto; color: #4d2a1a; }

.cta-band .hero-actions { justify-content: center; }

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

.footer {
  background: var(--night);
  color: #e8d9e4;
  padding: 3.5rem 0 2rem;
  margin-top: clamp(3rem, 8vw, 5rem);
  font-size: 0.94rem;
}

.footer a { color: #ffc371; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer h3 { font-size: 1rem; color: #fff; margin-bottom: 0.8rem; }

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.45rem; }

.footer-brand img { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 0.7rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.4rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

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

/* ---------- Guide article pages ---------- */

.article-hero {
  background: linear-gradient(150deg, var(--sunrise-2), var(--sunrise-4));
  padding: clamp(2.5rem, 7vw, 4rem) 0;
  color: #331a10;
}

.breadcrumbs {
  font-size: 0.88rem;
  margin-bottom: 1rem;
  color: #6b3a1f;
}

.breadcrumbs a { color: #6b3a1f; }

.article-hero .meta { font-size: 0.92rem; color: #6b3a1f; }

.article {
  display: grid;
  gap: 2.5rem;
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.article-body { max-width: 44rem; }

.article-body h2 { margin-top: 2.2rem; }
.article-body h3 { margin-top: 1.6rem; }

.article-body .answer {
  background: #fff3e4;
  border-left: 4px solid var(--cta);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.2rem;
  font-size: 1.08rem;
}

.article-body ol li, .article-body ul li { margin-bottom: 0.55rem; }

.article-shot {
  width: min(260px, 80vw);
  margin: 2rem auto;
}

.article-shot img {
  border-radius: 26px;
  border: 4px solid #2c1a12;
  box-shadow: var(--shadow);
}

.article-shot figcaption { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }

.article-cta {
  background: var(--night);
  color: #ffe9d6;
  border-radius: var(--radius);
  padding: 1.8rem;
  margin: 2.5rem 0;
}

.article-cta h2 { color: #fff; margin-top: 0; font-size: 1.4rem; }
.article-cta p { color: #e8d9e4; }

.article-body .table-wrap { overflow-x: auto; }

.article-body table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
  font-size: 0.95rem;
}

.article-body th, .article-body td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.article-body th { background: #fff3e4; font-family: var(--font-display); }

.related {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.related h2 { font-size: 1.3rem; }
