/* Casono — gocasono.com
   Palette: purple #3b2f71, green accent #2eb82e, gold #e9cf72, white cards */

:root {
  --purple: #3b2f71;
  --purple-2: #4a3c92;
  --purple-dark: #241c47;
  --green: #2eb82e;
  --green-dark: #229a22;
  --gold: #e9cf72;
  --gold-2: #d9ba52;
  --ink: #23222b;
  --muted: #6c6b7a;
  --bg: #f6f5fb;
  --card: #ffffff;
  --border: rgba(59, 47, 113, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(36, 28, 71, 0.06);
  --shadow: 0 12px 34px rgba(36, 28, 71, 0.10);
  --shadow-lg: 0 24px 60px rgba(36, 28, 71, 0.18);
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--purple); }
a:hover { color: var(--green-dark); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--green);
  border-radius: 2px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(36, 28, 71, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 32px; width: auto; }

nav.main { display: flex; gap: 30px; flex-wrap: wrap; }
nav.main a {
  position: relative;
  color: #cbc6e4;
  text-decoration: none;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color .18s ease;
}
nav.main a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
nav.main a:hover { color: #fff; }
nav.main a:hover::after { transform: scaleX(1); }
nav.main a.active { color: #fff; }
nav.main a.active::after { transform: scaleX(1); }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(233, 207, 114, 0.22), transparent 60%),
    radial-gradient(700px 400px at 10% 120%, rgba(46, 184, 46, 0.18), transparent 55%),
    linear-gradient(160deg, var(--purple-dark) 0%, var(--purple) 55%, var(--purple-2) 100%);
  color: #fff;
  padding: 84px 0 96px;
}
/* decorative chip rings */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(233, 207, 114, 0.35);
  pointer-events: none;
}
.hero::before { width: 340px; height: 340px; right: -90px; top: -120px; }
.hero::after  { width: 190px; height: 190px; right: 120px; bottom: -70px; border-color: rgba(46, 184, 46, 0.30); }

.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy, .hero-card { min-width: 0; }
.hero h1, .hero p { overflow-wrap: break-word; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 { margin: 16px 0 16px; font-size: clamp(34px, 5vw, 52px); font-weight: 800; }
.hero h1 .accent { color: var(--gold); }
.hero p { margin: 0; font-size: 19px; color: #d6d1ec; max-width: 560px; }
.hero .cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(46, 184, 46, 0.32);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(46, 184, 46, 0.40); }
.btn.secondary { background: rgba(255, 255, 255, 0.10); box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.22); }
.btn.secondary:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }

/* Hero preview card (fake product feed) */
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  color: var(--ink);
  transform: rotate(1.2deg);
}
.hero-card .hc-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.hero-card .hc-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-card .hc-dot.g { background: var(--green); }
.hero-card .hc-dot.y { background: var(--gold); }
.hero-card .hc-dot.p { background: var(--purple-2); }
.hero-card .hc-title { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--muted); }
.hc-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 6px; }
.hc-row > div { min-width: 0; }
.hc-row + .hc-row { border-top: 1px solid var(--border); }
.hc-ic {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; color: #fff;
}
.hc-ic.a { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.hc-ic.b { background: linear-gradient(135deg, var(--gold), var(--gold-2)); }
.hc-ic.c { background: linear-gradient(135deg, var(--purple-2), var(--purple)); }
.hc-tt { font-weight: 700; font-size: 14.5px; }
.hc-ss { font-size: 12.5px; color: var(--muted); }

/* ============ Sections ============ */
section.block { padding: 72px 0; }
.section-head { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 12px 0 10px; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }

/* Feature cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 8px 18px rgba(59, 47, 113, 0.28);
}
.card.g .ic { background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: 0 8px 18px rgba(46,184,46,.28); }
.card.y .ic { background: linear-gradient(135deg, var(--gold), var(--gold-2)); box-shadow: 0 8px 18px rgba(217,186,82,.30); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card a.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; text-decoration: none; color: var(--green-dark); }
.card a.more:hover { gap: 10px; }

/* Stat strip */
.stats {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}
.stats .stat { padding: 30px 24px; text-align: center; }
.stats .stat + .stat { border-left: 1px solid var(--border); }
.stats .num { font-size: 34px; font-weight: 800; color: var(--purple); letter-spacing: -0.02em; }
.stats .num span { color: var(--green); }
.stats .lbl { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ============ News ============ */
.news-head { padding: 64px 0 8px; }
.news-head h1 { font-size: clamp(30px, 4.5vw, 42px); margin: 12px 0 8px; }
.news-head p { color: var(--muted); font-size: 18px; margin: 0; }

.timeline { padding: 30px 0 40px; }
.entry {
  position: relative;
  display: flex;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.entry:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.entry .thumb { flex: none; width: 260px; background: #ece9f5; }
.entry .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.entry .body { padding: 24px 28px; min-width: 0; }
.entry .meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.entry .tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: #fff; padding: 4px 11px; border-radius: 20px;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
}
.entry .tag.g { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.entry .tag.y { background: linear-gradient(135deg, var(--gold-2), #c9a63f); }
.entry .date { font-size: 13px; font-weight: 600; color: var(--muted); }
.entry h3 { margin: 0 0 8px; font-size: 21px; }
.entry p { margin: 0; color: var(--ink); }

/* ============ Prose ============ */
.prose {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}
.prose h2 { margin-top: 30px; font-size: 22px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* about split (text + image) */
.about-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.about-split .txt h2 { font-size: 26px; margin: 0 0 14px; }
.about-split .txt p { margin: 0 0 15px; color: var(--ink); }
.about-split .txt p:last-child { margin-bottom: 0; }
.about-split .figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 49 / 38;
}
.about-split .figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-split .figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,47,113,0.10), rgba(46,184,46,0.06));
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 46px 40px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(233,207,114,0.20), transparent 60%),
    radial-gradient(500px 260px at 0% 100%, rgba(46,184,46,0.18), transparent 55%),
    linear-gradient(160deg, var(--purple-dark), var(--purple));
}
.cta-band h2 { font-size: 27px; margin: 0 0 10px; }
.cta-band p { color: #d6d1ec; max-width: 540px; margin: 0 auto 24px; }
.cta-band .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* value grid (about) */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 34px; }
.value {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); padding: 22px;
}
.value .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; background: linear-gradient(135deg, var(--purple), var(--purple-2)); }
.value h3 { margin: 0 0 6px; font-size: 17px; }
.value p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ============ Contact ============ */
.contact-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(233,207,114,0.16), transparent 60%),
    linear-gradient(160deg, var(--purple-dark), var(--purple));
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 52px 40px;
  text-align: center;
}
.contact-box .ic {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 18px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 12px 26px rgba(46,184,46,.4);
}
.contact-box p { color: #d6d1ec; max-width: 520px; margin: 0 auto 20px; }
.contact-box .email {
  display: inline-block; font-size: 24px; font-weight: 800; color: #fff;
  text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.contact-box .email:hover { color: var(--gold); }

/* ============ Footer ============ */
.site-footer {
  margin-top: 72px;
  background: var(--purple-dark);
  color: #b7b1d4;
  padding: 48px 0 26px;
  font-size: 15px;
}
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { max-width: 320px; }
.footer-brand img { height: 30px; margin-bottom: 12px; }
.footer-brand p { margin: 0; color: #9c96bd; font-size: 14.5px; }
.footer-nav { display: flex; gap: 46px; flex-wrap: wrap; }
.footer-nav .col h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #7f7aa3; }
.footer-nav .col a { display: block; color: #d0cce6; text-decoration: none; padding: 4px 0; }
.footer-nav .col a:hover { color: var(--green); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #8681a6; font-size: 13.5px; }
.footer-bottom nav a { color: #b7b1d4; text-decoration: none; margin-left: 18px; }
.footer-bottom nav a:hover { color: var(--green); }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .hero { padding: 60px 0 70px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { transform: none; max-width: 100%; }
  .hero p { max-width: none; }
  nav.main { width: 100%; gap: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 2px; }
  nav.main a { white-space: nowrap; }
  .stats { grid-template-columns: 1fr; }
  .stats .stat + .stat { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 780px) {
  .about-split { grid-template-columns: 1fr; gap: 28px; }
  .about-split .figure { order: -1; }
}
@media (max-width: 680px) {
  .entry { flex-direction: column; }
  .entry .thumb { width: 100%; height: 180px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section.block { padding: 52px 0; }
  .prose { padding: 26px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom nav a { margin-left: 0; margin-right: 18px; }
}
