:root {
  --ink: #17243a;
  --muted: #5f6d7e;
  --line: #e4e9ef;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --blue: #173f7a;
  --blue-2: #265ea8;
  --gold: #d7a63e;
  --shadow: 0 18px 50px rgba(22, 43, 74, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}
a { color: var(--blue-2); }
img { max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.form-control {
    border-radius: 0px !important;
}

.blog-item {
    margin-bottom: 35px;
}

.blog-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-item h2 {
    font-size: 24px;
    margin-top: 15px;
}

.blog-item h2 a {
    color: #21c3f4;
    text-decoration: none;
}

.blog-item .date {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-item .excerpt {
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 9px 18px;
    background: #21c3f4;
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 414px) {
    .wrapper.container.main-frame {
        margin-top: 10%;
    }

    .navbar-header {
        background-color: white;
    }

    #myNavbar {
        background-color: #523724;
    }

    .blog-item img {
        height: 200px;
    }
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  color: #fff !important;
  background: var(--blue);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(23,63,122,.18);
}
.button.alt { background: var(--gold); color: #17243a !important; }
.hero { padding: 78px 72px; background: linear-gradient(125deg, #f7fafc 0%, #eef5ff 58%, #fff8e8 100%); }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--blue-2); text-transform: uppercase; letter-spacing: .14em; font-weight: 850; font-size: 1.78rem; }
h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.55rem) !important;font-weight: 800; line-height: 1.04; letter-spacing: -.045em; }
.lede { color: var(--muted); font-size: 2.15rem; max-width: 720px; }
.hero-art { position: relative; height: 330px; }
.foam {
  position: absolute;
  width: 78%;
  height: 82px;
  left: 11%;
  border-radius: 12px;
  transform: skewY(-3deg);
  border: 1px solid rgba(23,63,122,.12);
  box-shadow: var(--shadow);
}
.foam.one { top: 30px; background: #eaf1f8; }
.foam.two { top: 119px; left: 5%; background: #f0d368; }
.foam.three { top: 208px; left: 16%; background: #bce4ed; }
.foam-label { position: absolute; z-index: 2; color: #173f7a; font-weight: 900; letter-spacing: .08em; }
.foam-label.a { top: 58px; right: 14%; }
.foam-label.b { top: 147px; left: 10%; }
.foam-label.c { top: 236px; right: 9%; }
.section { padding: 78px 0; }
.section.soft { background: var(--soft); }
.section-title { max-width: 780px; margin-bottom: 34px; }
.section-title h2, article h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 3.55rem); line-height: 1.16; letter-spacing: -.025em; }
.section-title p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.card h2, .card h3 { margin: 10px 0 8px; line-height: 1.2; }
.card p { color: var(--muted); }
.tag { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #eaf2ff; color: var(--blue); font-weight: 800; font-size: 1.75rem; }
.text-link { font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.breadcrumb { padding: 22px 0; color: var(--muted); font-size: .92rem; }
.article-hero { padding: 46px 0 54px; background: linear-gradient(120deg, #f7fafc, #eef5ff); border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 980px; font-size: clamp(2.35rem, 5vw, 4rem); }
.meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; color: var(--muted); font-size: 1.5rem; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 54px; justify-content: center; align-items: start; }
.toc { position: sticky; top: 100px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.toc strong { display: block; margin-bottom: 10px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 1.65rem; }
article { font-size: 1.55rem; }
article h2 { margin-top: 48px; scroll-margin-top: 100px; font-weight: 800; }
article h3 { margin-top: 30px; font-size: 2rem; font-weight: 800; }
article p, article li { color: #334155; }
article table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 1.96rem; }
article th, article td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
article th { background: #edf4fc; color: var(--blue); }
.note { margin: 28px 0; padding: 22px 24px; border-left: 5px solid var(--gold); background: #fff8e8; border-radius: 8px; }
.shape-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.shape-list li { padding: 8px 13px; background: #eef4fa; border-radius: 8px; font-weight: 750; color: var(--ink); }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 850; color: var(--ink);display: list-item; }
.cta { margin-top: 48px; padding: 34px; color: #fff; background: linear-gradient(130deg, #173f7a, #265ea8); border-radius: 18px; }
.cta h2 { color: #fff; margin-top: 0; }
.cta p { color: #e6effc; }
.site-footer { padding: 34px 0; background: #101c2d; color: #cdd8e7; text-align: center; }

@media (max-width: 850px) {
  .hero-grid, .article-layout { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero-art { height: 290px; }
  .toc { position: static; }
  .nav-links a:not(.button) { display: none; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 26px, 1160px); }
  .cards { grid-template-columns: 1fr; }
  .hero, .section { padding: 54px 0; }
  article table { display: block; overflow-x: auto; }
}