/* ============================================================
   Siar Innovations Inc. — site styles
   Shares the mysta.life design language (warm cream + champagne)
   so the entity and its product read as one family.
   ============================================================ */

:root {
  --bg:           #F7F2EA;   /* warm cream */
  --bg-elevated:  #FBF7F0;   /* lighter cream, cards */
  --bg-footer:    #ECE4D5;   /* darker cream, footer */

  --ink:          #1A1814;   /* warm near-black */
  --ink-soft:     #4A4138;
  --ink-muted:    #6B5F52;
  --ink-subtle:   #9C8E7E;

  --gold:         #B8954E;   /* champagne, primary accent */
  --gold-bright:  #C9A961;
  --gold-deep:    #8E6F3A;
  --gold-tint:    #F1E6CC;

  --line:         #E3D9C8;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-tint); color: var(--ink); }

a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--ink); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

em { font-style: italic; font-family: var(--serif); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 15px; }

.btn-gold {
  background: var(--gold);
  color: #FFFBF2;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); color: #FFFBF2; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------------- Brand wordmark ---------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-deep));
  color: #FFFBF2;
  font-family: 'Fraunces', var(--serif);
  font-weight: 600;
  font-size: 22px;
  flex: none;
}
.brand-text { display: flex; align-items: baseline; gap: 6px; }
.brand-wordmark {
  font-family: 'Fraunces', var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-suffix {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-subtle);
  font-weight: 500;
}

/* mysta inline wordmark (matches mysta.life two-tone) */
.brand-inline { font-family: 'Fraunces', var(--serif); font-weight: 600; }
.brand-inline-my { color: var(--ink); }
.brand-inline-sta { color: var(--gold-deep); }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-overlay, rgba(247, 242, 234, 0.9));
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: 16px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn { color: #FFFBF2; }

/* ---------------- Hero ---------------- */
.hero {
  padding: 120px 0 96px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 760px; }
.eyebrow, .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 18px;
}
.hero-headline {
  font-family: 'Fraunces', var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.hero-sub {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Sections ---------------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-footer); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}

/* ---------------- Product card ---------------- */
.product-card {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
}
.product-media {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-media img { width: 140px; height: 140px; border-radius: 28px; }
.product-name { margin: 0 0 6px; font-size: 32px; }
.product-tagline { margin: 0 0 14px; color: var(--ink-muted); font-size: 15px; }
.product-desc { margin: 0 0 22px; color: var(--ink-soft); max-width: 560px; }
.product-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- About ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.about-body p { color: var(--ink-soft); margin: 0 0 18px; font-size: 18px; }

/* ---------------- Contact ---------------- */
.contact-inner { max-width: 640px; }
.contact-lead { font-size: 18px; color: var(--ink-soft); margin: 0 0 36px; }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.field input, .field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-tint);
}
.contact-form .btn { justify-self: start; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer-brand-col .brand { margin-bottom: 16px; }
.footer-brand-col p { color: var(--ink-muted); font-size: 15px; margin: 0 0 8px; max-width: 280px; }
.footer-parent { color: var(--ink-soft); }
.footer h4 {
  font-family: var(--sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-subtle);
  margin: 0 0 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-soft); font-size: 15px; }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 14px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .product-ctas, .product-media { justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 72px 0 64px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}
