/* shared/css/base.css — Storm Reply Brand Foundation */
/* Linked as first stylesheet by ALL sites. Never duplicate or override. */

/* ── @font-face: Proxima Nova ───────────────────────────────────── */
@font-face { font-family: 'Proxima Nova'; src: url('/shared/fonts/ProximaNova-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proxima Nova'; src: url('/shared/fonts/ProximaNova-LightItalic.otf') format('opentype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Proxima Nova'; src: url('/shared/fonts/ProximaNova-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proxima Nova'; src: url('/shared/fonts/ProximaNova-RegularItalic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Proxima Nova'; src: url('/shared/fonts/ProximaNova-Semibold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proxima Nova'; src: url('/shared/fonts/ProximaNova-SemiboldItalic.otf') format('opentype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Proxima Nova'; src: url('/shared/fonts/ProximaNova-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proxima Nova'; src: url('/shared/fonts/ProximaNova-BoldIt.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Proxima Nova'; src: url('/shared/fonts/ProximaNova-Extrabold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proxima Nova'; src: url('/shared/fonts/ProximaNova-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }

@font-face { font-family: 'Proxima Nova Condensed'; src: url('/shared/fonts/ProximaNovaCond-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proxima Nova Condensed'; src: url('/shared/fonts/ProximaNovaCond-LightIt.otf') format('opentype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Proxima Nova Condensed'; src: url('/shared/fonts/ProximaNovaCond-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proxima Nova Condensed'; src: url('/shared/fonts/ProximaNovaCond-RegularIt.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Proxima Nova Condensed'; src: url('/shared/fonts/ProximaNovaCond-Semibold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proxima Nova Condensed'; src: url('/shared/fonts/ProximaNovaCond-SemiboldIt.otf') format('opentype'); font-weight: 600; font-style: italic; font-display: swap; }

/* ── CSS Custom Properties ──────────────────────────────────────── */
:root {
  --storm-dark-teal:   #004149;
  --storm-teal:        #00A486;
  --storm-bright-teal: #0EA49A;
  --storm-light-teal:  #00C49B;
  --storm-white:       #FFFFFF;
  --storm-off-white:   #F2F2F2;
  --storm-light-gray:  #E7E6E6;
  --storm-dark-gray:   #333333;
  --storm-gradient:    linear-gradient(135deg, #004149, #00A486);
  --aws-orange:        #FF9900;

  --font-primary:    'Proxima Nova', Arial, Helvetica, sans-serif;
  --font-heading:    'Proxima Nova', 'Arial Black', Impact, sans-serif;
  --font-condensed:  'Proxima Nova Condensed', 'Arial Narrow', sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Base Typography ────────────────────────────────────────────── */
body {
  font-family: var(--font-primary);
  color: var(--storm-dark-gray);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--storm-dark-teal);
}

h1 { font-size: 40px; font-weight: 900; line-height: 1.1; margin-bottom: 0.5em; }
h2 { font-size: 28px; font-weight: 700; line-height: 1.2; margin-bottom: 0.5em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 0.4em; }
h4 { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 0.3em; }

p { margin-bottom: 1em; }

a { color: var(--storm-teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--storm-dark-teal); }

img { max-width: 100%; height: auto; }

/* ── Layout Helpers ─────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero Section ───────────────────────────────────────────────── */
.hero {
  background: var(--storm-gradient);
  color: var(--storm-white);
  padding: 80px 40px;
  text-align: center;
}
.hero h1 { color: var(--storm-white); font-size: 44px; }
.hero p  { color: var(--storm-white); font-size: 18px; opacity: 0.95; max-width: 700px; margin: 0 auto 1.5em; }
.hero .logo { max-height: 48px; margin-bottom: 32px; }

/* ── Section Variants ───────────────────────────────────────────── */
.section-white { background: var(--storm-white); padding: 60px 40px; }
.section-light { background: var(--storm-off-white); padding: 60px 40px; }
.section-dark  { background: var(--storm-dark-teal); color: var(--storm-white); padding: 60px 40px; }
.section-dark h2, .section-dark h3 { color: var(--storm-white); }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--storm-teal);
  color: var(--storm-white);
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--storm-dark-teal); color: var(--storm-white); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--storm-teal);
  padding: 12px 26px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--storm-teal);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--storm-teal); color: var(--storm-white); }

.btn-white {
  display: inline-block;
  background: var(--storm-white);
  color: var(--storm-dark-teal);
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-white:hover { background: var(--storm-off-white); color: var(--storm-dark-teal); }

/* ── Cards ──────────────────────────────────────────────────────── */
.card {
  background: var(--storm-white);
  border: 1px solid var(--storm-light-gray);
  border-radius: 4px;
  padding: 32px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0, 65, 73, 0.1); }

/* ── Grid ───────────────────────────────────────────────────────── */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Partner Badge ──────────────────────────────────────────────── */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--storm-white);
  border: 1px solid var(--storm-light-gray);
  border-radius: 4px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  color: var(--storm-dark-teal);
}
.partner-badge .aws-icon { color: var(--aws-orange); font-weight: 700; }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--storm-dark-teal);
  color: var(--storm-white);
  padding: 48px 40px 24px;
}
.site-footer a { color: var(--storm-light-teal); }
.site-footer a:hover { color: var(--storm-white); }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 14px;
  opacity: 0.8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo { max-height: 36px; margin-bottom: 16px; }

/* ── Entity Statement ───────────────────────────────────────────── */
.entity-statement {
  text-align: center;
  padding: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--storm-dark-teal);
  letter-spacing: 0.02em;
}

/* ── Labels / Tags ──────────────────────────────────────────────── */
.label {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--storm-teal);
}

/* ── Newsletter Form (Footer) ───────────────────────────────────── */
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  color: var(--storm-white);
  font-family: var(--font-primary);
  font-size: 14px;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form button {
  padding: 10px 20px;
  background: var(--storm-teal);
  color: var(--storm-white);
  border: none;
  border-radius: 2px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

/* ── FAQ Accordion ──────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--storm-light-gray); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--storm-dark-teal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after { content: '+'; font-size: 24px; font-weight: 300; transition: transform 0.2s; }
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer { padding: 0 0 20px; display: none; }
.faq-item.open .faq-answer { display: block; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 28px; }
  .hero h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  .hero { padding: 48px 20px; }
  .section-white, .section-light, .section-dark { padding: 40px 20px; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer .footer-bottom { flex-direction: column; }

  .newsletter-form { flex-direction: column; }
}
