@font-face {
  font-family: 'Archivo';
  src: url('archivo/Archivo-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('archivo/Archivo-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('archivo/Archivo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('archivo/Archivo-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F5F0E9;
  --ink: #2F1009;
  --primary: #FF6943;
  --secondary: #BCD8E3;
  --olive: #425227;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  line-height: 1.3;
  min-height: 100vh;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page {
  max-width: 1400px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 6vh 2rem calc(3rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
}

@media (max-width: 1440px) {
  .page { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 768px) {
  .page { padding-left: 16px; padding-right: 16px; }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 2.2 -0.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.headline {
  position: relative;
  z-index: 1;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 9vw, 8.25rem);
  letter-spacing: -0.01em;
  line-height: 0.88;
}

.headline-ink {
  color: var(--ink);
}

.headline-accent {
  color: var(--primary);
}

.lower {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: auto;
  padding-top: clamp(2rem, 6vw, 4rem);
}

.eye-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.75rem;
}

.right-col {
  width: min(30rem, 46%);
}

.eye {
  position: relative;
  width: 88px;
  height: 85px;
  flex-shrink: 0;
}

.eye-body {
  display: block;
  width: 100%;
  height: 100%;
}

.eye-window {
  position: absolute;
  left: 21.8%;
  top: 36.4%;
  width: 56.2%;
  height: 26.8%;
  overflow: hidden;
  pointer-events: none;
}

.pupil {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 145%;
  width: auto;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.subtext {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink);
  opacity: 0.64;
}

.divider {
  border: none;
  border-top: 1px solid rgba(47, 16, 9, 0.16);
  width: 100%;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.brand-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}

.signup-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.signup {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

.signup input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1.25rem;
  border: none;
  border-radius: 2px;
  background: var(--secondary);
  color: var(--ink);
  opacity: 1;
  -webkit-text-fill-color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.signup input::placeholder {
  color: rgba(47, 16, 9, 0.48);
  -webkit-text-fill-color: rgba(47, 16, 9, 0.48);
  opacity: 1;
}

.signup input:focus {
  outline: none;
}

.signup input:-webkit-autofill,
.signup input:-webkit-autofill:hover,
.signup input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--secondary) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.notify-frame {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
}

.notify-btn {
  position: relative;
  overflow: hidden;
  background: none;
  border: none;
  padding: 0.9rem 1.75rem;
  font-family: inherit;
  cursor: pointer;
}

.notify-fill {
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: scale(0);
  transition: transform 0.35s ease;
  z-index: 0;
}

.notify-label {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.notify-frame::before,
.notify-frame::after,
.notify-btn::before,
.notify-btn::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid rgba(47, 16, 9, 0.4);
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.notify-frame::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.notify-frame::after {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.notify-btn::before {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.notify-btn::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.notify-frame:hover .notify-fill {
  transform: scale(1);
}

.notify-frame:hover::before,
.notify-frame:hover::after,
.notify-frame:hover .notify-btn::before,
.notify-frame:hover .notify-btn::after {
  opacity: 0;
}

.signup-success {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.bottom-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
  color: rgba(47, 16, 9, 0.45);
}

.copyright {
  margin: 0;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
  font-size: inherit;
  font-weight: 500;
  transition: color 0.2s ease;
}

.social:hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .eye-row {
    flex-wrap: wrap;
  }

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

  .right-col {
    width: 100%;
  }

  .signup {
    flex-direction: column;
  }

  .notify-frame {
    width: 100%;
  }
}
