/*
  Sicparvis — Styles
  V1 limpia: estructura final, responsive, dark mode, touch y footer easter egg.
*/

:root {
  color-scheme: light dark;

  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --black: #0b0b0c;
  --white: #ffffff;
  --blue: #3a7bff;

  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --text: #0b0b0c;
  --text-soft: #5f6368;
  --line: #e6e6e6;
  --panel: #f7f7f8;
  --panel-line: #e6e6e6;

  --header-height: 76px;
  --header-bg: rgba(255, 255, 255, 0.86);
  --header-line: rgba(11, 11, 12, 0.08);

  --hero-mark-opacity: 0.014;

  --container: 1240px;
  --space-page: clamp(1.25rem, 4vw, 4rem);
  --section-gap: clamp(5.5rem, 12vw, 10rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 180ms;
  --medium: 240ms;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #0b0b0c;
    --bg-soft: #111114;
    --text: #ffffff;
    --text-soft: #a6a6a6;
    --line: #242428;
    --panel: #111114;
    --panel-line: #242428;
    --header-bg: rgba(11, 11, 12, 0.86);
    --header-line: rgba(255, 255, 255, 0.08);
    --hero-mark-opacity: 0.005;
  }
}

:root[data-theme="dark"] {
  --bg: #0b0b0c;
  --bg-soft: #111114;
  --text: #ffffff;
  --text-soft: #a6a6a6;
  --line: #242428;
  --panel: #111114;
  --panel-line: #242428;
  --header-bg: rgba(11, 11, 12, 0.86);
  --header-line: rgba(255, 255, 255, 0.08);
  --hero-mark-opacity: 0.005;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --text: #0b0b0c;
  --text-soft: #5f6368;
  --line: #e6e6e6;
  --panel: #f7f7f8;
  --panel-line: #e6e6e6;
  --header-bg: rgba(255, 255, 255, 0.86);
  --header-line: rgba(11, 11, 12, 0.08);
  --hero-mark-opacity: 0.014;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

.container {
  width: min(100% - (var(--space-page) * 2), var(--container));
  margin-inline: auto;
}

.section {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  align-items: start;
  padding-top: clamp(8.5rem, 14vh, 11rem);
  padding-bottom: clamp(5rem, 9vh, 7.5rem);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  color: var(--bg);
  background: var(--text);
  border-radius: 0.35rem;
  transform: translateY(-160%);
  transition: transform var(--fast) var(--ease);
}

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

@media (min-width: 961px) and (hover: hover) and (pointer: fine) {
  html {
    scroll-snap-type: y proximity;
  }

  html.is-footer-interacting {
    scroll-snap-type: none !important;
  }

  .section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .site-footer {
    scroll-snap-align: end;
    scroll-snap-stop: normal;
  }
}

@media (hover: none) and (pointer: coarse) {
  html {
    scroll-snap-type: none !important;
  }

  .section,
  .site-footer {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--text);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--medium) var(--ease),
    border-color var(--medium) var(--ease),
    color var(--fast) var(--ease),
    backdrop-filter var(--medium) var(--ease);
}

.site-header.is-scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--header-line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 2rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--text);
}

.site-logo__image {
  width: 158px;
  height: auto;
}

.site-logo svg,
.site-logo .logo-svg {
  color: currentColor;
}

.site-logo svg path,
.site-logo svg polygon,
.site-logo svg rect {
  fill: currentColor;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .site-logo img {
    filter: invert(1);
  }
}

:root[data-theme="dark"] .site-logo img {
  filter: invert(1);
}

:root[data-theme="light"] .site-logo img {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.25rem);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding-block: 0.55rem;
  color: var(--text);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.24rem;
  width: 52%;
  height: 2px;
  background: var(--blue);
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity var(--fast) var(--ease),
    transform var(--fast) var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: translateY(0);
}

.theme-toggle,
.menu-toggle,
.mobile-menu__theme,
.site-footer__latin {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: var(--text);
  border-radius: 0.35rem;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}

.menu-toggle span {
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  height: 2px;
  background: currentColor;
  transition:
    transform var(--fast) var(--ease),
    top var(--fast) var(--ease);
}

.menu-toggle span:first-child {
  top: 0.9rem;
}

.menu-toggle span:last-child {
  top: 1.45rem;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 1.16rem;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 1.16rem;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* Hero */

.hero {
  min-height: 100svh;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--section-gap);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  position: relative;
}

.hero__mark {
  position: absolute;
  top: 50%;
  right: -4vw;
  z-index: 0;
  width: clamp(18rem, 42vw, 42rem);
  opacity: var(--hero-mark-opacity);
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  filter: grayscale(1);
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .hero__mark {
    filter: invert(1) grayscale(1);
  }
}

:root[data-theme="dark"] .hero__mark {
  filter: invert(1) grayscale(1);
}

:root[data-theme="light"] .hero__mark {
  filter: grayscale(1);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.6rem);
  font-weight: 650;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero__lead {
  max-width: 760px;
  margin: 2.1rem 0 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.35;
  color: var(--text);
}

.hero__latin {
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  color: var(--text-soft);
}

.hero__statement {
  margin: 2rem 0 0;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.76rem 1.08rem;
  border: 1px solid var(--text);
  border-radius: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition:
    transform var(--fast) var(--ease),
    background-color var(--fast) var(--ease),
    color var(--fast) var(--ease),
    border-color var(--fast) var(--ease);
}

.button--primary {
  color: var(--bg);
  background: var(--text);
}

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

.link-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.2rem 0;
  font-weight: 600;
}

.link-action::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.55rem;
  width: 52%;
  height: 2px;
  background: var(--blue);
}

/* Shared sections */

.section-kicker {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 760px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-intro h2,
.method h2,
.proof h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-intro p:not(.section-kicker) {
  max-width: 680px;
  margin: 1.2rem 0 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  line-height: 1.48;
}

/* Areas */

.areas-desktop {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.65fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: start;
}

.areas-index {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.3rem;
}

.areas-index__item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 0;
  color: var(--text-soft);
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: color var(--fast) var(--ease);
}

.areas-index__item span {
  min-width: 2ch;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
}

.areas-index__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 3.4rem;
  height: 2px;
  background: var(--blue);
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
}

.areas-index__item:hover,
.areas-index__item:focus-visible,
.areas-index__item.is-active {
  color: var(--text);
}

.areas-index__item:hover::after,
.areas-index__item:focus-visible::after,
.areas-index__item.is-active::after {
  opacity: 1;
}

.areas-panel {
  min-height: 320px;
  padding-top: 0.6rem;
}

.area-panel {
  max-width: 760px;
}

.area-panel h3 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.045em;
}

.area-panel p {
  max-width: 680px;
  margin: 1.4rem 0 0;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.52;
}

.area-panel__detail {
  color: var(--text-soft);
}

.area-panel.is-active {
  animation: panel-in var(--medium) var(--ease) both;
}

.areas-mobile {
  display: none;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Method */

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

.method__content {
  max-width: 640px;
  padding-top: 0.4rem;
}

.method__content p {
  margin: 0;
  font-size: clamp(1.12rem, 1.7vw, 1.36rem);
  line-height: 1.48;
}

.method__sentence {
  position: relative;
  margin-top: 2rem !important;
  padding-top: 1.2rem;
  font-weight: 600;
}

.method__sentence::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3.4rem;
  height: 2px;
  background: var(--blue);
}

.method__closing {
  max-width: 1120px;
  margin: clamp(4rem, 8vw, 7rem) auto 0;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  font-size: clamp(2.25rem, 5.2vw, 5.6rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-align: center;
}

.method__closing-desktop {
  display: inline-block;
}

.method__closing-mobile {
  display: none;
}

/* Proof / web */

.proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.proof h2 {
  white-space: nowrap;
  font-size: clamp(3.1rem, 4.15vw, 4.35rem);
}

.proof__content {
  max-width: 680px;
  align-self: center;
}

.proof__content p {
  margin: 0;
  font-size: clamp(1.08rem, 1.55vw, 1.26rem);
  line-height: 1.52;
}

.proof__content p + p {
  margin-top: 1.35rem;
  color: var(--text-soft);
}

.tech-list {
  display: inline-grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0.7rem;
  width: auto;
  max-width: max-content;
  margin: 2rem 0 0;
  padding: 1rem;
  list-style: none;
  justify-content: start;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 0.55rem;
}

.tech-list li {
  padding: 0.48rem 0.68rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  border: 1px solid var(--panel-line);
  border-radius: 0.38rem;
  background: var(--bg);
  transition: border-color var(--fast) var(--ease);
}

.tech-list li:hover,
.tech-list li.is-touch-active {
  border-color: var(--blue);
}

/* Contact */

.contact {
  min-height: calc(100svh - var(--header-height));
  align-items: center;
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  color: var(--white);
  background: var(--black);
}

.contact__inner {
  max-width: 940px;
}

.contact h2 {
  color: var(--white);
}

.contact p {
  max-width: 760px;
  margin: 1.6rem 0 0;
  color: #a6a6a6;
  font-size: clamp(1.1rem, 1.7vw, 1.36rem);
  line-height: 1.5;
}

.contact__statement {
  color: var(--white) !important;
  font-size: clamp(1.65rem, 2.8vw, 2.8rem) !important;
  font-weight: 650;
  line-height: 1.1 !important;
  letter-spacing: -0.04em;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2rem;
  padding: 0.95rem 1.15rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0.45rem;
  font-size: 0.98rem;
  font-weight: 600;
  transition: border-color var(--fast) var(--ease);
}

.contact__email:hover,
.contact__email:focus-visible {
  border-color: var(--blue);
}

@media (hover: none) {
  .contact__email {
    border-color: var(--blue);
  }
}

/* Footer */

.site-footer {
  color: var(--white);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-block: 3.25rem;
  font-size: 0.9rem;
}

.site-footer a,
.site-footer button {
  color: rgba(255, 255, 255, 0.64);
}

.site-footer a:hover,
.site-footer button:hover,
.site-footer a:focus-visible,
.site-footer button:focus-visible {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__motto-block {
  position: relative;
  padding-top: 0.42rem;
}

.site-footer__motto-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.4rem;
  height: 2px;
  background: var(--blue);
}

.site-footer__latin {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0.05rem 1rem 0.15rem 0;
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: left;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.site-footer__latin:hover,
.site-footer__latin:focus-visible {
  color: #ffffff !important;
}

.site-footer__translation {
  min-height: 1.35em;
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--medium) var(--ease);
}

.site-footer__latin:hover + .site-footer__translation,
.site-footer__latin:focus-visible + .site-footer__translation,
.site-footer__translation.is-visible {
  opacity: 1;
}

.site-footer__contact,
.site-footer__legal {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.site-footer__contact {
  justify-self: center;
  text-align: center;
}

.site-footer__contact a {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__legal {
  justify-self: end;
  text-align: right;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.36);
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: rgba(255, 255, 255, 0.68);
}

@media (hover: none) {
  .site-footer__latin:hover + .site-footer__translation:not(.is-visible),
  .site-footer__latin:focus-visible + .site-footer__translation:not(.is-visible) {
    opacity: 0 !important;
  }

  .site-footer__translation.is-visible {
    opacity: 1 !important;
  }
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--medium) var(--ease),
    transform var(--medium) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (min-width: 961px) and (max-width: 1180px) {
  .proof__grid {
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .proof h2 {
    font-size: clamp(2.75rem, 4vw, 3.65rem);
  }

  .tech-list {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 68px;
    --section-gap: clamp(4.5rem, 10vw, 7rem);
  }

  html {
    scroll-snap-type: none !important;
  }

  .section {
    min-height: auto;
    padding-block: var(--section-gap);
    scroll-snap-align: none !important;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    z-index: 99;
    display: grid;
    gap: 0.15rem;
    padding: 1rem var(--space-page) 1.4rem;
    color: var(--text);
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-line);
    backdrop-filter: blur(14px);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a,
  .mobile-menu__theme {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.95rem 0;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }

  .hero {
    min-height: 86svh;
    padding-top: calc(var(--header-height) + 2rem);
  }

  .hero__mark {
    right: -20vw;
    width: clamp(16rem, 78vw, 34rem);
    opacity: calc(var(--hero-mark-opacity) * 0.75);
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }

  .areas-desktop {
    display: none;
  }

  .areas-mobile {
    display: grid;
    gap: 0;
  }

  .areas-mobile details {
    border-bottom: 1px solid var(--line);
  }

  .areas-mobile summary {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    padding: 1.15rem 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }

  .areas-mobile summary::-webkit-details-marker {
    display: none;
  }

  .areas-mobile summary::after {
    content: "+";
    margin-left: auto;
    color: var(--text-soft);
  }

  .areas-mobile details[open] summary::after {
    content: "–";
  }

  .areas-mobile details[open] summary::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 3.4rem;
    height: 2px;
    background: var(--blue);
  }

  .areas-mobile summary span {
    color: var(--text-soft);
    font-size: 0.82rem;
  }

  .areas-mobile h3 {
    margin: 1.1rem 0 0;
    font-size: clamp(1.55rem, 6vw, 2.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }

  .areas-mobile p {
    margin: 1rem 0 0;
    color: var(--text-soft);
  }

  .areas-mobile details > p:last-child {
    margin-bottom: 1.45rem;
  }

  .method__grid,
  .proof__grid {
    grid-template-columns: 1fr;
  }

  .method__content,
  .proof__content {
    max-width: 100%;
    padding-top: 0;
  }

  .method__closing {
    text-align: left;
  }

  .method__closing-desktop {
    display: none;
  }

  .method__closing-mobile {
    display: inline;
  }

  .proof h2 {
    white-space: nowrap;
    font-size: clamp(2.05rem, 8.2vw, 3rem);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer__contact,
  .site-footer__legal {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-logo__image {
    width: 136px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 14vw, 4.9rem);
  }

  .hero__lead {
    font-size: 1.12rem;
  }

  .button,
  .contact__email {
    width: 100%;
  }

  .method__closing {
    font-size: clamp(2.05rem, 12vw, 4rem);
  }

  .tech-list {
    grid-template-columns: repeat(2, max-content);
    padding: 1rem;
  }

  .tech-list li {
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  .proof h2 {
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .tech-list {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .tech-list li {
    width: fit-content;
  }
}
