/* Theme base: reset, tokens and global element defaults. */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: hsl(var(--border));
}

html {
  font-size: 100%;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  tab-size: 4;
}

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans), system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ol,
ul,
menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

:disabled {
  cursor: default;
}

a {
  color: inherit;
  text-decoration: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: hsl(var(--muted-foreground));
  opacity: 1;
}

dialog {
  padding: 0;
}

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

:root,
.light {
  --background: 0 0% 100%;
  --foreground: 213 29% 13%;
  --card: 0 0% 100%;
  --card-foreground: 213 29% 13%;
  --popover: 0 0% 100%;
  --popover-foreground: 213 29% 13%;
  --primary: 205 76% 27%;
  --primary-foreground: 0 0% 100%;
  --secondary: 188 45% 35%;
  --secondary-foreground: 0 0% 100%;
  --muted: 210 24% 96%;
  --muted-foreground: 215 15% 38%;
  --accent: 38 78% 50%;
  --accent-foreground: 213 29% 13%;
  --destructive: 0 72% 48%;
  --destructive-foreground: 0 0% 100%;
  --border: 214 24% 88%;
  --input: 214 24% 88%;
  --ring: 205 76% 27%;
  --radius: 0.5rem;
  --font-sans: "Inter", "Noto Sans SC";
  --font-mono: "Cascadia Code", Consolas, monospace;
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --header-height: 4.5rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-soft: 0 18px 60px hsl(var(--foreground) / 0.08);
}

.dark {
  --background: 213 30% 8%;
  --foreground: 210 30% 96%;
  --card: 213 28% 11%;
  --card-foreground: 210 30% 96%;
  --popover: 213 28% 11%;
  --popover-foreground: 210 30% 96%;
  --primary: 198 78% 62%;
  --primary-foreground: 213 30% 8%;
  --secondary: 171 42% 48%;
  --secondary-foreground: 213 30% 8%;
  --muted: 214 26% 16%;
  --muted-foreground: 214 14% 70%;
  --accent: 40 85% 58%;
  --accent-foreground: 213 30% 8%;
  --destructive: 0 70% 55%;
  --destructive-foreground: 0 0% 100%;
  --border: 214 24% 22%;
  --input: 214 24% 22%;
  --ring: 198 78% 62%;
}

.mh-site-body {
  min-height: 100vh;
}

.mh-image-fill,
[data-mh-image-fill="true"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: transparent;
}

.mh-visually-hidden,
[data-mh-visually-hidden="true"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mh-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

[data-mh-pointer-events="none"] {
  pointer-events: none;
}

[data-mh-accordion-size="true"] {
  --radix-accordion-content-height: var(--radix-collapsible-content-height);
  --radix-accordion-content-width: var(--radix-collapsible-content-width);
}

@keyframes mh-accordion-down {
  from {
    height: 0;
  }
  to {
    height: var(--radix-accordion-content-height);
  }
}

@keyframes mh-accordion-up {
  from {
    height: var(--radix-accordion-content-height);
  }
  to {
    height: 0;
  }
}

@keyframes mh-hero-kenburns {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.06) translate3d(-0.8%, -0.8%, 0);
  }
}

@keyframes mh-hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes mh-hero-sheen {
  0% {
    transform: translateX(-140%);
  }

  45%,
  100% {
    transform: translateX(140%);
  }
}
