/* Copilot Guardrails:
- Preserve brand variables.
- Do not remove :root definitions.
*/

/* ContinuityID Brand Stylesheet v2.0
 * Literary Forest Palette - Publishing inspired
 */

:root {
  /* Literary Forest Palette */
  --color-frame: #1a1a1a;          /* Charcoal outer container */
  --color-bg: #ffffff;             /* Clean white background */
  --color-text: #2a2a2a;           /* Rich black text */
  --color-text-light: #4a5568;     /* Lighter text */
  --color-accent: #065f46;         /* Deep forest for headers */
  --color-accent-dark: #064e3b;    /* Darker forest for hover states */
  --color-accent-light: #d1fae5;   /* Light mint for highlights */
  --color-accent-interactive: #10b981; /* Emerald for buttons/links */
  --color-border: #e5e7eb;         /* Subtle borders */
  --color-bg-soft: #f9fafb;        /* Soft section backgrounds */
  
  /* Legacy variables for compatibility */
  --bg: var(--color-bg);
  --panel: var(--color-bg-soft);
  --ink: var(--color-text);
  --muted: var(--color-text-light);
  --brand: var(--color-accent);
  --accent: var(--color-accent-interactive);
  --border: var(--color-border);
  --link: var(--color-accent-interactive);
}

/* Video Hero Section */
.video-hero {
  margin: 0 0 3rem 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 400px;
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.8) 0%, rgba(6, 78, 59, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-branding {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-branding .logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: var(--logo-forest);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-branding h1 {
  font-size: 3rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.25rem;
  margin: 0;
  opacity: 0.95;
  font-weight: 500;
}

/* Responsive video hero */
@media (max-width: 768px) {
  .video-hero {
    margin: 0 0 2rem 0;
  }
  
  .video-container {
    height: 250px;
    border-radius: 0;
  }
  
  .hero-branding h1 {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.1rem;
  }
  
  .hero-branding .logo {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .video-container {
    height: 250px;
    border-radius: 8px;
  }
  
  .hero-branding h1 {
    font-size: 2rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  .hero-branding .logo {
    width: 50px;
    height: 50px;
  }
}

/* Base Styles - Publishing Frame Approach */
html {
  height: 100%;
}

body {
  background: var(--color-frame);
  margin: 0;
  padding: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
  min-height: 100vh;
}

.wrap {
  background: var(--color-bg);
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 2rem);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
  overflow: hidden;
}

/* Typography - Forest Theme */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0.25rem 0;
}

h2 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 2rem 0 1rem;
}

p {
  color: var(--color-text);
  margin-bottom: 1.2rem;
}

a {
  color: var(--color-accent-interactive);
  text-decoration: underline;
}

a:hover {
  color: var(--color-accent-dark);
}

h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

h3 {
  margin-top: 1.2rem;
  font-size: 1.2rem;
}

/* Layout */
.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px;
}

/* Header & Branding */
header {
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-image: url('../images/logo/ContinuityIdIcon40x40.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 24px rgba(98, 208, 255, 0.25);
}

.subtitle {
  color: var(--muted);
  margin-top: 4px;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, rgba(98, 208, 255, 0.08), rgba(0, 0, 0, 0));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin: 18px 0;
}

/* Navigation */
nav.toc {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}

nav.toc h2 {
  margin: 0 0 8px;
}

nav.toc ul {
  columns: 2;
  margin: 0;
  padding-left: 18px;
}

/* Sections */
section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 18px 0;
}

/* Callouts & Code */
.callout {
  border-left: 4px solid var(--accent);
  background: rgba(116, 243, 198, 0.08);
  padding: 12px 14px;
  border-radius: 8px;
  margin: 12px 0;
}

.code {
  background: var(--code);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  overflow: auto;
}

.diagram {
  background: var(--code);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  white-space: pre;
  overflow: auto;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

/* Tables */
.table-wrap {
  overflow: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
}

th {
  background: #11161d;
}

/* Buttons */
.btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Buttons - Forest Theme */
.btn {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent-interactive);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
}

.btn-secondary,
.btn-outline {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.btn-secondary:hover,
.btn-outline:hover {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
}

/* Hero accent line */
.hero::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-interactive) 100%);
  margin: 1.5rem 0;
  border-radius: 2px;
}

/* Brand header with forest theme */
.brand h1 {
  color: var(--color-accent);
  font-size: 1.5rem;
  margin: 0;
}

/* Table of contents styling */
.toc {
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem;
  margin: 2rem 0;
}

.toc h2 {
  color: var(--color-accent);
  margin-top: 0;
}

.toc a {
  color: var(--color-text);
  text-decoration: none;
  padding: 0.25rem 0;
  display: block;
}

.toc a:hover {
  color: var(--color-accent-interactive);
  padding-left: 0.5rem;
  transition: all 0.2s ease;
}

/* Tags */
.tag {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Utilities */
.small {
  font-size: 0.95rem;
}

.footer {
  color: var(--muted);
  text-align: center;
  margin-top: 28px;
}

/* Anchor offset for in-page navigation */
:target {
  scroll-margin-top: 70px;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav.toc ul {
    columns: 1;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === CONSENT BANNER === */
.cid-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cid-consent-banner.hidden {
  display: none;
}

.cid-consent-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cid-consent-container span {
  color: var(--ink);
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}

.cid-consent-buttons {
  display: flex;
  gap: 0.75rem;
}

.cid-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.cid-btn:hover {
  background: var(--panel);
}

.cid-btn.cid-accept {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.cid-btn.cid-accept:hover {
  opacity: 0.9;
}

.cid-btn.cid-reject {
  background: transparent;
  border-color: var(--muted);
  color: var(--muted);
}

.cid-btn.cid-reject:hover {
  border-color: var(--ink);
  color: var(--ink);
}

@media (max-width: 768px) {
  .cid-consent-container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .cid-consent-buttons {
    justify-content: center;
  }
}

/* === HEADER NAVIGATION === */
.header-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--ink);
  background: var(--panel);
}

/* === FOOTER LAYOUT === */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--link);
}

.footer-legal {
  color: var(--muted);
  font-size: 0.85rem;
}

/* === PRIVACY PAGE === */
.privacy-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.privacy-content h1 {
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
}

.privacy-content h2 {
  color: var(--brand);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.privacy-content h3 {
  color: var(--ink);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-content hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.privacy-content ol li,
.privacy-content ul li {
  margin-bottom: 0.5rem;
}

.privacy-footer {
  margin-top: 3rem;
  padding: 2rem 1rem 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.privacy-footer .footer-links {
  justify-content: center;
  margin-bottom: 1rem;
}

/* === MANAGE CONSENT BUTTON === */
.cid-btn.cid-manage {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 1rem 0;
  display: inline-block;
}

.cid-btn.cid-manage:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* === RESPONSIVE PRIVACY === */
@media (max-width: 768px) {
  .privacy-content {
    padding: 0 1.5rem;
  }
  
  .privacy-content h1 {
    font-size: 2rem;
  }
  
  .header-nav {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer {
    flex-direction: column;
    text-align: center;
  }
}

/* === HOMEPAGE HERO & CTAs === */
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.sub-hero {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary,
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
}

/* === HOMEPAGE SECTIONS === */
.homepage-content {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.homepage-content section {
  margin-bottom: 3rem;
}

.homepage-content h2 {
  color: var(--brand);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

/* === USER GOVERNANCE VECTOR SECTION === */
#user-governance-vector {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

#user-governance-vector h2 {
  color: var(--brand);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

#user-governance-vector p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* === WHY CONTINUITYID MATTERS SECTION === */
#why-continuityid-matters {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

#why-continuityid-matters h2 {
  color: var(--brand);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

#why-continuityid-matters p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.homepage-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.homepage-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.homepage-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* === CONTINUITY VECTOR CTA === */
.vector-cta {
  margin: 1.5rem 0;
  text-align: center;
}

/* === TOC STYLING === */
.whitepaper-divider {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-style: italic;
}

/* === WHITEPAPER HEADER === */
.whitepaper-header {
  background: var(--panel);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.whitepaper-header h2 {
  color: var(--accent);
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
}

.whitepaper-subtitle {
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

/* === RESPONSIVE HOMEPAGE === */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .sub-hero {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn {
    text-align: center;
  }
  
  .homepage-content {
    margin: 2rem auto;
    padding: 0 1.5rem;
  }
  
  .homepage-content h2 {
    font-size: 1.5rem;
  }
  
  .whitepaper-header {
    padding: 1.5rem;
  }
}

/* New homepage sections */
#how-pieces-fit {
  background: var(--panel);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

#how-pieces-fit h2 {
  color: var(--brand);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

#how-pieces-fit p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

#what-you-can-anchor {
  padding: 2rem;
  background: var(--bg-gray);
  border-radius: 8px;
  margin-bottom: 2rem;
}

#what-you-can-anchor h2 {
  color: var(--brand);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

#what-you-can-anchor p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
/* ContinuityID Generator Page Styles */
.generate-content {
  padding: 2rem;
}

/* Generation Counter Display */
.generation-stats {
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent-interactive);
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 2rem 0;
  text-align: center;
}

.generation-stats p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-accent);
}

.generation-stats strong {
  color: var(--color-accent-dark);
  font-size: 1.2rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.form-group {
  margin: 1.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.form-actions {
  margin: 2rem 0;
}

/* Countdown timer styles */
.countdown-display {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.countdown-bar {
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.countdown-progress {
  height: 100%;
  background: var(--color-accent-interactive);
  width: 0%;
  transition: width 1s linear;
}

.countdown-display.ready {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
}

.ready-text {
  color: var(--color-accent);
  font-weight: 600;
}

.form-note {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.result-section,
.error-section {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 8px;
}

.result-section {
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent);
}

.error-section {
  background: #fef2f2;
  border: 1px solid #dc2626;
}

.result-did {
  margin: 1.5rem 0;
}

.result-did label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.result-did code {
  display: block;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
  word-break: break-all;
}

.result-actions {
  margin: 1.5rem 0;
}

.result-note {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin: 0.5rem 0 1.5rem;
}

.result-warning {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-radius: 4px;
}

.result-warning p {
  margin-bottom: 0.5rem;
}

.result-warning ul {
  margin: 0;
  padding-left: 1.25rem;
}

.result-warning li {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* Countdown Timer Styles */
.countdown-display {
  margin: 1rem 0;
  text-align: center;
  padding: 1rem;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.countdown-display.hidden {
  display: none;
}

#countdownText {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.countdown-bar {
  width: 100%;
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
  overflow: hidden;
}

.countdown-progress {
  height: 100%;
  background: var(--color-accent-interactive);
  width: 0%;
  transition: width 0.1s ease;
  border-radius: 3px;
}

/* Test Mode Banner */
.test-mode-banner {
  background: #fef3c7;
  border: 2px solid #f59e0b;
  color: #92400e;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.test-mode-banner strong {
  color: #b45309;
  font-weight: 700;
}

/* Test Mode Banner */
.test-mode-banner {
  background: #fef3c7;
  border: 2px solid #f59e0b;
  color: #92400e;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.test-mode-banner strong {
  color: #b45309;
  font-weight: 700;
}
 
 / *   N e w s l e t t e r   S i g n u p   S t y l i n g   -   I n t e g r a t e s   w i t h   e x i s t i n g   C o n t i n u i t y I D   d e s i g n   * / 
 
 / *   N e w s l e t t e r   S e c t i o n   * / 
 . n e w s l e t t e r - s e c t i o n   { 
         b a c k g r o u n d :   v a r ( - - c o l o r - b g - s o f t ) ; 
         b o r d e r :   1 p x   s o l i d   v a r ( - - c o l o r - b o r d e r ) ; 
         b o r d e r - r a d i u s :   8 p x ; 
         p a d d i n g :   2 . 5 r e m ; 
         m a r g i n :   3 r e m   0 ; 
         t e x t - a l i g n :   c e n t e r ; 
         b o x - s h a d o w :   0   2 p x   8 p x   r g b a ( 0 , 0 , 0 , 0 . 0 5 ) ; 
 } 
 
 . n e w s l e t t e r - s e c t i o n   h 2   { 
         c o l o r :   v a r ( - - c o l o r - a c c e n t ) ; 
         f o n t - f a m i l y :   ' T i m e s   N e w   R o m a n ' ,   s e r i f ; 
         f o n t - s i z e :   1 . 7 5 r e m ; 
         m a r g i n - b o t t o m :   1 r e m ; 
         f o n t - w e i g h t :   6 0 0 ; 
 } 
 
 . n e w s l e t t e r - s e c t i o n   p   { 
         c o l o r :   v a r ( - - c o l o r - t e x t - l i g h t ) ; 
         f o n t - s i z e :   1 . 1 r e m ; 
         l i n e - h e i g h t :   1 . 6 ; 
         m a r g i n - b o t t o m :   2 r e m ; 
         m a x - w i d t h :   5 0 0 p x ; 
         m a r g i n - l e f t :   a u t o ; 
         m a r g i n - r i g h t :   a u t o ; 
 } 
 
 / *   N e w s l e t t e r   F o r m   * / 
 . n e w s l e t t e r - f o r m   { 
         m a x - w i d t h :   4 5 0 p x ; 
         m a r g i n :   0   a u t o ; 
 } 
 
 . n e w s l e t t e r - i n p u t - g r o u p   { 
         d i s p l a y :   f l e x ; 
         g a p :   0 . 7 5 r e m ; 
         m a r g i n - b o t t o m :   1 . 5 r e m ; 
         a l i g n - i t e m s :   s t r e t c h ; 
 } 
 
 . n e w s l e t t e r - e m a i l   { 
         f l e x :   1 ; 
         p a d d i n g :   0 . 8 7 5 r e m   1 r e m ; 
         b o r d e r :   2 p x   s o l i d   v a r ( - - c o l o r - b o r d e r ) ; 
         b o r d e r - r a d i u s :   6 p x ; 
         b a c k g r o u n d :   v a r ( - - c o l o r - b g ) ; 
         c o l o r :   v a r ( - - c o l o r - t e x t ) ; 
         f o n t - f a m i l y :   i n h e r i t ; 
         f o n t - s i z e :   1 r e m ; 
         t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
 } 
 
 . n e w s l e t t e r - e m a i l : f o c u s   { 
         o u t l i n e :   n o n e ; 
         b o r d e r - c o l o r :   v a r ( - - c o l o r - a c c e n t - i n t e r a c t i v e ) ; 
         b o x - s h a d o w :   0   0   0   3 p x   r g b a ( 1 6 ,   1 8 5 ,   1 2 9 ,   0 . 1 ) ; 
 } 
 
 . n e w s l e t t e r - e m a i l : : p l a c e h o l d e r   { 
         c o l o r :   v a r ( - - c o l o r - t e x t - l i g h t ) ; 
 } 
 
 . n e w s l e t t e r - e m a i l : i n v a l i d   { 
         b o r d e r - c o l o r :   # e f 4 4 4 4 ; 
 } 
 
 . n e w s l e t t e r - s u b m i t   { 
         p a d d i n g :   0 . 8 7 5 r e m   2 r e m ; 
         b a c k g r o u n d :   v a r ( - - c o l o r - a c c e n t - i n t e r a c t i v e ) ; 
         c o l o r :   w h i t e ; 
         b o r d e r :   n o n e ; 
         b o r d e r - r a d i u s :   6 p x ; 
         f o n t - f a m i l y :   i n h e r i t ; 
         f o n t - w e i g h t :   6 0 0 ; 
         f o n t - s i z e :   1 r e m ; 
         c u r s o r :   p o i n t e r ; 
         t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
         w h i t e - s p a c e :   n o w r a p ; 
         m i n - w i d t h :   1 4 0 p x ; 
 } 
 
 . n e w s l e t t e r - s u b m i t : h o v e r : n o t ( : d i s a b l e d )   { 
         b a c k g r o u n d :   v a r ( - - c o l o r - a c c e n t - d a r k ) ; 
         t r a n s f o r m :   t r a n s l a t e Y ( - 1 p x ) ; 
         b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 1 6 ,   1 8 5 ,   1 2 9 ,   0 . 3 ) ; 
 } 
 
 . n e w s l e t t e r - s u b m i t : a c t i v e : n o t ( : d i s a b l e d )   { 
         t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
 } 
 
 . n e w s l e t t e r - s u b m i t : d i s a b l e d   { 
         o p a c i t y :   0 . 6 ; 
         c u r s o r :   n o t - a l l o w e d ; 
         t r a n s f o r m :   n o n e ; 
 } 
 
 / *   S t a t u s   M e s s a g e s   * / 
 . n e w s l e t t e r - s t a t u s   { 
         p a d d i n g :   1 r e m ; 
         b o r d e r - r a d i u s :   6 p x ; 
         m a r g i n :   1 r e m   0 ; 
         f o n t - s i z e :   0 . 9 5 r e m ; 
         f o n t - w e i g h t :   5 0 0 ; 
         d i s p l a y :   n o n e ; 
         t e x t - a l i g n :   c e n t e r ; 
 } 
 
 . n e w s l e t t e r - s t a t u s . n e w s l e t t e r - s u c c e s s   { 
         b a c k g r o u n d :   v a r ( - - c o l o r - a c c e n t - l i g h t ) ; 
         c o l o r :   v a r ( - - c o l o r - a c c e n t ) ; 
         b o r d e r :   2 p x   s o l i d   v a r ( - - c o l o r - a c c e n t - i n t e r a c t i v e ) ; 
 } 
 
 . n e w s l e t t e r - s t a t u s . n e w s l e t t e r - e r r o r   { 
         b a c k g r o u n d :   # f e f 2 f 2 ; 
         c o l o r :   # d c 2 6 2 6 ; 
         b o r d e r :   2 p x   s o l i d   # e f 4 4 4 4 ; 
 } 
 
 . n e w s l e t t e r - s t a t u s . n e w s l e t t e r - l o a d i n g   { 
         b a c k g r o u n d :   # f e f 3 c 7 ; 
         c o l o r :   # d 9 7 7 0 6 ; 
         b o r d e r :   2 p x   s o l i d   # f 5 9 e 0 b ; 
 } 
 
 / *   P r i v a c y   T e x t   * / 
 . n e w s l e t t e r - p r i v a c y   { 
         f o n t - s i z e :   0 . 8 5 r e m ; 
         c o l o r :   v a r ( - - c o l o r - t e x t - l i g h t ) ; 
         l i n e - h e i g h t :   1 . 5 ; 
         m a r g i n - t o p :   1 r e m ; 
 } 
 
 . n e w s l e t t e r - p r i v a c y   a   { 
         c o l o r :   v a r ( - - c o l o r - a c c e n t - i n t e r a c t i v e ) ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
 } 
 
 . n e w s l e t t e r - p r i v a c y   a : h o v e r   { 
         t e x t - d e c o r a t i o n :   u n d e r l i n e ; 
 } 
 
 / *   C o m p a c t   V e r s i o n   f o r   P o s t - A c t i o n   P a g e s   * / 
 . n e w s l e t t e r - c o m p a c t   { 
         b a c k g r o u n d :   v a r ( - - c o l o r - b g - s o f t ) ; 
         p a d d i n g :   1 . 5 r e m ; 
         b o r d e r - r a d i u s :   6 p x ; 
         b o r d e r :   1 p x   s o l i d   v a r ( - - c o l o r - b o r d e r ) ; 
         m a r g i n :   1 . 5 r e m   0 ; 
         t e x t - a l i g n :   c e n t e r ; 
 } 
 
 . n e w s l e t t e r - c o m p a c t   h 3   { 
         c o l o r :   v a r ( - - c o l o r - a c c e n t ) ; 
         f o n t - s i z e :   1 . 3 r e m ; 
         m a r g i n - b o t t o m :   0 . 7 5 r e m ; 
 } 
 
 . n e w s l e t t e r - c o m p a c t   p   { 
         f o n t - s i z e :   0 . 9 5 r e m ; 
         m a r g i n - b o t t o m :   1 . 2 5 r e m ; 
 } 
 
 . n e w s l e t t e r - c o m p a c t   . n e w s l e t t e r - i n p u t - g r o u p   { 
         m a r g i n - b o t t o m :   1 r e m ; 
 } 
 
 . n e w s l e t t e r - c o m p a c t   . n e w s l e t t e r - p r i v a c y   { 
         f o n t - s i z e :   0 . 8 r e m ; 
         m a r g i n - t o p :   0 . 7 5 r e m ; 
 } 
 
 / *   M o b i l e   R e s p o n s i v e   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . n e w s l e t t e r - s e c t i o n   { 
                 p a d d i n g :   2 r e m   1 . 5 r e m ; 
                 m a r g i n :   2 r e m   0 ; 
         } 
         
         . n e w s l e t t e r - s e c t i o n   h 2   { 
                 f o n t - s i z e :   1 . 5 r e m ; 
         } 
         
         . n e w s l e t t e r - i n p u t - g r o u p   { 
                 f l e x - d i r e c t i o n :   c o l u m n ; 
                 g a p :   0 . 7 5 r e m ; 
         } 
         
         . n e w s l e t t e r - e m a i l   { 
                 m i n - w i d t h :   u n s e t ; 
         } 
         
         . n e w s l e t t e r - s u b m i t   { 
                 m i n - w i d t h :   u n s e t ; 
         } 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   4 8 0 p x )   { 
         . n e w s l e t t e r - s e c t i o n   { 
                 p a d d i n g :   1 . 5 r e m   1 r e m ; 
         } 
         
         . n e w s l e t t e r - s e c t i o n   p   { 
                 f o n t - s i z e :   1 r e m ; 
         } 
 } 
 
 / *   H o n e y p o t   F i e l d s   * / 
 . h p - f i e l d   { 
         p o s i t i o n :   a b s o l u t e ; 
         l e f t :   - 9 9 9 9 p x ; 
         t o p :   - 9 9 9 9 p x ; 
         v i s i b i l i t y :   h i d d e n ; 
         o p a c i t y :   0 ; 
         p o i n t e r - e v e n t s :   n o n e ; 
         z - i n d e x :   - 1 ; 
 } 
 
 / *   P o s t - s i g n u p   c o n t e n t   * / 
 # p o s t - s i g n u p - c o n t e n t   { 
         d i s p l a y :   n o n e ; 
         m a r g i n - t o p :   1 r e m ; 
         p a d d i n g :   1 r e m ; 
         b a c k g r o u n d :   v a r ( - - c o l o r - a c c e n t - l i g h t ) ; 
         b o r d e r - r a d i u s :   6 p x ; 
         c o l o r :   v a r ( - - c o l o r - a c c e n t ) ; 
 }  
 