/* AI Agent For Me — aiagentforme.com
   Brand: navy #101642 (and deep navy #0B0F30), teal #00B8C8 / #40D1E6.
   One shared stylesheet, no external dependencies. */

:root {
  --navy: #101642;
  --navy-deep: #0b0f30;
  --teal: #00b8c8;
  --teal-light: #40d1e6;
  --ink: #1b2033;
  --muted: #5a6070;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --prompt-bg: #eaf7f9;
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; }

a { color: #00707e; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e4e8f0;
  position: sticky; top: 0; z-index: 50;
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand:hover { text-decoration: none; }
.brand-icon { height: 86px; width: 86px; border-radius: 16px; flex: none; }
.brand-name {
  font-size: 2.05rem; font-weight: 800; color: var(--navy);
  letter-spacing: -0.015em; line-height: 1.05; white-space: nowrap;
}
.brand-accent { color: #00707e; }
.brand-logo { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: var(--navy); font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: var(--teal); text-decoration: none; }
.main-nav a.nav-cta {
  background: var(--teal); color: #fff; padding: 8px 16px; border-radius: 999px;
}
.main-nav a.nav-cta:hover { background: #009dab; color: #fff; }
.main-nav a.lang-switch {
  border: 1.5px solid var(--navy); border-radius: 999px; padding: 6px 14px;
}
.main-nav a.lang-switch:hover { border-color: var(--teal); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; text-align: center; padding: 64px 0 56px;
}
.hero-logo { height: 64px; width: auto; margin-bottom: 22px; }
.hero-icon { height: 96px; width: 96px; margin-bottom: 10px; }
.hero-name {
  font-size: 1.65rem; font-weight: 800; letter-spacing: -0.01em;
  color: #fff; margin-bottom: 20px; line-height: 1.1;
}
.hero-name span { color: var(--teal-light); }
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem); line-height: 1.12;
  margin: 0 0 18px; letter-spacing: -0.01em;
}
.hero-sub {
  max-width: 760px; margin: 0 auto 30px; color: #d7e6f5; font-size: 1.12rem;
}
.hero .nl-note.light { color: #a9c6de; }

/* ---------- Forms ---------- */
.nl-form {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 8px;
}
.nl-form input[type="email"] {
  flex: 1 1 280px; max-width: 380px; padding: 13px 16px; font-size: 16px;
  border: 1.5px solid #c8d2e0; border-radius: 999px; background: #fff; color: var(--ink);
}
.nl-form button, .btn {
  background: var(--teal); color: #fff; border: none; cursor: pointer;
  font-weight: 700; font-size: 16px; padding: 13px 26px; border-radius: 999px;
  display: inline-block;
}
.nl-form button:hover, .btn:hover { background: #009dab; text-decoration: none; }
.nl-note { color: var(--muted); font-size: 0.92rem; }

.contact-form { display: grid; gap: 8px; max-width: 560px; margin: 20px 0; }
.contact-form label { font-weight: 600; }
.contact-form input, .contact-form textarea {
  padding: 12px 14px; font-size: 16px; border: 1.5px solid #c8d2e0;
  border-radius: 10px; font-family: inherit; width: 100%;
}
.contact-form button {
  background: var(--teal); color: #fff; border: none; cursor: pointer;
  font-weight: 700; font-size: 16px; padding: 13px 26px; border-radius: 999px; justify-self: start;
}
.contact-form button:hover { background: #009dab; }

/* ---------- Home sections & cards ---------- */
.home-section { padding: 54px 0 46px; }
.home-section.sec-alt { background: var(--bg-soft); }
.home-section h2 {
  color: var(--navy); font-size: 1.7rem; margin: 0 0 24px;
  border-left: 5px solid var(--teal); padding-left: 14px;
}
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; padding-bottom: 40px;
}
.card {
  background: #fff; border: 1px solid #e1e7f0; border-radius: var(--radius);
  padding: 22px; box-shadow: 0 2px 10px rgba(16, 22, 66, 0.05);
  display: flex; flex-direction: column;
}
.card h3 { margin: 0 0 10px; font-size: 1.15rem; line-height: 1.35; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--teal); text-decoration: none; }
.card p { color: var(--muted); margin: 0 0 14px; flex: 1; }
.card-link { font-weight: 700; color: #00707e; }
.card-accent { border-color: var(--teal); background: var(--prompt-bg); }
.card-img {
  width: 100%; height: 180px; object-fit: cover; display: block;
  border-radius: 10px; margin-bottom: 16px;
}
.article-hero { margin: 26px 0 10px; }
.article-hero img {
  width: 100%; display: block; border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(16, 22, 66, 0.10);
}

/* ---------- Newsletter band ---------- */
.newsletter {
  background: var(--navy); color: #fff; text-align: center; padding: 54px 0; margin-top: 40px;
}
.newsletter h2 { margin: 0 0 12px; font-size: 1.6rem; }
.newsletter p { color: #d7e6f5; max-width: 720px; margin-left: auto; margin-right: auto; }
.newsletter .nl-note { color: #a9c6de; }
.newsletter .nl-note a { color: var(--teal-light); }

/* ---------- Articles ---------- */
.article { padding: 40px 20px 10px; max-width: 780px; }
.article h1 { color: var(--navy); font-size: 2.1rem; line-height: 1.2; margin: 0 0 18px; }
.article h2 { color: var(--navy); font-size: 1.45rem; margin: 34px 0 12px; line-height: 1.3; }
.article h3 { color: var(--navy); font-size: 1.15rem; margin: 26px 0 8px; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 24px; }
.article li { margin-bottom: 8px; }
.article blockquote, .prompt-box {
  background: var(--prompt-bg); border-left: 5px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 18px 0; padding: 16px 20px; color: #123a44;
}
.article blockquote p { margin: 0 0 10px; }
.article blockquote p:last-child { margin-bottom: 0; }
.article table {
  width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95rem;
  display: block; overflow-x: auto;
}
.article th, .article td {
  border: 1px solid #d5dde9; padding: 10px 12px; text-align: left; vertical-align: top;
}
.article th { background: var(--navy); color: #fff; }
.article tr:nth-child(even) td { background: var(--bg-soft); }

.article-cta {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 30px; margin: 40px 0 50px; text-align: center;
}
.article-cta h2 { color: #fff; margin: 0 0 10px; font-size: 1.5rem; }
.article-cta p { color: #d7e6f5; }
.article-cta .btn { margin-top: 8px; }

/* ---------- Static pages ---------- */
.page { padding: 40px 20px 50px; max-width: 820px; }
.page h1 { color: var(--navy); font-size: 2rem; line-height: 1.2; margin: 0 0 16px; }
.page h2 { color: var(--navy); font-size: 1.35rem; margin: 30px 0 10px; }
.lead { font-size: 1.15rem; color: #33405c; }
.areas { columns: 2; column-gap: 40px; padding-left: 22px; }
.areas li { margin-bottom: 8px; break-inside: avoid; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep); color: #c6d3e6; padding: 44px 0 34px; margin-top: 0;
}
.site-footer .wrap { max-width: 1260px; }
.site-footer .footer-blurb { font-size: 1rem; color: #d7e6f5; margin: 0 0 22px; text-align: center; }
.footer-logo { height: 50px; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 330px 1fr; gap: 44px; align-items: start; }
.footer-brand-col { padding-top: 4px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand:hover { text-decoration: none; }
.footer-icon { height: 128px; width: 128px; flex: none; }
.footer-name { font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.015em; line-height: 1.05; white-space: nowrap; }
.footer-name .brand-accent { color: var(--teal-light); }
.footer-blurb { max-width: none; margin: 0 0 14px; }
.site-footer a { color: var(--teal-light); }
.footer-links { margin: 0 0 14px; }
.footer-social { margin: 0 0 16px; display: flex; gap: 12px; flex-wrap: wrap; }
.ig-link {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700;
  border: 1.5px solid rgba(64, 209, 230, 0.55); border-radius: 999px; padding: 8px 13px;
  font-size: 0.94rem; white-space: nowrap;
}
.ig-link:hover { border-color: var(--teal-light); text-decoration: none; }
.independent { font-size: 0.88rem; color: #8fa3c0; max-width: none; }
.rights { font-size: 0.88rem; color: #8fa3c0; margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-in {
    flex-direction: column; align-items: stretch; gap: 0;
    padding-top: 10px; padding-bottom: 0;
  }
  .brand { justify-content: center; padding-bottom: 10px; }
  .brand-icon { height: 64px; width: 64px; }
  .brand-name { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-brand { align-items: center; text-align: center; }
  .footer-icon { height: 92px; width: 92px; }
  .footer-name { font-size: 1.7rem; }
  .main-nav {
    width: 100%; background: var(--bg-soft);
    border-top: 1px solid #e4e8f0;
    justify-content: space-between; flex-wrap: nowrap;
    overflow-x: auto; gap: 14px; padding: 4px 2px;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 10px 2px; font-size: 14.5px; white-space: nowrap; }
  .main-nav a.nav-cta { padding: 8px 14px; }
  .brand-logo { height: 40px; }
  .hero { padding: 44px 0 40px; }
  .hero-logo { height: 56px; }
  .hero-icon { height: 80px; width: 80px; }
  .hero-name { font-size: 1.45rem; }
  .footer-icon { height: 50px; width: 50px; }
  .footer-name { font-size: 1.35rem; }
  .areas { columns: 1; }
  .article h1 { font-size: 1.7rem; }
  .nl-form input[type="email"] { max-width: 100%; }
}

/* ---------- Consent + ad slots (added 2026-10-18) ---------- */
.hero-form-lead { font-weight: 600; color: #eaf4fb; max-width: 640px; margin: 0 auto 4px; }
.nl-form .consent {
  flex: 1 1 100%; display: flex; gap: 10px; align-items: flex-start;
  text-align: left; font-size: 0.88rem; line-height: 1.45;
  max-width: 620px; margin: 10px auto 0; color: var(--muted); cursor: pointer;
}
.nl-form .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.hero .consent, .newsletter .consent, .article-cta .consent { color: #c9d9ec; }
.hero .consent a, .newsletter .consent a, .article-cta .consent a { color: var(--teal-light); }
.article-cta .nl-form { margin-bottom: 0; }
.ad-band { padding: 14px 20px 6px; text-align: center; }
.ad-footer { margin-bottom: 22px; text-align: center; }
.ad-incontent { margin: 28px 0; text-align: center; }

.more-row { text-align: center; margin-top: 28px; }
.card-date { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); margin: 12px 0 2px; }
.stepbox {
  background: #eef7f8; border: 1.5px solid var(--teal); border-radius: 14px;
  padding: 22px 26px; margin: 24px 0;
}
.stepbox h3 { margin-top: 0; color: var(--navy); }
.stepbox ol { margin: 10px 0 4px; padding-left: 22px; }
.stepbox li { margin-bottom: 9px; }

/* Ad containers: take NO space until an ad actually fills them */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad-hidden { display: none !important; }
