:root {
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #163248;
  background: #f8fbfc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: #087a84; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #10abb1; outline-offset: 3px; }
.fd-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.fd-skip { position: absolute; top: -100px; left: 12px; padding: 10px; background: white; z-index: 10; }
.fd-skip:focus { top: 10px; }

.fd-header { background: #fff; border-bottom: 1px solid #dbe8ee; }
.fd-header__row { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.fd-brand { display: inline-flex; align-items: center; font-size: 1.2rem; font-weight: 850; letter-spacing: -.04em; color: #113354; text-decoration: none; }
.fd-brand__mark { width: 38px; height: 38px; display: grid; place-items: center; margin-right: 10px; background: #113354; border-radius: 11px; color: #7fe3d3; }
.fd-brand__tld { color: #087a84; }
.fd-nav { display: flex; align-items: center; gap: 25px; }
.fd-nav a { color: #264456; font-size: .9rem; font-weight: 680; text-decoration: none; }
.fd-nav a:hover { text-decoration: underline; }
.fd-nav-button { display: none; }

.fd-eyebrow { color: #087a84; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.fd-tool button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 20px; background: #113354; color: #fff; border: 1px solid #113354; border-radius: 10px; font-weight: 720; cursor: pointer; text-decoration: none; }
.fd-article h2, .fd-faq h2 { margin: 12px 0; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; line-height: 1.28; }
.fd-article p, .fd-article li, .fd-contact p, .fd-faq p { color: #496172; line-height: 1.78; }
.fd-tool { padding: 25px; background: #fff; border: 1px solid #d6e5eb; border-radius: 17px; box-shadow: 0 17px 44px #10395313; }
.fd-tool label { display: block; margin-bottom: 11px; font-weight: 760; }
.fd-tool__row { display: flex; gap: 10px; }
.fd-tool input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #a9c1ca; border-radius: 10px; }
.fd-tool button:disabled { opacity: .65; cursor: wait; }
.fd-tool > p { margin: 10px 0 0; font-size: .83rem; }
.fd-tool__result { padding-top: 18px; margin-top: 16px; border-top: 1px solid #dae8ec; }
.fd-tool__result h3 { margin: 0 0 12px; }
.fd-tool__result img { display: block; max-width: 225px; max-height: 150px; object-fit: cover; border-radius: 8px; margin: 12px 0; }
.fd-tool__links { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-tool__links a { padding: 9px 14px; background: #ddf5f0; border-radius: 8px; font-weight: 720; text-decoration: none; }

.fd-page-head { background: #e9f5f7; padding: 49px 0; }
.fd-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: #50687a; font-size: .86rem; }
.fd-page-head h1 { margin: 22px 0 8px; font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -.04em; }
.fd-page-head p { max-width: 720px; color: #465f72; }
.fd-article { max-width: 860px; padding: 57px 0 25px; }
.fd-article section + section { margin-top: 36px; }
.fd-article ol { padding-left: 25px; }
.fd-contact { max-width: 860px; padding: 0 0 45px; }
.fd-faq { max-width: 860px; padding: 10px 0 70px; }
.fd-faq details { padding: 15px 18px; margin: 10px 0; background: #fff; border: 1px solid #d9e6eb; border-radius: 10px; }
.fd-faq summary { cursor: pointer; font-weight: 750; }
.fd-footer { background: #113354; color: #dfedef; padding: 43px 0 24px; }
.fd-footer__grid { display: flex; justify-content: space-between; gap: 45px; }
.fd-footer__brand { color: #fff; font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.fd-footer__grid p { max-width: 420px; color: #c6dce2; }
.fd-footer nav { display: flex; flex-wrap: wrap; gap: 15px 24px; }
.fd-footer nav a { color: #fff; text-decoration: none; }
.fd-footer__bottom { color: #a8c8cf; font-size: .8rem; border-top: 1px solid #456379; padding-top: 22px; margin-top: 35px; }

@media (max-width: 760px) {
  .fd-wrap { width: min(calc(100% - 30px), 600px); }
  .fd-header__row { min-height: 64px; flex-wrap: wrap; }
  .fd-nav-button { display: block; padding: 8px 12px; border: 1px solid #b7c9d1; border-radius: 8px; background: #fff; }
  .fd-nav { display: none; width: 100%; padding: 0 0 16px; }
  .fd-nav.is-open { display: grid; gap: 12px; }
  .fd-article { padding: 41px 0 22px; }
  .fd-footer__grid { display: block; }
  .fd-footer nav { margin-top: 23px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* v1.1: tool-first homepage, independent visual direction. */
:root { color: #172f3b; background: #ffffff; }
.fd-wrap { width: min(1060px, calc(100% - 48px)); }
.fd-header { border-bottom-color: #e4eaec; }
.fd-brand { color: #172f3b; }
.fd-brand__mark { background: #dff3e9; color: #146455; border-radius: 13px; font-size: 1.45rem; }
.fd-brand__tld, .fd-eyebrow { color: #176b59; }
.fd-nav a { color: #34515a; }
.fd-hero { position: relative; overflow: hidden; padding: 73px 0 67px; background: #132a38; color: #fff; }
.fd-hero::before { content: ''; position: absolute; width: 440px; height: 440px; top: -285px; right: -95px; border: 85px solid #29594f; border-radius: 50%; opacity: .55; pointer-events: none; }
.fd-hero__inner { position: relative; z-index: 1; width: min(820px, calc(100% - 48px)); }
.fd-hero .fd-eyebrow { margin: 0 0 14px; color: #93dfbc; }
.fd-hero h1 { max-width: none; margin: 0 auto 12px; font-size: clamp(2.2rem, 5vw, 2.65rem); text-align: center; letter-spacing: -.045em; }
.fd-hero__lead { max-width: 660px; margin: 0 auto 30px; color: #c8d8dd; text-align: center; font-size: 1.05rem; line-height: 1.65; }
.fd-hero .fd-eyebrow, .fd-hero__aside { text-align: center; }
.fd-hero__aside { margin: 17px 0 0; color: #afc7c7; font-size: .8rem; }
.fd-tool { padding: 20px; background: #fff; color: #172f3b; border: 1px solid #b9d2cb; border-radius: 19px; box-shadow: 0 22px 45px #081d2b52; }
.fd-tool label { margin-bottom: 10px; font-size: .89rem; }
.fd-tool__row { gap: 10px; }
.fd-tool input { min-height: 57px; padding-inline: 17px; background: #f8fbfa; border-color: #c6d5d2; border-radius: 10px; }
.fd-tool input::placeholder { color: #71848a; }
.fd-tool button { min-height: 57px; padding-inline: 25px; background: #15745c; border-color: #15745c; border-radius: 10px; white-space: nowrap; }
.fd-tool button:hover:not(:disabled) { background: #105d4c; }
.fd-tool > p { margin-top: 10px; color: #5e7177; }
.fd-tool__result { color: #172f3b; }
.fd-tool__links a { color: #125a49; }
.fd-how { padding: 63px 0 60px; background: #f5f9f7; border-bottom: 1px solid #e2ebe6; }
.fd-how__heading { text-align: center; }
.fd-how__heading h2 { margin: 8px 0 27px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.035em; }
.fd-how__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fd-how__grid article { padding: 22px 23px; background: #fff; border: 1px solid #dfebe5; border-radius: 14px; }
.fd-how__grid article span { color: #176b59; font-weight: 850; font-size: .85rem; letter-spacing: .12em; }
.fd-how__grid h3 { margin: 12px 0 6px; font-size: 1.08rem; }
.fd-how__grid p { margin: 0; color: #526b72; font-size: .92rem; line-height: 1.6; }
.fd-article { padding-top: 55px; }
.fd-article h2 { color: #172f3b; }
.fd-footer { background: #132a38; }
@media (max-width: 760px) {
  .fd-wrap, .fd-hero__inner { width: min(600px, calc(100% - 32px)); }
  .fd-hero { padding: 47px 0 45px; }
  .fd-hero::before { width: 250px; height: 250px; border-width: 50px; top: -165px; right: -85px; }
  .fd-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .fd-hero__lead { font-size: .96rem; margin-bottom: 25px; }
  .fd-tool { padding: 15px; }
  .fd-tool__row { flex-direction: column; }
  .fd-tool input { min-height: 53px; }
  .fd-tool button { width: 100%; min-height: 52px; }
  .fd-how { padding: 45px 0; }
  .fd-how__grid { grid-template-columns: 1fr; gap: 10px; }
  .fd-how__grid article { padding: 17px 19px; }
}
