/* Nine Brand CSS */
:root {
  --blue: #009FE3;
  --dark-blue: #1a2744;
  --dark-bg: #2d3748;
  --light-bg: #f0f7fd;
  --text: #333333;
  --white: #ffffff;
  --highlight-bg: #e8f5fd;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
  background: #f5f5f5;
}

/* Cover */
.cover {
  background: var(--dark-blue);
  color: var(--white);
  min-height: 400px;
  padding: 60px 60px 50px;
  margin: 0 -20px 60px;
  position: relative;
}

.cover .logo {
  font-weight: 900;
  font-size: 22px;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 60px;
  display: block;
}

.cover h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.cover .subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  font-style: italic;
}

.cover.blue-bg { background: var(--blue); }

/* Navigation */
nav.toc {
  background: var(--white);
  border: 1px solid #ddd;
  border-left: 4px solid var(--blue);
  padding: 30px 40px;
  margin-bottom: 50px;
}

nav.toc h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 20px;
}

nav.toc ol {
  list-style: none;
  counter-reset: toc;
}

nav.toc li {
  counter-increment: toc;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

nav.toc li::before {
  content: counter(toc) ".";
  color: var(--blue);
  font-weight: 700;
  min-width: 30px;
}

nav.toc a { color: var(--text); text-decoration: none; }
nav.toc a:hover { color: var(--blue); }

/* Sections */
section {
  background: var(--white);
  padding: 40px 50px;
  margin-bottom: 30px;
  border-radius: 2px;
}

h1 { font-size: 36px; font-weight: 900; color: var(--blue); margin-bottom: 20px; line-height: 1.2; }
h2 { font-size: 26px; font-weight: 900; color: var(--dark-blue); margin-bottom: 16px; margin-top: 30px; }
h2:first-child { margin-top: 0; }
h3 { font-size: 18px; font-weight: 700; color: var(--dark-blue); margin-bottom: 10px; margin-top: 24px; }
h3:first-child { margin-top: 0; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

strong { color: var(--dark-blue); }

ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

li { margin-bottom: 8px; }

/* Highlight box */
.highlight {
  background: var(--highlight-bg);
  border-left: 4px solid var(--blue);
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight p:last-child { margin-bottom: 0; }

/* Dark box */
.dark-box {
  background: var(--dark-bg);
  color: var(--white);
  padding: 30px 40px;
  margin: 30px 0;
  border-radius: 2px;
}

.dark-box h3 { color: var(--blue); }
.dark-box li { color: rgba(255,255,255,0.9); }

/* Blue box */
.blue-box {
  background: var(--blue);
  color: var(--white);
  padding: 30px 40px;
  margin: 30px 0;
  border-radius: 2px;
}

.blue-box h3 { color: var(--white); font-size: 20px; margin-bottom: 16px; }
.blue-box li { color: var(--white); margin-bottom: 10px; }

/* Feature table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

th {
  background: var(--dark-blue);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
}

td {
  padding: 10px 16px;
  border-bottom: 1px solid #e5e5e5;
}

tr:nth-child(even) td { background: var(--light-bg); }

.check { color: var(--blue); font-size: 18px; font-weight: 900; }
.addon { color: #888; font-size: 13px; }

/* Checklist items */
.checklist-item {
  border-bottom: 1px solid #eee;
  padding: 24px 0;
}

.checklist-item:last-child { border-bottom: none; padding-bottom: 0; }

.checklist-item h3 {
  color: var(--blue);
  font-size: 17px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.item-number {
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  flex-shrink: 0;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.faq-item:last-child { border-bottom: none; padding-bottom: 0; }

.faq-item h3 {
  color: var(--dark-blue);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

/* CTA */
.cta {
  background: var(--dark-blue);
  color: var(--white);
  padding: 40px 50px;
  margin: 40px 0 0;
  text-align: center;
  border-radius: 2px;
}

.cta h2 { color: var(--white); font-size: 22px; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,0.8); margin-bottom: 0; }

.cta-button {
  display: inline-block;
  margin-top: 24px;
  background: var(--blue);
  color: var(--white);
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 3px;
  font-size: 15px;
}

/* About */
.about {
  background: var(--dark-bg);
  color: var(--white);
  padding: 40px 50px;
  margin-top: 40px;
}

.about h2 { color: var(--blue); margin-bottom: 16px; }
.about p { color: rgba(255,255,255,0.85); }

/* Footer */
footer {
  background: var(--dark-blue);
  color: rgba(255,255,255,0.7);
  padding: 30px 50px;
  font-size: 13px;
  margin: 0 -20px;
}

footer strong { color: var(--white); }

/* Footnote */
.footnote {
  font-size: 12px;
  color: #888;
  border-top: 1px solid #eee;
  padding-top: 16px;
  margin-top: 24px;
}

/* Badge */
.badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
  margin-left: 6px;
}

/* Updated notice */
.updated-notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 10px 16px;
  font-size: 13px;
  color: #856404;
  margin-bottom: 30px;
  text-align: center;
}

/* Two columns */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 24px 0;
}

@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
  .cover { padding: 40px 30px; }
  section { padding: 30px 24px; }
}
