/* Glo blog styles */
:root {
  --amber: #f59e0b;
  --orange: #f97316;
  --ember: #c2410c;
  --ink: #1a202c;
  --slate: #4a5568;
  --line: #e2e8f0;
  --sand: #fef3e2;
  --paper: #ffffff;
  --display: "Outfit", "Segoe UI", Arial, sans-serif;
  --text: "DM Sans", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.125rem; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* header: same look as the main Glo website */
.site-nav { position: sticky; top: 0; z-index: 1000; background: rgba(26,32,44,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 2.6rem; letter-spacing: -.02em; line-height: 1; text-decoration: none; background: linear-gradient(135deg,#f59e0b,#f97316); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255,255,255,.7); font-family: "DM Sans", sans-serif; font-size: .9rem; font-weight: 500; text-decoration: none; position: relative; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; border-radius: 2px; background: linear-gradient(135deg,#f59e0b,#f97316); }
.nav-links .nav-cta { padding: 10px 24px; border-radius: 10px; font-weight: 600; font-size: .85rem; color: #fff; background: linear-gradient(135deg,#f59e0b,#f97316); }
.nav-links .nav-cta:hover { box-shadow: 0 8px 25px rgba(245,158,11,.3); }
.nav-links .nav-login { padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: .85rem; color: rgba(255,255,255,.8); border: 1.5px solid rgba(255,255,255,.2); }
.nav-links .nav-login:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.nav-links .nav-cta::after, .nav-links .nav-login::after { display: none; }
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; border: none; border-radius: 8px; background: rgba(255,255,255,.15); cursor: pointer; }
.hamburger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 80px; right: 16px; width: 220px; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px; background: rgba(26,32,44,.99); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 16px; font-size: .95rem; color: rgba(255,255,255,.85); border-radius: 8px; }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta, .nav-links .nav-login { text-align: center; }
}

/* hero with the rising sun */
.post-hero { position: relative; overflow: hidden; padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.post-hero .wrap { position: relative; z-index: 1; }
.sun { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -120px; top: -260px; background: linear-gradient(160deg, var(--amber), var(--orange)); }
.post-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; margin: 0 0 20px; }
.standfirst { font-size: 1.3rem; line-height: 1.5; color: var(--slate); max-width: 38ch; margin: 0 0 20px; }
.meta { font-family: var(--display); font-size: 0.95rem; color: var(--slate); margin: 0; }
.back { font-family: var(--display); font-weight: 500; margin: 0 0 16px; }
.back a { text-decoration: none; }

/* article body */
.prose { max-width: 720px; padding-top: 48px; padding-bottom: 32px; }
.prose > * { max-width: 66ch; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.2; margin: 2.2em 0 0.5em; }
.prose p { margin: 0 0 1.2em; }
.in-glo { background: var(--sand); border-left: 5px solid var(--orange); padding: 20px 24px; margin: 2em 0; border-radius: 0 10px 10px 0; }
.in-glo p { margin: 0; }
.in-glo-title { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px !important; color: var(--ember); }
.sign-off { font-family: var(--display); font-weight: 700; margin-top: 2em; }

.more { max-width: 720px; padding-bottom: 64px; }
.more h2 { font-family: var(--display); font-size: 1.2rem; margin: 0 0 12px; border-top: 1px solid var(--line); padding-top: 32px; }
.more ul { margin: 0; padding-left: 1.2em; }
.more li { margin-bottom: 8px; }

/* index list */
.index-hero h1 { max-width: none; }
.post-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 40px 32px; padding-top: 48px; padding-bottom: 72px; margin: 0 auto; }
.card a { text-decoration: none; color: var(--ink); display: block; }
.card img { border-radius: 10px; margin-bottom: 16px; }
.card h2 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.25; margin: 0 0 8px; }
.card p { margin: 0; color: var(--slate); font-size: 1rem; line-height: 1.6; }
.card a:hover h2 { color: var(--ember); }

/* call to action */
.cta { background: var(--ink); color: #fff; padding: 64px 0; }
.cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; letter-spacing: -0.01em; }
.cta p { color: #cbd5e0; max-width: 46ch; margin: 0 0 28px; }
.button { display: inline-block; background: linear-gradient(135deg, var(--amber), var(--orange)); color: var(--ink); font-family: var(--display); font-weight: 700; text-decoration: none; padding: 14px 26px; border-radius: 999px; }
.button:hover { filter: brightness(1.06); }
.site-footer { padding: 24px 0; font-family: var(--display); font-size: 0.95rem; color: var(--slate); }
.site-footer p { margin: 0; }

@media (max-width: 600px) {
  body { font-size: 1.05rem; }
  .post-hero { padding: 48px 0 40px; }
  .sun { width: 300px; height: 300px; right: -110px; top: -160px; }
  .standfirst { font-size: 1.15rem; }
}
