@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-mono-400.ttf") format("truetype");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/dm-mono-500.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/manrope-400.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-500.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-600.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-700.ttf") format("truetype");
}

:root {
  --bg: #ffffff;
  --ink: #10131b;
  --muted: #555d6d;
  --line: #dfe2e8;
  --blue: #0866ef;
  --blue-dark: #034fbf;
  --coral: #ff6158;
  --plum: #3d233f;
  --cast-bg: #fff9f7;
  --job-bg: #f7faff;
  --max: 1440px;
  --page: clamp(24px, 5vw, 80px);
  --radius: 24px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(100%, var(--max));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--page) 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "DM Mono", monospace;
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  font-size: 15px;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue);
}

.hero {
  min-height: 850px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 170px var(--page) 90px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 88px);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(58px, 6.6vw, 104px);
  line-height: 0.97;
  letter-spacing: -0.067em;
  font-weight: 600;
}

.hero-copy > p {
  max-width: 570px;
  margin: 40px 0 0;
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: #252c3a;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px 30px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue), transparent 55%);
  outline-offset: 4px;
}

.button-primary,
.button-store {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 25px rgba(8, 102, 239, 0.18);
}

.button-primary:hover,
.button-store:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(8, 102, 239, 0.24);
}

.button-store svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.text-link {
  color: var(--blue);
  font-size: 16px;
  font-weight: 500;
}

.hero-media {
  position: relative;
  min-height: 580px;
}

.hero-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(16, 19, 27, 0.14);
  border-radius: 18px;
  background: white;
  box-shadow: 0 28px 70px rgba(20, 29, 45, 0.18);
}

.hero-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-window-castpulse {
  top: 0;
  right: -14%;
  width: 92%;
  aspect-ratio: 3 / 2;
  transform: rotate(1deg);
}

.hero-window-jobtracker {
  right: 5%;
  bottom: 0;
  width: 88%;
  aspect-ratio: 16 / 10;
  transform: rotate(-1deg);
}

.app-index {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-index > a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 34px var(--page);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.app-index > a + a {
  border-left: 1px solid var(--line);
}

.app-index > a:hover {
  background: #f8f9fb;
}

.app-index strong,
.app-index small {
  display: block;
}

.app-index strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.app-index small {
  margin-top: 5px;
  color: var(--muted);
}

.app-mark {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: block;
}

.app-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 900px;
  padding: 120px var(--page);
  display: grid;
  align-items: center;
  gap: clamp(56px, 7vw, 108px);
  overflow: hidden;
}

.product-castpulse {
  grid-template-columns: minmax(330px, 0.72fr) minmax(620px, 1.28fr);
  background: var(--cast-bg);
}

.product-jobtracker {
  grid-template-columns: minmax(620px, 1.28fr) minmax(330px, 0.72fr);
  background: var(--job-bg);
}

.product-copy {
  position: relative;
  z-index: 2;
}

.product-name {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 36px;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.product-name .app-mark {
  width: 56px;
  height: 56px;
}

.product h2,
.about h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.product-copy > p {
  margin: 26px 0 32px;
  font-size: 18px;
  line-height: 1.65;
  color: #303746;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  border-top: 1px solid rgba(16, 19, 27, 0.15);
}

.feature-list li {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(16, 19, 27, 0.15);
  font-size: 16px;
}

.feature-list span {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}

.product-shot {
  position: relative;
  margin: 0;
}

.product-shot::before {
  content: "";
  position: absolute;
  inset: 6% -4% -5% 4%;
  z-index: 0;
  border-radius: 28px;
}

.product-shot-castpulse::before {
  background: #f5c4bc;
}

.product-shot-jobtracker::before {
  background: #c7dcff;
  inset: 6% 4% -5% -4%;
}

.product-shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid rgba(16, 19, 27, 0.12);
  border-radius: 20px;
  box-shadow: 0 35px 75px rgba(30, 33, 46, 0.17);
}

.product-shot figcaption {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  text-align: right;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px minmax(0, 760px);
  gap: 55px;
  align-items: center;
  padding: 110px var(--page);
  border-top: 1px solid var(--line);
}

.about-illustration {
  color: var(--coral);
}

.about-illustration svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about h2 {
  font-size: clamp(36px, 4vw, 58px);
}

.about p {
  max-width: 690px;
  margin: 24px 0;
  color: #424a59;
  font-size: 19px;
  line-height: 1.6;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--page) 42px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
}

.privacy-page .site-header {
  position: relative;
  left: auto;
  transform: none;
  margin: 0 auto;
}

.privacy-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 132px var(--page) 120px;
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(64px, 9vw, 150px);
}

.privacy-intro {
  position: sticky;
  top: 48px;
  align-self: start;
}

.privacy-intro h1 {
  margin: 0;
  font-size: clamp(58px, 7vw, 104px);
  line-height: 0.97;
  letter-spacing: -0.067em;
  font-weight: 600;
}

.privacy-intro > p {
  max-width: 470px;
  margin: 32px 0 0;
  color: #303746;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.effective-date {
  display: block;
  margin-top: 28px;
  font-family: "DM Mono", monospace;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy-policy {
  max-width: 760px;
}

.privacy-summary {
  margin: 0 0 58px;
  padding: 30px 32px;
  border-left: 5px solid var(--blue);
  background: var(--job-bg);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

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

.policy-section h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.policy-section p,
.policy-section li {
  color: #424a59;
  font-size: 17px;
  line-height: 1.7;
}

.policy-section p {
  margin: 0;
}

.policy-section p + p {
  margin-top: 16px;
}

.policy-section ul {
  margin: 18px 0 0;
  padding-left: 1.25em;
}

.policy-section li + li {
  margin-top: 8px;
}

.policy-section a {
  color: var(--blue);
}

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 13px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-bottom: 70px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-media {
    min-height: 560px;
    width: min(100%, 780px);
    justify-self: center;
  }

  .product,
  .product-castpulse,
  .product-jobtracker {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .product-copy {
    max-width: 760px;
  }

  .product-shot {
    width: min(100%, 900px);
    justify-self: center;
  }

  .product-jobtracker .product-shot {
    order: 2;
  }

  .privacy-main {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .privacy-intro {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  nav {
    gap: 16px;
    font-size: 13px;
  }

  nav a:nth-child(2) {
    display: none;
  }

  .hero {
    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .hero-copy > p {
    margin-top: 28px;
  }

  .hero-media {
    min-height: 390px;
  }

  .hero-window-castpulse {
    right: -8%;
    width: 94%;
  }

  .hero-window-jobtracker {
    right: 7%;
    width: 92%;
  }

  .app-index {
    grid-template-columns: 1fr;
  }

  .app-index > a + a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .product {
    padding-top: 82px;
    padding-bottom: 82px;
    gap: 52px;
  }

  .product h2 {
    font-size: clamp(44px, 12vw, 62px);
  }

  .about {
    grid-template-columns: 75px 1fr;
    gap: 26px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  footer {
    flex-direction: column;
  }

  .privacy-main {
    padding-top: 82px;
    padding-bottom: 82px;
    gap: 54px;
  }

  .privacy-summary {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-media {
    min-height: 310px;
  }

  .product-name {
    margin-bottom: 26px;
  }

  .product-shot img {
    border-radius: 13px;
  }

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

  .about-illustration {
    width: 80px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
