/* Basic and resetting */

:root {
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

/* Typography */
h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.4;
}

h4 {
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.5;
}

p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Structure */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.5rem 0.75rem;
  background: Canvas;
  border: 1px solid currentColor;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

header {
  border-bottom: 1px solid;
  border-color: color-mix(in oklab, currentColor 20%, transparent);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 1rem;
  max-width: 60rem;
  margin: 0 auto;
}

nav a {
  font-weight: 600;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

main {
  margin: 0;
  padding: 0;
}

.container {
  max-width: 60rem;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2rem);
}

.section {
  padding: clamp(2rem, 6vw, 4rem) 0;
  border-top: 1px solid;
  border-color: rgba(127, 127, 127, 0.25);
}

.hero {
  background:
    radial-gradient(80rem 40rem at 20% 10%, rgba(127, 127, 255, 0.18), transparent 60%),
    radial-gradient(60rem 30rem at 80% 30%, rgba(255, 127, 127, 0.14), transparent 55%),
    Canvas;
}

.button {
  display: inline-block;
  padding: 0.65rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 650;
}

.button:hover {
  text-decoration: none;
}

.button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.section:nth-of-type(even) {
  background: rgba(0,0,0,0.02);
  background: color-mix(in oklab, Canvas 92%, currentColor 8%);
}

figure {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(127,127,127,0.25);
  border-radius: 1rem;
  background: rgba(127,127,127,0.06);
}

blockquote {
  margin: 0;
}

figcaption {
  margin-top: 0.75rem;
  opacity: 0.85;
}

footer {
  border-bottom: none;
  border-top: 1px solid;
  border-color: color-mix(in oklab, currentColor 20%, transparent);
  padding: 1rem;
}

.contact-form {
  max-width: 40rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(127,127,127,0.4);
  border-radius: 0.75rem;
}

button {
  padding: 0.7rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.75rem;
  background: transparent;
  font-weight: 650;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* The following is desktop enhancement, and can be used to add additional things to bigger screens */

@media (min-width: 48rem) {
  /* BLANK FOR NOW */
}