/* Roomora — roomoradesign.com. One stylesheet, system fonts, no third-party anything. */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f4;
  --bg-card: #f7f6f3;
  --text: #111111;
  --text-2: #5f5f64;
  --text-3: #8a8a8f;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #111111;
  --accent-text: #ffffff;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 20px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.08);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --bg-soft: #151517;
    --bg-card: #19191b;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #7c7c80;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #f5f5f7;
    --accent-text: #0b0b0c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 16px 40px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-underline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }

.wordmark {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.6px;
  text-decoration: none;
}

.site-nav { display: flex; gap: 22px; font-size: 15px; color: var(--text-2); }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--text); }

/* ------------------------------------------------------------------ hero */
.hero { padding: 56px 0 24px; text-align: center; }

.eyebrow { color: var(--text-2); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; margin: 0 0 12px; }

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p.lede, .section-head p { text-wrap: pretty; }

.hero h1 { font-size: clamp(40px, 7.4vw, 76px); font-weight: 800; }

.hero p.lede {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--text-2);
}

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 30px 0 0; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.store-badge small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; line-height: 1.1; }
.store-badge span { line-height: 1.15; text-align: left; }

.button-quiet {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.hero-photo {
  margin: 44px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1500 / 1050;
  background: var(--bg-soft);
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.caption { color: var(--text-3); font-size: 13px; margin-top: 12px; text-align: center; }

/* ------------------------------------------------------------------ sections */
section.block { padding: 72px 0; }
section.block + section.block { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; }
.section-head p { color: var(--text-2); font-size: 19px; margin: 14px 0 0; }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }

.step {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
}

.step .num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}

.step h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-2); font-size: 16px; }

.features { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }

.feature {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature .photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.feature .photo img { width: 100%; height: 100%; object-fit: cover; }
.feature .text { padding: 24px 26px 28px; }
.feature h3 { font-size: 23px; font-weight: 700; }
.feature p { color: var(--text-2); margin: 8px 0 0; font-size: 16px; }

.screens { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }

.phone {
  margin: 0;
  width: min(280px, 44vw);
  border-radius: 38px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.phone img { width: 100%; }

.privacy-panel {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: clamp(28px, 6vw, 56px);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.privacy-panel h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; }
.privacy-panel p { color: var(--text-2); font-size: 18px; margin: 14px 0 0; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.checks li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 15px no-repeat;
}

@media (prefers-color-scheme: dark) {
  .checks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230b0b0c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

.pricing { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }

.plan {
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--bg-card);
  border: 1px solid transparent;
}

.plan.highlight { border-color: var(--accent); }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 4px; }
.plan p { color: var(--text-2); margin: 0; font-size: 15px; }

/* ------------------------------------------------------------------ legal / support pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 0 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; }
.doc .updated { color: var(--text-3); font-size: 15px; margin: 10px 0 36px; }
.doc h2 { font-size: 24px; font-weight: 700; margin: 40px 0 10px; }
.doc h3 { font-size: 19px; font-weight: 700; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc p.lead { font-size: 19px; color: var(--text-2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-2); margin: 12px 0 0; }

.contact-card {
  margin: 8px 0 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 24px 26px;
}

.contact-card a { font-weight: 700; font-size: 20px; }
.contact-card .contact-label { margin: 0 0 6px; color: var(--text-2); }
.contact-card .contact-note { margin: 10px 0 0; color: var(--text-2); font-size: 15px; }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--text-3); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; color: var(--text-2); }
.site-footer .social { display: flex; gap: 16px; align-items: center; }
.site-footer .social a { color: var(--text-3); display: block; line-height: 0; }
.site-footer .social a:hover, .site-footer .social a:focus-visible { color: var(--text); }
.site-footer .social svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ small screens */
@media (max-width: 820px) {
  .steps, .features, .pricing, .privacy-panel { grid-template-columns: 1fr; }
  section.block { padding: 56px 0; }
  .hero { padding-top: 40px; }
  .hero-photo { border-radius: var(--radius); margin-top: 32px; }
  .site-nav { gap: 16px; font-size: 14px; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .site-nav a.hide-xs { display: none; }
}
