@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Inter:wght@400;500;600;700;800&family=Caveat:wght@400;600;700&display=swap');

:root {
  --cream:    #FAF8F5;
  --cream-dk: #F0ECE6;
  --red:      #E53935;
  --red-dk:   #C62828;
  --text:     #1A1A1A;
  --text-2:   #5A5A5A;
  --text-3:   #999;
  --border:   #DDD6CC;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
main { flex: 1; }

/* ════ NAV ════ */
.nav { background: var(--red); }

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  height: 54px;
  width: 54px;
  display: block;
  border-radius: 11px;
  object-fit: contain;
  object-position: center;
  background: rgba(255,255,255,0.1);
  padding: 3px;
}

.nav-logo-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.1px;
  line-height: 1;
}

.nav-links { display: flex; gap: 2px; }

.nav-link {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  transition: background .14s, color .14s;
}
.nav-link:hover,
.nav-link.active {
  background: rgba(255,255,255,.16);
  color: #fff;
}

/* ════ HERO ════ */
.hero {
  text-align: center;
  padding: 80px 24px 56px;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--cream-dk);
  color: var(--red);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.5px;
  color: var(--text);
  margin-bottom: 16px;
}
.hero-headline em { font-style: normal; color: var(--red); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-size: .97rem;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: var(--r);
  box-shadow: 0 4px 18px rgba(229,57,53,.28);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.hero-cta:hover {
  background: var(--red-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229,57,53,.38);
}

/* ════ HOME SPLIT ════ */
.home-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px 80px;
  align-items: start;
}

.home-teasers {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-right: 28px;
  margin-top: 4px;
}

.home-teaser {
  background: #fff;
  padding: 24px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.home-teaser:last-child { border-bottom: none; }

.home-teaser-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.home-teaser-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.home-teaser-desc {
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* Letter */
.letter-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 40px 32px;
  box-shadow: 4px 4px 0 var(--cream-dk);
  position: relative;
}
.letter-wrapper::before {
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background: var(--red);
  border-radius: 4px 4px 0 0;
  position: absolute;
  top: 0; left: 0;
}

.letter-from {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.letter-body {
  font-family: 'Caveat', cursive;
  font-size: 1.18rem;
  color: #2a2a2a;
  line-height: 1.85;
}
.letter-body p { margin-bottom: 12px; }
.letter-body p:last-child { margin-bottom: 0; }
.letter-body strong { font-weight: 700; color: var(--text); }

/* ════ PAGE HEADER ════ */
.page-header {
  text-align: center;
  padding: 64px 24px 48px;
  max-width: 860px;
  margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.75;
}
.rule {
  width: 40px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 24px auto 0;
}

/* ════ FEATURES ════ */
.features {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px 52px;
  display: flex;
  flex-direction: column;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.feature:last-child { border-bottom: none; }
.feature-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-desc {
  font-size: .94rem;
  color: var(--text-2);
  line-height: 1.8;
}

.comic-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px 80px;
}
.comic-section img {
  width: 100%;
  border-radius: 14px;
  display: block;
  border: 1px solid var(--border);
}

/* ════ ABOUT ════ */
.about-split {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px 80px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.9;
  margin-bottom: 22px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text .lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.65;
}

.about-screenshots {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 24px;
}
.about-screenshot-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.about-screenshot-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.about-screenshot-wrap img {
  width: 100%;
  display: block;
}

/* ════ CONTACT ════ */
.contact {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 28px 80px;
}
.contact-intro {
  text-align: center;
  font-size: .975rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.contact-email-wrap { text-align: center; margin-bottom: 12px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 1rem;
  font-weight: 700;
  border: 1.5px solid var(--red);
  padding: 14px 30px;
  border-radius: var(--r);
  transition: all .15s;
}
.contact-email:hover { background: var(--red); color: #fff; }
.contact-note {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 48px;
  font-size: .82rem;
  color: var(--text-3);
}
.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 44px;
}
.office-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 26px 22px;
}
.office-city {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.office-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.office-desc {
  font-size: .86rem;
  color: var(--text-2);
  line-height: 1.7;
}
.contact-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 360px;
  background: #e8e4dc;
}
.contact-map svg { width: 100%; height: 100%; }

/* ════ FOOTER ════ */
.footer {
  background: #1A1A1A;
  color: rgba(255,255,255,.42);
  text-align: center;
  padding: 22px 24px;
  font-size: .82rem;
  letter-spacing: .2px;
}
.footer-tagline { color: rgba(255,255,255,.65); font-style: italic; }

/* ════ RESPONSIVE ════ */
@media (max-width: 640px) {
  .nav-inner { padding: 0 16px; height: 64px; }
  .nav-logo-img { height: 44px; width: 44px; }
  .nav-logo-name { font-size: 1.15rem; }
  .nav-link { padding: 5px 9px; font-size: .8rem; }

  .hero { padding: 52px 20px 44px; }
  .page-header { padding: 48px 20px 36px; }

  .home-split { grid-template-columns: 1fr; padding: 0 20px 60px; }
  .home-teasers { margin-right: 0; margin-bottom: 24px; }
  .letter-wrapper { padding: 28px 24px; }

  .about-split { grid-template-columns: 1fr; gap: 32px; padding: 0 20px 60px; }
  .about-screenshots { position: static; }

  .features { padding: 0 20px 52px; }
  .feature { flex-direction: column; gap: 14px; padding: 28px 0; }

  .offices { grid-template-columns: 1fr; }
  .contact { padding: 0 20px 60px; }
}
