/* Mayuro website. Peacock palette from the app's branding/brand.json. */

:root {
  --bg: #f8f7f2;
  --bg-band: #eef3f1;
  --surface: #ffffff;
  --text: #11302f;
  --text-2: #4a6261;
  --accent: #176b70;
  --accent-bright: #35b7a5;
  --accent-ink: #ffffff;
  --gold: #f4b942;
  --gold-ink: #7a5300;
  --stroke: rgba(17, 48, 47, 0.12);
  --seg: #e3eeeb;
  --seg-text: #2c4a49;
  --shadow: 0 1px 2px rgba(17, 48, 47, 0.06), 0 8px 28px rgba(17, 48, 47, 0.08);
  --radius: 14px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1a1b;
    --bg-band: #102324;
    --surface: #132a2b;
    --text: #e6f1ef;
    --text-2: #a3bcb9;
    --accent: #35b7a5;
    --accent-bright: #35b7a5;
    --accent-ink: #062120;
    --gold-ink: #f4b942;
    --stroke: rgba(230, 241, 239, 0.1);
    --seg: #1a3536;
    --seg-text: #cfe3e0;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

img {
  max-width: 100%;
}

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

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 600 19px var(--font-display);
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.site-nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}
.site-nav a {
  color: var(--text-2);
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--text);
}

/* hero */
.hero {
  padding: 72px 0 56px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  color: var(--gold-ink);
  font-size: 13px;
  font-weight: 600;
}
h1 {
  margin: 0 0 18px;
  font: 700 clamp(38px, 5.4vw, 58px) / 1.05 var(--font-display);
  letter-spacing: -0.02em;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.lede {
  margin: 0 0 28px;
  max-width: 34em;
  color: var(--text-2);
  font-size: 18px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.store-link {
  font-size: 14px;
  color: var(--text-2);
}
.fineprint {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 14px;
}

/* wheel illustration */
.wheel-art {
  width: 100%;
  max-width: 400px;
  justify-self: center;
  filter: drop-shadow(0 18px 40px rgba(17, 48, 47, 0.18));
}
.wheel-art .ring {
  fill: var(--surface);
}
.wheel-art .seg {
  fill: var(--seg);
}
.wheel-art .seg.is-on {
  fill: var(--accent);
}
.wheel-art .seg-label {
  fill: var(--seg-text);
  font: 600 12.5px var(--font);
  text-anchor: middle;
}
.wheel-art .seg-label.is-on {
  fill: var(--accent-ink);
}
.wheel-art .hub {
  fill: var(--surface);
  stroke: var(--gold);
  stroke-width: 2;
}
.wheel-art .hub-file {
  fill: var(--seg);
}
.wheel-art .hub-fold {
  fill: var(--accent-bright);
}
.wheel-art .hub-text {
  fill: var(--text-2);
  font: 600 11px var(--font);
  text-anchor: middle;
}
.wheel-art .cursor {
  fill: var(--text);
  stroke: var(--surface);
  stroke-width: 1.5;
}

/* sections */
section {
  padding: 72px 0;
}
.band {
  background: var(--bg-band);
}
h2 {
  margin: 0 0 12px;
  font: 700 clamp(28px, 3.6vw, 38px) / 1.15 var(--font-display);
  letter-spacing: -0.01em;
}
.section-lede {
  margin: 0 0 40px;
  max-width: 40em;
  color: var(--text-2);
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.steps h3,
.card h3 {
  margin: 0 0 6px;
  font: 600 18px var(--font-display);
}
.steps p,
.card p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}
.also {
  margin-top: 24px;
  color: var(--text-2);
  font-size: 15px;
}
kbd {
  padding: 1px 6px;
  border: 1px solid var(--stroke);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--surface);
  font: 600 13px var(--font);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-bright) 18%, transparent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text-2);
  font-size: 15px;
}
.card li {
  margin: 3px 0;
}

.privacy-band .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 32px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.price {
  max-width: 560px;
  margin: 0 auto;
  padding: 36px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.price h2 {
  margin-bottom: 8px;
}
.price p {
  margin: 0 0 24px;
  color: var(--text-2);
}
.price .cta {
  justify-content: center;
}

.faq {
  max-width: 760px;
}
.faq details {
  border-bottom: 1px solid var(--stroke);
}
.faq summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  float: right;
  color: var(--text-2);
  font-weight: 400;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin: -6px 0 18px;
  color: var(--text-2);
}

/* legal / support pages */
.doc {
  max-width: 760px;
  padding: 56px 24px 80px;
}
.doc h1 {
  font-size: clamp(32px, 4.4vw, 44px);
}
.doc .updated {
  margin: -8px 0 32px;
  color: var(--text-2);
  font-size: 14px;
}
.doc h2 {
  margin: 36px 0 10px;
  font-size: 22px;
}
.doc p,
.doc li {
  color: var(--text-2);
}
.doc strong {
  color: var(--text);
}
.doc ol,
.doc ul {
  padding-left: 22px;
}
.doc li {
  margin: 8px 0;
}
.contact-card {
  margin: 24px 0 8px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}
.contact-card a {
  font-size: 19px;
  font-weight: 600;
}

/* footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--stroke);
  color: var(--text-2);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.site-footer nav {
  display: flex;
  gap: 18px;
}
.site-footer a {
  color: var(--text-2);
}

@media (max-width: 820px) {
  .hero {
    padding-top: 48px;
  }
  .hero .wrap,
  .privacy-band .wrap {
    grid-template-columns: 1fr;
  }
  .wheel-art {
    max-width: 300px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .site-nav a:not(:last-child) {
    display: none;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }
  section {
    padding: 56px 0;
  }
  .price {
    padding: 28px 20px;
  }
}
