/* Apple-Inspired Theme — Hawthorn Consulting */
/* Shared across all pages */

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

:root {
  --black: #1d1d1f;
  --white: #f5f5f7;
  --gray: #86868b;
  --gray-light: #d2d2d7;
  --accent: #C8A951;
  --accent-dark: #a8893a;
  --bg-light: #f5f5f7;
  --bg-dark: #000000;
  --bg-card: #ffffff;
  --bg-card-dark: #1d1d1f;
  --divider: #424245;
  --divider-light: #d2d2d7;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; transition: color 0.3s; }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}
.nav-inner {
  max-width: 1024px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-brand img { height: 28px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--gray-light);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  transition: color 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta {
  background: var(--accent);
  color: var(--black);
  padding: 6px 16px;
  border-radius: 980px;
  font-weight: 500;
  font-size: 0.75rem;
}
.nav-links .nav-cta:hover { background: var(--accent-dark); color: var(--black); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.2rem; cursor: pointer; }

/* SECTIONS */
.section-dark { background: var(--bg-dark); color: #f5f5f7; }
.section-light { background: var(--bg-light); color: var(--black); }
.section-gray { background: #1d1d1f; color: #f5f5f7; }

section { padding: 100px 24px; text-align: center; }
.section-inner { max-width: 980px; margin: 0 auto; }

/* PAGE — for content-heavy pages */
.page-inner { max-width: 780px; margin: 0 auto; }

/* TYPOGRAPHY */
.headline-super {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.07;
  margin-bottom: 16px;
}
.headline-large {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.headline-medium {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.body-large {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.5;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}
.body-small { font-size: 1rem; line-height: 1.5; font-weight: 400; }
.text-gray { color: var(--gray); }
.text-accent { color: var(--accent); }

.overline {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 8px;
}

/* BUTTONS */
.btn-pill {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 1.05rem;
  font-weight: 400;
  transition: all 0.3s;
}
.btn-primary { background: var(--accent); color: var(--black); }
.btn-primary:hover { background: var(--accent-dark); color: var(--black); }
.btn-ghost { color: var(--accent); padding: 12px 0; }
.btn-ghost:hover { text-decoration: underline; }
.btn-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.link-arrow { font-size: 1.15rem; color: var(--accent); font-weight: 400; }
.link-arrow:hover { text-decoration: underline; }

/* DIVIDERS */
.section-divider { height: 1px; background: var(--divider); max-width: 980px; margin: 0 auto; }
.section-divider-light { height: 1px; background: var(--divider-light); max-width: 980px; margin: 0 auto; }

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: left;
  transition: transform 0.3s;
}
.card:hover { transform: scale(1.02); }
.card .icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; font-weight: 600; color: var(--black); margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { font-size: 0.92rem; color: var(--gray); line-height: 1.5; }

.card-dark {
  background: var(--bg-card-dark);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: left;
  transition: transform 0.3s;
}
.card-dark:hover { transform: scale(1.02); }
.card-dark .icon { font-size: 2rem; margin-bottom: 16px; }
.card-dark h3 { font-size: 1.15rem; font-weight: 600; color: #f5f5f7; margin-bottom: 8px; letter-spacing: -0.01em; }
.card-dark p { font-size: 0.92rem; color: var(--gray); line-height: 1.5; }

/* PORTAL CARDS (centered) */
.card-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.card-center .icon { font-size: 2.5rem; }

/* FEATURE HERO (centered card) */
.feature-hero {
  background: #1d1d1f;
  border-radius: 24px;
  padding: 64px 48px;
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
}
.feature-hero h3 { font-size: 1.6rem; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.02em; }
.feature-hero p { font-size: 1.05rem; color: var(--gray); line-height: 1.6; max-width: 520px; margin: 0 auto 28px; }

/* ABOUT — two column */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  text-align: left;
  margin-top: 48px;
}
.about-text p { font-size: 1.05rem; line-height: 1.7; color: var(--gray); margin-bottom: 20px; }
.about-list { list-style: none; padding: 0; }
.about-list li {
  padding: 16px 0;
  font-size: 0.95rem;
  color: #f5f5f7;
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-list li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* STATS */
.stats-row { display: flex; justify-content: center; gap: 80px; margin-top: 48px; }
.stat-item { text-align: center; }
.stat-num { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; color: var(--accent); }
.stat-label { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.step { text-align: center; }
.step-number {
  width: 56px; height: 56px;
  background: var(--accent);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 0.9rem; line-height: 1.5; }

/* FAQ */
.faq-section { margin-bottom: 40px; text-align: left; }
.faq-section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
}
.faq-item {
  background: var(--bg-card-dark);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: #f5f5f7;
  font-size: 0.95rem;
}
.faq-question:hover { background: rgba(200,169,81,0.06); }
.faq-arrow { color: var(--accent); font-size: 1rem; transition: transform 0.3s ease; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { padding: 0 20px 20px; max-height: 600px; }
.faq-answer a { color: var(--accent); }
.faq-answer ul { margin: 8px 0 8px 20px; }
.faq-answer li { margin-bottom: 4px; }
.faq-answer strong { color: #f5f5f7; }

/* CONTENT SECTIONS (articles, why-hosting, tos) */
.content-block {
  background: var(--bg-card-dark);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 20px;
  text-align: left;
}
.content-block .block-icon { font-size: 2rem; margin-bottom: 16px; }
.content-block h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.content-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f5f5f7;
  margin: 20px 0 8px;
}
.content-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 12px;
}
.content-block p:last-child { margin-bottom: 0; }
.content-block ul, .content-block ol { margin-left: 24px; margin-bottom: 12px; color: var(--gray); }
.content-block li { margin-bottom: 6px; font-size: 0.95rem; line-height: 1.6; }
.content-block strong { color: #f5f5f7; }
.content-block a { color: var(--accent); }

.stat-highlight {
  background: rgba(200,169,81,0.12);
  color: var(--accent);
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
}

/* TOS — lighter text treatment */
.tos-block { background: transparent; padding: 0 0 32px; border-bottom: 1px solid var(--divider); margin-bottom: 32px; border-radius: 0; }
.tos-block:last-of-type { border-bottom: none; }
.tos-highlight {
  background: var(--bg-card-dark);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 16px 0;
}

/* FOOTER */
footer {
  padding: 20px 24px;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--gray);
}
footer a { color: var(--gray); }
footer a:hover { color: #f5f5f7; }

/* RESPONSIVE */
@media (max-width: 768px) {
  section { padding: 72px 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr; }
  .feature-hero { padding: 40px 24px; }
  .content-block { padding: 28px 20px; }
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 48px;
    left: 0; right: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 16px;
  }
  footer { flex-direction: column; gap: 8px; text-align: center; }
  .btn-row { flex-direction: column; gap: 12px; }
}
