/* Ursarion Interactive LLC — shared site styles
   Brand teal (#1E7A7A) is Narrela's real print/app brand color, pulled
   straight from the app's own theme tokens and Appointment Log letterhead —
   not a separate marketing-site color invented on top. */

@import url('https://fonts.googleapis.com/css2?family=Berkshire+Swash&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Narrela family (teal) */
  --teal-900: #0E4A4A;
  --teal-700: #1E7A7A;
  --teal-600: #237F7F;
  --teal-500: #2FA0A0;
  --teal-300: #8FD2D2;
  --teal-100: #E3F1F0;

  /* Pinique family — the purple half of Ursarion's own crescent gradient
     (sampled straight from the logo artwork: #6221C7 / #8139E4), since
     Narrela already claims the teal half. Gold stays as a secondary
     accent — it's the real color of Pinique's frame material, not a
     invented brand color. */
  --violet-700: #6221C7;
  --violet-500: #8139E4;
  --violet-100: #F1E9FB;
  --gold-700: #A9762C;
  --gold-500: #C79A45;

  /* Ink, pulled from the logo's own outline color */
  --ink-900: #2A2350;
  --ink: #1A1A1A;
  --ink-soft: #52524F;
  --ink-faint: #82827D;

  /* Neutral ground — a hair of teal in the white, not stark and not the
     cream/terracotta default */
  --paper: #FAFCFC;
  --paper-alt: #F2F7F7;
  --line: #E1E8E7;

  --radius: 14px;
  --radius-sm: 8px;
  --max: 1080px;

  --shadow-sm: 0 1px 2px rgba(14, 74, 74, 0.06), 0 1px 1px rgba(14, 74, 74, 0.04);
  --shadow-md: 0 8px 24px rgba(14, 74, 74, 0.10), 0 2px 6px rgba(14, 74, 74, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
p.lead { font-size: 1.15rem; color: var(--ink); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 0.9em;
}

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

/* ── Nav ─────────────────────────────────────────────────────────────── */

.site-nav {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 252, 252, 0.92);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; }
/* The Ursarion mark is full-bleed illustration (dark background baked in,
   not a transparent cutout), so it's shown as a round badge/seal rather
   than a floating logo — a thin ring keeps it from reading as a stray dark
   circle against the light nav. */
.brand img {
  height: 34px; width: 34px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px var(--line), var(--shadow-sm);
}
.brand span {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: 0.01em;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--teal-700); text-decoration: none; }
.nav-links a.current { color: var(--teal-700); }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  padding: 88px 0 64px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero.center .wrap {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 760px;
}
.hero.center .eyebrow { display: block; }
.hero-art {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--teal-100), var(--paper-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-art img { width: 62%; }

/* Narrela page: the shared --teal-100/--paper-alt wash reads as green next
   to the Ursarion mark's actual blue-leaning gradient (sampled from
   ursarion-mark.png's crescent -- genuine blues like #2ca4c3/#1e7798, not
   the pure teal these two variables default to). Ally, 2026-09-09: "they
   are green instead of the pretty blues in the ursarion logo." Scoped to
   this page only (same body-class pattern as .home-page/.pinique-page) so
   Home/Pinique/Privacy keep their existing wash untouched. */
body.narrela-page {
  --teal-100: #C7DCE6;
  --paper-alt: #E9F0F2;
}

/* Larger standalone mark for the Ursarion home hero — same round-badge
   treatment as the nav/footer, just sized up as a centerpiece. */
.home-mark {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 28px;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line), var(--shadow-md);
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-900); }
.btn-ghost { border-color: var(--line); color: var(--ink-900); }
.btn-ghost:hover { border-color: var(--teal-700); color: var(--teal-700); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }
.hero.center .btn-row { justify-content: center; }

/* ── Cards / sections ────────────────────────────────────────────────── */

section { padding: 64px 0; }
section.alt { background: var(--paper-alt); }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 0.4em; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.section-head { max-width: 620px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── Product picker (home page) ─────────────────────────────────────── */

.product-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-card {
  border-radius: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
}
.product-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.product-card .tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.product-card.narrela { border-top: 4px solid var(--teal-700); }
.product-card.narrela .tag { color: var(--teal-700); }
.product-card.pinique { border-top: 4px solid var(--violet-500); }
.product-card.pinique .tag { color: var(--violet-700); }
.product-card h3 { margin: 10px 0 8px; font-size: 1.5rem; }
.product-card p { color: var(--ink-soft); margin-bottom: 0; }
.product-card .arrow { color: var(--ink-900); font-weight: 600; margin-top: 18px; display: inline-block; }

/* ── Status pill ─────────────────────────────────────────────────────── */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-700);
  background: var(--teal-100);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 1.2em;
}
.status-pill.violet { color: var(--violet-700); background: var(--violet-100); }
.status-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-700);
}
.status-pill.violet .dot { background: var(--violet-700); }

/* ── Colorway swatches (Pinique) ─────────────────────────────────────── */

.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.swatch { text-align: center; font-size: 0.82rem; color: var(--ink-soft); }
.swatch .dot {
  width: 46px; height: 46px; border-radius: 50%;
  margin: 0 auto 8px;
  border: 1px solid rgba(0,0,0,0.08);
}

/* ── Screenshot showcase ─────────────────────────────────────────────── */

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
}
.screen-frame {
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--paper-alt);
  margin-bottom: 14px;
}
.screen-frame img { width: 100%; display: block; }
.screen h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 4px;
}
.screen p { font-size: 0.88rem; margin: 0; color: var(--ink-soft); }

/* ── Divider mark (echoes the logo's small star flourish) ───────────── */

.flourish { text-align: center; color: var(--teal-500); font-size: 1rem; margin: 8px 0 0; }

/* ── Mailing list signup ─────────────────────────────────────────────── */

.subscribe-form { max-width: 460px; margin: 0 auto; }
.subscribe-badge { margin: 14px 0 0; text-align: center; }
.subscribe-badge img { display: inline-block; }
.subscribe-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.subscribe-input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}
.subscribe-input::placeholder { color: var(--ink-faint); }
.subscribe-input:focus {
  outline: none;
  border-color: var(--teal-700);
}
.subscribe-form .btn { flex: 0 0 auto; border: none; cursor: pointer; font-family: inherit; }
/* Real people never see this -- Mailchimp anti-bot honeypot field. */
.subscribe-honeypot { position: absolute; left: -5000px; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-color-scheme: dark) {
  .subscribe-input { background: #132321; border-color: var(--line); color: var(--ink); }
}

/* ── Footer ──────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 40px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .foot-brand { display: flex; align-items: center; gap: 10px; }
footer .foot-brand img {
  height: 26px; width: 26px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px var(--line);
}
footer .foot-brand span { font-family: 'Fraunces', serif; color: var(--ink-900); font-weight: 600; }
footer .foot-links { display: flex; gap: 22px; font-size: 0.88rem; }
footer .foot-links a { color: var(--ink-soft); }
footer .foot-social { display: flex; align-items: center; gap: 14px; }
footer .foot-social a { color: var(--ink-soft); display: flex; }
footer .foot-social a:hover { color: var(--teal-700); }
footer .foot-social svg { width: 20px; height: 20px; }

/* ── Legal / policy page ─────────────────────────────────────────────── */

.legal { padding: 56px 0 90px; }
.legal .wrap { max-width: 720px; }
.legal h2 { margin-top: 1.6em; font-size: 1.3rem; }
.legal ul { color: var(--ink-soft); padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.legal .updated { color: var(--ink-faint); font-size: 0.88rem; }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .grid-2, .grid-3, .product-cards { grid-template-columns: 1fr; }
  .screens-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .nav-links { gap: 18px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .screens-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1716;
    --paper-alt: #14201F;
    --line: #223231;
    --ink: #EAF2F1;
    --ink-900: #F4FAF9;
    --ink-soft: #B9C7C5;
    --ink-faint: #7E918E;
    --teal-100: #163331;
    --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
  }
  .site-nav { background: rgba(15, 23, 22, 0.88); }
  .card, .product-card { background: #132321; }
  .btn-primary { color: #06201F; }
}
