/* fiftytwo.au - single shared stylesheet. Brand: Inter, #0B0B0B / #171717, #FF6A00. */

:root {
  --bg: #0B0B0B;
  --raised: #141414;
  --ink: #FFFFFF;
  --muted: #A0A0A0;
  --line: #2A2A2A;
  --orange: #FF6A00;
  --gutter: 1.25rem;
  --max: 84rem;
  --section: clamp(4.5rem, 10vw, 9rem);
  --font: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: .6rem 1rem;
  background: var(--orange);
  color: var(--bg);
  font-weight: 600;
}
.skip:focus { top: 1rem; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 11, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.5rem;
}

/* The logo artwork has padding on its left, so pull it back to line up with the page edge. */
.brand img {
  --logo-h: 3.25rem;
  height: var(--logo-h);
  width: auto;
  margin-left: calc(var(--logo-h) * -.27);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  font-size: .9375rem;
  font-weight: 500;
}

.site-nav__link { color: var(--muted); text-decoration: none; white-space: nowrap; }
.site-nav__link:hover, .site-nav__link[aria-current] { color: var(--ink); }

.site-nav__cta {
  padding: .5rem 1rem;
  border: 1px solid var(--orange);
  color: var(--ink);
  text-decoration: none;
}
.site-nav__cta:hover { background: var(--orange); color: var(--bg); }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 4.5rem);
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero__copy { position: relative; z-index: 1; }

.pillars {
  display: flex;
  flex-wrap: wrap;
  row-gap: .25rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pillars span:not(:last-child)::after {
  content: "/";
  margin-inline: .7em;
  color: var(--orange);
}

h1 {
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
}

h1 em { font-style: normal; color: var(--orange); }

.hero__lead {
  max-width: 32rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--muted);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.btn {
  display: inline-block;
  padding: .95rem 1.75rem;
  background: var(--orange);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { background: var(--ink); }

.text-link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}
.text-link:hover { color: var(--orange); }

.hero__enso { width: 100%; max-width: 40rem; justify-self: end; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero__enso { animation: enso-in 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes enso-in {
    from { opacity: 0; transform: rotate(-14deg) scale(.96); }
    to { transform: none; }
  }
}

/* Sections */

.section {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}

.section--raised { background: var(--raised); }

.section-head {
  max-width: 50rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.label {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.label::before {
  content: "/";
  margin-right: .7em;
  color: var(--orange);
}

h2 {
  font-size: clamp(2.125rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.section-lead {
  max-width: 46rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.5;
}

.section-lead--strong { color: var(--ink); }

/* Long chat against second brain */

.compare {
  width: 100%;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
  border-collapse: collapse;
}

.compare th, .compare td {
  padding: 1.05rem 1.5rem 1.05rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

.compare thead th, .compare thead td {
  border-top: 0;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.compare thead th:last-child { color: var(--orange); }
.compare tbody th { width: 26%; color: var(--ink); font-weight: 600; }
.compare tbody td:last-child { color: var(--ink); font-weight: 500; }

@media (max-width: 640px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare tr { padding-block: 1rem; border-top: 1px solid var(--line); }
  .compare tbody th, .compare tbody td { padding: .15rem 0; border-top: 0; }
  .compare tbody th { width: auto; margin-bottom: .3rem; }
  .compare td::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 400; }
  .compare td:last-child::before { color: var(--orange); }
}

/* Worked example: the same question, with and without company knowledge */

.demo { margin-bottom: clamp(3rem, 5vw, 4.5rem); }

.demo__q {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .7em;
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 2.8vw, 2.25rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.demo__q::before { content: ">"; color: var(--orange); }

.demo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1rem;
}

.demo__card {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
}

.demo__card--brain { border-color: var(--orange); color: var(--ink); }

.demo__tag {
  margin-bottom: .9rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.demo__card--brain .demo__tag { color: var(--orange); }

.demo__card ul { margin-block: .6rem; }

.demo__card li { position: relative; padding-left: 1.1em; }

.demo__card li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.demo__src {
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

.demo__note { margin-top: .75rem; color: var(--muted); font-size: .875rem; }

.demo__draft { margin-top: .75rem; font-style: italic; }

/* Sample questions */

.ask > li { border-top: 1px solid var(--line); }

.ask summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .3rem .7em;
  padding-block: clamp(1rem, 1.8vw, 1.35rem);
  font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  cursor: pointer;
  list-style: none;
}

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

.ask summary::before { content: ">"; color: var(--orange); }

.ask details[open] summary::before { transform: rotate(90deg); }

.ask summary:hover > span:first-child { color: var(--orange); }

.ask__a { padding-bottom: clamp(1.25rem, 2.5vw, 2rem); }

.ask__who {
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Use cases */

.uses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  column-gap: clamp(2.5rem, 5vw, 4.5rem);
}

.uses li {
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
}

.uses strong { display: block; font-weight: 600; }
.uses span { color: var(--muted); font-size: 1rem; }

.uses__note {
  max-width: 48rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.02em;
}

/* Trust points */

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem);
}

.points--pairs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }

.points h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.points p { margin-top: .5rem; color: var(--muted); font-size: 1.0625rem; }

/* Services */

.pillar {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.pillar__head p { margin-top: .75rem; color: var(--muted); font-size: 1.0625rem; }

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.75rem clamp(2rem, 4vw, 3rem);
}

h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}

.services p { margin-top: .3rem; color: var(--muted); font-size: 1rem; }

/* Two-column lists */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(3rem, 6vw, 6rem);
}

.split h3 { margin-bottom: 1.25rem; }

.ticks li {
  padding-block: .8rem;
  border-top: 1px solid var(--line);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: clamp(2rem, 3vw, 2.5rem);
  counter-reset: step;
}

/* Fit statement and second brain call to action */

.fit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.fit + .pillar { margin-top: clamp(2rem, 3vw, 2.5rem); }

.fit p {
  flex: 1 1 24rem;
  max-width: 46rem;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.steps li { counter-increment: step; }

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 1rem;
  color: var(--orange);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
}

.steps p { margin-top: .6rem; color: var(--muted); font-size: 1.0625rem; }

/* Contact */

.contact {
  padding-block: var(--section);
  background: var(--orange);
  color: var(--bg);
}

.contact h2 { max-width: 16em; }
.contact p { margin-top: 1.25rem; font-size: clamp(1.125rem, 1.6vw, 1.375rem); }

.contact__email {
  display: inline-block;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: clamp(1.5rem, 5.5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -.03em;
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .15em;
}
.contact__email:hover { color: var(--ink); }
.contact :focus-visible { outline-color: var(--bg); }

/* Footer */

.site-footer {
  padding-block: 2.5rem;
  color: var(--muted);
  font-size: .875rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-footer img { height: 2rem; width: auto; }
.sep { margin-inline: .4em; color: var(--orange); }
.site-footer__tag { color: var(--orange); }

/* What a second brain can do */

.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.page-head .wrap { position: relative; z-index: 1; }

.page-head h1 { max-width: 13em; font-size: clamp(2.75rem, 7vw, 6rem); }

.page-head .demo__note { margin-top: 1.5rem; }

.page-head__enso {
  position: absolute;
  top: 50%;
  right: -8rem;
  width: min(44rem, 92vw);
  opacity: .16;
  transform: translateY(-50%);
}

.power {
  padding-block: clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.power:first-child { padding-top: 0; border-top: 0; }

.power__head {
  max-width: 50rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.power__head h2 { font-size: clamp(1.875rem, 4vw, 3rem); }

.power__head p {
  margin-top: .75rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.5;
}

.power .demo { margin-bottom: 0; }

/* Not found page */

.notfound { text-align: left; }
.notfound .hero__lead { margin-bottom: 2rem; }

/* Narrow screens */

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }

  h1 { font-size: 13.5vw; }

  .hero__enso {
    position: absolute;
    top: 1rem;
    right: -26vw;
    width: 92vw;
    max-width: none;
    opacity: .2;
  }

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

  .ask summary { grid-template-columns: auto minmax(0, 1fr); }
  .ask__who { grid-column: 2; }
}

@media (max-width: 900px) {
  .site-nav__link { display: none; }
}

@media (max-width: 560px) {
  .brand img { --logo-h: 2.75rem; }
}
