/* offr.click — design system */
:root {
  --ink: #0a1219;
  --ink-soft: #1a2836;
  --slate: #3d5163;
  --muted: #6b7f90;
  --line: rgba(10, 18, 25, 0.1);
  --line-strong: rgba(10, 18, 25, 0.18);
  --paper: #f4f7f9;
  --paper-2: #e8eef3;
  --white: #ffffff;
  --accent: #0c8f7a;
  --accent-deep: #067062;
  --accent-soft: rgba(12, 143, 122, 0.12);
  --warn: #b45309;
  --warn-soft: rgba(180, 83, 9, 0.1);
  --radius: 10px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(10, 18, 25, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

/* ——— Atmosphere ——— */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ——— Layout ——— */
.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(440px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Nav ——— */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.2s var(--ease);
}

.nav-links a:not(.btn):hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.925rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ink-soft);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--ink);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6.5rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(12, 143, 122, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(26, 40, 54, 0.08), transparent 50%),
    linear-gradient(165deg, #eef3f6 0%, #f4f7f9 40%, #dfe8ef 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black, transparent);
  opacity: 0.7;
}

.hero-visual {
  position: absolute;
  right: -5%;
  top: 12%;
  width: min(58vw, 720px);
  aspect-ratio: 1.15;
  pointer-events: none;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.brand-mark .dot {
  color: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  max-width: 22ch;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.25s forwards;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 38ch;
  margin-bottom: 2rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.7;
  }
}

.hero-visual .orb {
  animation: float 8s ease-in-out infinite;
}

.hero-visual .ring {
  animation: pulse-ring 4s ease-in-out infinite;
  transform-origin: center;
}

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.section-lead {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 48ch;
}

.section-head {
  margin-bottom: 3rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split-visual {
  position: relative;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(145deg, var(--ink) 0%, #152433 100%);
}

.split-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(12, 143, 122, 0.35), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06), transparent 40%);
}

.split-visual svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-list li {
  padding-left: 1.15rem;
  border-left: 2px solid var(--accent);
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.feature-list p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* ——— Capabilities band ——— */
.band {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(12, 143, 122, 0.2), transparent 55%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03) 50%, transparent);
}

.band .wrap {
  position: relative;
  z-index: 1;
}

.band .section-label {
  color: #5fd4c0;
}

.band h2 {
  color: var(--white);
  max-width: 18ch;
}

.band .section-lead {
  color: rgba(244, 247, 249, 0.65);
}

.capability-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.capability h3 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.capability p {
  color: rgba(244, 247, 249, 0.58);
  font-size: 0.95rem;
}

/* ——— CTA strip ——— */
.cta-strip {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  text-align: center;
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta-strip p {
  color: var(--slate);
  margin-bottom: 1.75rem;
}

.cta-strip a.mail {
  color: var(--accent-deep);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ——— Footer ——— */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-brand span {
  color: var(--accent);
}

.footer p,
.footer a {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer a:hover {
  color: var(--ink);
}

/* ——— Auth pages ——— */
.auth-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-aside {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 30% 20%, rgba(12, 143, 122, 0.25), transparent 55%),
    linear-gradient(160deg, #0a1219 0%, #152433 55%, #0d1a22 100%);
  color: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent);
}

.auth-aside .logo {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.auth-aside-copy {
  position: relative;
  z-index: 1;
  max-width: 360px;
}

.auth-aside-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.auth-aside-copy p {
  color: rgba(244, 247, 249, 0.62);
  font-size: 1rem;
}

.auth-aside-meta {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: rgba(244, 247, 249, 0.45);
}

.auth-aside-meta a {
  color: #5fd4c0;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: var(--paper);
}

.auth-card {
  width: min(400px, 100%);
}

.auth-card h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.auth-card .sub {
  color: var(--slate);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.field input,
.field select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--slate);
}

.form-footer a {
  color: var(--accent-deep);
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

.auth-switch {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--slate);
}

.auth-switch a {
  color: var(--ink);
  font-weight: 650;
  border-bottom: 1px solid var(--line-strong);
}

.auth-switch a:hover {
  border-color: var(--ink);
}

.login-note {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--warn-soft);
  border: 1px solid rgba(180, 83, 9, 0.2);
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.login-note a {
  color: var(--accent-deep);
  font-weight: 650;
}

/* ——— Pending / status ——— */
.status-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(12, 143, 122, 0.1), transparent 55%),
    var(--paper);
}

.status-page .nav {
  position: relative;
  background: transparent;
}

.status-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 4rem;
}

.status-panel {
  width: min(480px, 100%);
  text-align: center;
}

.status-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--warn-soft);
  color: var(--warn);
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-panel h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.status-panel p {
  color: var(--slate);
  margin-bottom: 1rem;
}

.status-panel .email-hint {
  display: inline-block;
  margin: 0.5rem 0 1.75rem;
  padding: 0.65rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.status-panel .email-hint a {
  color: var(--accent-deep);
  font-weight: 650;
}

.status-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .split,
  .capability-row,
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    min-height: 240px;
    padding: 1.5rem;
  }

  .auth-aside-copy h2 {
    font-size: 1.5rem;
  }

  .hero-visual {
    opacity: 0.35;
    right: -20%;
    top: 5%;
    width: 90vw;
  }

  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 0.65rem 0.5rem;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 6rem;
    align-items: center;
  }
}
