:root {
  --paper: #edeef0;
  --ink: #0a1024;
  --mute: #5a6072;
  --line: rgba(10, 16, 36, 0.16);
  --line-light: rgba(237, 238, 240, 0.2);
  --accent: #ff4a1f;
  --pad: clamp(20px, 4.4vw, 72px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --en: "Archivo", "Zen Kaku Gothic New", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--jp);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.9;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.nowrap {
  white-space: nowrap;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

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

.container {
  padding-inline: var(--pad);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.guides {
  position: fixed;
  inset: 0;
  z-index: 0;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
}

.guides span {
  border-left: 1px solid rgba(10, 16, 36, 0.07);
}

.guides span:last-child {
  border-right: 1px solid rgba(10, 16, 36, 0.07);
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pad);
  color: #fff;
  mix-blend-mode: difference;
}

.header__logo {
  font-family: var(--en);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.header__nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 40px);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}

.header__nav a,
.footer__nav a {
  position: relative;
  padding-block: 6px;
}

.header__nav a::after,
.footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin: -12px -10px -12px 0;
}

.menu-btn span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}

.menu-btn span:first-child {
  top: 18px;
}

.menu-btn span:last-child {
  top: 26px;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  padding: 120px var(--pad) 48px;
  display: flex;
  align-items: flex-end;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}

.menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.7s var(--ease), visibility 0s;
}

.menu__nav {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.menu__nav a {
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
  font-size: 1.625rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.link {
  display: inline-block;
  font-weight: 700;
  line-height: 1.4;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}

.sec-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.6;
  align-self: start;
}

.sec-title::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  align-self: center;
}

.sec-title small,
.product__name small {
  font-family: var(--jp);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px var(--pad) 0;
}

.hero__meta {
  position: absolute;
  top: 104px;
  right: var(--pad);
  font: 400 0.75rem/1.7 var(--mono);
  color: var(--mute);
  text-align: right;
}

.hero__box {
  position: relative;
  align-self: flex-start;
  margin-bottom: clamp(64px, 9vh, 104px);
}

.hero__title {
  font-size: clamp(2.4rem, 11.3vw, 13.5rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-feature-settings: "palt";
  white-space: nowrap;
}

.sel {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  pointer-events: none;
}

.sel__fill {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 74, 31, 0.22) 10px 11px);
  clip-path: inset(0 0 0 100%);
}

.sel__tag {
  position: absolute;
  left: -1px;
  bottom: 100%;
  padding: 5px 7px;
  background: var(--accent);
  color: #fff;
  font: 400 0.6875rem/1 var(--mono);
  white-space: nowrap;
}

.sel i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--paper);
  border: 1px solid var(--accent);
}

.sel i:nth-of-type(1) {
  left: -4px;
  top: -4px;
}

.sel i:nth-of-type(2) {
  right: -4px;
  top: -4px;
}

.sel i:nth-of-type(3) {
  left: -4px;
  bottom: -4px;
}

.sel i:nth-of-type(4) {
  right: -4px;
  bottom: -4px;
}

.scan {
  position: absolute;
  top: -14px;
  bottom: -14px;
  left: 0;
  width: 1px;
  background: var(--accent);
  opacity: 0;
}

.dim {
  position: absolute;
  color: var(--accent);
  font: 400 0.6875rem/1 var(--mono);
}

.dim::before {
  content: "";
  position: absolute;
  background: currentColor;
}

.dim b {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 3px 8px;
  background: var(--paper);
  font-weight: 400;
}

.dim--w {
  left: 0;
  right: 0;
  top: calc(100% + 16px);
  height: 11px;
  border-left: 1px solid;
  border-right: 1px solid;
}

.dim--w::before {
  left: 0;
  right: 0;
  top: 5px;
  height: 1px;
}

.dim--h {
  top: 0;
  bottom: 0;
  left: calc(100% + 16px);
  width: 11px;
  border-top: 1px solid;
  border-bottom: 1px solid;
}

.dim--h::before {
  top: 0;
  bottom: 0;
  left: 5px;
  width: 1px;
}

.hero__foot {
  align-items: end;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.hero__lead {
  grid-column: 1 / 3;
  max-width: 31em;
  padding-right: 2em;
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  text-wrap: pretty;
}

.hero__link {
  grid-column: 4;
  justify-self: start;
}

.statement {
  padding: clamp(120px, 17vw, 260px) 0 clamp(110px, 15vw, 220px);
}

.statement__body {
  grid-column: 2 / 5;
}

.statement__text {
  font-size: clamp(1.375rem, 3.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.62;
  letter-spacing: -0.01em;
}

.statement__text + .statement__text {
  margin-top: 1.1em;
}

.statement__sign {
  margin-top: clamp(48px, 6vw, 88px);
  font-size: 0.875rem;
  font-weight: 700;
}

.bigword {
  padding-inline: var(--pad);
  overflow: clip;
  font-family: var(--en);
  font-weight: 800;
  font-variation-settings: "wdth" 125, "wght" 800;
  font-size: 10vw;
  line-height: 0.92;
  letter-spacing: -0.035em;
  white-space: nowrap;
  padding-bottom: 0.16em;
}

.bigword span,
.footer__name span {
  display: inline-block;
}

.product__head {
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: clamp(56px, 7vw, 104px);
  align-items: start;
}

.product__intro {
  grid-column: 2 / 5;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
}

.product__name {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 1em;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.product__lead {
  max-width: 34em;
}

.flow {
  height: 380vh;
}

.flow__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.flow__steps {
  padding-right: clamp(24px, 4vw, 72px);
}

.flow__step {
  border-top: 1px solid var(--line);
  opacity: 0.32;
  transition: opacity 0.6s var(--ease);
}

.flow__step:last-child {
  border-bottom: 1px solid var(--line);
}

.flow__step.is-active {
  opacity: 1;
}

.flow__btn {
  display: grid;
  grid-template-columns: 3.2em 1fr;
  align-items: baseline;
  width: 100%;
  padding: clamp(16px, 2.4vh, 28px) 0;
}

.flow__num {
  font-family: var(--en);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  transition: color 0.4s;
}

.flow__step.is-active .flow__num {
  color: var(--accent);
}

.flow__text {
  display: block;
}

.flow__text strong {
  display: block;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.flow__text span {
  display: block;
  margin-top: 6px;
  max-width: 30em;
  font-size: 0.875rem;
  line-height: 1.8;
}

.stage {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 72svh;
  width: 100%;
  background: #f8f9fa;
  border: 1px solid var(--line);
  overflow: hidden;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 16, 36, 0.2) 1px, transparent 1px);
  background-size: 16px 16px;
  transition: opacity 0.6s;
}

.spec {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 28px);
  padding: 9% 9% 14%;
  transition: opacity 0.6s var(--ease);
}

.spec__h {
  font-size: clamp(1.25rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-feature-settings: "palt";
}

.spec__t {
  max-width: 25em;
  font-size: clamp(0.6875rem, 0.95vw, 0.8125rem);
  line-height: 1.8;
}

.spec__b {
  font-size: clamp(0.6875rem, 0.95vw, 0.8125rem);
  font-weight: 700;
  line-height: 1.4;
  padding-bottom: 4px;
  border-bottom: 1px solid;
}

.spec--wire > * {
  position: relative;
  color: transparent;
  border-color: transparent;
  outline: 1px solid var(--accent);
  background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(255, 74, 31, 0.2) 7px 8px);
}

.spec--wire > *::before {
  content: attr(data-name);
  position: absolute;
  left: -1px;
  bottom: 100%;
  padding: 3px 5px;
  background: var(--accent);
  color: #fff;
  font: 400 0.5625rem/1 var(--mono);
  letter-spacing: 0;
}

.code {
  position: absolute;
  inset: 0;
  padding: 9% 7%;
  background: var(--ink);
  color: #dfe2ea;
  font: 400 clamp(0.625rem, 1.05vw, 0.875rem)/2 var(--mono);
  white-space: pre;
  overflow: hidden;
  transition: opacity 0.5s var(--ease);
}

.code span {
  display: block;
  opacity: 0;
  transform: translateX(-10px);
}

.done {
  position: absolute;
  right: 7%;
  top: 9%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 400 0.6875rem/1 var(--mono);
}

.done li {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
}

.done li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.stage__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #f8f9fa;
  font: 400 0.6875rem/1 var(--mono);
}

.stage[data-step="0"] .spec--build,
.stage[data-step="0"] .code,
.stage[data-step="1"] .spec--build,
.stage[data-step="2"] .code,
.stage[data-step="3"] .code,
.stage[data-step="3"] .spec--wire {
  opacity: 0;
}

.stage[data-step="1"] .code span {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i) * 80ms + 200ms);
}

.stage[data-step="2"] .spec--build {
  animation: settle 2.4s var(--ease) both;
}

.stage[data-step="3"]::before {
  opacity: 0;
}

.stage[data-step="3"] .done li {
  opacity: 1;
  transition: opacity 0.5s var(--ease);
  transition-delay: calc(var(--i) * 160ms + 300ms);
}

@keyframes settle {
  0%,
  40% {
    transform: translate(11px, 8px);
  }
  100% {
    transform: none;
  }
}

.features {
  padding: clamp(120px, 15vw, 220px) 0 0;
}

.rows {
  margin-top: clamp(32px, 4vw, 56px);
}

.row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  padding: clamp(32px, 4.6vw, 72px) 0;
  border-top: 1px solid var(--ink);
}

.row:last-child {
  border-bottom: 1px solid var(--ink);
}

.row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--pad) * -1);
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}

.row__title,
.row__text {
  position: relative;
  transition: color 0.4s;
}

.row__title {
  grid-column: 1 / 3;
  font-size: clamp(1.75rem, 4.6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.035em;
  font-feature-settings: "palt";
}

.row__text {
  grid-column: 3 / 5;
  max-width: 30em;
  padding-top: 0.6em;
}

.info {
  padding-top: clamp(110px, 13vw, 190px);
}

#company {
  padding-bottom: clamp(120px, 15vw, 220px);
}

.table {
  grid-column: 2 / 5;
}

.table > div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.table > div:last-child {
  border-bottom: 1px solid var(--line);
}

.table dt {
  font-weight: 700;
}

.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(110px, 14vw, 210px) 0 clamp(72px, 9vw, 130px);
}

.contact__title {
  font-size: clamp(2.4rem, 10.4vw, 12.5rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-feature-settings: "palt";
  white-space: nowrap;
}

.line {
  display: block;
  overflow: hidden;
}

.line > span {
  display: block;
}

.contact__foot {
  margin-top: clamp(56px, 7vw, 104px);
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  align-items: start;
}

.contact__text {
  grid-column: 1 / 3;
  max-width: 26em;
  padding-right: 2em;
}

.contact__note {
  margin-top: 1.4em;
  font-size: 0.8125rem;
  color: rgba(237, 238, 240, 0.6);
}

.form {
  grid-column: 3 / 5;
  display: grid;
  gap: 30px;
}

.form__field {
  display: grid;
  gap: 8px;
}

.form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}

.form__label em {
  font-style: normal;
  font: 400 0.6875rem/1 var(--mono);
  color: var(--accent);
}

.form__input {
  width: 100%;
  margin: 0;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(237, 238, 240, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  line-height: 1.7;
  word-break: normal;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s;
}

.form__input:focus {
  outline: 0;
  border-bottom-color: var(--accent);
}

.form__textarea {
  min-height: 9.5em;
  resize: vertical;
}

.form__check {
  min-height: 65px;
}

.form__submit {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 34px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 0.3s, color 0.3s;
}

.form__submit::after {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
}

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.page__main {
  flex: 1;
  padding: clamp(130px, 14vw, 200px) 0 clamp(80px, 10vw, 140px);
}

.page__title {
  font-size: clamp(2.2rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-feature-settings: "palt";
}

.page__text {
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 34em;
}

.page__error {
  margin-top: 24px;
  color: var(--accent);
  font-weight: 700;
}

.page__table {
  width: 100%;
  margin-top: clamp(36px, 5vw, 64px);
  border-collapse: collapse;
}

.page__table th,
.page__table td {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.page__table td {
  word-break: normal;
}

.page__table th {
  width: 30%;
  padding-right: 24px;
  font-weight: 700;
}

.page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  margin-top: clamp(36px, 5vw, 56px);
}

.page__back {
  font-weight: 700;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
}

.page .footer {
  padding-top: 32px;
}

.page .footer__row {
  margin-top: 0;
}

.page__back {
  cursor: pointer;
}

.footer {
  background: var(--ink);
  color: var(--paper);
  padding-bottom: 32px;
}

.footer__name {
  overflow: clip;
  border-top: 1px solid var(--line-light);
  padding-top: clamp(28px, 4vw, 56px);
  font-family: var(--en);
  font-variation-settings: "wdth" 125, "wght" 800;
  font-weight: 800;
  font-size: 9vw;
  line-height: 0.9;
  letter-spacing: -0.035em;
  white-space: nowrap;
  padding-bottom: 0.16em;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-top: clamp(24px, 3vw, 48px);
  font-size: 0.8125rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-weight: 700;
}

.footer__copy {
  font-family: var(--en);
  font-size: 0.75rem;
}

@media (hover: hover) {
  .header__nav a:hover::after,
  .footer__nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .link:hover {
    background-size: 0 1px;
    background-position: 100% 100%;
  }

  .row:hover::before {
    transform: scaleY(1);
  }

  .row:hover .row__title,
  .row:hover .row__text {
    color: var(--paper);
  }

  .flow__step:hover {
    opacity: 1;
  }

  .form__submit:hover {
    background: var(--paper);
    color: var(--ink);
  }

  .page .form__submit:hover {
    background: var(--ink);
    color: var(--paper);
  }
}

@media (max-width: 899px) {
  .header {
    padding-block: 20px;
  }

  .header__nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    min-height: 0;
    padding-top: 110px;
  }

  .hero__meta {
    top: 60px;
  }

  .dim--h {
    display: none;
  }

  .hero__lead {
    grid-column: 1 / 5;
    padding-right: 0;
  }

  .hero__link {
    grid-column: 1 / 5;
    margin-top: 24px;
  }

  .sec-title {
    grid-column: 1 / 5;
    margin-bottom: 28px;
  }

  .statement__body,
  .product__intro,
  .table {
    grid-column: 1 / 5;
  }

  .product__intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flow {
    height: auto;
  }

  .flow__sticky {
    position: static;
    height: auto;
    padding: 40px 0 48px;
  }

  .flow__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stage {
    order: -1;
    max-height: none;
  }

  .flow__steps {
    padding-right: 0;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .row__title,
  .row__text {
    grid-column: auto;
  }

  .row__text {
    padding-top: 0;
  }

  .contact__text,
  .form {
    grid-column: 1 / 5;
    padding-right: 0;
  }

  .form {
    margin-top: 44px;
  }
}

@media (max-width: 599px) {
  .table > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

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

  .form__submit {
    justify-self: stretch;
    justify-content: center;
  }

  .page__table th,
  .page__table td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .page__table th {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .page__table td {
    padding: 4px 0 18px;
  }

  .page__table tr:last-child td {
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__title {
    clip-path: inset(0 100% 0 0);
  }

  .js .sel,
  .js .dim,
  .js [data-hero] {
    opacity: 0;
  }

  .js .sel__fill {
    clip-path: inset(0 0 0 0);
  }

  .js .contact .line > span {
    transform: translateY(110%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
