:root {
  --sky: #5BB8D4;
  --sky-light: #A8D8EA;
  --sky-pale: #E8F6FB;
  --text-dark: #1A2E35;
  --text-light: #6A8FA0;
  --accent: #1E7EA1;
  --border: rgba(91,184,212,0.18);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: var(--text-dark);
}

nav {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(91,184,212,0.08);
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; display: block; flex-shrink: 0; }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.1;
}
.nav-logo-text span {
  display: block;
  font-size: 0.68rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-back { font-size: 0.88rem; color: var(--accent); text-decoration: none; font-weight: 500; }
.nav-back:hover { text-decoration: underline; }

.pcw-page .pcw-section {
  scroll-margin-top: 84px;
}

.pcw-page .pcw-powered-by {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 15px 1.5rem;
}

.pcw-page .practice-code-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-top: 1rem;
  margin-left: 0;
  margin-right: 0;
}

.pcw-page .practice-code-banner {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 760px;
}

.pcw-page .practice-code-banner .practice-code {
  flex: 1 1 50%;
  width: 50%;
  max-width: 50%;
  min-height: 132px;
  box-sizing: border-box;
}

.pcw-page .practice-code-bg {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pcw-page .practice-code-bg h6 {
  width: 100%;
  margin: 0 0 0.35rem;
  text-align: center;
}

.pcw-page .practice-code-bg .code {
  margin-left: auto;
  margin-right: auto;
}

.pcw-page .practice-code-bg .code.code-pending {
  font-size: 2.15rem;
  letter-spacing: 0.08em;
  text-shadow: none;
  padding: 0.2rem 0.85rem;
}

@media (max-width: 767px) {
  .pcw-page .practice-code-banner {
    flex-direction: column;
    max-width: 100%;
  }
  .pcw-page .practice-code-banner .practice-code {
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
  }
}

footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem 5%;
  font-size: 0.83rem;
  line-height: 1.8;
}
footer a { color: var(--sky-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .nav-logo-text { font-size: 1.2rem; }
  .nav-back { font-size: 0.8rem; }
}
