/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@font-face {
  font-family: "Agile Syne";
  src: url("/assets/agile/Syne-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Agile Kanit";
  src: url("/assets/agile/Kanit-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Agile Kanit";
  src: url("/assets/agile/Kanit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Agile Kanit";
  src: url("/assets/agile/Kanit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Agile Kanit";
  src: url("/assets/agile/Kanit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Agile Kanit";
  src: url("/assets/agile/Kanit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.brand-agile {
  --agile-navy: #0D1F3C;
  --agile-navy-mid: #162d52;
  --agile-navy-light: #1e3d70;
  --agile-navy-deep: #08131f;
  --agile-navy-code: #0a1628;
  --agile-turquoise: #3ECFB2;
  --agile-turquoise-hi: #5de0c8;
  --agile-turquoise-dim: rgba(62, 207, 178, 0.15);
  --agile-fg: #ffffff;
  --agile-fg-2: rgba(255, 255, 255, 0.75);
  --agile-fg-muted: rgba(255, 255, 255, 0.5);
  --agile-border: rgba(62, 207, 178, 0.2);
  --agile-border-faint: rgba(255, 255, 255, 0.08);
  --agile-radius: 4px;
  --agile-radius-lg: 12px;
  background: var(--agile-navy);
  color: var(--agile-fg);
  font-family: "Agile Kanit", system-ui, sans-serif;
  font-weight: 300;
}

.brand-agile header.bg-white,
.brand-agile footer.bg-white {
  background: rgba(13, 31, 60, 0.95) !important;
  border-color: var(--agile-border-faint) !important;
}

.brand-agile .text-carbon,
.brand-agile .text-body {
  color: var(--agile-fg) !important;
}

.brand-agile .text-muted {
  color: var(--agile-fg-muted) !important;
}

.brand-agile .text-forest,
.brand-agile .text-green-bright {
  color: var(--agile-turquoise) !important;
}

.brand-agile .bg-sage-white,
.brand-agile .bg-white {
  background-color: var(--agile-navy-mid) !important;
}

.brand-agile .bg-sage {
  background-color: var(--agile-turquoise-dim) !important;
}

.brand-agile .bg-forest,
.brand-agile .bg-green-bright {
  background-color: var(--agile-turquoise) !important;
  color: var(--agile-navy) !important;
}

.brand-agile .bg-forest-deep {
  background-color: var(--agile-navy-deep) !important;
}

.brand-agile .border-border,
.brand-agile .border-forest {
  border-color: var(--agile-border) !important;
}

.brand-agile input,
.brand-agile select,
.brand-agile textarea {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: var(--agile-border-faint) !important;
  border-radius: var(--agile-radius) !important;
  color: var(--agile-fg) !important;
  font-weight: 300;
}

.brand-agile input::placeholder,
.brand-agile textarea::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

.brand-agile input:focus,
.brand-agile textarea:focus {
  border-color: var(--agile-turquoise) !important;
  background: rgba(62, 207, 178, 0.04) !important;
  box-shadow: none !important;
}

.brand-agile .rounded-xl,
.brand-agile .rounded-lg {
  border-radius: var(--agile-radius-lg) !important;
}

.brand-agile .rounded-md {
  border-radius: var(--agile-radius) !important;
}

.brand-agile h1,
.brand-agile h2 {
  font-family: "Agile Syne", Georgia, serif;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
}

.brand-agile h1 em,
.brand-agile h2 em,
.agile-page em {
  color: var(--agile-turquoise);
  font-style: normal;
  font-weight: 700;
}

.agile-page {
  background: var(--agile-navy);
  color: var(--agile-fg);
  overflow: hidden;
}

.agile-container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.agile-hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.agile-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 207, 178, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 207, 178, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.agile-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 207, 178, 0.12) 0%, transparent 70%);
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  pointer-events: none;
}

.agile-label {
  font-family: "DM Mono", "JetBrains Mono", Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--agile-turquoise);
}

.agile-display {
  font-family: "Agile Syne", Georgia, serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.agile-body-lg {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--agile-fg-2);
}

.agile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--agile-radius);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1.5px solid transparent;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.agile-btn-primary {
  background: var(--agile-turquoise);
  color: var(--agile-navy);
  border-color: var(--agile-turquoise);
}

.agile-btn-primary:hover {
  background: var(--agile-turquoise-hi);
  border-color: var(--agile-turquoise-hi);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(62, 207, 178, 0.3);
}

.agile-card {
  background: var(--agile-navy-mid);
  border: 1px solid var(--agile-border);
  border-radius: var(--agile-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
