/* ============================================
   Blue. — Marketing Site Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: #0C3260;
  background-color: #F0F7FF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid #4A9ED6;
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background-color: rgba(74, 158, 214, 0.2);
  color: #0C3260;
}

/* --- Typography --- */
.display {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.1;
}

h1, .h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.15;
}

h2, .h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
}

h3, .h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
}

.lead {
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.6;
}

.eyebrow {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5DCAA5;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  padding: 64px 0;
}

.section--navy {
  background-color: #0C3260;
  color: #FFFFFF;
}

.section--navy-image {
  background: linear-gradient(180deg, rgba(12, 50, 96, 0.6) 0%, rgba(12, 50, 96, 0.6) 100%),
    url('Hero-banners-website4.png') center center / cover no-repeat;
  color: #FFFFFF;
  background-size: cover;
  background-position: center center;
}

.section--navy-image .eyebrow {
  color: #5DCAA5;
}

.section--navy .eyebrow {
  color: #5DCAA5;
}

.section--light {
  background-color: #EAF4FB;
}

.section--white {
  background-color: #FFFFFF;
}

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

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

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

.grid--4 {
  grid-template-columns: 1fr;
}

.logo-svg {
  height: 35px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.logo-svg--footer {
  height: 30px;
}

.logo-tagline {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: #888;
  margin-left: 6px;
  letter-spacing: 0.02em;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFFFF;
  border-bottom: 1px solid rgba(12, 50, 96, 0.08);
  transition: box-shadow 0.2s ease;
}

.nav--scrolled {
  box-shadow: 0 4px 20px rgba(12, 50, 96, 0.06);
  border-bottom-color: transparent;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #0C3260;
  transition: color 0.15s ease;
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: #1565A8;
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #4A9ED6;
  border-radius: 1px;
}

.nav__cta {
  display: none;
  font-size: 0.75rem;
  padding: 6px 16px;
}

/* Mobile menu toggle */
.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #0C3260;
  position: relative;
  transition: background-color 0.2s ease;
}

.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: #0C3260;
  transition: transform 0.2s ease;
}

.nav__toggle-bar::before {
  top: -7px;
}

.nav__toggle-bar::after {
  top: 7px;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar {
  background-color: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(12, 50, 96, 0.08);
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile .nav__link {
  padding: 12px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(12, 50, 96, 0.06);
}

.nav__mobile .btn {
  margin-top: 16px;
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn--primary {
  background-color: #4A9ED6;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(74, 158, 214, 0.25);
}

.btn--primary:hover {
  background-color: #1565A8;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(21, 101, 168, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(21, 101, 168, 0.2);
}

.btn--outline {
  background-color: transparent;
  color: #4A9ED6;
  border: 2px solid #4A9ED6;
}

.btn--outline:hover {
  background-color: #4A9ED6;
  color: #FFFFFF;
}

/* --- Cards --- */
.card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 32px 24px;
  border: 1px solid rgba(12, 50, 96, 0.08);
  box-shadow: 0 1px 3px rgba(12, 50, 96, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(12, 50, 96, 0.08);
  transform: translateY(-2px);
}

.card--highlight {
  border: 2px solid #4A9ED6;
  position: relative;
}

.card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4A9ED6;
  color: #FFFFFF;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

/* --- Panel --- */
.panel {
  border-radius: 12px;
  padding: 48px 32px;
}

/* --- Hero --- */
.hero {
  padding: 80px 0 56px;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 100%);
}

.hero--image {
  background: linear-gradient(180deg, rgba(12, 50, 96, 0.55) 0%, rgba(12, 50, 96, 0.55) 100%),
    url('Hero-banners-website5 (1).png') center center / cover no-repeat;
  color: #FFFFFF;
}

.hero--image h1 {
  color: #FFFFFF;
}

.hero--image .lead {
  color: #FFFFFF;
}

.hero--image .eyebrow {
  color: #5DCAA5;
}

.hero--image-demo {
  background: linear-gradient(180deg, rgba(12, 50, 96, 0.55) 0%, rgba(12, 50, 96, 0.55) 100%),
    url('Hero-banners-website3 (1).png') center center / cover no-repeat;
  color: #FFFFFF;
}

.hero--image-demo h1 {
  color: #FFFFFF;
}

.hero--image-demo .lead {
  color: #FFFFFF;
}

.hero--image-demo .eyebrow {
  color: #5DCAA5;
}

.hero--image-pricing {
  background: linear-gradient(180deg, rgba(12, 50, 96, 0.55) 0%, rgba(12, 50, 96, 0.55) 100%),
    url('Hero-banners-website2 (1).png') center center / cover no-repeat;
  color: #FFFFFF;
}

.hero--image-pricing h1 {
  color: #FFFFFF;
}

.hero--image-pricing .lead {
  color: #FFFFFF;
}

.hero--image-pricing .eyebrow {
  color: #5DCAA5;
}

.hero--image-contact {
  background: linear-gradient(180deg, rgba(12, 50, 96, 0.55) 0%, rgba(12, 50, 96, 0.55) 100%),
    url('Hero-banners-website4.png') center center / cover no-repeat;
  color: #FFFFFF;
}

.hero--image-contact h1 {
  color: #FFFFFF;
}

.hero--image-contact .lead {
  color: #FFFFFF;
}

.hero--image-contact .eyebrow {
  color: #5DCAA5;
}

.hero--image-hiw {
  background: linear-gradient(180deg, rgba(12, 50, 96, 0.55) 0%, rgba(12, 50, 96, 0.55) 100%),
    url('Hero-banners-website1.png') center center / cover no-repeat;
  color: #FFFFFF;
}

.hero--image-hiw h1 {
  color: #FFFFFF;
}

.hero--image-hiw .lead {
  color: #FFFFFF;
}

.hero--image-hiw .eyebrow {
  color: #5DCAA5;
}

.hero .eyebrow {
  margin-bottom: 16px;
}

.hero h1 {
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero .lead {
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #1565A8;
}

.hero[class*="--image"] .lead {
  color: #FFFFFF;
}

.hero[class*="--image"] h1 {
  color: #FFFFFF;
}

.hero[class*="--image"] .eyebrow {
  color: #5DCAA5;
}

.hero .btn {
  margin-bottom: 20px;
}

.hero__trust {
  font-size: 0.8125rem;
  color: #1565A8;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

/* --- Icon placeholder --- */
.icon-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: rgba(93, 202, 165, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-placeholder svg {
  width: 24px;
  height: 24px;
  stroke: #5DCAA5;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section--navy .icon-placeholder {
  background-color: rgba(93, 202, 165, 0.15);
  backdrop-filter: blur(4px);
}

/* --- Stat row --- */
.stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #0C3260;
  display: block;
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.875rem;
  color: #1565A8;
  margin-top: 6px;
  line-height: 1.4;
}

.section--light .stat__number {
  color: #0C3260;
}

/* --- Product Stack (How It Works) --- */
.product-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-block {
  background-color: #FFFFFF;
  border: 1px solid rgba(12, 50, 96, 0.08);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 1px 3px rgba(12, 50, 96, 0.04);
}

.product-block h3 {
  margin-bottom: 8px;
}

.product-block p {
  margin-bottom: 16px;
}

.product-block ul {
  list-style: none;
  padding: 0;
}

.product-block ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.product-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #5DCAA5;
}

.stack-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  color: #1565A8;
}

.stack-arrow svg {
  width: 24px;
  height: 24px;
}

/* --- Data Layers --- */
.data-layer {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 32px 24px;
  border: 1px solid rgba(12, 50, 96, 0.08);
  box-shadow: 0 1px 3px rgba(12, 50, 96, 0.04);
}

.data-layer h3 {
  margin-bottom: 16px;
}

.data-layer ul {
  list-style: none;
}

.data-layer ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.data-layer ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #5DCAA5;
}

/* --- Phone Mockups --- */
.mockup-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.mockup {
  text-align: center;
}

.mockup__frame {
  width: 100%;
  max-width: 240px;
  height: 420px;
  background: linear-gradient(160deg, #0C3260 0%, #1565A8 100%);
  border-radius: 28px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(12, 50, 96, 0.15);
  position: relative;
  overflow: hidden;
}

.mockup__frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.mockup__caption {
  font-size: 0.875rem;
  color: #1565A8;
  max-width: 240px;
  margin: 0 auto;
}

/* --- Timeline --- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline__step {
  display: flex;
  gap: 16px;
  padding-bottom: 32px;
  position: relative;
}

.timeline__marker {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #4A9ED6;
  color: #FFFFFF;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(74, 158, 214, 0.3);
}

.timeline__step:not(:last-child) .timeline__marker::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 0px);
  background-color: rgba(74, 158, 214, 0.3);
}

.timeline__step:not(:last-child) {
  padding-bottom: 32px;
}

.timeline__content h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.timeline__content p {
  font-size: 0.875rem;
  color: #1565A8;
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pricing-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 32px 24px;
  border: 1px solid rgba(12, 50, 96, 0.08);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(12, 50, 96, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pricing-card:hover {
  box-shadow: 0 8px 24px rgba(12, 50, 96, 0.08);
  transform: translateY(-2px);
}

.pricing-card--highlight {
  border: 2px solid #4A9ED6;
  position: relative;
  box-shadow: 0 4px 20px rgba(74, 158, 214, 0.12);
}

.pricing-card--highlight:hover {
  box-shadow: 0 8px 32px rgba(74, 158, 214, 0.18);
}

.pricing-card__name {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.pricing-card__price {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 4px;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: #1565A8;
  margin-bottom: 24px;
  font-style: italic;
}

.pricing-card__features {
  flex-grow: 1;
  margin-bottom: 24px;
}

.pricing-card__features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(12, 50, 96, 0.06);
  font-size: 0.9375rem;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.pricing-card__features li span:last-child {
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
}

.pricing-card__annual {
  font-size: 0.8125rem;
  color: #1565A8;
  margin-top: 8px;
}

/* Horizontal scroll on mobile */
.pricing-scroll {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-scroll .pricing-card {
  min-width: auto;
  width: 100%;
}

/* --- Add-ons --- */
.addons {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  background-color: #FFFFFF;
  border-radius: 8px;
  border: 1px solid rgba(12, 50, 96, 0.08);
}

.addons p {
  font-size: 0.9375rem;
}

/* --- FAQ --- */
.faq {
  margin-top: 48px;
}

.faq__item {
  border-bottom: 1px solid rgba(12, 50, 96, 0.1);
  padding: 24px 0;
}

.faq__question {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  transition: color 0.15s ease;
}

.faq__question:hover {
  color: #1565A8;
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  display: none;
  padding-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq__item.is-open .faq__answer {
  display: block;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: #0C3260;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(12, 50, 96, 0.2);
  border-radius: 4px;
  font-size: 1rem;
  color: #0C3260;
  background-color: #FFFFFF;
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4A9ED6;
  box-shadow: 0 0 0 3px rgba(74, 158, 214, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230C3260' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* --- Contact Side Panel --- */
.contact-side {
  margin-top: 48px;
}

.contact-steps {
  margin-bottom: 32px;
}

.contact-steps h3 {
  margin-bottom: 16px;
}

.contact-step {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-step__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #5DCAA5;
  color: #FFFFFF;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-step p {
  font-size: 0.9375rem;
}

.founding-box {
  background: linear-gradient(160deg, #0C3260 0%, #1565A8 100%);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(12, 50, 96, 0.15);
}

.founding-box h3 {
  color: #FFFFFF;
  margin-bottom: 12px;
}

/* --- About page --- */
.about-content {
  max-width: 720px;
}

.about-content p {
  margin-bottom: 24px;
}

/* --- Footer --- */
.footer {
  background: linear-gradient(180deg, #0C3260 0%, #091F3F 100%);
  color: #FFFFFF;
  padding: 64px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer .logo-word {
  color: #FFFFFF;
}

.footer__tagline {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-top: 8px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.875rem;
  opacity: 0.8;
  transition: opacity 0.15s ease;
}

.footer__link:hover {
  opacity: 1;
}

.footer__contact {
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer__contact a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  opacity: 0.5;
}

/* --- Utility --- */
.text-center {
  text-align: center;
}

.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.link-arrow {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  color: #4A9ED6;
  font-size: 1rem;
  transition: color 0.15s ease, letter-spacing 0.15s ease;
}

.link-arrow:hover {
  color: #1565A8;
  letter-spacing: 0.01em;
}

/* --- Annual note --- */
.annual-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9375rem;
  color: #1565A8;
}

/* --- Desktop (768px+) --- */
@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .section {
    padding: 96px 0;
  }

  h1, .h1 {
    font-size: 2.5rem;
  }

  h2, .h2 {
    font-size: 1.75rem;
  }

  .display {
    font-size: 3rem;
  }

  .hero {
    padding: 112px 0 72px;
  }

  .hero h1 {
    font-size: 2.75rem;
    letter-spacing: -0.01em;
  }

  .stat__number {
    font-size: 2.5rem;
  }

  /* Nav */
  .nav__links {
    display: flex;
  }

  .nav__cta {
    display: inline-block;
  }

  .nav__toggle {
    display: none;
  }

  .nav__mobile {
    display: none !important;
  }

  /* Grids */
  .grid--2 {
    grid-template-columns: 1fr 1fr;
  }

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

  .grid--4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  /* Stat row */
  .stat-row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* Mockups */
  .mockup-row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* Timeline horizontal */
  .timeline {
    flex-direction: row;
    gap: 0;
  }

  .timeline__step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 0;
  }

  .timeline__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    height: 2px;
    background-color: rgba(74, 158, 214, 0.3);
  }

  .timeline__step:not(:last-child) .timeline__marker::after {
    display: none;
  }

  /* Pricing */
  .pricing-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow-x: visible;
    padding-bottom: 0;
    max-width: 960px;
    margin: 0 auto;
  }

  .pricing-scroll .pricing-card {
    min-width: auto;
  }

  /* Contact layout */
  .contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
  }

  .contact-side {
    margin-top: 0;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  /* Mockups — 2 column when constrained */
  .mockup-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   Phone Mockups — Consumer Scan Experience
   ============================================ */

/* Flow columns */
.flows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.flow-label {
  text-align: center;
  margin-bottom: 24px;
}

.flow-label .flow-name {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #0C3260;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-label .flow-desc {
  font-size: 0.8125rem;
  color: #888;
  margin-top: 4px;
}

.flow-badge {
  display: inline-block;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-starter { background: #EAF4FB; color: #1565A8; }
.badge-growth { background: #E1F5EE; color: #0F6E56; }
.badge-scale { background: #E8F0FB; color: #0C3260; }

/* Phone scroll row */
.phone-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Each phone column */
.phone-col {
  width: 100%;
  max-width: 300px;
}

/* Phone frame */
.phone {
  background: #111318;
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.12);
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: #222;
  border-radius: 3px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: #F0F7FF;
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
  display: flex;
  flex-direction: column;
}

.phone-screen .screen-body {
  flex: 1;
  overflow-y: auto;
}

.phone-screen .screen-source {
  margin-top: auto;
  flex-shrink: 0;
}

.phone-label {
  text-align: center;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

/* Screen nav */
.screen-nav {
  background: #FFFFFF;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #C8DFF0;
}

.screen-nav .nav-logo {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #0C3260;
}

.screen-nav .nav-logo span { color: #4A9ED6; }

.screen-nav .nav-back {
  font-size: 10px;
  color: #1565A8;
}

/* Screen hero */
.screen-hero {
  padding: 14px;
  position: relative;
}

.screen-hero .hero-eyebrow {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5DCAA5;
  margin-bottom: 4px;
}

.screen-hero .hero-title {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #FFFFFF;
  line-height: 1.2;
}

.screen-hero .hero-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 9px;
  color: #FFFFFF;
  margin-top: 8px;
}

.verified-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5DCAA5;
}

/* Screen body */
.screen-body {
  padding: 12px 14px;
}

/* Data cards */
.data-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.data-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 8px 10px;
  border: 0.5px solid #C8DFF0;
}

.data-card .dc-label {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5DCAA5;
  margin-bottom: 2px;
}

.data-card .dc-value {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #0C3260;
  line-height: 1;
}

.data-card .dc-sub {
  font-size: 9px;
  color: #888;
  margin-top: 2px;
}

/* Section heading in phone */
.screen-section-heading {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #0C3260;
  margin-bottom: 6px;
}

/* Cert pills */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.cert-pill {
  background: #EAF4FB;
  border: 0.5px solid #C8DFF0;
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 9px;
  color: #1565A8;
  font-weight: 600;
}

/* Journey dots */
.journey {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.journey-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  width: 100%;
  height: 1px;
  background: #C8DFF0;
}

.journey-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4A9ED6;
  border: 2px solid #FFFFFF;
  position: relative;
  z-index: 1;
  margin-bottom: 3px;
}

.journey-dot.past { background: #5DCAA5; }

.journey-label {
  font-size: 8px;
  color: #888;
  text-align: center;
  line-height: 1.2;
}

/* Farm section in phone */
.farm-section {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  border: 0.5px solid #C8DFF0;
}

.farm-img-placeholder {
  height: 52px;
  background: linear-gradient(135deg, #0C4A3A, #5DCAA5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.farm-img-label {
  font-size: 8px;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

.farm-body {
  padding: 8px 10px;
}

.farm-body .farm-name {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: #0C3260;
}

.farm-body .farm-location {
  font-size: 9px;
  color: #888;
  margin-top: 1px;
}

.farm-body .farm-quote {
  font-size: 9px;
  color: #1A1A2E;
  font-style: italic;
  margin-top: 5px;
  line-height: 1.4;
  border-left: 2px solid #5DCAA5;
  padding-left: 6px;
}

/* Map placeholder */
.map-placeholder {
  height: 80px;
  background: linear-gradient(160deg, #B8D4E8 0%, #D4E8F5 100%);
  border-radius: 8px;
  border: 0.5px solid #C8DFF0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.map-pin {
  width: 10px;
  height: 10px;
  background: #4A9ED6;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.map-label {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: #1565A8;
  background: rgba(255,255,255,0.8);
  padding: 2px 6px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Score badge in screen */
.score-badge-screen {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 10px 12px;
  border: 0.5px solid #C8DFF0;
  margin-bottom: 8px;
}

.score-letter-sm {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.score-info .score-label {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #0C3260;
}

.score-info .score-sub {
  font-size: 9px;
  color: #888;
  margin-top: 1px;
}

/* Score category bars */
.score-cats {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.score-cat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.score-cat .cat-label {
  font-size: 8px;
  color: #1A1A2E;
  width: 52px;
  flex-shrink: 0;
}

.score-cat .cat-bar {
  flex: 1;
  height: 5px;
  background: #C8DFF0;
  border-radius: 3px;
  overflow: hidden;
}

.score-cat .cat-fill {
  height: 100%;
  border-radius: 3px;
}

.score-cat .cat-grade {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 8px;
  width: 10px;
  text-align: center;
}

/* Score breakdown cards */
.sb-card {
  background: #FFFFFF;
  border-radius: 7px;
  padding: 7px 10px;
  border: 0.5px solid #C8DFF0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.sb-grade {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.sb-info { flex: 1; }

.sb-label {
  font-size: 9px;
  font-weight: 600;
  color: #0C3260;
  font-family: 'Nunito Sans', sans-serif;
}

.sb-sub {
  font-size: 8px;
  color: #888;
}

.sb-pct {
  font-size: 8px;
  color: #888;
  font-weight: 600;
}

/* A-F scale */
.af-scale {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.af-item {
  flex: 1;
  border-radius: 4px;
  padding: 4px 2px;
  text-align: center;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 10px;
  color: #FFFFFF;
  opacity: 0.4;
}

.af-item.active {
  opacity: 1;
  transform: scaleY(1.15);
  transform-origin: bottom;
}

/* Screen CTA */
.screen-cta-btn {
  background: #4A9ED6;
  color: #FFFFFF;
  border-radius: 20px;
  padding: 7px 14px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 10px;
  text-align: center;
  margin-bottom: 6px;
}

/* Source line */
.screen-source {
  font-size: 8px;
  color: #888;
  text-align: center;
  padding: 6px 0 8px;
  border-top: 0.5px solid #C8DFF0;
  margin-top: 6px;
}

/* Score colour vars */
.score-a { background: #4A9ED6; }
.score-b { background: #2E9E72; }
.score-c { background: #C49B00; }
.score-d { background: #C4521A; }
.score-f { background: #A02020; }

/* Not rated pill */
.not-rated-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #EAF4FB;
  border: 0.5px solid #C8DFF0;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 9px;
  color: #1565A8;
  font-weight: 600;
  margin-bottom: 8px;
}

/* FIFO section */
.fifo-section {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 8px 10px;
  border: 0.5px solid #C8DFF0;
  margin-bottom: 8px;
}

.fifo-bar-track {
  background: #C8DFF0;
  border-radius: 4px;
  height: 6px;
  margin: 5px 0 3px;
  position: relative;
  overflow: hidden;
}

.fifo-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #5DCAA5;
  border-radius: 4px;
}

.fifo-labels {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  color: #888;
}

/* Score status bar */
.score-status-bar {
  padding: 5px 14px;
  text-align: center;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #FFFFFF;
}

/* Progress bar in phone */
.phone-progress-bar {
  background: #C8DFF0;
  border-radius: 4px;
  height: 5px;
  margin-bottom: 6px;
  overflow: hidden;
}

.phone-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: #4A9ED6;
}

@media (min-width: 768px) {
  .flows {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .phone-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }

  .phone-col {
    width: 260px;
    max-width: 260px;
  }
}
