/* The brand's page at www.marketagent.com.au (www/README.md) - Hub's sign-in family: Astra's blues, Inter, the mark. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
    url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --primary: #1f5a94;
  --primary-dark: #163f68;
  --deep: #10304f;
  --primary-light: #e8f0f8;
  --ink: #1d2733;
  --ink-soft: #525f6c;
  --line: #e3e8ee;
  --soft: #f7f9fb;
  --canvas: #f3f5f8;
  --sky: #a9cdf0;
  --focus: 0 0 0 3px rgba(31, 90, 148, 0.25);
  --gutter: 24px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", -apple-system, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.06rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

/* ---- Buttons --------------------------------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.45);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button-blue {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px -10px rgba(22, 63, 104, 0.6);
}

/* ---- The hero: Hub's sign-in panel, opened out ----------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 58%, var(--deep) 100%);
  color: #fff;
}

/* The mark again, large and faint, across the corner - as on Hub's sign-in. */
.hero::after {
  position: absolute;
  right: -12rem;
  bottom: -14rem;
  width: 44rem;
  height: 44rem;
  background: url("/mark.svg") center / contain no-repeat;
  opacity: 0.05;
  content: "";
  pointer-events: none;
}

.top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: #fff;
}

/* Sign in: a menu of the two sign-ins, each on its own address. */
.signin {
  position: relative;
}

.signin summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.15s ease;
}

.signin summary::-webkit-details-marker {
  display: none;
}

.signin summary:hover,
.signin[open] summary {
  background: rgba(255, 255, 255, 0.1);
}

.signin summary::after {
  width: 7px;
  height: 7px;
  margin: -3px 0 0 0.15rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  content: "";
  transition: transform 0.15s ease, margin 0.15s ease;
}

.signin[open] summary::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.signin-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  padding: 8px;
  border-radius: 14px;
  background: var(--canvas);
  box-shadow: 0 0 0 1px rgba(16, 48, 79, 0.08), 0 24px 48px -16px rgba(16, 48, 79, 0.45);
}

.signin-menu a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}

.signin-menu a:hover {
  background: #fff;
}

.signin-menu img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(16, 48, 79, 0.1), 0 4px 10px -4px rgba(16, 48, 79, 0.35);
}

.signin-menu b {
  display: block;
  color: var(--primary-dark);
  font-size: 0.97rem;
  font-weight: 650;
  line-height: 1.3;
}

.signin-menu small {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.hero-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 4rem;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 550;
}

.pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(169, 205, 240, 0.18);
  content: "";
}

.hero h1 {
  max-width: 12em;
  color: #fff;
  font-size: clamp(2.5rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero .lead {
  max-width: 33em;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* Connect's and Hub's own screens on two phones, Hub's in front. */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.phone {
  flex: none;
  width: 236px;
  padding: 9px;
  border-radius: 40px;
  background: #0b1724;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 80px -30px rgba(0, 0, 0, 0.65);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 31px;
}

.phone-connect {
  margin-top: 28px;
  transform: rotate(-4deg);
}

.phone-hub {
  z-index: 1;
  margin-left: -26px;
  transform: rotate(3deg);
}

/* Hub's AI: a question asked in its search, the panel shown larger over the foot of Hub's phone, where the sale screen
   is empty. */
.ask-shot {
  position: absolute;
  right: 0;
  bottom: 9%;
  z-index: 2;
  width: 320px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(16, 48, 79, 0.08), 0 30px 60px -18px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.ask-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* The three products along the hero's foot, in an order's way through them - Connect, Hub (where the sale is done),
   MarketAgent Pro - on the first screen, each to its section. */
.family {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 26, 44, 0.35);
}

/* Spread from the page's left edge to its right, the same space either side of each arrow - not equal columns, which
   left the space after each product as long as its words were short. */
.family .wrap {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.family a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 0;
  color: #fff;
  text-decoration: none;
}

.family a:hover b {
  text-decoration: underline;
}

.family img {
  flex: none;
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.family b {
  display: block;
  font-weight: 650;
}

.family small {
  color: var(--sky);
  font-size: 0.85rem;
}

/* The arrow from one to the next: a shaft, then a chevron at its end. */
.family-arrow {
  position: relative;
  flex: none;
  width: 34px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
}

.family-arrow::after {
  position: absolute;
  top: -4px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  content: "";
}

/* ---- The products ---------------------------------------------------------------------------------------------- */

.section {
  padding: 6.5rem 0;
}

.section-grey {
  background: var(--canvas);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.5fr);
  gap: 4rem;
  align-items: start;
}

.product-intro {
  position: sticky;
  top: 2rem;
}

/* The product's name as on Hub's sign-in: MarketAgent bold, the product lighter, on one line beside the features. */
.product h2 {
  font-size: clamp(2rem, 3.1vw, 2.6rem);
  white-space: nowrap;
}

.product h2 span {
  font-weight: 400;
}

.product-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.75rem;
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(16, 48, 79, 0.08), 0 14px 30px -14px rgba(16, 48, 79, 0.55);
}

.note {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
  color: var(--ink);
  font-size: 0.98rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}

.section-grey .features li {
  background: #fff;
}

/* Who the features below are for (Connect's buyers, then its growers), across the grid. */
.features li.features-group {
  grid-column: 1 / -1;
  padding: 0.5rem 0 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.features li.features-group:not(:first-child) {
  margin-top: 1rem;
}

.features h3::before {
  display: block;
  width: 22px;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 2px;
  background: var(--primary);
  content: "";
}

.features p {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* Hub's section: a row per place staff work, each with a glimpse of the Hub screen used there. */
.hub-head {
  max-width: 40rem;
}

.hub-head h2 {
  font-size: clamp(2rem, 3.1vw, 2.6rem);
}

.hub-head h2 span {
  font-weight: 400;
}

.places {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
  padding: 2.25rem 2.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--soft);
}

.place:nth-child(even) .place-text {
  order: 2;
}

.place-where {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.place-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
}

.place-icon svg {
  width: 24px;
  height: 24px;
}

.place h3 {
  margin-top: 1rem;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.place-text > p:not(.place-where) {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.jobs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.jobs li {
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
}

.places + .note {
  margin-top: 2.5rem;
}

/* A glimpse of Hub: its bar and cards, in its own colours, font and words. */
.glimpse {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--canvas);
  box-shadow: 0 24px 48px -28px rgba(16, 48, 79, 0.45);
  font-family: "Segoe UI", "Inter", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.glimpse-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
}

.glimpse-bar img {
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.glimpse-body {
  padding: 14px;
}

.glimpse-label {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.glimpse-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.glimpse-line + .glimpse-line {
  margin-top: 8px;
}

.glimpse-line b {
  display: block;
  font-weight: 600;
}

.glimpse-line small,
.glimpse-sent small {
  color: var(--ink-soft);
  font-size: 11.5px;
}

.glimpse-qty {
  min-width: 28px;
  padding: 2px 7px;
  border-radius: 7px;
  background: #eef2f7;
  font-weight: 600;
  text-align: center;
}

.glimpse-price {
  color: var(--ink-soft);
}

/* Green only as a state, as in Hub. */
.glimpse-ok {
  padding: 2px 8px;
  border-radius: 999px;
  background: #e6f4ea;
  color: #1e7b34;
  font-size: 11px;
  font-weight: 600;
}

.glimpse-open {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.glimpse-memory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.glimpse-memory span {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--primary-light);
}

.glimpse-memory small {
  display: block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
}

.glimpse-memory b {
  color: var(--primary-dark);
  font-size: 14px;
}

.glimpse-total {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}

.glimpse-total b {
  color: var(--primary-dark);
}

.glimpse-sent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

/* ---- How it fits ----------------------------------------------------------------------------------------------- */

.heading {
  max-width: 40rem;
}

.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.75rem 3rem;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--primary-light);
}

.points h3::before {
  display: block;
  width: 36px;
  height: 2px;
  margin: calc(-1.25rem - 2px) 0 1.25rem;
  background: var(--primary);
  content: "";
}

.points p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---- Security, on the brand's navy ----------------------------------------------------------------------------- */

.section-navy {
  background: linear-gradient(170deg, var(--primary-dark) 0%, var(--deep) 100%);
  color: #fff;
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.section-navy .eyebrow {
  color: var(--sky);
}

.section-navy .lead {
  color: rgba(255, 255, 255, 0.75);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
}

.cards li {
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.cards p {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* ---- Buyers ---------------------------------------------------------------------------------------------------- */

.buyers {
  padding: 2.75rem 0;
  background: var(--primary-light);
}

.buyers .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.buyers img {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(16, 48, 79, 0.1), 0 10px 22px -12px rgba(16, 48, 79, 0.5);
}

.buyers h2 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.buyers p {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.buyers .button {
  margin-left: auto;
}

/* ---- Contact --------------------------------------------------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
  padding: 4rem;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 62%, var(--deep) 100%);
  color: #fff;
  box-shadow: 0 30px 60px -36px rgba(16, 48, 79, 0.6);
}

.contact h2 {
  color: #fff;
}

.contact .eyebrow {
  color: var(--sky);
}

.contact .lead {
  color: rgba(255, 255, 255, 0.8);
}

.contact .actions {
  margin-top: 2rem;
}

.ways {
  display: grid;
  gap: 0.75rem;
}

.way {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

a.way:hover {
  background: rgba(255, 255, 255, 0.12);
}

.way small {
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.way b {
  margin-top: 0.15rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.way span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

/* ---- Footer ---------------------------------------------------------------------------------------------------- */

.foot {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.foot-brand img {
  width: 28px;
  height: 28px;
  border-radius: 22%;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-left: auto;
}

.foot a {
  color: var(--ink-soft);
  text-decoration: none;
}

.foot nav a:hover {
  color: var(--primary);
}

.foot .made {
  flex-basis: 100%;
}

/* ---- Privacy and other plain pages ----------------------------------------------------------------------------- */

.hero-plain .top {
  min-height: 80px;
}

.hero-plain h1 {
  padding: 2.5rem 0 3.5rem;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
}

.prose {
  max-width: 44rem;
  padding: 4rem 0 5rem;
}

.prose h2 {
  margin: 2.5rem 0 0.6rem;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.prose p {
  color: var(--ink-soft);
}

.prose p + p {
  margin-top: 0.9rem;
}

/* ---- Narrower screens ------------------------------------------------------------------------------------------ */

@media (max-width: 1000px) {
  .nav {
    display: none;
  }

  .signin {
    margin-left: auto;
  }

  .hero-body,
  .product,
  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .hero-body {
    padding-top: 2.5rem;
  }

  /* One column: the phones are centred, so the question is set by them, over the foot of Hub's. */
  .ask-shot {
    right: auto;
    left: 50%;
    margin-left: -80px;
  }

  .family .wrap {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .family a {
    padding: 0.75rem 0;
  }

  .family-arrow {
    width: 2px;
    height: 18px;
    margin: 0 0 0 19px;
  }

  .family-arrow::after {
    top: auto;
    right: -4px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .product-intro {
    position: static;
  }

  .place {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    padding: 1.75rem;
  }

  .place:nth-child(even) .place-text {
    order: 0;
  }

  .points,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact {
    padding: 3rem;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .top {
    min-height: 68px;
  }

  .brand {
    font-size: 1.1rem;
  }

  .signin-menu {
    position: fixed;
    top: 72px;
    right: var(--gutter);
    left: var(--gutter);
    width: auto;
  }

  .hero-body {
    padding-top: 1.75rem;
    padding-bottom: 4rem;
  }

  .hero .lead {
    font-size: 1.05rem;
  }

  .actions .button {
    flex: 1 1 100%;
  }

  .phone {
    width: 47%;
    max-width: 236px;
    padding: 6px;
    border-radius: 28px;
  }

  .phone img {
    border-radius: 22px;
  }

  .phone-connect {
    margin-top: 20px;
  }

  .phone-hub {
    margin-left: -6%;
  }

  .ask-shot {
    right: 0;
    bottom: 6%;
    left: auto;
    width: 72%;
    margin-left: 0;
    border-radius: 9px;
  }


  .place {
    padding: 1.4rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .features,
  .points,
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .points {
    gap: 2rem;
  }

  .product h2 {
    white-space: normal;
  }

  .buyers .wrap {
    flex-wrap: wrap;
  }

  .buyers .button {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .contact {
    margin: 0 calc(-1 * var(--gutter));
    padding: 3rem var(--gutter);
    border-radius: 0;
    box-shadow: none;
  }

  .foot nav {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
