:root {
  --lime: #C4FF00;
  --gray: #808080;
  --black: #000000;
  --white: #FFFFFF;
  --page-x: clamp(24px, 5vw, 76px);
}

* { box-sizing: border-box; }
html { background: var(--black); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: max(28px, env(safe-area-inset-top)) max(var(--page-x), env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(var(--page-x), env(safe-area-inset-left));
}

.site-header { display: flex; align-items: flex-start; }
.logo { display: block; width: clamp(142px, 13vw, 190px); height: auto; }

.hero {
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vh, 96px) 0;
}
.hero-copy { width: min(900px, 100%); }

h1 {
  margin: 0;
  font-size: clamp(48px, 7.25vw, 112px);
  line-height: .92;
  letter-spacing: -0.055em;
  font-weight: 700;
}
h1 span { color: var(--lime); }

.hero p {
  max-width: 650px;
  margin: clamp(28px, 4vh, 46px) 0 0;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.018em;
  color: #BDBDBD;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: clamp(24px, 3.5vh, 38px);
  color: var(--white);
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
  transition: color 160ms ease, border-color 160ms ease;
}
.contact span { color: var(--lime); font-size: 1.1em; }
.contact:hover, .contact:focus-visible { color: var(--lime); outline: none; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}
footer img { width: 40px; height: auto; opacity: .9; }

@media (max-width: 640px) {
  :root { --page-x: 24px; }
  .page-shell { padding-top: max(24px, env(safe-area-inset-top)); }
  .logo { width: 138px; }
  .hero { align-items: center; padding: 40px 0 52px; }
  h1 { font-size: clamp(46px, 14.5vw, 66px); line-height: .94; letter-spacing: -0.06em; }
  .hero p { max-width: 34ch; margin-top: 28px; font-size: 18px; line-height: 1.5; }
  .contact { margin-top: 24px; font-size: 16px; }
  footer { font-size: 10px; }
  footer img { width: 34px; }
}

@media (max-width: 370px) {
  :root { --page-x: 20px; }
  h1 { font-size: 43px; }
  .hero p { font-size: 17px; }
}

@media (max-height: 680px) and (min-width: 641px) {
  .page-shell { padding-top: 24px; padding-bottom: 20px; }
  .hero { padding: 28px 0; }
  h1 { font-size: clamp(52px, 9vh, 78px); }
  .hero p { margin-top: 22px; }
  .contact { margin-top: 18px; }
}

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