/* ── Oracle Guides — tools.williamagreen.com ── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,200;1,9..144,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  --teal:        #0D5C63;
  --teal-dark:   #083D42;
  --teal-mid:    #0a4a52;
  --teal-light:  #E8F4F5;
  --teal-xlight: #F0F8F9;
  --amber:       #E8A838;
  --amber-dark:  #c48a1a;
  --amber-light: #FDF3DC;
  --sage:        #2E8B57;
  --sage-light:  #EDF5EE;
  --warm-white:  #FAFAF7;
  --stone:       #F0EDE8;
  --stone-dark:  #E8E3DC;
  --charcoal:    #1A1A1A;
  --gray:        #6B6B6B;
  --gray-light:  #9B9B9B;
  --border:      #E2DDD8;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Nav ── */
.og-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.og-nav.scrolled {
  background: rgba(8,61,66,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.og-nav a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .87rem; font-weight: 400; }
.og-nav a:hover { color: #fff; }
.og-nav .og-nav-brand {
  display: flex;
  align-items: center;
}
.og-nav .og-nav-brand img {
  height: 44px;
  width: auto;
}
.og-nav .og-nav-right { margin-left: auto; display: flex; gap: 1.25rem; align-items: center; }
.og-nav .og-nav-cta {
  background: var(--amber);
  color: var(--teal-dark) !important;
  font-weight: 700 !important;
  padding: .38rem 1.1rem;
  border-radius: 7px;
  font-size: .82rem !important;
  transition: opacity .2s;
}
.og-nav .og-nav-cta:hover { opacity: .88; }

/* ── Hero ── */
.og-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--teal-dark);
  text-align: left;
}
.og-hero-bg {
  position: absolute;
  inset: 0;
}
.og-hero-bg img,
.og-hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .45;
}
.og-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(8,61,66,.97) 0%,
    rgba(8,61,66,.88) 40%,
    rgba(8,61,66,.6) 70%,
    rgba(8,61,66,.3) 100%
  );
}
.og-hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  opacity: .5;
  pointer-events: none;
}
.og-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 2.5rem 90px;
  width: 100%;
}
.og-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(232,168,56,.15);
  border: 1px solid rgba(232,168,56,.3);
  border-radius: 999px;
  padding: .32rem .95rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--amber);
  margin-bottom: 1.5rem;
  animation: fadeIn .8s ease both;
}
.og-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  position: relative;
  flex-shrink: 0;
}
.og-badge-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  animation: pulse-ring 1.8s ease-out infinite;
}
.og-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 1.25rem;
  max-width: 700px;
  animation: fadeUp .8s ease .15s both;
}
.og-hero h1 em {
  font-style: italic;
  font-weight: 200;
  color: rgba(255,255,255,.8);
}
.og-hero > p,
.og-hero-content > p {
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
  color: rgba(255,255,255,.72);
  line-height: 1.72;
  max-width: 520px;
  margin: 0 0 2rem;
  font-weight: 300;
  animation: fadeUp .8s ease .3s both;
}
.og-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .8s ease .45s both;
}
.og-btn-launch {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--amber);
  color: var(--teal-dark) !important;
  font-weight: 700;
  font-size: .97rem;
  padding: .85rem 2.1rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 22px rgba(232,168,56,.35);
}
.og-btn-launch:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,168,56,.45);
  background: var(--amber);
}
.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .97rem;
  padding: .85rem 2.1rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  transition: background .2s, border-color .2s;
}
.btn-ghost-hero:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.3);
}

/* Stats */
.og-stats {
  display: flex;
  justify-content: flex-start;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
  animation: fadeUp .8s ease .6s both;
}
.og-stat dt {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1;
}
.og-stat dd {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Section labels ── */
.og-section-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 3rem 0 1rem;
}
.og-section-hdr-line { flex: 1; height: 1px; background: var(--border); }
.og-section-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
  padding: 4px 12px;
  border-radius: 20px;
}
.lbl-cross  { background: var(--teal-light); color: var(--teal); }
.lbl-r12    { background: var(--sage-light); color: #1a6636; }
.lbl-fusion { background: var(--amber-light); color: #7a5800; }

/* ── Tool cards ── */
.og-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.1rem;
  margin-bottom: .5rem;
}
.og-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.og-card:hover {
  box-shadow: 0 6px 24px rgba(13,92,99,.1);
  transform: translateY(-2px);
}
.og-card.avail-cross  { border-top: 3px solid var(--teal); }
.og-card.avail-r12    { border-top: 3px solid var(--sage); }
.og-card.avail-fusion { border-top: 3px solid var(--amber); }
.og-card.soon         { border-top: 3px solid var(--border); opacity: .7; }
.og-card-status { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .55rem; }
.st-cross  { color: var(--teal); }
.st-r12    { color: var(--sage); }
.st-fusion { color: var(--amber-dark); }
.st-soon   { color: var(--gray-light); }
.og-card h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .45rem;
  color: var(--teal-dark);
  letter-spacing: -.02em;
}
.og-card p  { font-size: .84rem; color: var(--gray); line-height: 1.6; margin: 0 0 .9rem; flex: 1; }
.og-tags    { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .8rem; }
.og-tag     { font-size: .68rem; background: var(--teal-light); color: var(--teal); padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.og-tag.fusion { background: var(--amber-light); color: #7a5800; }
.og-tag.cross  { background: var(--teal-light); color: var(--teal); }
.og-price-row  { display: flex; align-items: center; gap: .55rem; margin-bottom: .8rem; }
.og-price-orig { font-size: .8rem; color: var(--gray-light); text-decoration: line-through; }
.og-price-free { font-size: .88rem; font-weight: 700; color: var(--teal); }
.og-price-note { font-size: .7rem; color: var(--gray-light); font-style: italic; }
.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--teal-dark) !important;
  padding: .5rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
  transition: opacity .2s;
}
.btn-primary:hover { opacity: .88; }
.btn-fusion { background: var(--amber); color: var(--teal-dark) !important; }
.btn-fusion:hover { opacity: .88; background: var(--amber); }
.btn-disabled { display: inline-block; background: var(--stone); color: var(--gray-light); padding: .5rem 1.1rem; border-radius: 8px; font-size: .85rem; cursor: not-allowed; }

/* ── Detail pages ── */
.og-detail-hero {
  background: var(--teal-dark);
  color: #fff;
  padding: 5rem 2rem 2.5rem;
  position: relative;
  background-size: cover;
  background-position: center 30%;
}
.og-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8,61,66,.96) 0%, rgba(8,61,66,.85) 60%, rgba(8,61,66,.7) 100%);
  pointer-events: none;
}
.og-detail-hero > * { position: relative; z-index: 1; }
.og-detail-inner { max-width: 820px; margin: 0 auto; }
.og-breadcrumb { font-size: .8rem; opacity: .6; margin-bottom: 1rem; }
.og-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.og-breadcrumb a:hover { color: #fff; }
.og-detail-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.9rem;
  margin: 0 0 .75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.og-detail-hero p.lead { font-size: 1.05rem; opacity: .85; line-height: 1.7; margin: 0 0 1.5rem; max-width: 700px; font-weight: 300; }
.og-meta-row { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; opacity: .7; }
.og-body { max-width: 820px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.og-section { margin-bottom: 2.5rem; }
.og-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 0 0 1rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--teal-light);
  letter-spacing: -.02em;
}
.og-output-list { list-style: none; padding: 0; margin: 0; }
.og-output-list li { display: flex; align-items: flex-start; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--stone); font-size: .9rem; color: var(--gray); line-height: 1.5; }
.og-output-list li:last-child { border-bottom: none; }
.og-output-list li::before { content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.og-callout { border-left: 3px solid; border-radius: 0 6px 6px 0; padding: .85rem 1.1rem; margin-bottom: 1.5rem; font-size: .88rem; line-height: 1.6; }
.og-callout-green  { background: var(--teal-light); border-color: var(--teal); color: var(--teal-dark); }
.og-callout-purple { background: var(--stone); border-color: var(--teal-mid); color: var(--charcoal); }
.og-callout strong { display: block; margin-bottom: .2rem; }
.og-cta-box {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-mid) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2rem 2.25rem;
  text-align: center;
  margin-top: 2rem;
}
.og-cta-box h2 {
  font-family: 'Fraunces', Georgia, serif;
  color: #fff;
  margin: 0 0 .5rem;
  font-size: 1.4rem;
  letter-spacing: -.02em;
}
.og-cta-box p { opacity: .75; margin: 0 0 1.25rem; font-size: .95rem; font-weight: 300; }
.og-price-block .og-price-orig-lg { font-size: .9rem; opacity: .45; text-decoration: line-through; display: block; color: #fff; }
.og-price-block .og-price-free-lg {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--amber);
}
.og-price-block .og-price-note-lg { font-size: .8rem; color: rgba(255,255,255,.5); font-style: italic; }

/* ── Platform tags ── */
.og-ptags { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.og-ptag { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .05em; }
.og-ptag-r12     { background: var(--sage-light); color: #1a6636; }
.og-ptag-fusion  { background: var(--amber-light); color: #7a5800; }
.og-ptag-migrate { background: var(--stone); color: var(--teal); border: 1px solid var(--border); }
.og-ptag-cross   { background: var(--teal-light); color: var(--teal); }

/* ── Wrapper ── */
.og-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.og-intro {
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
  text-align: center;
  color: var(--gray);
  font-size: .93rem;
  line-height: 1.7;
}

/* ── Footer ── */
.og-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,.55);
  padding: 3rem 1.5rem;
  margin-top: 5rem;
  font-size: .85rem;
}
.og-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}
.og-footer h4 {
  font-family: 'Fraunces', Georgia, serif;
  color: #fff;
  font-size: .92rem;
  margin: 0 0 .75rem;
  letter-spacing: -.01em;
  font-weight: 600;
}
.og-footer a { color: rgba(255,255,255,.55); text-decoration: none; display: block; margin-bottom: .4rem; }
.og-footer a:hover { color: var(--amber); }
.og-footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
}

@media (max-width: 640px) {
  .og-hero h1 { font-size: 2rem; }
  .og-hero-content { padding: 110px 1.5rem 70px; }
  .og-grid { grid-template-columns: 1fr; }
  .og-footer-inner { grid-template-columns: 1fr; }
  .og-footer-bottom { flex-direction: column; }
  .og-nav { padding: 0 1.25rem; gap: 1.1rem; }
}

