/* =========================================================================
   FORKERS — marketing site stylesheet
   Mobile-first. Two breakpoints only: 768px and 1024px.
   Every colour and spacing value is a token in :root below — if you want
   to change a colour, change it there once and it updates everywhere.
   ========================================================================= */


/* -------------------------------------------------------------------------
   DESIGN TOKENS  (edit values here — nowhere else)
   ------------------------------------------------------------------------- */
:root {

  /* Brand colours */
  --primary:          #F27213;
  --primary-dark:     #D65F0A;   /* hover state for orange buttons */
  --text-primary:     #000000;
  --text-secondary:   #57534E;
  --light-primary:    #FFFFFF;
  --light-secondary:  #EFDECE;   /* tinted panels, e.g. the partner card */
  --dark-primary:     #000000;
  --dark-secondary:   #57534E;

  /* Spacing scale — use these, don't type raw pixel values */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  16px;
  --space-4:  24px;
  --space-5:  32px;
  --space-6:  48px;
  --space-7:  64px;
  --space-8:  96px;

  /* Layout */
  --content-max: 1200px;
  --page-pad:    var(--space-4);   /* 24px side padding */

  /* Shape */
  --radius-card: 24px;
  --radius-pill: 999px;

  /* Type family (one family for the whole site) */
  --font-sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;                 /* comfortable body copy */
  color: var(--text-secondary);
  background: var(--light-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;              /* safety net against sideways scroll */
}

/* Images never overflow their container */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Headlines: heavy and tight with a slight negative letter-spacing */
h1,
h2 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h3 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}


/* -------------------------------------------------------------------------
   LAYOUT CONTAINER  (centres content, adds side padding)
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}


/* -------------------------------------------------------------------------
   SMALL UPPERCASE "EYEBROW" LABEL  (used above section headlines)
   ------------------------------------------------------------------------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.8125rem;
}


/* -------------------------------------------------------------------------
   BUTTONS  (pill shape — primary = orange fill, outline = grey border)
   ------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-5);   /* 16px / 32px */
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* Orange fill, white text */
.btn--primary {
  background: var(--primary);
  color: var(--light-primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
}

/* White fill, thin grey border, black text */
.btn--outline {
  background: var(--light-primary);
  color: var(--text-primary);
  /* thin grey = the secondary text colour softened to ~35% */
  border-color: color-mix(in srgb, var(--text-secondary) 35%, transparent);
}
.btn--outline:hover {
  border-color: var(--text-secondary);
}


/* -------------------------------------------------------------------------
   KEYBOARD FOCUS RING  (visible outline for keyboard users)
   ------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 3px;
  border-radius: var(--space-1);
}

/* On the orange section the ring needs to be white to stay visible */
.how a:focus-visible,
.how button:focus-visible {
  outline-color: var(--light-primary);
}


/* -------------------------------------------------------------------------
   HEADER  (logo left, outlined button right — NOT sticky)
   ------------------------------------------------------------------------- */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-4);
}

.site-header__logo {
  display: inline-flex;
  flex-shrink: 0;
}
.site-header__logo img {
  height: 30px;      /* logo height — width scales automatically */
  width: auto;
}

/* Slightly smaller header button on phones so it never crowds the logo */
.site-header .btn--outline {
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
}


/* -------------------------------------------------------------------------
   HERO  (two-line headline, subhead, orange CTA, then the illustration)
   ------------------------------------------------------------------------- */
.hero {
  padding-block: var(--space-3) var(--space-6);
}

/* Headline size — to make it bigger/smaller, edit the three values in clamp():
   min (phones) · preferred (scales with screen) · max (large screens) */
.hero__title {
  /* min is kept small so BOTH lines fit on one line each on a 360px phone */
  font-size: clamp(1.4rem, 5.6vw, 4rem);
}
.hero__title-line {
  display: block;               /* forces the two lines to stack */
}
.hero__title-line--accent {
  color: #D65F0A; 
  font-size:4.5rem;    /* "New Connection!" in orange */
}

.hero__subhead {
  margin-top: var(--space-4);
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
}

.hero__cta {
  margin-top: var(--space-5);
}

/* The illustration sits inside the content width and never overflows */
.hero__image {
  width: 100%;
  margin-top: -3rem;
}


/* -------------------------------------------------------------------------
   VALUE STRIP  (full-width warm band — three bold uppercase items)
   ------------------------------------------------------------------------- */
.value-strip {
  background: var(--light-secondary);
}

.value-strip__list {
  list-style: none;
  display: flex;
  flex-direction: column;        /* stacked & centred on mobile */
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-5);
  text-align: center;
}

.value-strip__item {
  display: flex;               /* icon + label sit side by side */
  align-items: center;
  gap: var(--space-2);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: clamp(1rem, 1.6vw, 1rem);
  color: var(--text-primary);
}

/* Base setup for any Google Material Symbol on the page.
   text-transform MUST stay "none" here or the icon name shows as text. */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

/* The value-strip icons specifically: orange, sized to the text */
.value-strip__item .material-symbols-outlined {
  font-size: 1.5rem;           /* icon size — bump this to make icons bigger */
  color: var(--primary);
  flex-shrink: 0;
}


/* -------------------------------------------------------------------------
   HOW IT WORKS  (full-bleed orange section, white text, phones bleed off
   the bottom edge — the section clips them)
   ------------------------------------------------------------------------- */
.how {
  background: var(--primary);
  color: var(--light-primary);
  overflow: hidden;              /* this is what clips the phone mockup */
}

.how__inner {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-8);
}

.how__eyebrow {
  color: var(--light-primary);
}

.how__title {
  color: var(--light-primary);
  margin-top: var(--space-3);
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.how__steps {
  list-style: none;
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-5);
}

.how__step-title {
  color: var(--light-primary);
  font-size: 1.125rem;
}

.how__step-body {
  margin-top: var(--space-1);
  color: var(--light-primary);
  opacity: 0.85;                 /* ~85% white, as specced */
  max-width: 42ch;
}

.how__media {
  display: flex;
  justify-content: center;
}

/* Phone mockup. To change how far the phones bleed off the orange section,
   make this margin-bottom MORE negative (more bleed) or less (less bleed). */
.how__mockup {
  width: 100%;
  max-width: 460px;
  margin-bottom: calc(-1 * var(--space-6));
}


/* -------------------------------------------------------------------------
   PARTNER CARD  (centred card, warm off-white fill, soft orange border)
   ------------------------------------------------------------------------- */
.partner {
  background: var(--light-primary);
  padding-block: var(--space-8);
}

.partner__card {
  max-width: 760px;
  margin-inline: auto;
  padding: var(--space-6);
  /* warm off-white = the tint colour softened over white */
  background: color-mix(in srgb, var(--light-secondary) 40%, var(--light-primary));
  /* 1px orange border at ~30% opacity */
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-radius: var(--radius-card);
}

.partner__title {
  margin-top: var(--space-2);
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.partner__body {
  margin-top: var(--space-3);
  max-width: 46ch;
  color: var(--text-secondary);
}

.partner__card .btn {
  margin-top: var(--space-5);
}


/* -------------------------------------------------------------------------
   FOOTER  (centred, on white)
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--light-primary);
  padding-block: var(--space-7);
  text-align: center;
}

.site-footer__lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.site-footer__fine {
  margin-top: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-secondary);
  opacity: 0.7;                  /* smaller and lighter */
}


/* =========================================================================
   BREAKPOINT 1 — 768px and up  (tablet)
   ========================================================================= */
@media (min-width: 768px) {

  /* Header button back to full size */
  .site-header .btn--outline {
    padding: var(--space-3) var(--space-5);
    font-size: 1rem;
  }
  .site-header__logo img {
    height: 34px;
  }

  /* Hero breathes a bit more */
  .hero {
    padding-block: var(--space-3) var(--space-7);
  }

  /* Value strip: items in a row, spread across the band */
  .value-strip__list {
    flex-direction: row;
    justify-content: space-evenly;
    text-align: left;
  }

  /* How it works: a little more headroom */
  .how__step-body {
    font-size: 1.0625rem;
  }
}


/* =========================================================================
   BREAKPOINT 2 — 1024px and up  (desktop)
   ========================================================================= */
@media (min-width: 1024px) {

  /* How it works: two columns, phones aligned to the bottom edge so they
     bleed off the orange section */
  .how__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-bottom: 0;          /* let the mockup reach the section edge */
  }
  .how__media {
    align-self: end;
    justify-content: flex-end;
  }
  .how__mockup {
    max-width: 600px;
    margin-bottom: calc(-1 * var(--space-6));   /* deeper bleed on desktop */
  }
}
