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

:root {
  --blue: #82C8E5;
  --yellow: #FFCC00;
  --white: #FFFFFF;
  --ink: #1a2b35;
  --soft: #f4fafd;
  --mid: #5a8fa3;
  --border: #cce8f4;
}

html { color-scheme: light only; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}

.nav-name {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

/* HERO (index.html only) */
.hero {
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  padding: 72px 32px 64px;
  text-align: center;
}

.hero-img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: block;
  margin: 0 auto 28px;
  box-shadow: 0 8px 32px rgba(130, 200, 229, 0.35);
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 5vw, 42px);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero p {
  font-size: 16px;
  color: var(--mid);
  max-width: 480px;
  margin: 0 auto;
  font-weight: 300;
}

/* CARDS (index.html only) */
.cards {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(130, 200, 229, 0.18);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 18px;
}

.card a {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.card a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* CONTACT SECTION (index.html only) */
.contact {
  background: var(--soft);
  border-top: 1px solid var(--border);
  padding: 56px 32px;
  text-align: center;
}

.contact h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 10px;
}

.contact p {
  font-size: 15px;
  color: var(--mid);
  margin-bottom: 20px;
  font-weight: 300;
}

.contact-email {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-email:hover { opacity: 0.85; }

/* PAGE HEADER (support.html + privacy.html) */
.page-header {
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  padding: 48px 32px 40px;
}

.page-header-inner {
  max-width: 680px;
  margin: 0 auto;
}

.page-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
}

.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 4vw, 34px);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 15px;
  color: var(--mid);
  font-weight: 300;
}

.page-header .meta {
  font-size: 13px;
  color: var(--mid);
  font-weight: 300;
}

/* CONTENT (support.html + privacy.html) */
.content {
  max-width: 680px;
  margin: 0 auto;
  padding: 52px 32px 72px;
}

.section {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 14px;
}

.section p {
  font-size: 15px;
  color: #3a5260;
  line-height: 1.75;
  margin-bottom: 12px;
  font-weight: 300;
}

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

.section ul {
  margin: 12px 0 12px 20px;
}

.section ul li {
  font-size: 15px;
  color: #3a5260;
  line-height: 1.75;
  margin-bottom: 6px;
  font-weight: 300;
}

/* HIGHLIGHT BOX (support.html + privacy.html) */
.highlight-box {
  background: var(--soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--mid);
  font-weight: 400;
}

/* CONTACT BLOCK (support.html + privacy.html) */
.contact-block {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-top: 16px;
  text-align: center;
}

.contact-block p {
  margin-bottom: 6px !important;
  font-size: 14px;
}

.contact-block .name {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 4px !important;
}

.contact-block .role {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 20px !important;
}

.contact-block a:not(.email-btn) {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.contact-block a:not(.email-btn):hover { text-decoration: underline; }

/* EMAIL BUTTON (support.html) */
.email-btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.email-btn:hover { opacity: 0.85; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

footer p { font-size: 12px; color: var(--mid); }

footer a {
  font-size: 12px;
  color: var(--mid);
  text-decoration: none;
}

footer a:hover { color: var(--ink); }

/* DOWNLOAD BLOCK (android.html) */
.download-block {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.download-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
}

.download-info {
  flex: 1;
  min-width: 120px;
}

.download-name {
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 2px !important;
  font-weight: 400;
}

.download-meta {
  font-size: 12px;
  color: var(--mid);
  margin-bottom: 0 !important;
}

.download-btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.download-btn:hover { opacity: 0.85; }

/* INSTALL STEPS (android.html) */
.install-steps {
  list-style: none;
  margin: 16px 0 0;
}

.install-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 15px;
  color: #3a5260;
  line-height: 1.75;
  font-weight: 300;
}

.install-steps li:last-child { margin-bottom: 0; }

.step-num {
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: opacity 0.2s;
}

.nav-hamburger:hover span { opacity: 0.6; }

/* RESPONSIVE */
@media (max-width: 600px) {
  nav {
    padding: 0 20px;
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
    align-items: center;
  }

  .nav-brand {
    height: 60px;
    flex: 1;
  }

  .nav-hamburger {
    display: flex;
    height: 60px;
    align-items: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--border);
    padding: 8px 0 12px;
    order: 3;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
  }

  .hero { padding: 48px 20px 40px; }
  .cards { padding: 36px 20px; }
  .contact { padding: 40px 20px; }
  .page-header { padding: 36px 20px 28px; }
  .content { padding: 36px 20px 52px; }
  footer { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
}