/*
Author: Jijesh Henry Peter
Organization: JCube Creative
Date Created: September 11, 2026

Date Last Updated: September 11, 2026
Last Update: Consolidated form rules and added image height reset
*/

/* 1. Predictable box model */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margins and padding */
* {
  margin: 0;
  padding: 0;
}

/* 3. Document */
html {
  scroll-behavior: smooth;
}

/* 4. Body */
body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 5. Media */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 6. Forms */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button,
[role="button"] {
  cursor: pointer;
}

button {
  border: 0;
  background: none;
}

textarea {
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

/* 7. Lists */
ul,
ol {
  list-style: none;
}

/* 8. Links */
a {
  color: inherit;
  text-decoration: none;
}

/* 9. Typography */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* 10. Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 11. Accessibility */
:disabled {
  cursor: not-allowed;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* 12. Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}