/* Hyperresearch sender-domain page. Daylight tokens and shell rules copied
   from hyperresearch-cloud apps/landing (styles.css, styles/shell.css). */
@import "./fonts.css";

:root {
  --paper: #fafbf8;
  --text: #252923;
  --text-secondary: #60675e;
  --rule: #e3e6de;
  --rule-strong: #c9cec3;
  --accent: #76619b;
  --page-gutter: clamp(22px, 5.55vw, 96px);
  --content-width: 1360px;
  --radius-control: 7px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: clamp(3.25rem, 7.25vw, 6.75rem);
  --font-ui: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --font-detail: "IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.6 var(--font-ui);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #e3ddef; color: var(--text); }

.page { min-height: 100svh; display: flex; flex-direction: column; overflow-x: clip; }
.container {
  width: 100%;
  max-width: calc(var(--content-width) + var(--page-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* navigation */
.nav-inner { height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; color: var(--text); white-space: nowrap; }
.brand-link > img { width: 24px; height: 24px; display: block; }
.brand-link > span { font-size: 23px; font-weight: 700; letter-spacing: -.06em; line-height: 1.2; }
.nav-link { font-size: 13px; font-weight: 550; color: var(--text-secondary); white-space: nowrap; }
.nav-link:hover { color: var(--accent); }

/* hero */
main { flex: 1; display: flex; align-items: center; }
.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  padding-block: 40px 79px;
}
.hero-copy { position: relative; z-index: 1; padding-block: 22px; }
.hero-copy h1 {
  margin: 0;
  font-size: var(--font-display);
  font-weight: 500;
  line-height: 1.055;
  letter-spacing: -.069em;
  white-space: nowrap;
}
.hero-copy h1 > span { color: #7b8378; }
.hero-description {
  max-width: 435px;
  margin: 30px 0 0;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.24vw, 18px);
  line-height: 1.75;
  letter-spacing: -.018em;
}
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 32px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--text);
  border-radius: var(--radius-control);
  background: var(--text);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.button:hover { background: #424b3d; border-color: #424b3d; color: #fff; box-shadow: 0 4px 12px #25292312; transform: translateY(-1px); }
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.button:hover svg { transform: translateX(2px); }

.hero-art { position: relative; width: 100%; max-width: 560px; justify-self: end; aspect-ratio: 1; animation: sphere-enter 1.2s var(--ease) both; }
.orb-still, .orb-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.orb-canvas { visibility: hidden; }
.orb-canvas.is-ready { visibility: visible; }
.orb-still.is-hidden { visibility: hidden; }
@keyframes sphere-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* footer */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-block: 23px;
  border-top: 1px solid var(--rule);
  font-size: 10px;
  color: #87907b;
}

@media (max-width: 900px) {
  .nav-inner { height: 80px; }
  .brand-link { gap: 7px; }
  .brand-link > span { font-size: 19px; }
  .hero-layout { grid-template-columns: 1fr; padding-block: 8px 55px; }
  .hero-art { order: -1; justify-self: center; max-width: 340px; }
  .hero-copy h1 { white-space: normal; }
}
@media (max-width: 520px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
