:root {
  --sunny-navy: #202c3b;
  --sunny-muted: #536171;
  --sunny-line: #d9dee3;
  --sunny-orange: #ff6508;
  --sunny-red: #ba3200;
  --sunny-teal: #006978;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--sunny-navy);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: #fff;
}

button,
input {
  font: inherit;
}

a {
  color: var(--sunny-teal);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sunny-red);
}

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

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

.gate-page main {
  flex: 1;
}

.page-width {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--sunny-line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.header-inner {
  min-height: 96px;
  padding-block: 16px;
}

.brand-link img {
  display: block;
  width: clamp(145px, 21vw, 230px);
  height: auto;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
}

.header-link {
  padding-block: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.header-link:hover {
  text-decoration: underline;
}

.access-gate {
  background:
    radial-gradient(ellipse at top right, #dff5f8, transparent 54%),
    linear-gradient(120deg, #fff, #f3f7fa);
  padding-block: clamp(64px, 10vw, 144px);
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.gate-kicker {
  margin: 0 0 20px;
  color: var(--sunny-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-intro h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.gate-intro {
  max-width: 46ch;
  margin: 24px 0 0;
  color: var(--sunny-muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.gate-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--sunny-line);
  border-top: 4px solid var(--sunny-orange);
  border-radius: 16px;
  box-shadow: 0 24px 60px #202c3b14;
}

.gate-card h2,
.contact-section h2 {
  margin: 0;
  letter-spacing: -0.035em;
}

.gate-card h2 {
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
}

.gate-help {
  margin: 10px 0 24px;
  color: var(--sunny-muted);
  line-height: 1.55;
}

.access-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.password-field {
  display: flex;
  align-items: center;
  border: 1px solid #a2afbb;
  border-radius: 8px;
}

.password-field:focus-within {
  border-color: var(--sunny-teal);
  box-shadow: 0 0 0 3px #00697826;
}

.password-field input {
  flex: 1;
  min-width: 0;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  outline: 0;
  background: transparent;
  color: inherit;
}

.password-toggle {
  min-height: 44px;
  margin-right: 4px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--sunny-teal);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
}

.password-toggle:hover {
  background: #eef7f8;
}

.gate-error {
  margin: 10px 0 0;
  color: #a3281a;
  font-size: 0.875rem;
}

.gate-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--sunny-red);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.gate-submit:hover {
  background: var(--sunny-navy);
}

.contact-section {
  padding-block: clamp(48px, 7vw, 84px);
  border-top: 1px solid var(--sunny-line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(36px, 6vw, 88px);
}

.contact-section h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.contact-section p {
  max-width: 44ch;
  margin: 12px 0 0;
  color: var(--sunny-muted);
  line-height: 1.65;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-details div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sunny-line);
}

.contact-details dt {
  font-weight: 700;
}

.contact-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--sunny-line);
  background: #f3f7fa;
}

.footer-inner {
  padding-block: 24px;
  color: var(--sunny-muted);
  font-size: 0.875rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 760px) {
  .preview-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-intro h1 {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .page-width {
    width: calc(100% - 36px);
  }

  .header-inner {
    gap: 8px 12px;
    min-height: 80px;
  }

  .contact-details div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}
