/* =========================================================================
   Agrosat page — tech-forward, data-rich visual theme
   ========================================================================= */

.agrosat-page {
  --as-bg: #0A1F1A;
  --as-bg-alt: #081713;
  --as-surface: rgba(255, 255, 255, 0.03);
  --as-surface-hover: rgba(255, 255, 255, 0.06);
  --as-border: rgba(190, 242, 100, 0.12);
  --as-border-hot: rgba(190, 242, 100, 0.35);
  --as-text: #EDE7DA;
  --as-text-muted: rgba(237, 231, 218, 0.65);
  --as-lime: #BEF264;
  --as-lime-dark: #84CC16;
  --as-teal: #2DD4BF;
  --as-blue: #60A5FA;
  --as-purple: #C084FC;
  --as-amber: #FBBF24;
  --as-orange: #FB923C;
  --as-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  background: var(--as-bg);
  color: var(--as-text);
}

.agrosat-page .site-footer { background: #050D0A; }

/* =========== HERO =========== */
.as-hero {
  position: relative;
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--as-bg);
}

.as-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.as-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(190, 242, 100, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 242, 100, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.as-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}
.as-hero__glow--1 {
  top: 10%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, #84CC16 0%, transparent 70%);
  animation-delay: 0s;
}
.as-hero__glow--2 {
  top: 20%; right: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, #2DD4BF 0%, transparent 70%);
  animation-delay: -7s;
}
.as-hero__glow--3 {
  bottom: -10%; left: 30%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, #60A5FA 0%, transparent 70%);
  animation-delay: -14s;
  opacity: 0.25;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.as-hero__inner { max-width: 900px; padding-top: 1.5rem; }

.as-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  background: rgba(190, 242, 100, 0.08);
  border: 1px solid var(--as-border);
  border-radius: 999px;
  font-family: var(--as-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--as-lime);
  margin-bottom: 1.5rem;
}
.as-badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--as-lime);
  box-shadow: 0 0 12px var(--as-lime);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.as-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--as-text);
  font-weight: 500;
  font-variation-settings: "opsz" 60;
  margin: 0;
}

.as-gradient-text {
  background: linear-gradient(100deg, var(--as-lime) 0%, var(--as-teal) 60%, var(--as-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.as-hero__lede {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--as-text-muted);
  max-width: 58ch;
}

.as-hero__cta {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.as-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.as-btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.as-btn:hover svg { transform: translate(2px, -2px); }

.as-btn--primary {
  background: linear-gradient(100deg, var(--as-lime) 0%, var(--as-teal) 100%);
  color: var(--as-bg);
  box-shadow: 0 4px 24px rgba(190, 242, 100, 0.3);
}
.as-btn--primary:hover {
  box-shadow: 0 6px 32px rgba(190, 242, 100, 0.5);
  transform: translateY(-1px);
}
.as-btn--ghost {
  background: transparent;
  color: var(--as-text);
  border-color: rgba(237, 231, 218, 0.2);
}
.as-btn--ghost:hover {
  border-color: var(--as-lime);
  color: var(--as-lime);
}

.as-live-stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--as-surface);
  border: 1px solid var(--as-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
@media (min-width: 720px) { .as-live-stats { grid-template-columns: repeat(4, 1fr); } }

.as-stat { position: relative; padding: 0 1rem; }
.as-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background: var(--as-border);
}
@media (max-width: 719px) {
  .as-stat:nth-child(2)::after { display: none; }
}

.as-stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--as-lime);
  font-variation-settings: "opsz" 48;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.as-stat__label {
  font-family: var(--as-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--as-text-muted);
}

/* =========== SHARED =========== */
.as-eyebrow {
  display: inline-block;
  font-family: var(--as-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--as-lime);
  padding: 0.35rem 0.75rem;
  background: rgba(190, 242, 100, 0.08);
  border: 1px solid var(--as-border);
  border-radius: 999px;
}
.as-h1, .as-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--as-text);
  font-variation-settings: "opsz" 60;
  margin: 0;
}
.as-h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.as-h2 { font-size: clamp(1.9rem, 4vw, 3rem); }

.as-section-header {
  max-width: 64ch;
  margin: 0 auto 3rem;
  text-align: center;
}
.as-section-header h2 { margin-top: 1rem; }
.as-section-header p {
  margin-top: 1.2rem;
  color: var(--as-text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* =========== MODULES BENTO =========== */
.as-modules {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--as-bg-alt);
  border-top: 1px solid var(--as-border);
  border-bottom: 1px solid var(--as-border);
}

.as-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .as-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
  }
}

.as-tile {
  position: relative;
  padding: 1.6rem 1.6rem 1.8rem;
  background: var(--as-surface);
  border: 1px solid var(--as-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  isolation: isolate;
}
.as-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at top left, rgba(190, 242, 100, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.as-tile:hover {
  border-color: var(--as-border-hot);
  background: var(--as-surface-hover);
  transform: translateY(-2px);
}
.as-tile:hover::before { opacity: 1; }

.as-tile--xl {
  grid-column: span 1;
}
@media (min-width: 720px) {
  .as-tile--xl {
    grid-column: span 2;
    grid-row: span 2;
    padding: 2.2rem;
  }
}

.as-tile__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  border: 1px solid currentColor;
  position: relative;
}
.as-tile__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: currentColor;
  opacity: 0.08;
}
.as-tile__icon svg { width: 22px; height: 22px; position: relative; z-index: 1; }

.as-tile--xl .as-tile__icon { width: 56px; height: 56px; }
.as-tile--xl .as-tile__icon svg { width: 26px; height: 26px; }

.as-tile__icon--green { color: var(--as-lime); box-shadow: 0 0 30px rgba(190, 242, 100, 0.25); }
.as-tile__icon--lime { color: var(--as-lime-dark); }
.as-tile__icon--teal { color: var(--as-teal); box-shadow: 0 0 30px rgba(45, 212, 191, 0.2); }
.as-tile__icon--blue { color: var(--as-blue); }
.as-tile__icon--purple { color: var(--as-purple); box-shadow: 0 0 30px rgba(192, 132, 252, 0.25); }
.as-tile__icon--amber { color: var(--as-amber); }
.as-tile__icon--orange { color: var(--as-orange); }

.as-tile__tag {
  display: inline-block;
  font-family: var(--as-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--as-text-muted);
  padding: 0.25rem 0.6rem;
  background: rgba(237, 231, 218, 0.05);
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

.as-tile h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--as-text);
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}
.as-tile--xl h3 { font-size: 1.8rem; }

.as-tile p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--as-text-muted);
  margin: 0;
}
.as-tile--xl p { font-size: 1rem; }

/* Mini data viz in featured tile */
.as-mini-viz {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 80px;
  margin-top: 1.8rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--as-border);
  border-radius: 8px;
}
.as-mini-viz__bar {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--as-lime) 0%, var(--as-teal) 100%);
  border-radius: 2px 2px 0 0;
  position: relative;
  transition: transform 0.3s var(--ease);
  box-shadow: 0 0 12px rgba(190, 242, 100, 0.3);
}
.as-mini-viz__bar--hot {
  background: linear-gradient(180deg, var(--as-amber) 0%, var(--as-orange) 100%);
  box-shadow: 0 0 12px rgba(251, 146, 60, 0.4);
}
.as-mini-viz:hover .as-mini-viz__bar { transform: scaleY(1.05); transform-origin: bottom; }
.as-mini-viz-label {
  font-family: var(--as-mono);
  font-size: 0.72rem;
  color: var(--as-text-muted);
  margin-top: 0.6rem;
  letter-spacing: 0.06em;
}

/* =========== FLOW =========== */
.as-flow {
  padding-block: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}

.as-flow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .as-flow-steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0.5rem;
  }
}
.as-flow-step {
  background: var(--as-surface);
  border: 1px solid var(--as-border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: all 0.4s var(--ease);
}
.as-flow-step:hover {
  border-color: var(--as-border-hot);
  transform: translateY(-2px);
}
.as-flow-step__no {
  font-family: var(--as-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--as-lime);
  margin-bottom: 0.8rem;
}
.as-flow-step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--as-text);
  margin: 0 0 0.6rem;
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.015em;
}
.as-flow-step p {
  color: var(--as-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
.as-flow-step p em {
  color: var(--as-lime);
  font-style: normal;
  font-family: var(--as-mono);
}

.as-flow-arrow {
  display: grid;
  place-items: center;
  color: var(--as-lime);
  font-size: 1.6rem;
  font-family: var(--as-mono);
  opacity: 0.6;
}
@media (max-width: 899px) { .as-flow-arrow { transform: rotate(90deg); } }

/* =========== WHY =========== */
.as-why {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--as-bg-alt);
  border-top: 1px solid var(--as-border);
}
.as-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) { .as-why__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.as-why__text h2 { margin-top: 1rem; }
.as-why__text p {
  color: var(--as-text-muted);
  margin-top: 1.2rem;
  line-height: 1.6;
  font-size: 1rem;
}

.as-why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.as-why__stat {
  background: var(--as-surface);
  border: 1px solid var(--as-border);
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.as-why__stat:hover { border-color: var(--as-border-hot); }
.as-why__stat-v {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--as-lime);
  font-variation-settings: "opsz" 48;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.as-why__stat-l {
  font-family: var(--as-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--as-text-muted);
}

/* =========== CTA =========== */
.as-cta {
  padding-block: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--as-bg);
}
.as-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.center { text-align: center; }

/* =========== INVITE TILE (forside) — matcher modul-tiles =========== */
.as-tile--invite {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-top: 1.5rem;
  border-color: rgba(190, 242, 100, 0.3);
  background: linear-gradient(135deg, rgba(190, 242, 100, 0.08), rgba(45, 212, 191, 0.04));
  cursor: pointer;
}
.as-tile--invite:hover {
  border-color: var(--as-border-hot);
  background: linear-gradient(135deg, rgba(190, 242, 100, 0.14), rgba(45, 212, 191, 0.08));
}
.as-tile--invite::before {
  background: radial-gradient(circle at top left, rgba(190, 242, 100, 0.14), transparent 60%) !important;
}
.as-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--as-lime);
  font-weight: 500;
  font-size: 0.92rem;
  margin-top: 1rem;
  transition: gap 0.3s var(--ease);
}
.as-tile--invite:hover .as-tile__cta { gap: 0.9rem; }

/* =========== TRIAL CODE GENERATOR =========== */
.as-trial {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--as-bg-alt);
  border-top: 1px solid var(--as-border);
  position: relative;
  overflow: hidden;
}
.as-trial::before {
  content: "";
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(190, 242, 100, 0.08) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.as-trial-card {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--as-border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}

.as-trial-form { display: flex; flex-direction: column; gap: 1rem; }

.as-trial-field { display: flex; flex-direction: column; gap: 0.4rem; }
.as-trial-field label {
  font-family: var(--as-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--as-text-muted);
}
.as-trial-field label span { color: var(--as-lime); }
.as-trial-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1.5px solid var(--as-border);
  border-radius: 10px;
  color: var(--as-text);
  font: inherit;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
}
.as-trial-field input:focus {
  outline: none;
  border-color: var(--as-lime);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 3px rgba(190, 242, 100, 0.12);
}
.as-trial-field input::placeholder { color: rgba(237, 231, 218, 0.3); }

.as-trial-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--as-text-muted);
  cursor: pointer;
}
.as-trial-check input[type=checkbox] {
  width: 18px; height: 18px;
  accent-color: var(--as-lime);
  flex-shrink: 0;
  margin-top: 2px;
}

.as-btn--wide { width: 100%; justify-content: center; }

.as-trial-error {
  padding: 0.7rem 1rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  color: #FCA5A5;
  font-size: 0.88rem;
}

/* Result state */
.as-trial-result { text-align: center; animation: fade-in 0.4s var(--ease); }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.as-trial-result__icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--as-lime), var(--as-teal));
  color: var(--as-bg);
  box-shadow: 0 0 40px rgba(190, 242, 100, 0.4);
  animation: success-pulse 2s ease-in-out infinite;
}
.as-trial-result__icon svg { width: 32px; height: 32px; }
@keyframes success-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(190, 242, 100, 0.4); }
  50%      { box-shadow: 0 0 60px rgba(190, 242, 100, 0.6); }
}

.as-trial-result__label {
  font-family: var(--as-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--as-lime);
  margin-bottom: 0.8rem;
}

.as-trial-code {
  font-family: var(--as-mono);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  padding: 1.1rem 1rem;
  background: linear-gradient(135deg, rgba(190, 242, 100, 0.1), rgba(45, 212, 191, 0.06));
  border: 2px dashed var(--as-lime);
  border-radius: 12px;
  color: var(--as-text);
  letter-spacing: 0.06em;
  user-select: all;
  margin-bottom: 1rem;
  word-break: break-all;
}

.as-trial-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 1.5px solid var(--as-border);
  border-radius: 999px;
  color: var(--as-text);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  margin-bottom: 2rem;
}
.as-trial-copy:hover { border-color: var(--as-lime); color: var(--as-lime); }
.as-trial-copy svg { width: 15px; height: 15px; }
.as-trial-copy.is-copied { border-color: var(--as-lime); color: var(--as-lime); background: rgba(190, 242, 100, 0.1); }

.as-trial-steps {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--as-border);
  border-radius: 12px;
  text-align: left;
  margin-bottom: 1.25rem;
}
.as-trial-step {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--as-text-muted);
  line-height: 1.45;
}
.as-trial-step a { color: var(--as-lime); text-decoration: underline; text-underline-offset: 3px; }
.as-trial-step em {
  color: var(--as-lime);
  font-style: normal;
  font-family: var(--as-mono);
  font-size: 0.85em;
  padding: 0.1rem 0.35rem;
  background: rgba(190, 242, 100, 0.12);
  border-radius: 4px;
}
.as-trial-step__no {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(190, 242, 100, 0.14);
  color: var(--as-lime);
  display: grid;
  place-items: center;
  font-family: var(--as-mono);
  font-size: 0.75rem;
  font-weight: 500;
  flex-shrink: 0;
}

.as-trial-meta {
  font-size: 0.82rem;
  color: var(--as-text-muted);
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}
.as-trial-meta strong { color: var(--as-lime); font-weight: 500; }

.as-trial-reset {
  display: block;
  margin: 1rem auto 0;
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  color: var(--as-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.as-trial-reset:hover { color: var(--as-text); }

/* =========================================================================
   MOBIL-OPTIMALISERING for Agrosat-siden (<= 640px)
   ========================================================================= */
@media (max-width: 640px) {
  .as-hero { padding-top: 5.5rem; padding-bottom: 3rem; }
  .as-hero__title { font-size: clamp(2rem, 9vw, 3rem); line-height: 1.05; }
  .as-hero__lede { font-size: 0.95rem; }
  .as-hero__inner { padding-top: 0; }

  .as-live-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 1rem;
    margin-top: 2rem;
  }
  .as-stat { padding: 0 0.5rem; }
  .as-stat:nth-child(2n)::after { display: none; }
  .as-stat__value { font-size: 1.5rem; }
  .as-stat__label { font-size: 0.6rem; }

  .as-h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .as-h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .as-section-header { margin-bottom: 2rem; }

  .as-bento { gap: 0.75rem; }
  .as-tile { padding: 1.25rem; }
  .as-tile--xl { min-height: auto; padding: 1.5rem; }
  .as-tile--xl h3 { font-size: 1.5rem; }
  .as-tile h3 { font-size: 1.2rem; }
  .as-tile p { font-size: 0.88rem; }
  .as-mini-viz { height: 60px; }

  .as-btn { padding: 0.85rem 1.3rem; font-size: 0.92rem; min-height: 44px; }
  .as-btn--wide { font-size: 0.95rem; }

  .as-flow-steps { gap: 0.75rem; }
  .as-flow-step { padding: 1.25rem; }
  .as-flow-step h3 { font-size: 1.2rem; }
  .as-flow-arrow { transform: rotate(90deg); font-size: 1.3rem; }

  .as-why__grid { gap: 2rem; }
  .as-why__stats { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .as-why__stat { padding: 1rem 0.75rem; }
  .as-why__stat-v { font-size: 1.6rem; }

  .as-trial-card { padding: 1.5rem 1.25rem; }
  .as-trial-code { font-size: 1rem; padding: 0.9rem; }
  .as-trial-steps { padding: 1rem; }
  .as-trial-step { font-size: 0.88rem; }

  .as-invite { padding: 1.25rem; }
  .as-invite h3 { font-size: 1.2rem; }
}
