/* =========================================
   OCEAN SKY 007 - GLOBAL BASE STYLES
========================================= */

/* =========================================
   FONT SETUP
========================================= */

/*
  DengXian is usually a system font on Windows.
  If the visitor does not have it, the site will fall back to clean system fonts.
*/

:root {
  /* Brand Colors */
  --os-sky: #8ecae6;
  --os-sky-soft: #dff5ff;
  --os-sky-deep: #3a9fc9;

  --os-beige: #efe4d1;
  --os-beige-soft: #f8f3ea;
  --os-beige-deep: #d4c1a3;

  --os-white: #ffffff;
  --os-black: #050505;

  /* Text Colors */
  --os-ink: #111111;
  --os-muted: #5f676d;
  --os-light-text: #ffffff;

  /* Background Colors */
  --os-bg: #ffffff;
  --os-bg-soft: #f8f3ea;
  --os-bg-sky: #eef9ff;

  /* Layout */
  --os-wrap: 1440px;
  --os-gutter-desktop: 64px;
  --os-gutter-tablet: 40px;
  --os-gutter-mobile: 22px;

  /* Spacing */
  --os-section-space-desktop: 120px;
  --os-section-space-mobile: 78px;

  /* Radius */
  --os-radius-sm: 6px;
  --os-radius-md: 10px;

  /* Fonts */
  --os-font-heading: "DengXian", "Microsoft YaHei", Arial, sans-serif;
  --os-font-body: "DengXian Light", "DengXian", "Microsoft YaHei", Arial, sans-serif;
}


/* =========================================
   RESET
========================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--os-bg);
  color: var(--os-ink);
  font-family: var(--os-font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}


/* =========================================
   GLOBAL LAYOUT
========================================= */

.os-wrap {
  width: min(var(--os-wrap), calc(100% - var(--os-gutter-desktop)));
  margin: 0 auto;
}

.os-page-main {
  width: 100%;
  overflow: hidden;
}


/* =========================================
   GLOBAL TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--os-ink);
  font-family: var(--os-font-heading);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

.os-section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--os-sky-deep);
  font-family: var(--os-font-heading);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.os-section-title {
  max-width: 920px;
  color: var(--os-ink);
  font-family: var(--os-font-heading);
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.os-section-text {
  max-width: 720px;
  color: var(--os-muted);
  font-family: var(--os-font-body);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 300;
  line-height: 1.65;
}


/* =========================================
   GLOBAL BUTTONS
========================================= */

.os-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--os-radius-sm);
  font-family: var(--os-font-heading);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.os-btn:hover {
  transform: translateY(-1px);
}

.os-btn-primary {
  background: var(--os-ink);
  color: var(--os-white);
  border-color: var(--os-ink);
}

.os-btn-primary:hover {
  background: var(--os-sky-deep);
  color: var(--os-white);
  border-color: var(--os-sky-deep);
}

.os-btn-secondary {
  background: transparent;
  color: var(--os-ink);
  border-color: rgba(17, 17, 17, 0.28);
}

.os-btn-secondary:hover {
  background: var(--os-beige-soft);
  color: var(--os-ink);
  border-color: var(--os-beige-deep);
}


/* =========================================
   GLOBAL CARDS
========================================= */

.os-card {
  background: var(--os-white);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--os-radius-md);
  overflow: hidden;
}


/* =========================================
   ACCESSIBILITY
========================================= */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 1024px) {
  .os-wrap {
    width: calc(100% - var(--os-gutter-tablet));
  }

  .os-section-title {
    max-width: 760px;
  }

  .os-section-text {
    max-width: 640px;
  }
}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .os-wrap {
    width: calc(100% - var(--os-gutter-mobile));
  }

  .os-section-kicker {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .os-section-title {
    font-size: clamp(34px, 11vw, 52px);
    line-height: 1;
  }

  .os-section-text {
    font-size: 17px;
    line-height: 1.6;
  }

  .os-btn {
    width: 100%;
    min-height: 50px;
    padding: 15px 20px;
  }
}