/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/dm-sans-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --yellow: #FDE13A;
  --black: #0A0A0A;
  --white: #FAFAF8;
  --gray-light: #F2F2EF;
  --gray-mid: #E5E5E0;
  --gray-text: #6B6B65;
  --font: 'DM Sans', sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 3px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  background: var(--yellow); color: var(--black);
  padding: 5px 12px; border-radius: 2px;
}
.tag.outline { background: transparent; border: 1.5px solid var(--black); }
.tag.outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.85); }

.section-label {
  font-family: var(--font); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-text);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.section-label::after { content: ''; display: block; width: 28px; height: 2px; background: var(--yellow); flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em; padding: 14px 28px; border-radius: 3px;
  cursor: pointer; transition: all 0.18s ease; border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: #f5d800; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(253,225,58,0.35); }
.btn-secondary { background: transparent; color: var(--black); border-color: var(--black); }
.btn-secondary:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.95); opacity: 0.6; }
  70%  { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.calculator-frame {
  height: 820px;
}

.chatflow-modal-open {
  overflow: hidden;
}

.chatflow-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.chatflow-modal.is-open {
  display: block;
}

.chatflow-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.76);
  backdrop-filter: blur(10px);
}

.chatflow-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(960px, calc(100vw - 32px));
  height: min(780px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: var(--black);
  box-shadow: 0 28px 90px rgba(0,0,0,0.48);
  transform: translate(-50%, -50%);
}

.chatflow-modal__bar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  color: var(--white);
}

.chatflow-modal__label {
  margin-bottom: 4px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chatflow-modal__title {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.chatflow-modal__close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.chatflow-modal__close:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.chatflow-modal__frame {
  width: 100%;
  height: 100%;
  flex: 1;
  border: 0;
  background: var(--black);
}

/* ── RESPONSIVE ── */
.hamburger{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px;z-index:1001}
.hamburger span{display:block;width:22px;height:2px;background:currentColor;border-radius:1px;transition:all 0.3s}
.mobile-menu{position:fixed;top:72px;left:0;right:0;height:calc(100vh - 72px);background:var(--white);padding:32px 24px;flex-direction:column;gap:0;z-index:999;overflow-y:auto;display:none}
.mobile-menu.open{display:flex}
.mobile-menu a{font-size:18px;font-weight:600;color:var(--black);padding:16px 0;border-bottom:1px solid var(--gray-mid)}
.mobile-menu .btn{margin-top:24px;text-align:center;justify-content:center}

@media(max-width:1024px){
  .nav-links{display:none !important}
  .nav-cta{display:none !important}
  .hamburger{display:flex !important}
  .nav-inner{padding:0 24px !important}
  #hero{grid-template-columns:1fr !important;height:auto !important;min-height:auto !important;padding:100px 24px 60px !important}
  .hero-right{display:none !important}
  .r-impl-grid{grid-template-columns:1fr !important;gap:32px !important}
  .r-impl-nav{display:none !important}
  .r-quote-grid{grid-template-columns:1fr !important;gap:24px !important}
  .quote-hex-deco{display:none !important}
  .rg-stack{grid-template-columns:1fr !important;gap:40px !important}
  .rg-3{grid-template-columns:repeat(2,1fr) !important}
  .rg-4{grid-template-columns:repeat(2,1fr) !important}
  .rg-5{grid-template-columns:repeat(3,1fr) !important}
  .rf-header{flex-direction:column !important;align-items:flex-start !important;gap:20px !important}
  .rf-header>*:last-child{align-items:flex-start !important}
  .rf-header>p,.rf-header p{text-align:left !important}
  .r-impact-grid{grid-template-columns:1fr !important;padding:0 24px !important}
  .r-impact-grid>div{border-right:none !important;border-bottom:1px solid rgba(0,0,0,0.12)}
  .r-impact-grid>div:last-child{border-bottom:none}
  section:not(.no-sp){padding-left:24px !important;padding-right:24px !important}
  footer{padding-left:24px !important;padding-right:24px !important}
}

@media(max-width:768px){
  .calculator-frame{height:1000px}
  .chatflow-modal__panel{width:100vw;height:100vh;border-radius:0;border:none}
  .chatflow-modal__bar{min-height:64px;padding:12px 14px}
  .chatflow-modal__title{font-size:13px}
  .nav-inner{padding:0 16px !important}
  section:not(.no-sp){padding-left:16px !important;padding-right:16px !important;padding-top:72px !important;padding-bottom:72px !important}
  #hero{padding:90px 16px 48px !important}
  footer{padding:40px 16px 32px !important}
  .rg-3,.rg-4,.rg-5{grid-template-columns:1fr !important}
  .rg-stack{gap:32px !important}
  .r-impl-grid{gap:24px !important}
  .r-impact-grid{padding:0 16px !important}
  .r-impact-grid>div{padding:32px 24px !important}
  .footer-links{gap:32px !important}
}

@media(max-width:480px){
  .calculator-frame{height:1120px}
  .nav-inner{padding:0 12px !important}
  section:not(.no-sp){padding-left:12px !important;padding-right:12px !important;padding-top:48px !important;padding-bottom:48px !important}
  #hero{padding:84px 12px 40px !important}
  footer{padding:32px 12px 24px !important}
  .r-impact-grid{padding:0 12px !important}
}
