@font-face {
  font-family: "Fredoka";
  src: url("assets/fonts/fredoka-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("assets/fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --deep: #062f34;
  --pond: #073b3d;
  --water: #167f8b;
  --aqua: #9bdde0;
  --aqua-soft: #d9f1ef;
  --leaf: #56853f;
  --coral: #ed7142;
  --ink: #11383c;
  --ink-soft: #294f52;
  --paper: #fbfcf8;
  --canvas: #edf4f2;
  --panel: #d9f1ef;
  --muted: #52696b;
  --line: rgba(17, 56, 60, 0.18);
  --line-strong: rgba(6, 47, 52, 0.88);
  --white: #fffefa;
  --display: "Fredoka", "Trebuchet MS", sans-serif;
  --body: "Atkinson Hyperlegible Next", "Segoe UI", sans-serif;
  --shadow: 0 18px 45px rgba(6, 47, 52, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 8%, rgba(155, 221, 224, 0.32), transparent 22rem),
    radial-gradient(circle at 95% 46%, rgba(86, 133, 63, 0.1), transparent 25rem),
    var(--canvas);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 100;
  padding: 0.65rem 0.95rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 0.35rem;
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.site-header,
main,
footer {
  width: min(100% - 2rem, 1400px);
  margin-inline: auto;
}

.site-header {
  min-height: 4.5rem;
  margin-top: 1rem;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(251, 252, 248, 0.96);
  border: 1.5px solid var(--line-strong);
  border-radius: 1.4rem 1.4rem 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(6, 47, 52, 0.14);
}

.site-header nav {
  display: flex;
  gap: clamp(1rem, 4vw, 2.4rem);
  font-family: var(--display);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-header nav a,
.footer-meta a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.site-header nav a:hover,
.footer-meta a:hover {
  text-decoration-thickness: 3px;
}

.hero {
  min-height: 31rem;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(19rem, 0.65fr);
  align-items: stretch;
  color: var(--ink);
  background: var(--aqua-soft);
  border: 1.5px solid var(--line-strong);
  border-top: 0;
  border-radius: 0 0 1.4rem 1.4rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  padding: clamp(3.25rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--paper);
  background: var(--pond);
  border-right: 1.5px solid var(--line-strong);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: 2.4rem;
  bottom: 2rem;
  width: 5rem;
  height: 5rem;
  border: 1px solid rgba(155, 221, 224, 0.28);
  border-radius: 50%;
  box-shadow: 1.25rem -1.25rem 0 -1px var(--pond), 1.25rem -1.25rem 0 0 rgba(155, 221, 224, 0.28);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.77rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--aqua);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--display);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.2rem, 5.25vw, 5.25rem);
  font-weight: 620;
}

h1 span {
  color: var(--aqua);
}

.hero-intro {
  max-width: 40rem;
  margin: 0 0 1.6rem;
  color: rgba(251, 252, 248, 0.82);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.button {
  min-height: 3rem;
  padding: 0.76rem 1.1rem 0.76rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--deep);
  background: var(--coral);
  box-shadow: 0 6px 0 #923d21;
}

.button-primary:hover {
  box-shadow: 0 9px 0 #923d21;
}

.button-dark {
  color: var(--paper);
  background: var(--water);
  box-shadow: 0 6px 0 #0b4d55;
}

.button-dark:hover {
  box-shadow: 0 9px 0 #0b4d55;
}

.text-link {
  font-weight: 650;
  text-underline-offset: 0.3em;
}

.text-link-light {
  color: var(--paper);
  text-decoration-color: var(--aqua);
}

.hero-notes {
  margin: clamp(1.75rem, 4vh, 2.75rem) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.hero-notes li {
  padding: 0.3rem 0.65rem;
  color: rgba(251, 252, 248, 0.75);
  border: 1px solid rgba(251, 252, 248, 0.22);
  border-radius: 999px;
  font-size: 0.8rem;
}

.developer-profile {
  position: relative;
  margin: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  align-self: center;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  box-shadow: 10px 10px 0 var(--water);
  transform: rotate(0.6deg);
}

.developer-profile::before {
  content: "SOLO / 01";
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  color: var(--water);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.profile-heading {
  padding-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.profile-heading img {
  width: 4.3rem;
  height: 4.3rem;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(6, 47, 52, 0.14);
}

.profile-heading p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.1;
}

.profile-heading span {
  color: var(--muted);
  font-size: 0.79rem;
}

.profile-statement {
  margin: 1.55rem 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  font-weight: 550;
  line-height: 1.08;
}

.developer-profile dl {
  margin: 0;
}

.developer-profile dl div {
  padding: 0.55rem 0;
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 0.65rem;
  border-top: 1px solid var(--line);
}

.developer-profile dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.developer-profile dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-copy > *,
.developer-profile {
  animation: rise-in 560ms cubic-bezier(.2, .7, .2, 1) both;
}

.hero-copy > :nth-child(2) { animation-delay: 60ms; }
.hero-copy > :nth-child(3) { animation-delay: 110ms; }
.hero-copy > :nth-child(4) { animation-delay: 160ms; }
.hero-copy > :nth-child(5) { animation-delay: 210ms; }
.developer-profile { animation-delay: 180ms; }

.work {
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
}

.section-heading {
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.5fr);
  align-items: end;
  gap: 2rem;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4.7vw, 4.7rem);
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line-strong);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-game {
  background: var(--paper);
}

.game-stage {
  position: relative;
  height: clamp(21rem, 27vw, 25rem);
  margin: 0;
  background: var(--deep);
  overflow: hidden;
}

.game-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.game-feature {
  position: absolute;
  width: 81%;
  height: auto;
  top: 8%;
  left: 5%;
  border: 3px solid var(--aqua);
  border-radius: 0.6rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transform: rotate(-1.5deg);
  transition: transform 220ms ease;
}

.game-phone {
  position: absolute;
  width: min(31%, 11rem);
  height: auto;
  right: 4%;
  bottom: -5%;
  border: 3px solid var(--white);
  border-radius: 0.8rem 0.8rem 0 0;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.48);
  transform: rotate(2deg);
  transition: transform 220ms ease;
}

.game-stage:hover .game-feature { transform: rotate(-0.6deg) translateY(-3px); }
.game-stage:hover .game-phone { transform: rotate(1deg) translateY(-6px); }

.stage-stamp {
  position: absolute;
  left: 4%;
  bottom: 5%;
  padding: 0.44rem 0.65rem;
  color: var(--deep);
  background: var(--aqua);
  border: 1px solid var(--deep);
  border-radius: 0.25rem;
  font-family: var(--display);
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.product-copy {
  max-width: none;
  padding: clamp(1.55rem, 2.6vw, 2.25rem);
}

.product-game .product-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-number {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(2.8rem, 4.3vw, 4.25rem);
}

.product-lead {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.55vw, 1.4rem);
  font-weight: 550;
  line-height: 1.22;
}

.product-copy > p:not(.product-number, .status, .product-lead) {
  margin: 0;
}

.tag-list {
  margin: 1.25rem 0 1.55rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}

.tag-list li {
  padding: 0.32rem 0.58rem;
  color: var(--ink);
  background: var(--aqua-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-links {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.product-policy {
  color: var(--water);
  font-size: 0.88rem;
  font-weight: 700;
  text-underline-offset: 0.3em;
}

.product-tool {
  color: var(--paper);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--deep);
  background-size: 30px 30px;
}

.tool-copy {
  padding-bottom: 1.25rem;
}

.tool-copy .product-number,
.tool-copy > p:not(.product-number, .status, .product-lead) {
  color: rgba(251, 252, 248, 0.75);
}

.tool-copy .product-number {
  color: var(--aqua);
}

.status {
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.36rem 0.62rem;
  color: var(--deep);
  background: var(--aqua);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.status span {
  width: 0.44rem;
  height: 0.44rem;
  margin-right: 0.22rem;
  display: inline-block;
  background: var(--water);
  border-radius: 50%;
}

.tool-features {
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
  list-style: none;
}

.tool-features li {
  padding: 0.72rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  background: var(--deep);
}

.tool-features strong {
  color: var(--aqua);
  font-family: var(--display);
  font-size: 0.82rem;
}

.tool-features span {
  color: rgba(251, 252, 248, 0.7);
  font-size: 0.77rem;
}

.editor-window {
  margin: auto clamp(1.2rem, 2.2vw, 1.75rem) clamp(1.2rem, 2.2vw, 1.75rem);
  background: #292929;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.55rem;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.42);
  transition: transform 220ms ease;
}

.editor-window:hover {
  transform: translateY(-4px);
}

.editor-window figcaption {
  min-height: 2.25rem;
  padding: 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #d4d3ce;
  background: #202020;
  border-bottom: 1px solid #474747;
  font-size: 0.7rem;
}

.window-dots {
  display: inline-flex;
  gap: 0.28rem;
}

.window-dots i {
  width: 0.52rem;
  height: 0.52rem;
  display: block;
  background: #777;
  border-radius: 50%;
}

.window-dots i:first-child { background: #d76662; }
.window-dots i:nth-child(2) { background: #d5a94b; }
.window-dots i:last-child { background: #64a75c; }

.editor-window img {
  width: 100%;
  height: auto;
}

.contact {
  margin-bottom: 0.75rem;
  padding: clamp(2rem, 4vw, 3.4rem);
  display: grid;
  grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  color: var(--paper);
  background:
    radial-gradient(circle at 92% 20%, rgba(155, 221, 224, 0.18), transparent 15rem),
    linear-gradient(120deg, var(--pond), var(--deep));
  border: 1.5px solid var(--deep);
  border-radius: 1.25rem;
  overflow: hidden;
}

.contact .eyebrow {
  color: var(--aqua);
}

.contact h2 {
  font-size: clamp(2.65rem, 4.2vw, 4.2rem);
}

.contact-copy > p:last-child {
  max-width: 31rem;
  margin: 0.65rem 0 0;
  color: rgba(251, 252, 248, 0.74);
  font-size: 1.03rem;
}

.contact-email {
  min-width: 0;
  padding: 1.05rem 0;
  display: block;
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.25vw, 2.1rem);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-email span {
  margin-bottom: 0.2rem;
  display: block;
  color: var(--aqua);
  font-family: var(--body);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-email b {
  color: var(--coral);
  font-weight: 700;
}

footer {
  margin-bottom: 1rem;
  padding: 1.6rem 2rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 1.25rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 650;
  text-decoration: none;
}

footer > p {
  margin: 0.18rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-meta {
  padding-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

/* Product privacy page */
.policy-page {
  background:
    linear-gradient(rgba(17, 56, 60, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 56, 60, 0.025) 1px, transparent 1px),
    var(--canvas);
  background-size: 28px 28px;
}

.policy-header,
.policy-main,
.policy-page footer {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.policy-header {
  min-height: 4.5rem;
  margin-top: 1rem;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 1.25rem;
}

.policy-back {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 650;
  text-underline-offset: 0.3em;
}

.policy-main {
  margin-block: clamp(3rem, 7vw, 6rem);
}

.policy-intro {
  max-width: 54rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.policy-intro h1 {
  max-width: none;
  margin-bottom: 1.2rem;
  font-size: clamp(3.3rem, 7vw, 6.5rem);
}

.policy-intro > p:last-child {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.policy-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.policy-summary {
  position: sticky;
  top: 1rem;
  padding: 1.25rem;
  background: var(--aqua-soft);
  border: 1.5px solid var(--line-strong);
  box-shadow: 7px 7px 0 var(--water);
}

.policy-summary p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.policy-summary strong {
  margin-bottom: 1rem;
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
}

.policy-summary dl {
  margin: 0;
}

.policy-summary dl div {
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}

.policy-summary dt {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.policy-summary dd {
  margin: 0.1rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.policy-article {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.policy-article section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.policy-article section:first-child {
  padding-top: 0;
  border-top: 0;
}

.policy-article section:last-child {
  padding-bottom: 0;
}

.policy-article h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.policy-article p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
}

.policy-article ul {
  margin: 0.8rem 0;
  padding-left: 1.25rem;
}

.policy-article li {
  margin: 0.32rem 0;
  color: var(--ink-soft);
}

.policy-article a {
  color: var(--water);
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.policy-contact {
  padding: 1rem 1.15rem;
  display: inline-block;
  background: var(--aqua-soft);
  border: 1px solid var(--line);
}

.policy-contact a {
  color: var(--deep);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(0.85rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(17rem, 0.7fr);
  }

  .hero-copy {
    padding-inline: 2.5rem;
  }

  .developer-profile {
    margin: 1.5rem;
  }

  .product-copy {
    padding: 1.5rem;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    border-right: 0;
    border-bottom: 1.5px solid var(--line-strong);
  }

  .developer-profile {
    width: min(100% - 3rem, 37rem);
    margin: 2rem auto 2.6rem;
    transform: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .section-heading .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .game-stage {
    height: min(57vw, 29rem);
    min-height: 23rem;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-summary {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .site-header,
  main,
  footer {
    width: min(100% - 0.75rem, 1400px);
  }

  .policy-header,
  .policy-main,
  .policy-page footer {
    width: min(100% - 0.75rem, 1120px);
  }

  .policy-header {
    min-height: 4rem;
    margin-top: 0.4rem;
    padding-inline: 0.65rem;
    border-radius: 0.9rem;
  }

  .policy-main {
    margin-block: 3rem;
  }

  .policy-intro h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .policy-summary {
    grid-template-columns: 1fr;
  }

  .policy-article {
    padding: 1.35rem;
    border-radius: 0.9rem;
  }

  .site-header {
    min-height: 4rem;
    margin-top: 0.4rem;
    padding-inline: 0.65rem;
    border-radius: 0.9rem 0.9rem 0 0;
  }

  .brand img {
    width: 2.55rem;
    height: 2.55rem;
  }

  .site-header nav {
    gap: 0.85rem;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    border-radius: 0 0 0.9rem 0.9rem;
  }

  .hero-copy {
    padding: 2.8rem 1.25rem 2.25rem;
  }

  .hero-copy::after {
    display: none;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 3.7rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-notes {
    margin-top: 1.8rem;
  }

  .developer-profile {
    width: calc(100% - 2.5rem);
    margin: 1.4rem auto 2rem;
    padding: 1.25rem;
    box-shadow: 7px 7px 0 var(--water);
  }

  .profile-statement {
    font-size: 1.7rem;
  }

  .work {
    padding: 3.6rem 0;
  }

  .section-heading h2 {
    font-size: 2.75rem;
  }

  .product,
  .contact,
  footer {
    border-radius: 0.9rem;
  }

  .game-stage {
    height: 22rem;
    min-height: 0;
  }

  .game-feature {
    width: 88%;
    left: 4%;
  }

  .game-phone {
    width: 34%;
  }

  .product-copy {
    padding: 1.35rem;
  }

  .product h3 {
    font-size: 2.85rem;
  }

  .tool-features {
    grid-template-columns: 1fr 1fr;
  }

  .editor-window {
    margin-inline: 0.9rem;
    margin-bottom: 0.9rem;
  }

  .contact {
    padding: 1.8rem 1.25rem;
  }

  .contact h2 {
    font-size: 2.85rem;
  }

  .contact-email {
    font-size: 1.1rem;
  }

  footer {
    padding: 1.45rem 1.2rem;
  }

  .footer-meta {
    flex-direction: column;
    gap: 0.4rem;
  }
}

@media (max-width: 380px) {
  .brand span {
    display: none;
  }

  .tool-features {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
