/* PreciousRay hub site — matches the Etsy shop banner (cream + peach + sage, five colour dots) */
:root {
  --cream: #fdf3e4;
  --cream-2: #f8e4c9;
  --peach: #f4b896;
  --sage: #4f7a58;
  --sage-dark: #3b5e43;
  --ink: #2a211c;
  --ink-2: #4a3f38;
  --white: #ffffff;
  --dot-red: #e2654f;
  --dot-yellow: #f2c13b;
  --dot-green: #6aac6a;
  --dot-blue: #5f9fd8;
  --dot-pink: #e78aa8;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(60, 40, 20, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-dark); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--dot-blue);
  outline-offset: 3px;
}
h1, h2, h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 8vw, 5.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.5rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 10; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand span { font-family: "DM Serif Display", Georgia, serif; font-size: 1.7rem; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.02rem; }
.nav a:hover { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; text-align: center; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
.hero::before { width: 420px; height: 420px; background: var(--peach); left: -170px; top: -140px; opacity: 0.85; }
.hero::after { width: 380px; height: 380px; background: var(--sage); right: -170px; bottom: -190px; opacity: 0.9; }
.hero .wrap { position: relative; z-index: 1; }
.dots { display: flex; gap: 12px; justify-content: center; margin: 10px 0 22px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--dot-red); }
.dots i:nth-child(2) { background: var(--dot-yellow); }
.dots i:nth-child(3) { background: var(--dot-green); }
.dots i:nth-child(4) { background: var(--dot-blue); }
.dots i:nth-child(5) { background: var(--dot-pink); }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; font-size: 1.05rem; margin: 0 0 6px; }
.hero p.lead { font-size: 1.3rem; color: var(--ink-2); max-width: 640px; margin: 0 auto 30px; }
.btn {
  display: inline-block; padding: 15px 28px; border-radius: 999px; font-weight: 600;
  text-decoration: none; font-size: 1.08rem; border: 2px solid transparent; cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--sage-dark); color: var(--white); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 70px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head p { color: var(--ink-2); font-size: 1.15rem; margin: 0; }
.band { background: var(--white); }

/* Store cards */
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.store {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 26px; display: flex; flex-direction: column; border-top: 8px solid var(--c);
}
.store .tag { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--c-text, var(--ink-2)); }
.store h3 { margin-top: 6px; }
.store p { color: var(--ink-2); flex: 1; margin: 0 0 20px; }
.store .btn { align-self: flex-start; background: var(--ink); color: var(--white); }
.store .btn:hover { background: var(--sage-dark); }
.store.etsy { --c: var(--dot-red); --c-text: #b0412d; }
.store.ebay { --c: var(--dot-blue); --c-text: #2f6aa3; }
.store.amazon { --c: var(--dot-yellow); --c-text: #8a6500; }

/* Product grid */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  transition: transform 0.15s ease;
}
.product:hover { transform: translateY(-4px); }
.product img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; background: var(--cream-2); }
.about .logo-big { height: auto; }
.product div { padding: 18px 20px 22px; }
.product h3 { font-size: 1.3rem; margin-bottom: 4px; }
.product p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.product .go { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--sage-dark); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: var(--cream); border-radius: var(--radius); padding: 28px 24px; }
.step b {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  color: var(--white); font-size: 1.25rem; margin-bottom: 12px;
}
.step:nth-child(1) b { background: var(--dot-red); }
.step:nth-child(2) b { background: var(--dot-green); }
.step:nth-child(3) b { background: var(--dot-blue); }
.step p { margin: 0; color: var(--ink-2); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.about .logo-big { width: 100%; max-width: 340px; margin: 0 auto; border-radius: 50%; box-shadow: var(--shadow); }
.about p { font-size: 1.12rem; color: var(--ink-2); }
.about blockquote {
  margin: 20px 0 0; padding: 16px 22px; border-left: 6px solid var(--dot-yellow);
  background: var(--white); border-radius: 0 12px 12px 0; font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.4rem; color: var(--ink);
}

/* Signup */
.signup { background: var(--sage-dark); color: var(--white); border-radius: 28px; padding: 50px 30px; text-align: center; }
.signup h2 { color: var(--white); }
.signup p { color: #e8efe6; font-size: 1.15rem; max-width: 560px; margin: 0 auto 24px; }
.signup form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 560px; margin: 0 auto; }
.signup label.sr { position: absolute; left: -999px; }
.signup input[type=email], .signup input[type=text] {
  flex: 1 1 220px; padding: 15px 18px; border-radius: 999px; border: 0; font-size: 1.05rem; font-family: inherit;
}
.signup .btn { background: var(--dot-yellow); color: var(--ink); }
.signup .btn:hover { background: var(--white); }
.signup small { display: block; margin-top: 14px; color: #d7e3d4; font-size: 0.95rem; }
.signup small a { color: var(--white); }
.form-note { margin-top: 12px; font-weight: 600; min-height: 1.6em; }

/* Footer */
.site-footer { padding: 44px 0 50px; color: var(--ink-2); font-size: 1rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--ink); }

/* Legal pages */
.legal { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 46px clamp(22px, 5vw, 60px); margin: 10px auto 60px; max-width: 860px; }
.legal h1 { font-size: clamp(2.3rem, 6vw, 3.4rem); }
.legal h2 { font-size: 1.7rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { font-weight: 500; color: var(--ink); }
.legal table { border-collapse: collapse; width: 100%; margin: 10px 0 20px; font-size: 1rem; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid #eadfcf; padding: 10px 8px; vertical-align: top; }
.legal th { color: var(--ink); }

@media (max-width: 900px) {
  .stores, .products, .steps { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .about blockquote { text-align: left; }
}
@media (max-width: 620px) {
  body { font-size: 18px; }
  .stores, .products, .steps { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; }
  .nav { justify-content: center; gap: 16px; }
  .hero { padding: 40px 0 70px; }
  .hero::before { width: 240px; height: 240px; left: -120px; top: -100px; }
  .hero::after { width: 220px; height: 220px; right: -110px; bottom: -130px; }
  section { padding: 50px 0; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border: 0; padding: 4px 0; }
  .legal tr { border-bottom: 1px solid #eadfcf; padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product { transition: none; }
}
