/* IGI Accounting design system — indigo / violet / coral, Outfit + Inter */
:root {
  --indigo: #241a72; --violet: #6f5cf0; --coral: #ff6a45; --ink: #17142b;
  --lilac: #f4f2ff; --lilac-2: #ebe7ff; --border: #e4e0f7; --muted: #5b5680; --white: #fff;
  --indigo-deep: #180f55; --violet-soft: #a79bff; --violet-text: #5440d0;
  --font-d: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-b: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --r: 14px; --r-s: 8px; --shadow: 0 10px 30px rgba(36, 26, 114, .08);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-b); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration-color: var(--violet-soft); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 700; line-height: 1.15; color: var(--indigo); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
small { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--coral); color: var(--ink); padding: 8px 14px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { left: 8px; }
.kicker { font-family: var(--font-d); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-text); margin: 0 0 .6em; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--font-d); font-weight: 600; font-size: 1rem; padding: 12px 20px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; min-height: 48px; transition: transform .12s ease, background .12s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn--coral { background: var(--coral); color: var(--ink); }
.btn--coral:hover { background: #ff7f60; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.hero .btn--ghost, .tool .btn--ghost, section:not(.band) .btn--ghost { color: var(--indigo); border-color: var(--indigo); }
.hero .btn--ghost:hover, section:not(.band) .btn--ghost:hover { color: var(--violet); border-color: var(--violet); }
.btn--indigo { background: var(--indigo); color: var(--white); }
.btn--lg { padding: 15px 26px; font-size: 1.05rem; }
.cta-pair { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2em; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); min-height: 68px; }
.hdr__in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--indigo); }
.brand__mark { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-d); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.brand__bar { width: 6px; height: 26px; background: var(--coral); border-radius: 2px; }
.brand__name { font-family: var(--font-d); font-weight: 600; font-size: 1.1rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { font-family: var(--font-d); font-weight: 600; text-decoration: none; color: var(--ink); padding: 8px 0; border-bottom: 3px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current] { border-bottom-color: var(--coral); color: var(--indigo); }
.nav-t { position: absolute; opacity: 0; pointer-events: none; }
.nav-b { display: none; width: 48px; height: 48px; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; cursor: pointer; }
.nav-b span:not(.vh) { display: block; height: 3px; background: var(--indigo); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* hero */
.hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--lilac) 0%, var(--white) 100%); }
.hero h1 { max-width: 20ch; }
.hero h1::after { content: ''; display: block; width: 88px; height: 6px; background: var(--coral); margin-top: 18px; border-radius: 3px; }
.hero .lede { font-size: 1.2rem; max-width: 62ch; color: var(--ink); }
.hero--money { padding-bottom: 28px; }
.fee-line { font-size: 1.15rem; color: var(--indigo); }
.fee-line strong { font-family: var(--font-d); font-size: 1.4rem; }

/* fee at a glance / tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 1em 0; }
.tile { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 18px 16px; box-shadow: var(--shadow); position: relative; }
.tile::before { content: ''; position: absolute; left: 18px; top: 0; width: 36px; height: 4px; background: var(--coral); border-radius: 0 0 3px 3px; }
.tile__fee { font-family: var(--font-d); font-weight: 700; font-size: 1.5rem; color: var(--indigo); margin: 6px 0 4px; }
.tile__label { margin: 0; color: var(--ink); font-size: .95rem; }
.tile__link { display: inline-block; margin-top: 8px; font-size: .9rem; }
.tiles--c { grid-template-columns: 1fr; gap: 10px; }
.tiles--c .tile { padding: 12px 14px; box-shadow: none; }
.tiles--c .tile__fee { font-size: 1.2rem; }

.stiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 1em 0; }
.stile { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
.stile:hover { transform: translateY(-2px); border-color: var(--violet); color: var(--ink); }
.stile__name { font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; color: var(--indigo); }
.stile__fee { color: var(--violet-text); font-weight: 600; }
.stile__short { font-size: .92rem; color: var(--muted); }

/* calendar strip */
.cal { background: var(--indigo); color: var(--white); }
.cal__in { display: flex; align-items: center; gap: 18px; padding: 14px 20px; }
.cal__k { font-family: var(--font-d); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin: 0; white-space: nowrap; }
.cal__list { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; overflow-x: auto; flex: 1; scrollbar-width: thin; }
.cal__i { display: flex; flex-direction: column; gap: 2px; min-width: 220px; flex: 1; background: rgba(255, 255, 255, .07); border-left: 3px solid var(--coral); padding: 8px 12px; border-radius: 0 var(--r-s) var(--r-s) 0; font-size: .9rem; line-height: 1.35; }
.cal__i time { font-family: var(--font-d); font-weight: 700; font-size: 1rem; }

/* sections */
section { padding: 36px 0; }
.sh { margin-bottom: 1em; }
.ticks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px 24px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); }
.ticks li::after { content: ''; position: absolute; left: 6px; top: .62em; width: 6px; height: 3px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.steps li { counter-increment: step; background: var(--lilac); border-radius: var(--r); padding: 20px 18px 16px; position: relative; }
.steps li::before { content: counter(step); font-family: var(--font-d); font-weight: 700; color: var(--white); background: var(--indigo); width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.steps h3 { font-size: 1.05rem; margin-bottom: .3em; }
.steps p { margin: 0; font-size: .95rem; }
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.why p { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--violet); border-radius: var(--r-s); padding: 14px 16px; margin: 0; }
.near { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.near caption { text-align: left; font-family: var(--font-d); font-weight: 600; color: var(--indigo); padding-bottom: 8px; }
.near th, .near td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); }
.near th { background: var(--lilac); font-family: var(--font-d); font-weight: 600; }
.prose { max-width: 76ch; padding: 32px 20px 48px; }
.prose h2 { margin-top: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.prose th { background: var(--lilac); }

/* faq */
.faq { background: var(--lilac); }
.faq__list details { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-s); margin-bottom: 10px; }
.faq__list summary { cursor: pointer; font-family: var(--font-d); font-weight: 600; padding: 14px 44px 14px 16px; position: relative; list-style: none; color: var(--indigo); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; position: absolute; right: 16px; top: 10px; font-size: 1.5rem; color: var(--coral); line-height: 1; }
.faq__list details[open] summary::after { content: '−'; }
.faq__list details p { padding: 0 16px 16px; margin: 0; }

/* money layout */
.money { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; padding-top: 10px; }
.money__main section { padding: 22px 0; }
.money__side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }
.side { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.side h2 { font-size: 1.2rem; }
.side .btn { width: 100%; margin-top: 10px; }
.side .small { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.ll { background: var(--lilac); border-radius: var(--r); padding: 16px 18px; }
.ll h3 { font-size: 1rem; margin-bottom: .5em; }
.ll ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ll li { font-size: .95rem; }
.ll small { display: block; }

/* bands */
.band { background: var(--indigo); color: var(--white); }
.band__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.band h2 { color: var(--white); }
.band p { color: #d9d4ff; margin: 0; }
.band .cta-pair { justify-content: flex-end; margin: 0; }

/* grids */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.card h3 a { text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: .5em 0; }
.chips a { display: inline-block; background: var(--lilac); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: .9rem; text-decoration: none; }
.chips a:hover { border-color: var(--violet); }
.cols { columns: 3 220px; column-gap: 28px; }
.cols ul { list-style: none; padding: 0; margin: 0; }
.cols li { break-inside: avoid; padding: 3px 0; font-size: .95rem; }
.az { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 1em 0; }
.az a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--r-s); text-decoration: none; font-family: var(--font-d); font-weight: 600; }
.stat { font-family: var(--font-d); font-weight: 700; font-size: 2rem; color: var(--indigo); }

/* crumbs */
.crumbs { font-size: .9rem; padding: 12px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.crumbs li + li::before { content: '/'; color: var(--muted); margin-right: 6px; }
.crumbs a { text-decoration: none; }

/* footer */
.ftr { background: var(--ink); color: #d9d4ff; padding: 48px 0 24px; margin-top: 40px; }
.ftr a { color: #d9d4ff; text-decoration: none; }
.ftr a:hover { color: var(--white); text-decoration: underline; }
.ftr__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ftr__h { font-size: 1rem; color: var(--white); margin-bottom: .6em; }
.ftr__nation { font-family: var(--font-d); font-weight: 600; color: var(--coral); margin: .8em 0 .3em; font-size: .9rem; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; font-size: .92rem; }
.ftr__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 20px; font-size: .85rem; }
.ftr__legal p { margin-bottom: .6em; }

/* sticky mobile bar */
.sticky { display: none; }

/* tools */
.tool form { background: var(--lilac); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tool label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.tool input, .tool select { font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-s); min-height: 48px; background: var(--white); }
.tool button { grid-column: 1 / -1; justify-self: start; }
.out { margin-top: 1em; background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--coral); border-radius: var(--r-s); padding: 16px 18px; }
.out table { width: 100%; border-collapse: collapse; }
.out td, .out th { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: left; }

/* responsive */
@media (max-width: 900px) {
  .nav-b { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--white); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; box-shadow: var(--shadow); }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 12px; }
  .nav-t:checked ~ .nav { display: flex; }
  .nav-t:checked ~ .nav-b span:nth-child(2) { transform: translateY(9px) rotate(45deg); }
  .nav-t:checked ~ .nav-b span:nth-child(3) { opacity: 0; }
  .nav-t:checked ~ .nav-b span:nth-child(4) { transform: translateY(-9px) rotate(-45deg); }
  .money { grid-template-columns: 1fr; }
  .money__side { position: static; }
  .band__in { grid-template-columns: 1fr; }
  .band .cta-pair { justify-content: flex-start; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--white); border-top: 1px solid var(--border); padding: 8px 16px; }
  .sticky .btn { width: 100%; }
  body { padding-bottom: 68px; }
  .hero { padding: 40px 0 28px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .ftr__grid { grid-template-columns: 1fr; }
  .cal__in { flex-direction: column; align-items: stretch; gap: 8px; }
  .cal__i { min-width: 200px; }
  .brand__name { display: none; }
}
@media print { .hdr, .sticky, .band, .ftr { display: none; } }
