/* Brand fonts copied from hecto-website-inc so this handoff page matches www.hecto.inc. */
@font-face {
  font-family: "Hecto Helvetica";
  src: url("assets/fonts/HelveticaNeueThin.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hecto Helvetica";
  src: url("assets/fonts/HelveticaNeueMedium.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hecto Serif";
  src: url("assets/fonts/AwesomeSerif-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hecto Mono";
  src: url("assets/fonts/RMMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hecto Mono";
  src: url("assets/fonts/RMMono-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Core Hecto palette: black/off-white/amber only. No gradient or colored page overlay is used. */
:root {
  --background: #050505;
  --panel: #070706;
  --foreground: #f5f0e8;
  --muted: #bdb7ad;
  --amber: #ed8806;
  --amber-hot: #ff9d24;
  --line: rgba(255, 255, 255, 0.14);
}

/* Minimal reset for a static, dependency-free one-page deploy. */
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  background: var(--background);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: "Hecto Helvetica", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  text-rendering: geometricPrecision;
}

/* Same neutral grain treatment as the main Hecto website, without a grid or color wash. */
body::before {
  position: fixed;
  inset: -50%;
  z-index: 20;
  content: "";
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='site-grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.65' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='table' tableValues='0.18 0.5 0.82'/%3E%3CfeFuncG type='table' tableValues='0.18 0.5 0.82'/%3E%3CfeFuncB type='table' tableValues='0.18 0.5 0.82'/%3E%3CfeFuncA type='table' tableValues='0 0.05 0.13 0.2'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23site-grain)'/%3E%3C/svg%3E");
  background-size: 116px 116px;
  mix-blend-mode: overlay;
}

body::selection {
  background: var(--amber);
  color: var(--background);
}

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

img,
svg {
  display: block;
}

.landing-shell {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  padding: max(24px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  isolation: isolate;
}

/* Defensive: older iterations used decorative pseudo-elements; keep them explicitly disabled. */
.landing-shell::before,
.landing-shell::after,
.notice::before,
.notice::after {
  display: none;
  content: none;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(148px, 28vw, 190px);
  transition: opacity 220ms ease, transform 220ms ease;
}

/* Keep keyboard focus visible on the three interactive surfaces. */
.brand:focus-visible,
.primary-action:focus-visible,
.socials a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 5px;
}

.brand:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.brand img {
  width: 100%;
  height: auto;
}

/* The central handoff card is square-cornered to match the Hecto interface language. */
.notice {
  position: relative;
  z-index: 1;
  width: min(100%, 608px);
  margin-top: clamp(34px, 5.8vh, 56px);
  border: 1px solid var(--line);
  background: rgba(7, 7, 6, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
  padding: clamp(24px, 5vw, 36px);
  text-align: center;
}

h1 {
  max-width: 11ch;
  margin: 0 auto;
  color: var(--foreground);
  font-family: "Hecto Serif", Georgia, serif;
  font-size: clamp(40px, 10.8vw, 58px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.copy {
  max-width: 34rem;
  margin: clamp(18px, 3vw, 24px) auto 0;
  color: var(--muted);
  font-size: clamp(15px, 2.7vw, 18px);
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

/* Main CTA mirrors the amber primary button treatment from hecto-website-inc. */
.primary-action {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(24px, 4vw, 32px);
  border: 1px solid var(--amber);
  background: var(--amber);
  box-shadow: 0 0 28px rgba(237, 136, 6, 0.24);
  color: var(--background);
  font-family: "Hecto Helvetica", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(11px, 2.6vw, 12px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  padding: 15px clamp(15px, 4vw, 20px) 14px;
  text-transform: uppercase;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.primary-action span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.primary-action svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.5;
  transition: transform 220ms ease;
}

.primary-action:hover {
  border-color: var(--amber-hot);
  background: var(--amber-hot);
  box-shadow: 0 0 34px rgba(237, 136, 6, 0.32);
  transform: translateY(-1px);
}

.primary-action:hover svg {
  transform: translate(1px, -1px);
}

/* Social links sit outside the notice so the domain handoff remains the primary action. */
.follow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: clamp(16px, 2.4vh, 22px);
  margin-top: clamp(34px, 5.4vh, 54px);
}

.follow h2 {
  margin: 0;
  color: var(--foreground);
  font-family: "Hecto Serif", Georgia, serif;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.socials a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(245, 240, 232, 0.66);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.socials a:hover {
  border-color: var(--amber);
  background: rgba(237, 136, 6, 0.08);
  color: var(--amber);
  transform: translateY(-1px);
}

@media (max-width: 620px) {
  .notice {
    width: min(100%, 430px);
    margin-top: 34px;
  }

  .copy {
    line-height: 1.56;
  }

  .primary-action {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .landing-shell {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .notice {
    margin-top: 24px;
    padding: 22px 16px;
  }

  .follow {
    gap: 14px;
    margin-top: 24px;
  }

  h1 {
    font-size: 37px;
  }

  .copy {
    font-size: 14px;
  }

  .primary-action {
    gap: 8px;
    min-height: 46px;
  }

  .socials a {
    width: 42px;
    height: 42px;
  }
}

@media (max-height: 660px) and (min-width: 621px) {
  .landing-shell {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .brand {
    width: 160px;
  }

  .notice {
    margin-top: 26px;
    padding: 24px 30px;
  }

  .follow {
    gap: 14px;
    margin-top: 26px;
  }

  h1 {
    font-size: 44px;
  }

  .copy {
    margin-top: 16px;
    font-size: 16px;
  }

  .primary-action {
    margin-top: 20px;
  }
}

@supports not (height: 100dvh) {
  .landing-shell {
    min-height: 100svh;
  }
}

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