/* Design tokens */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f6f9fc;
  --bg-dark: #0a2540;
  --text-primary: #0a2540;
  --text-secondary: #425466;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #a3acb9;
  --border: #e3e8ee;
  --teal: #007177;
  --teal-hover: #005a5f;
  --deep-teal: #004c54;
  --success: #3eb874;
  --icon-gradient: linear-gradient(135deg, #ff5c93, #f5a623);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-full: 9999px;
  --shadow-card: 0 1px 3px rgba(10, 37, 64, 0.08), 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-float: 0 20px 40px rgba(10, 37, 64, 0.15);
  --max-width: 1240px;
  --nav-height: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Helvetica Neue', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 64px; }
}

/* Typography */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 12px;
}

.eyebrow--light { color: #00a6a6; }

.section-title {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle,
.body-text {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--deep-teal), var(--teal), #00a6a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.chevron { margin-left: 4px; transition: transform 0.2s; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: var(--text-on-dark);
}

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

.btn--primary:hover .chevron { transform: translateX(3px); }

.btn--secondary {
  background: transparent;
  color: var(--teal);
  padding: 0 8px;
}

.btn--secondary:hover .chevron { transform: translateX(3px); }

.btn--large { height: 48px; padding: 0 32px; font-size: 16px; }

.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin-top: 32px;
}

/* Navigation */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: 36px;
  width: auto;
  display: block;
}

.logo--footer {
  height: 40px;
}

/* Gradient icon */
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.icon svg {
  width: 36px;
  height: 36px;
}

.icon--sm {
  margin-bottom: 0;
}

.icon--sm svg {
  width: 30px;
  height: 30px;
}

.nav__links {
  display: none;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--text-primary); }

.nav__actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.2s, opacity 0.2s;
}

.nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__links,
  .nav__actions { display: flex; }
  .nav__toggle { display: none; }
}

.nav.nav--open .nav__links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: white;
  padding: 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

/* Ticker */
.ticker {
  background: var(--bg-dark);
  overflow: hidden;
  height: 36px;
}

.ticker__track {
  display: flex;
  gap: 48px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  padding: 8px 0;
}

.ticker__item {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  flex-shrink: 0;
}

.ticker__tag {
  color: var(--teal);
  margin-right: 8px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
}

.hero__gradient {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(0, 113, 119, 0.12) 0%, rgba(0, 76, 84, 0.06) 40%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: 48px;
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1.1fr; }
}

.hero__title {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
}

.hero__mockups {
  position: relative;
  height: 420px;
  display: none;
}

@media (min-width: 900px) {
  .hero__mockups { display: block; }
}

@media (min-width: 1100px) {
  .hero__mockups { height: 480px; }
}

.mockup {
  position: absolute;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-float);
  padding: 28px;
}

.mockup--back {
  width: 340px;
  top: 10px;
  right: 20px;
  transform: rotate(-4deg);
  opacity: 0.9;
}

.mockup--front {
  width: 300px;
  bottom: 0;
  right: 0;
  transform: rotate(2deg);
}

.mockup__bar {
  height: 10px;
  width: 60%;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 20px;
}

.mockup__row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.mockup__row span {
  flex: 1;
  height: 40px;
  background: var(--bg-secondary);
  border-radius: 4px;
}

.mockup__chart {
  height: 110px;
  background: linear-gradient(to top, rgba(0, 113, 119, 0.15), transparent);
  border-radius: 4px;
}

.mockup__header {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
}

.mockup__plan {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 10px;
}

.mockup__plan--active {
  border-color: var(--teal);
  background: rgba(0, 113, 119, 0.06);
  color: var(--teal);
  font-weight: 600;
}

.mockup__btn {
  margin-top: 16px;
  padding: 12px;
  background: var(--teal);
  color: white;
  text-align: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section--alt { background: var(--bg-secondary); }

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-header {
  margin-bottom: 48px;
}

.section-header--on-dark .section-title { color: var(--text-on-dark); }

/* Split layout */
.split {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__text { order: 2; }
  .split--reverse .split__visual { order: 1; }
}

/* Cards */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--2 { grid-template-columns: 1fr; }
.card-grid--3 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.card__accent--teal { background: linear-gradient(90deg, var(--deep-teal), var(--teal)); }
.card__accent--navy { background: linear-gradient(90deg, var(--bg-dark), var(--deep-teal)); }

.card__title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.card__body {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.card__link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}

.card__link:hover .chevron { transform: translateX(3px); }

/* Feature card (Our Business) */
.feature-card {
  display: grid;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(10, 37, 64, 0.1), 0 8px 16px rgba(10, 37, 64, 0.06);
  overflow: hidden;
}

@media (min-width: 768px) {
  .feature-card { grid-template-columns: 1fr 1fr; }
}

.feature-card__content {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .feature-card__content { padding: 60px 64px; }
}

.feature-card__content .section-title { margin-bottom: 20px; }

.feature-card__visual {
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  min-height: 260px;
}

@media (min-width: 768px) {
  .feature-card__visual { padding: 60px; min-height: auto; }
}

.stat-highlight {
  text-align: center;
}

.stat-highlight__number {
  display: block;
  font-size: clamp(64px, 10vw, 96px);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-highlight__unit { font-size: 0.55em; }

.stat-highlight__caption {
  display: block;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Stat card */
.stat-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 48px;
  text-align: center;
}

.stat-card__number {
  display: block;
  font-size: 64px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.stat-card__unit { font-size: 36px; }

.stat-card__caption {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* Steps */
.steps {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.steps__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.steps__item p {
  color: var(--text-on-dark-muted);
  font-size: 15px;
  line-height: 1.6;
  padding-top: 6px;
}

/* Testimonial */
.testimonial-card {
  background: linear-gradient(135deg, var(--deep-teal), var(--teal));
  border-radius: var(--radius-md);
  padding: 40px;
  color: white;
  box-shadow: var(--shadow-float);
}

.testimonial-card__quote {
  font-size: 48px;
  line-height: 1;
  opacity: 0.5;
  display: block;
  margin-bottom: 8px;
}

.testimonial-card p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-card footer {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
}

/* CTA banner */
.cta-banner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 64px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Jobs */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: left;
  width: 100%;
  font-family: inherit;
}

.job-row:hover,
.job-row:focus-visible {
  border-color: var(--teal);
  box-shadow: var(--shadow-card);
  outline: none;
}

.job-row__info h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.job-row__meta {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.job-row__meta span::before {
  content: '·';
  margin-right: 8px;
  color: var(--border);
}

.job-row__meta span:first-child::before { display: none; }

.job-row__chevron {
  flex-shrink: 0;
  color: var(--teal);
  font-size: 20px;
  transition: transform 0.2s;
}

.job-row:hover .job-row__chevron { transform: translateX(4px); }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  background: white;
  border-radius: var(--radius-md);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-float);
  transform: translateY(16px);
  transition: transform 0.25s;
}

.modal.is-open .modal__panel { transform: translateY(0); }

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal__close:hover { background: var(--border); }

.modal__header {
  padding: 40px 40px 0;
}

.modal__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  padding-right: 40px;
}

.modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.modal__body {
  padding: 24px 40px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.modal__body h4 {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.modal__body h4:first-child { margin-top: 0; }

.modal__body p { margin-bottom: 12px; }
.modal__body p:last-child { margin-bottom: 0; }

.modal__body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.modal__body li { margin-bottom: 6px; }

.modal__footer {
  padding: 0 40px 40px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin: 0 40px 40px;
  padding-left: 0;
  padding-right: 0;
}

/* Application form */
.apply-form {
  padding: 24px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.apply-form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.modal__back {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.modal__back:hover { color: var(--teal-hover); }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field[hidden] { display: none; }

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-field textarea { resize: vertical; min-height: 90px; }

.form-field input[type="file"] {
  padding: 10px 14px;
  cursor: pointer;
}

.form-hint {
  font-size: 13px;
  color: var(--text-secondary);
}

.form-notice {
  font-size: 14px;
  line-height: 1.5;
  color: #8a5a00;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.form-status {
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
}

.form-status--error { color: #d64545; }
.form-status--success { color: var(--success); }

/* Jobs success banner */
.form-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
}

.form-banner--success {
  background: rgba(62, 184, 116, 0.12);
  color: #1f7a4d;
  border: 1px solid rgba(62, 184, 116, 0.3);
}

.form-banner__close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  flex-shrink: 0;
}

.form-banner__close:hover { opacity: 1; }

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  gap: 48px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.5fr 2fr; }
}

.footer__tagline {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-on-dark-muted);
  max-width: 280px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
}

.footer__links h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-on-dark-muted);
}

.footer__links a {
  display: block;
  font-size: 14px;
  color: var(--text-on-dark-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--text-on-dark); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

/* Chat widget */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-dark);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-float);
  transition: background 0.2s, transform 0.15s;
}

.chat-widget:hover {
  background: var(--deep-teal);
  transform: translateY(-2px);
}

.chat-widget__dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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