/* InternetInfoGuide — Shared Stylesheet */

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #666666;
  --color-accent: #1a5276;
  --color-border: #e0e0e0;
  --color-bg-alt: #f7f9fb;
  --max-width: 760px;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Header / Nav */
.site-header {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 1.5rem;
}

.site-header .container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.site-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--color-accent);
}

/* Main content */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* Typography */
h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  font-weight: 400;
}

ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.6rem;
}

strong {
  font-weight: 600;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Sections */
.section {
  margin-top: 3rem;
}

.section-rule {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 3rem 0;
}

/* Hero */
.hero {
  margin-bottom: 1rem;
}

/* Portfolio cards */
.portfolio-item {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}

.portfolio-item:last-of-type {
  border-bottom: 1px solid var(--color-border);
}

.portfolio-item h3 {
  margin-top: 0;
}

.portfolio-link {
  font-size: 1.15rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.portfolio-status {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

/* CTA */
.cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--color-bg-alt);
  border-radius: 8px;
  font-size: 1.1rem;
}

/* Dimensions list */
.dimensions-list {
  list-style: none;
  padding-left: 0;
}

.dimensions-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.dimensions-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.site-footer .container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 600px) {
  html {
    font-size: 17px;
  }

  main {
    padding: 2rem 1.25rem 3rem;
  }

  .site-header {
    padding: 1.25rem 1.25rem;
  }

  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-nav ul {
    gap: 1rem;
  }

  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .cta {
    padding: 1.5rem;
  }
}
