/* Soryn Technologies — landing page
   Single stylesheet, no external dependencies. */

:root {
  --bg:        #07090c;
  --bg-lift:   #0c1015;
  --ink:       #e8edf2;
  --ink-dim:   #98a3af;
  --ink-faint: #5d6874;
  --line:      rgba(146, 168, 190, 0.14);
  --line-soft: rgba(146, 168, 190, 0.07);
  --signal:    #6fe3c4;
  --signal-dim:rgba(111, 227, 196, 0.14);
  --warn:      #f2a65a;

  --sans: ui-sans-serif, -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", "Segoe UI Mono", Menlo, Consolas, monospace;

  --gut: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* ---------- backdrop ---------- */

.field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(90rem 60rem at 78% -10%, rgba(111, 227, 196, 0.10), transparent 60%),
    radial-gradient(60rem 40rem at 8% 105%, rgba(90, 140, 200, 0.08), transparent 60%),
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--bg);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, rgba(0, 0, 0, 0.35) 100%);
}

/* ---------- top bar ---------- */

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.35rem var(--gut);
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

/* Supplied artwork is black on transparent; assets/logo.png is the same mark
   recoloured white so it reads on the dark bar. */
.mark__logo {
  display: block;
  height: 24px;
  width: auto;
  opacity: 0.94;
  transition: opacity 0.2s;
}

.mark:hover .mark__logo { opacity: 1; }

.mark__word {
  font-family: var(--mono);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  padding-left: 0.15em;
  /* trailing letter-space would otherwise push the wordmark off-centre */
  margin-right: -0.3em;
}

.bar__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 1.75rem);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.015);
}

.chip__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(111, 227, 196, 0.55);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(111, 227, 196, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(111, 227, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 227, 196, 0); }
}

.bar__link {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.bar__link:hover { color: var(--ink); border-bottom-color: var(--signal); }

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social:hover {
  color: var(--signal);
  border-color: rgba(111, 227, 196, 0.45);
  background: rgba(111, 227, 196, 0.06);
}

/* ---------- layout ---------- */

.wrap {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero__copy { max-width: 36rem; }

/* ---------- copy ---------- */

.eyebrow {
  margin: 0 0 1.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.title {
  margin: 0 0 1.35rem;
  font-size: clamp(2.4rem, 6.2vw, 4.05rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 560;
  text-wrap: balance;
}

.title__accent {
  color: var(--signal);
  /* keeps the accent readable against the glow */
  text-shadow: 0 0 42px rgba(111, 227, 196, 0.28);
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.5vw, 1.075rem);
  text-wrap: pretty;
}

.soon {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 2.2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.soon__rule {
  height: 1px;
  width: clamp(1.5rem, 6vw, 3.25rem);
  background: linear-gradient(to right, transparent, var(--signal));
}

/* ---------- signup ---------- */

.signup { margin: 0 0 1.9rem; }

.signup__label {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.signup__row {
  display: flex;
  gap: 0.5rem;
  max-width: 30rem;
}

.signup__input {
  flex: 1;
  min-width: 0;
  padding: 0.82rem 1rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.signup__input::placeholder { color: var(--ink-faint); }

.signup__input:focus {
  border-color: rgba(111, 227, 196, 0.5);
  background: rgba(111, 227, 196, 0.04);
  box-shadow: 0 0 0 3px var(--signal-dim);
}

.signup__input[aria-invalid="true"] { border-color: rgba(242, 166, 90, 0.6); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 1.15rem;
  color: #04120e;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--signal);
  border: 1px solid var(--signal);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.btn:hover { box-shadow: 0 0 28px rgba(111, 227, 196, 0.3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: default; box-shadow: none; }

.btn__arrow {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}

.btn:hover .btn__arrow { transform: translateX(2px); }

.signup__msg {
  margin: 0.7rem 0 0;
  min-height: 1.2em;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.signup__msg[data-state="ok"]  { color: var(--signal); }
.signup__msg[data-state="err"] { color: var(--warn); }

/* honeypot — visually gone, still reachable to bots */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.contact__link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 227, 196, 0.45);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.contact__link:hover { color: var(--signal); border-bottom-color: var(--signal); }

/* ---------- radar scope ---------- */

.hero__visual {
  display: flex;
  justify-content: center;
}

.scope {
  position: relative;
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, rgba(111, 227, 196, 0.05), transparent 62%),
    var(--bg-lift);
  overflow: hidden;
}

.scope__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.scope__hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scope__tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.scope__tag--tl { top: 0.9rem; left: 1rem; }
.scope__tag--tr { top: 0.9rem; right: 1rem; color: var(--signal); opacity: 0.75; }
.scope__tag--bl { bottom: 0.9rem; left: 1rem; }
.scope__tag--br { bottom: 0.9rem; right: 1rem; }

/* corner brackets */
.scope::before,
.scope::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(111, 227, 196, 0.4);
}

.scope::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.scope::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* ---------- pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.pillar {
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
  background: rgba(12, 16, 21, 0.72);
  transition: background 0.25s;
}

.pillar:hover { background: rgba(111, 227, 196, 0.035); }

.pillar__num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--signal);
  opacity: 0.7;
}

.pillar__title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 580;
  letter-spacing: -0.01em;
}

.pillar__body {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-dim);
  text-wrap: pretty;
}

/* ---------- footer ---------- */

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--gut) 2rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.foot p { margin: 0; }
.foot a { text-decoration: none; transition: color 0.2s; }
.foot a:hover { color: var(--signal); }
.foot__sep { padding: 0 0.5rem; opacity: 0.4; }

/* ---------- focus ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero__visual { order: -1; }
  .scope { max-width: 22rem; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  /* Wordmark + Contact + LinkedIn is all that fits; "Building" is already said
     by the "More coming soon." line in the hero. */
  .chip { display: none; }
}

@media (max-width: 520px) {
  .signup__row { flex-direction: column; }
  .btn { justify-content: center; }
  .foot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
