/*
 * The app's palette, verbatim from app/src/main/java/com/hojin/cameramute/Palette.kt, so the page
 * and the thing it hands you look like one product: a light ground, white rounded cards, and one
 * green that only ever means "the shutter is silenced".
 */
:root {
  --background: #F6F7F9;
  --surface: #FFFFFF;
  --text-primary: #12161C;
  --text-secondary: #6B7280;
  --text-on-brand: #FFFFFF;
  --brand: #2FDC22;
  --brand-deep: #16A34A;
  --brand-halo: rgba(47, 220, 34, 0.10);
  --divider: #E9ECF1;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic",
    "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 660px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

/* -- hero ------------------------------------------------------------------ */

.hero { text-align: center; }

/* The toggle from the app's main screen: circle inside its halo, wordmark inside that. */
.badge-halo {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--brand-halo);
  display: grid;
  place-items: center;
}

.badge-circle {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
}

.badge-circle img {
  width: 92px;
  height: auto;
  display: block;
}

h1 {
  margin: 32px 0 0;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 800;
  /* Spreads a wrapped headline over even lines instead of leaving one word below it. Ignored
     where unsupported, which only costs the tidier break. */
  text-wrap: balance;
}

.lede {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  text-wrap: balance;
}

/* Same shape and weight as the button on the app's setup screen. */
.download {
  display: block;
  margin: 32px auto 0;
  padding: 16px 28px;
  max-width: 340px;
  border-radius: 16px;
  background: var(--brand-deep);
  color: var(--text-on-brand);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.22);
}

.download:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(22, 163, 74, 0.28); }
.download:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(22, 163, 74, 0.22); }

.download-main {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.download-sub {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  opacity: 0.85;
}

.req {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
}

/* -- features -------------------------------------------------------------- */

.features {
  margin: 56px 0 0;
  display: grid;
  gap: 14px;
}

/* The steps card from the setup screen: white, generously rounded, no border. */
.card {
  position: relative;
  background: var(--surface);
  border-radius: 18px;
  padding: 24px 24px 24px 62px;
}

.mark {
  position: absolute;
  top: 26px;
  left: 22px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-deep);
  color: var(--text-on-brand);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.card h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.card b { color: var(--text-primary); font-weight: 600; }

/* -- footer ---------------------------------------------------------------- */

footer {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

footer a { color: var(--text-secondary); text-decoration: none; }
footer a:hover { color: var(--brand-deep); }
footer span { margin: 0 8px; }

/* -- narrow ---------------------------------------------------------------- */

@media (max-width: 480px) {
  main { padding: 40px 18px 32px; }
  h1 { font-size: 28px; }
  .badge-halo { width: 168px; height: 168px; }
  .badge-circle { width: 128px; height: 128px; }
  .badge-circle img { width: 78px; }
  .lede br { display: none; }
  .card { padding: 22px 20px 22px 56px; }
  .mark { top: 24px; left: 18px; }
}

/*
 * The app is light-only on purpose - a white surface and one green - so this follows it rather than
 * inventing a dark palette the app does not have. Colors are stated, not inherited.
 */
