:root {
  --ivory: #f7f2e8;
  --ivory-soft: #fbf8f1;
  --paper: #fffdf8;
  --ink: #121412;
  --muted: #5f625d;
  --line: #d8d0c2;
  --teal: #00645f;
  --teal-bright: #008c83;
  --mint: #dfeee8;
  --sky: #e8f3f5;
  --coral: #f06f52;
  --shadow: 0 22px 60px rgba(33, 31, 24, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
}

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

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

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 0%, rgba(232, 243, 245, 0.72), transparent 34rem),
    linear-gradient(180deg, var(--ivory-soft), var(--ivory));
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 92px;
  padding: 0 clamp(24px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.signin-link {
  color: var(--muted);
  font-weight: 600;
}

.brand,
h1,
h2,
h3,
.edition-rule p,
.resource-list a {
  font-family: "Playfair Display", Georgia, serif;
}

.brand {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
}

.brand span,
.main-nav span {
  color: var(--teal);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  font-size: 15px;
}

.main-nav a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.main-nav span {
  font-size: 13px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.nav-cta {
  min-width: 142px;
  padding: 0 24px;
  color: white;
  background: var(--teal);
}

.button {
  padding: 0 30px;
  border: 1px solid var(--teal);
}

.button.primary {
  color: white;
  background: var(--teal);
}

.button.secondary {
  color: var(--teal);
  background: transparent;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-3px);
}

.section-pad {
  padding: clamp(58px, 8vw, 112px) clamp(24px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1fr);
  gap: clamp(42px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 92px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(62px, 8vw, 126px);
  line-height: 0.93;
  font-weight: 700;
}

.hero-subcopy {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.hand-note {
  position: relative;
  display: inline-block;
  margin: 54px 0 0 34px;
  color: var(--coral);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  font-style: italic;
}

.hand-note::before {
  content: "";
  position: absolute;
  left: -30px;
  top: -6px;
  width: 20px;
  height: 36px;
  border-left: 1.5px solid var(--coral);
  border-bottom: 1.5px solid var(--coral);
  border-radius: 0 0 0 24px;
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.dot-field {
  position: absolute;
  left: 3%;
  top: 6%;
  width: 184px;
  height: 210px;
  background-image: radial-gradient(var(--teal) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  opacity: 0.72;
}

.paper-panel {
  position: absolute;
  left: 1%;
  bottom: 21%;
  width: 220px;
  height: 290px;
  background: #ebe1d0;
}

.portrait-panel {
  position: absolute;
  left: 12%;
  top: 8%;
  width: min(430px, 55%);
  height: 620px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-stack {
  position: absolute;
  right: 0;
  top: 14%;
  display: grid;
  gap: 16px;
  width: min(360px, 48%);
}

.mini-card,
.availability-card,
.capability-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.mini-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 18px;
}

.mini-card h2 {
  margin-bottom: 5px;
  font-size: 22px;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.card-icon,
.capability-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--teal);
  background: var(--mint);
  font-size: 24px;
}

.mini-card.coral .card-icon,
.coral-bg {
  color: var(--coral);
  background: #fae6dc;
}

.blue {
  background: var(--sky);
}

.arrow {
  color: var(--teal);
  font-size: 23px;
}

.availability-card {
  position: absolute;
  left: 0;
  bottom: 15%;
  width: 280px;
  padding: 22px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.status-line span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-bright);
}

dl {
  display: grid;
  gap: 16px;
  margin: 18px 0;
}

dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

dd {
  margin: 6px 0 0;
  font-weight: 500;
}

.availability-card a,
.capability-card a {
  color: var(--teal);
  font-weight: 600;
}

.curve-line {
  position: absolute;
  right: 18%;
  bottom: 8%;
  width: 250px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
}

.edition-section,
.pricing-section {
  background: linear-gradient(180deg, var(--ivory), #f4efe5);
}

.edition-rule {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 68px;
}

.edition-rule p {
  margin: 0;
  color: var(--teal);
  font-size: 23px;
}

.edition-rule span {
  position: relative;
  display: block;
  height: 1px;
  overflow: hidden;
  background: var(--teal);
}

.edition-rule span::after {
  content: "";
  position: absolute;
  right: 18%;
  top: -7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--teal);
  animation: rule-dot 7s ease-in-out infinite;
}

.section-intro,
.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-intro h2,
.split-heading h2,
.closing-section h2 {
  font-size: clamp(46px, 5vw, 78px);
  line-height: 0.98;
}

.section-intro p,
.split-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.capability-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.capability-card {
  min-height: 390px;
  padding: 28px;
  box-shadow: none;
}

.capability-card .capability-icon {
  margin-bottom: 46px;
}

.card-number {
  margin-bottom: 26px;
  color: var(--teal);
  font-size: 14px;
}

.capability-card h3,
.price-card h3,
.timeline h3 {
  font-size: 31px;
}

.capability-card > p:not(.card-number),
.price-card li,
.timeline p,
.resource-list a {
  color: var(--muted);
  line-height: 1.65;
}

.capability-card a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.process-section,
.resources-section {
  border-top: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline article {
  min-height: 260px;
  padding: 34px;
  background: var(--paper);
}

.timeline span,
.plan-type {
  color: var(--teal);
  font-weight: 700;
}

.price-card {
  padding: 34px;
  box-shadow: none;
}

.price-card.featured {
  border-color: var(--teal);
  background: #f1f8f5;
}

.price {
  margin: 18px 0 26px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 54px;
}

.price span {
  color: var(--muted);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
}

ul {
  display: grid;
  gap: 12px;
  min-height: 116px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

li::before {
  content: "•";
  margin-right: 10px;
  color: var(--teal);
}

.resource-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.resource-list a {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(26px, 3vw, 44px);
}

.resource-list span,
.resource-list strong {
  color: var(--teal);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
}

.closing-section {
  min-height: 560px;
  display: grid;
  place-items: center;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(rgba(247, 242, 232, 0.76), rgba(247, 242, 232, 0.92)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.closing-section h2 {
  max-width: 880px;
  margin-bottom: 32px;
}

.auth-shell {
  min-height: 100vh;
}

.auth-header {
  border-bottom-color: rgba(216, 208, 194, 0.8);
}

.auth-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.72fr);
  min-height: calc(100vh - 92px);
}

.auth-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.auth-copy h1 {
  max-width: 800px;
  font-size: clamp(58px, 7vw, 110px);
}

.auth-proof,
.auth-steps {
  display: grid;
  gap: 18px;
  max-width: 680px;
  margin-top: 54px;
}

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

.auth-proof article,
.auth-steps article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.auth-proof span,
.auth-steps span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 700;
}

.auth-proof h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.auth-proof p,
.auth-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.auth-panel-wrap {
  display: grid;
  align-items: center;
}

.auth-panel {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(244, 239, 229, 0.82)),
    var(--paper);
  box-shadow: var(--shadow);
}

.form-kicker {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-panel h2 {
  margin-bottom: 30px;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1;
}

.auth-panel label {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.auth-panel input,
.auth-panel select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.88);
  font: inherit;
}

.auth-panel input:focus,
.auth-panel select:focus {
  outline: 2px solid rgba(0, 100, 95, 0.18);
  border-color: var(--teal);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.form-row a,
.form-switch a {
  color: var(--teal);
  font-weight: 700;
}

.auth-panel .check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.check-label input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.consent {
  align-items: flex-start;
  margin: 2px 0 24px;
  line-height: 1.45;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-switch {
  margin: 22px 0 0;
  color: var(--muted);
  text-align: center;
}

.consent a {
  color: var(--teal);
  font-weight: 700;
}

.policy-note {
  max-width: 860px;
  margin: 28px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--ivory);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer a {
  color: var(--teal);
  font-weight: 700;
}

.auth-footer {
  border-top: 1px solid var(--line);
}

.legal-main {
  max-width: 1180px;
  margin-inline: auto;
}

.legal-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.legal-title h1 {
  margin-bottom: 0;
}

.legal-title > p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.legal-content {
  max-width: 840px;
  margin: 56px auto 0;
}

.legal-content h2 {
  margin: 42px 0 14px;
  font-size: clamp(28px, 3vw, 40px);
}

.legal-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}

.legal-content a {
  color: var(--teal);
  font-weight: 700;
}

.app-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 6%, rgba(232, 243, 245, 0.68), transparent 30rem),
    var(--ivory);
}

.app-shell {
  display: grid;
  grid-template-columns: 294px minmax(0, 1fr);
  min-height: 100vh;
}

.app-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 34px;
  height: 100vh;
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  background: rgba(251, 248, 241, 0.92);
}

.app-brand {
  font-size: 32px;
}

.app-nav {
  display: grid;
  gap: 8px;
}

.app-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.app-nav a:hover,
.app-nav a.active {
  border-color: var(--line);
  color: var(--ink);
  background: var(--paper);
}

.app-nav span {
  color: var(--teal);
  font-size: 13px;
}

.sidebar-note {
  margin-top: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.sidebar-note p,
.account-pill p,
.metric-card p,
.panel-kicker,
.match-card p {
  margin: 0;
  color: var(--muted);
}

.sidebar-note strong {
  display: block;
  margin-top: 10px;
  line-height: 1.45;
}

.app-main {
  padding: clamp(28px, 4vw, 54px);
}

.app-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.app-topbar h1 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(46px, 5vw, 82px);
}

.account-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.account-pill > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-weight: 800;
}

.metric-grid,
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.metric-card,
.pipeline article,
.toolbar-panel,
.app-panel,
.match-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
}

.metric-card,
.pipeline article {
  padding: 22px;
}

.metric-card strong,
.pipeline strong {
  display: block;
  margin: 12px 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  line-height: 1;
}

.metric-card span,
.pipeline span,
.match-top small {
  color: var(--muted);
  font-size: 13px;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(320px, 0.66fr);
  gap: 24px;
}

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

.app-panel {
  padding: 28px;
  box-shadow: 0 18px 44px rgba(33, 31, 24, 0.06);
}

.large-panel {
  grid-row: span 2;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.panel-heading.compact {
  align-items: center;
}

.panel-heading h2,
.match-card h2,
.message-panel h2,
.profile-form h2,
.profile-summary h2 {
  margin-bottom: 0;
  font-size: 32px;
}

.panel-heading a {
  color: var(--teal);
  font-weight: 700;
}

.status-chip,
.match-top span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.job-list,
.progress-list,
.contact-list {
  display: grid;
  gap: 14px;
}

.job-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.job-mark {
  color: var(--teal);
  font-weight: 800;
}

.job-row p {
  margin: 5px 0 0;
  color: var(--muted);
}

.job-row em {
  color: var(--teal);
  font-style: normal;
  font-weight: 800;
}

.progress-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
}

progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #ebe4d8;
}

progress::-webkit-progress-bar {
  background: #ebe4d8;
}

progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--teal);
}

.calendar-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.calendar-card + .calendar-card {
  margin-top: 14px;
}

.calendar-card span {
  color: var(--coral);
  font-weight: 800;
}

.calendar-card strong {
  display: block;
  margin-top: 8px;
}

.calendar-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.muted-card {
  background: #f8f1e7;
}

.toolbar-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px;
}

.toolbar-panel label,
.profile-form label {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.toolbar-panel input,
.toolbar-panel select,
.profile-form input,
.message-panel textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.match-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.match-card {
  padding: 26px;
}

.match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.match-card ul {
  min-height: auto;
  margin-top: 24px;
}

.match-card a,
.contact-list a {
  color: var(--teal);
  font-weight: 800;
}

.table-panel {
  overflow-x: auto;
}

.app-table {
  min-width: 760px;
  border-top: 1px solid var(--line);
}

.app-table [role="row"] {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1.2fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.app-table em {
  color: var(--teal);
  font-style: normal;
  font-weight: 800;
}

.contact-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contact-list p {
  margin: 7px 0 16px;
  color: var(--muted);
}

.message-panel textarea {
  min-height: 260px;
  margin: 22px 0;
  padding: 18px;
  line-height: 1.65;
  resize: vertical;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
}

.profile-form {
  display: grid;
  gap: 18px;
}

.profile-summary h2 {
  margin: 18px 0 12px;
  color: var(--teal);
  font-size: 78px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.float-card,
.mini-card {
  animation: card-drift 6s ease-in-out infinite;
}

.mini-card:nth-child(2) {
  animation-delay: 450ms;
}

.mini-card:nth-child(3) {
  animation-delay: 900ms;
}

.mini-card:nth-child(4) {
  animation-delay: 1350ms;
}

@keyframes card-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes rule-dot {
  0%,
  100% {
    right: 18%;
  }
  50% {
    right: 4%;
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 20px;
  }

  .hero,
  .section-intro,
  .split-heading,
  .legal-title {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 720px;
  }

  .capability-grid,
  .pricing-grid,
  .timeline,
  .auth-main,
  .app-shell,
  .app-grid,
  .two-col,
  .match-board,
  .profile-grid,
  .toolbar-panel {
    grid-template-columns: 1fr;
  }

  .auth-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 720px) {
  .section-pad,
  .site-header {
    padding-inline: 18px;
  }

  .site-header {
    gap: 18px;
  }

  .header-actions {
    justify-content: flex-end;
    gap: 12px;
  }

  .nav-cta {
    min-width: auto;
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 74px);
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hand-note {
    margin-left: 28px;
  }

  .hero-visual {
    min-height: 760px;
  }

  .portrait-panel {
    left: 0;
    width: 72%;
    height: 430px;
  }

  .side-stack {
    top: 40%;
    width: 74%;
  }

  .availability-card {
    left: auto;
    right: 0;
    bottom: 1%;
    width: 78%;
  }

  .curve-line,
  .paper-panel {
    display: none;
  }

  .resource-list a {
    grid-template-columns: 1fr auto;
  }

  .resource-list span {
    grid-column: 1 / -1;
  }

  .auth-proof,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .auth-nav {
    display: none;
  }

  .app-main {
    padding: 22px 18px;
  }

  .app-topbar {
    flex-direction: column;
  }

  .account-pill,
  .app-action {
    width: 100%;
  }

  .metric-grid,
  .pipeline {
    grid-template-columns: 1fr;
  }

  .job-row {
    grid-template-columns: 1fr;
  }
}
