/* Sozo Capital Partners — site styles */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Figtree, "Segoe UI", Helvetica, Arial, sans-serif; background: #FBF7F0; color: #1F2B1C; line-height: 1.5; }
h1, h2, h3, h4 { font-family: Fraunces, Georgia, "Times New Roman", serif; margin: 0; }
p { margin: 0; }
img { max-width: 100%; }
a { color: #1F2B1C; }
a:hover { color: #8A6420; }
button { font-family: inherit; }
[id] { scroll-margin-top: 110px; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid #C9973F; outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 0; background: #4B6842; color: #FBF7F0; padding: 12px 18px; z-index: 100; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; }

/* Sticky header */
.topbar { position: sticky; top: 0; z-index: 50; }
.nav-toggle { display: none; }

/* Coverage tabs */
.tab { cursor: pointer; border: 2px solid #DCCFB8; background: #FFFFFF; color: #1F2B1C; border-radius: 999px; padding: 13px 22px; font-size: 16px; font-weight: 600; }
.tab:hover { border-color: #4B6842; }
.tab[aria-selected="true"] { border-color: #4B6842; background: #4B6842; color: #FBF7F0; font-weight: 700; }

/* Video */
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #2C3F27; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Calculator */
.calc-row { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 0.8fr; gap: 12px; align-items: center; }
.cf { display: block; margin: 0; }
.cf-l { display: none; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #5A6354; margin-bottom: 4px; }
.cf input { width: 100%; border: 1px solid #DCCFB8; border-radius: 12px; padding: 12px 14px; font-size: 16px; font-family: inherit; color: #1F2B1C; background: #FFFFFF; }
.cf input:focus { border-color: #4B6842; }
.calc-rows { display: flex; flex-direction: column; gap: 12px; }
.calc-remove { cursor: pointer; border: none; background: none; color: #5A6354; font-size: 14px; font-weight: 600; text-decoration: underline; padding: 4px 0; justify-self: start; }

/* Accordion */
.acc-btn { cursor: pointer; width: 100%; border: none; background: transparent; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; color: #1F2B1C; }
.acc-q { font-family: Fraunces, Georgia, serif; font-size: 23px; line-height: 1.3; font-weight: 600; }
.acc-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 999px; background: #F3EBDD; color: #1F2B1C; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.acc-btn[aria-expanded="true"] .acc-icon { background: #4B6842; color: #FBF7F0; }
.acc-panel p { font-size: 17px; line-height: 1.7; color: #414B3D; padding: 0 56px 26px 0; }
.acc-item:last-child { border-bottom: 1px solid #DCCFB8; }

/* Tablet */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .topbar .navlinks { gap: 20px !important; font-size: 15px !important; }
}

@media (max-width: 1024px) {
  .sec { padding-left: 32px !important; padding-right: 32px !important; }
  .fs-xl { font-size: 46px !important; line-height: 1.1 !important; }
  h1.fs-xl { font-size: 54px !important; }
}

/* Mobile navigation */
@media (max-width: 960px) {
  .topbar { flex-wrap: wrap; padding-top: 14px !important; padding-bottom: 14px !important; }
  .topbar img { width: 44px !important; height: 44px !important; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; border: 1px solid #DCCFB8; border-radius: 12px; background: #FFFFFF; cursor: pointer; padding: 0 12px; }
  .nav-toggle span { display: block; height: 2px; background: #1F2B1C; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar .navlinks { display: none !important; width: 100%; flex-direction: column; align-items: stretch !important; gap: 0 !important; font-size: 18px !important; padding-top: 10px; }
  .topbar .navlinks.open { display: flex !important; }
  .topbar .navlinks a { padding: 14px 4px !important; border-bottom: 1px solid #E8DFCF !important; }
  .topbar .navlinks a:last-child { margin-top: 14px; border-bottom: none !important; text-align: center; padding: 16px 22px !important; }
}

/* Phones */
@media (max-width: 820px) {
  .g, .g4 { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  .sec { padding-left: 20px !important; padding-right: 20px !important; }
  .sec-lg { padding-top: 64px !important; padding-bottom: 64px !important; }
  .pad { padding: 24px !important; }
  h1, h1.fs-xl { font-size: 42px !important; line-height: 1.08 !important; letter-spacing: -0.5px !important; }
  .fs-xl { font-size: 34px !important; line-height: 1.15 !important; }
  .fs-l { font-size: 26px !important; line-height: 1.2 !important; }
  .tall-img { height: 380px !important; }
  .book { width: 100% !important; max-width: 300px; height: 390px !important; }
  .acc-q { font-size: 20px; }
  .acc-panel p { padding-right: 0; }
  .calc-grid { display: none !important; }
  .calc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px; border: 1px solid #E8DFCF; border-radius: 16px; background: #FBF7F0; }
  .calc-row .cf-name { grid-column: 1 / -1; }
  .cf-l { display: block; }
  .tab { padding: 11px 16px; font-size: 15px; }
  table { font-size: 15px !important; }
  table th, table td { padding: 14px 16px !important; }
}

@media (max-width: 420px) {
  h1, h1.fs-xl { font-size: 36px !important; }
  .calc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-row .cf-rate { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Compact brand in the mobile header */
@media (max-width: 960px) {
  .topbar > a { gap: 8px !important; }
  .topbar > a span:first-of-type { font-size: 25px !important; }
  .topbar > a span:last-of-type { font-size: 10px !important; letter-spacing: 2px !important; }
}
@media (max-width: 360px) {
  .topbar > a span:last-of-type { display: none; }
}
