/* =====================================================================
   My Trusted Share — Main site pages (Privacy Policy, Contact Us, and
   future inner pages: Terms of Use, Cookie Policy, etc.)
   One shared stylesheet. Single responsive layout per page.
   Sections: Tokens & base · Header · Legal title band · Legal content ·
             Contact Us page · Footer
   Class prefix: ms-   (loaded directly — readable, no .min file)
   ===================================================================== */

/* ===== Tokens & base ===== */
:root {
  --ms-font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ms-ink: #0F4C5C;
  --ms-teal: #10968F;
  --ms-teal-dark: #0E7C74;
  --ms-body: #5C605A;
  --ms-line: #E3EAE6;
  --ms-bg: #FBFCFA;
  --ms-focus: #7FD3CB;
  --ms-footer-a: #2E8683;
  --ms-footer-b: #2A7C79;
  --ms-wrap: 1200px;
  --ms-content: 800px;
  --ms-gutter: clamp(20px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ms-font); color: var(--ms-body); background: var(--ms-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ms-teal-dark); }
a:hover { color: var(--ms-teal); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ms-focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.ms-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ms-ink); color: #fff; font-weight: 700; text-decoration: none; transition: top .15s ease; }
.ms-skip:focus { top: 12px; color: #fff; }

/* ===== Header ===== */
.ms-header { position: sticky; top: 0; z-index: 50; background: rgba(251,252,250,0.96); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); box-shadow: 0 1px 0 rgba(15,76,92,0.06), 0 6px 18px rgba(22,60,35,0.05); }
.ms-header__inner { position: relative; max-width: var(--ms-wrap); margin: 0 auto; padding: 0 var(--ms-gutter); height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ms-logo { display: block; flex: none; }
.ms-logo img { width: 144px; height: 56px; }
.ms-nav { display: flex; align-items: center; gap: 28px; }
.ms-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.ms-nav__list a{ font-size: 15.5px; font-weight: 600; color: var(--ms-teal-dark); text-decoration: none; white-space: nowrap; padding: 6px 0; }
.ms-nav__link:hover { color: var(--ms-ink); }
.ms-nav__divider { width: 1px; height: 26px; background: #CFE3DD; }
.ms-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 10px; background: linear-gradient(180deg, #16A89F 0%, #0E8C85 100%); box-shadow: 0 6px 14px rgba(14,140,133,0.24); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ms-btn:hover { background: linear-gradient(180deg, #139C94 0%, #0B7C76 100%); color: #fff; }
.ms-menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid #DCE7E2; background: #fff; color: var(--ms-ink); cursor: pointer; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(22,60,35,0.06); }
.ms-menu-btn svg { display: block; pointer-events: none; }
.ms-ico-close { display: none !important; }
.ms-menu-btn[aria-expanded="true"] .ms-ico-close { display: block !important; }
.ms-menu-btn[aria-expanded="true"] .ms-ico-menu { display: none; }

@media (max-width: 860px) {
  .ms-header__inner { height: 68px; }
  .ms-logo img { width: 124px; height: 48px; }
  .ms-menu-btn { display: inline-flex; }
  .ms-nav { position: absolute; top: calc(100% + 8px); left: var(--ms-gutter); right: var(--ms-gutter); flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; background: #fff; border-radius: 18px; box-shadow: 0 14px 34px rgba(22,60,35,0.14), 0 4px 10px rgba(22,60,35,0.06); }
  .ms-nav:not(.is-open) { display: none; }
  .ms-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .ms-nav__link { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 12px; font-size: 17px; }
  .ms-nav__link:hover { background: #EAF5F0; }
  .ms-nav__divider { display: none; }
  .ms-btn { min-height: 50px; margin: 4px 0 2px; font-size: 16px; }
  /* no-JS fallback: show the menu inline */
  html:not(.ms-js) .ms-nav { position: static; display: flex; box-shadow: none; padding: 0 0 12px; }
  html:not(.ms-js) .ms-menu-btn { display: none; }
  html:not(.ms-js) .ms-header__inner { flex-wrap: wrap; height: auto; padding-top: 10px; }
}

/* ===== Legal pages — title band ===== */
.ms-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) var(--ms-gutter) clamp(52px, 7vw, 84px); text-align: center;
  background:
    radial-gradient(ellipse 14% 44% at 3% 38%, rgba(190,226,214,0.75) 0%, rgba(190,226,214,0) 100%),
    radial-gradient(ellipse 7% 12% at 8% 82%, rgba(190,226,214,0.7) 0%, rgba(190,226,214,0) 100%),
    radial-gradient(ellipse 14% 40% at 98% 34%, rgba(190,226,214,0.7) 0%, rgba(190,226,214,0) 100%),
    radial-gradient(ellipse 5% 10% at 92% 76%, rgba(252,214,190,0.8) 0%, rgba(252,214,190,0) 100%),
    linear-gradient(180deg, #EFF6F3 0%, #F4F8F5 70%, var(--ms-bg) 100%); }
.ms-hero__title { margin: 0; font-size: clamp(36px, 5.4vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; color: var(--ms-ink); text-wrap: balance; }
.ms-hero__meta { margin: 14px 0 0; font-size: 15px; font-weight: 600; color: #6E736C; }

/* ===== Legal pages — policy content (CMS rich text) ===== */
.ms-content { max-width: calc(var(--ms-content) + 2 * var(--ms-gutter)); margin: 0 auto; padding: clamp(36px, 5vw, 56px) var(--ms-gutter) clamp(72px, 9vw, 110px); }
.ms-section { scroll-margin-top: 96px; }
.ms-section + .ms-section { margin-top: clamp(36px, 4.5vw, 52px); }
.ms-content h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--ms-line); font-size: clamp(23px, 2.6vw, 28px); line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; color: var(--ms-ink); text-wrap: balance; }
.ms-num { flex: none; color: var(--ms-teal); }
.ms-content h3 { margin: 26px 0 10px; font-size: clamp(18.5px, 2vw, 20px); line-height: 1.35; font-weight: 700; color: #22241D; }
.ms-content p, .ms-content li { font-size: clamp(16px, 1.6vw, 17px); line-height: 1.72; font-weight: 500; color: var(--ms-body); text-wrap: pretty; }
.ms-content p { margin: 0 0 14px; }
.ms-content p:last-child { margin-bottom: 0; }
.ms-content ul, .ms-content ol { margin: 4px 0 16px; padding: 0 0 0 26px; }
.ms-content ul { list-style: none; padding-left: 26px; }
.ms-content ul li { position: relative; }
.ms-content ul li::before { content: ""; position: absolute; left: -20px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--ms-teal); }
.ms-content li + li { margin-top: 4px; }
.ms-content ol li::marker { color: var(--ms-teal); font-weight: 700; }
.ms-content a { color: var(--ms-teal-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ms-content a:hover { color: var(--ms-ink); }
.ms-content strong { color: #33413F; font-weight: 700; }
.ms-content table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15.5px; display: block; overflow-x: auto; }
.ms-content th, .ms-content td { padding: 10px 14px; border: 1px solid var(--ms-line); text-align: left; vertical-align: top; line-height: 1.55; }
.ms-content th { background: #EEF6F2; color: var(--ms-ink); font-weight: 700; }

/* ===== Contact Us page ===== */
/* Page background */
.ms-contact-main { position: relative; overflow: hidden; padding-bottom: clamp(80px, 10vw, 120px); background:
    radial-gradient(ellipse 12% 34% at 2% 12%, rgba(190,226,214,0.7) 0%, rgba(190,226,214,0) 100%),
    radial-gradient(ellipse 5% 5% at 7% 22%, rgba(190,226,214,0.7) 0%, rgba(190,226,214,0) 100%),
    radial-gradient(ellipse 12% 22% at 98% 8%, rgba(190,226,214,0.65) 0%, rgba(190,226,214,0) 100%),
    radial-gradient(ellipse 4% 7% at 94% 21%, rgba(252,214,190,0.85) 0%, rgba(252,214,190,0) 100%),
    radial-gradient(ellipse 13% 20% at 4% 48%, rgba(205,234,224,0.7) 0%, rgba(205,234,224,0) 100%),
    radial-gradient(ellipse 10% 18% at 96% 44%, rgba(205,234,224,0.7) 0%, rgba(205,234,224,0) 100%),
    radial-gradient(ellipse 4% 7% at 95% 62%, rgba(252,214,190,0.8) 0%, rgba(252,214,190,0) 100%),
    linear-gradient(180deg, #F3F9F6 0%, #F6FAF7 60%, var(--ms-bg) 100%); }

/* Title */
.ms-contact-hero { padding: clamp(56px, 8vw, 90px) var(--ms-gutter) 0; text-align: center; }
.ms-contact-hero__title-wrap { position: relative; display: inline-block; }
.ms-spark { position: absolute; left: -30px; top: -26px; }
.ms-contact-hero__title { margin: 0; font-size: clamp(38px, 5.4vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; color: var(--ms-ink); }
.ms-contact-hero__lead { margin: 16px auto 0; max-width: 640px; font-size: clamp(17px, 1.8vw, 19px); line-height: 1.6; font-weight: 500; color: var(--ms-body); text-wrap: pretty; }

/* Info box */
.ms-info { max-width: 780px; margin: clamp(32px, 4vw, 40px) auto 0; margin-inline: max(var(--ms-gutter), calc((100% - 780px) / 2)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #EEF8F5; border: 1px solid #CFE8E0; border-radius: 18px; padding: 26px 0; }
.ms-info__col { padding: 0 clamp(22px, 3.4vw, 34px); }
.ms-info__col + .ms-info__col { border-left: 1px solid #CFE3DD; }
.ms-info__h { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; color: var(--ms-ink); }
.ms-info__p { margin: 8px 0 0; font-size: 16px; line-height: 1.65; font-weight: 500; color: var(--ms-body); text-wrap: pretty; }

/* Form card */
.ms-card { max-width: 840px; margin: clamp(28px, 3.5vw, 34px) auto 0; margin-inline: max(var(--ms-gutter), calc((100% - 840px) / 2)); background: #FFFFFF; border-radius: 24px; box-shadow: 0 14px 34px rgba(22,60,35,0.10), 0 4px 10px rgba(22,60,35,0.05); padding: clamp(26px, 4vw, 44px) clamp(20px, 4vw, 32px) clamp(28px, 4vw, 44px); }
.ms-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 30px; }
.ms-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.ms-field--full { grid-column: 1 / -1; }
.ms-label { font-size: 16.5px; font-weight: 700; color: #22241D; }
.ms-req { color: var(--ms-teal); margin-left: 2px; }
.ms-input { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid #D6E0DC; border-radius: 10px; background: #fff; font: inherit; font-size: 16px; font-weight: 500; color: #22241D; transition: border-color .15s ease, box-shadow .15s ease; }
.ms-input::placeholder { color: #8A9290; opacity: 1; }
.ms-input:hover { border-color: #BFD3CC; }
.ms-input:focus { outline: none; border-color: var(--ms-teal); box-shadow: 0 0 0 3px rgba(127,211,203,0.45); }
.ms-textarea { min-height: 160px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.ms-required-note { margin: -6px 0 0; font-size: 14px; font-weight: 500; color: #6E736C; }
.ms-required-note span { color: var(--ms-teal); }
.ms-actions { display: flex; justify-content: center; margin-top: 4px; }
.ms-submit { min-width: 204px; min-height: 54px; padding: 0 36px; border: 0; border-radius: 10px; background: linear-gradient(180deg, #16A89F 0%, #0E8C85 100%); box-shadow: 0 8px 18px rgba(14,140,133,0.26); color: #fff; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.ms-submit:hover { background: linear-gradient(180deg, #139C94 0%, #0B7C76 100%); }
.ms-submit:focus-visible { outline: 3px solid var(--ms-focus); outline-offset: 3px; }
.ms-success { display: none; align-items: center; gap: 16px; margin-top: 24px; padding: 18px 22px; background: #F2FAF6; border: 1px solid #D3ECE4; border-radius: 14px; }
.ms-success.is-visible { display: flex; }
.ms-success:focus { outline: none; }
.ms-success svg { flex: none; }
.ms-success__text { flex: 1; min-width: 0; }
.ms-success__h { margin: 0; font-size: 18px; font-weight: 800; color: var(--ms-ink); }
.ms-success__p { margin: 3px 0 0; font-size: 15.5px; line-height: 1.55; font-weight: 500; color: var(--ms-body); }
.ms-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ms-error { display: none; margin: 16px 0 0; font-size: 15.5px; font-weight: 600; color: #C62828; text-align: center; }
.ms-error.is-visible { display: block; }
@media (max-width: 680px) {
  .ms-spark { left: -22px; top: -20px; width: 32px; height: 28px; }
  .ms-info { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
  .ms-info__col + .ms-info__col { border-left: 0; border-top: 1px solid #CFE3DD; margin-top: 18px; padding-top: 18px; }
  .ms-form { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ms-submit { width: 100%; }
}

/* ===== Footer ===== */
.ms-footer { position: relative; overflow: hidden; color: #fff; background:
    radial-gradient(ellipse 45% 70% at 12% 100%, rgba(111,240,224,0.14) 0%, rgba(111,240,224,0) 100%),
    radial-gradient(ellipse 40% 60% at 92% 40%, rgba(111,240,224,0.10) 0%, rgba(111,240,224,0) 100%),
    linear-gradient(180deg, var(--ms-footer-a) 0%, var(--ms-footer-b) 100%); }
.ms-footer__curve { position: absolute; left: -6%; right: -6%; top: -4px; height: clamp(40px, 5vw, 68px); background: var(--ms-bg); border-radius: 0 0 50% 50% / 0 0 100% 100%; pointer-events: none; }
.ms-footer__inner { position: relative; max-width: var(--ms-wrap); margin: 0 auto; padding: clamp(76px, 9vw, 112px) var(--ms-gutter) 40px; }
.ms-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; align-items: start; }
.ms-footer__brand { padding-top: 24px; }
.ms-footer__logo { margin: 0; font-size: clamp(32px, 3.2vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.ms-footer__logo span { color: #6FF0E0; }
.ms-footer__tag { margin: 12px 0 0; font-size: 16.5px; line-height: 1.55; font-weight: 500; color: #fff; }
.ms-footer__h { margin: 0 0 12px; font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #D6FCF7; }
.ms-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ms-footer__col a { font-size: 16.5px; line-height: 1.4; font-weight: 500; color: #fff; text-decoration: none; }
.ms-footer__col a:hover, .ms-footer__col a[aria-current="page"] { color: #C9FBF3; text-decoration: underline; text-underline-offset: 3px; }
.ms-footer__copy { margin: 44px 0 0; padding-top: 22px; border-top: 1px solid rgba(159,243,232,0.6); font-size: 15px; font-weight: 500; color: #fff; }
.ms-footer a:focus-visible { outline-color: #9FF3E8; }

@media (max-width: 960px) {
  .ms-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-footer__brand { grid-column: 1 / -1; padding-top: 0; }
}
@media (max-width: 560px) {
  .ms-footer__grid { gap: 26px 16px; }
  .ms-footer__col:last-child { grid-column: 1 / -1; }
  .ms-footer__col ul { gap: 0; }
  .ms-footer__col a { display: flex; align-items: flex-start; min-height: 44px; padding: 11px 0; }
  .ms-footer__h { margin-bottom: 2px; }
  .ms-footer__copy { margin-top: 28px; font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  .ms-header, .ms-footer, .ms-skip { display: none; }
  .ms-hero { background: none; padding: 0 0 16px; }
  .ms-content { max-width: none; padding: 0; }
  .ms-content a { color: inherit; }
}
