/* ==========================================================================
   Pace Case Study Page Styles — From designing to actually building Pace
   Figma Exact Spec: Desktop - 34 (Page 2)
   ========================================================================== */

.pace-page {
  background-color: var(--bg-canvas, #FAF7EE);
  color: var(--color-text-headline, #330F00);
  font-family: var(--font-case-study, 'Google Sans Flex', 'Google Sans', sans-serif);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pace-main {
  flex: 1;
  width: 100%;
  overflow-x: hidden;
}

/* ==========================================================================
   Header Action: Download App Button (Figma Node 221:227)
   Outer Wrapper: Height 44px | Radius 100px | Padding 4px | Fill #F8F3D9
   Inner Pill: Height 36px | Radius 100px | Padding 10px 24px | Fill #FFFFFF
   Text: Inter Medium 13px | Fill #330F00
   ========================================================================== */

.pace-nav-action {
  display: flex;
  align-items: center;
}

.pace-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background-color: var(--bg-nav-capsule, #F8F3D9);
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}

.pace-download-btn:hover {
  background-color: #F2E8BE;
}

.pace-download-btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  height: 36px;
  background-color: #FFFFFF;
  border-radius: 100px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 500;
  font-size: 13px;
  color: #330F00;
  white-space: nowrap;
  letter-spacing: 0;
  line-height: 1;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.pace-download-btn:active .pace-download-btn-inner {
  transform: scale(0.98);
}

/* ==========================================================================
   Hero Header / Title Block (Figma Node 179:2 - Frame 1814107081)
   Width: 1440px | Height: 394px | Padding: 112px 80px | Gap: 20px
   ========================================================================== */

.pace-hero-section {
  width: 100%;
  background-color: var(--bg-canvas, #FAF7EE);
}

.pace-hero-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 112px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.pace-hero-title {
  font-family: var(--font-case-study, 'Google Sans Flex', 'Google Sans', sans-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: 0.012em;
  color: var(--color-text-headline, #330F00);
  text-align: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.pace-hero-title .highlight-orange {
  color: var(--color-brand-orange, #F54600);
}

.pace-hero-subtitle {
  font-family: var(--font-case-study, 'Google Sans Flex', 'Google Sans', sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0.01em;
  color: var(--color-text-headline, #330F00);
  text-align: center;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

/* ==========================================================================
   Motion Video / Hero Showcase Banner (Figma Node 179:36 & 179:38)
   Width: 1440px | Padding: 0 80px | Inner Width: 1280px | Height: 600px
   Inner Background: #FDFCF7 | Clips Content
   ========================================================================== */

.pace-showcase-section {
  width: 100%;
  background-color: var(--bg-canvas, #FAF7EE);
  padding: 0 80px; /* 80px left and right padding (Figma Node 179:36), 0 bottom to maintain exact 136px gap to first story text */
}

.pace-showcase-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pace-showcase-frame {
  width: 100%;
  aspect-ratio: 1280 / 750;
  background-color: #FFFFFF;
  overflow: hidden;
  position: relative;
  display: block;
  user-select: none;
  container-type: inline-size;
}

/* Pace Brand Lockup (Figma Node 181:297) */
.pace-brand-lockup {
  position: absolute;
  left: 3.75%;    /* 48px / 1280px */
  top: 6.4%;      /* 48px / 750px (Preserves exact 48px top position) */
  width: 14.0625%; /* 180px / 1280px */
  z-index: 10;
  pointer-events: none;
}

.pace-lockup-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Mockup Items (Figma Rectangles 258px x 574px, Corner Radius 32px) */
.pace-mockup-item {
  position: absolute;
  width: 20.15625%; /* 258px / 1280px (Width Unchanged: 258px) */
  height: 76.5333%; /* 574px / 750px (Height Unchanged: 574px) */
  border-radius: clamp(10px, 2.5cqw, 32px);
  overflow: hidden;
  background-color: #FFFFFF;
  z-index: 1;

  /* Force dedicated hardware composite layer & high refresh rate (60Hz / 120Hz) */
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  contain: layout paint;
  animation: paceMockupWave 6.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* Screen 1: Splash (Figma Node 181:75) - Phase: 180° (Crest) */
.pace-mockup-splash {
  left: 7.34375%;  /* 94px / 1280px */
  top: 24%;        /* 180px / 750px (Preserves exact 180px top position) */
  animation-delay: -3.3s;
}

/* Screen 2: Task Eisenhower Matrix (Figma Node 179:14) - Phase: 120° */
.pace-mockup-task {
  left: 29.0625%;  /* 372px / 1280px */
  top: 18.667%;    /* 140px / 750px (Preserves exact 140px top position) */
  animation-delay: -2.2s;
}

/* Screen 3: Pomodoro Timer (Figma Node 179:34) - Phase: 60° */
.pace-mockup-pomo {
  left: 50.78125%; /* 650px / 1280px */
  top: 13.867%;    /* 104px / 750px (Preserves exact 104px top position) */
  animation-delay: -1.1s;
}

/* Screen 4: Home Notes (Figma Node 179:19) - Phase: 0° (Trough) */
.pace-mockup-home {
  left: 72.5%;     /* 928px / 1280px */
  top: 19.733%;    /* 148px / 750px (Preserves exact 148px top position) */
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.12);
  animation-delay: 0s;
}

/* Continuous Soft Wave Animation (3D GPU Subpixel Interpolation) */
@keyframes paceMockupWave {
  0%, 100% {
    transform: translate3d(0, 10px, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pace-mockup-item {
    animation: none;
  }
}

.pace-mockup-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  background-color: #FFFFFF;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
}

/* ==========================================================================
   Circular Blur & Yellow Vignette Overlay (Soft Perimeter Dissolve)
   Keeps the central screen cluster crisp & unobstructed
   ========================================================================== */

.pace-showcase-blur-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  /* Symmetrically balanced perimeter mask: equal top, bottom, left and right overlay framing */
  mask-image: radial-gradient(ellipse 58% 50% at 50% 45%, transparent 58%, rgba(0, 0, 0, 0.45) 76%, black 90%);
  -webkit-mask-image: radial-gradient(ellipse 58% 50% at 50% 45%, transparent 58%, rgba(0, 0, 0, 0.45) 76%, black 90%);
}

/* Perimeter Vignette Glow Wash in #E6F4E9 framing upper side, bottom, and left/right flanks equally */
.pace-showcase-blur-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, #E6F4E9 0%, rgba(230, 244, 233, 0.9) 6%, rgba(230, 244, 233, 0.35) 11%, rgba(230, 244, 233, 0) 16%),
    linear-gradient(to right, #E6F4E9 0%, rgba(230, 244, 233, 0.9) 5%, rgba(230, 244, 233, 0.35) 10%, rgba(230, 244, 233, 0) 18%),
    linear-gradient(to left, #E6F4E9 0%, rgba(230, 244, 233, 0.9) 5%, rgba(230, 244, 233, 0.35) 10%, rgba(230, 244, 233, 0) 18%),
    radial-gradient(ellipse 58% 52% at 50% 45%, rgba(230, 244, 233, 0) 54%, rgba(230, 244, 233, 0.45) 72%, #E6F4E9 88%, #E6F4E9 100%);
  pointer-events: none;
}

/* Symmetrical bottom mist dissolve pushed lower down toward the bottom edge in #E6F4E9 */
.pace-showcase-blur-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #E6F4E9 0%, rgba(230, 244, 233, 0.9) 7%, rgba(230, 244, 233, 0.35) 15%, rgba(230, 244, 233, 0) 24%);
  pointer-events: none;
}

/* ==========================================================================
   Case Study Narrative Content (Figma Frame 1814107131)
   Exact Typography, Spacing, Padding, and Colors from Figma
   ========================================================================== */

.pace-story-container {
  width: 100%;
  max-width: 1040px; /* 1040px content width (Figma Frame 1814107131) */
  margin: 0 auto;
  padding: 136px 20px 140px; /* 136px top & bottom padding from Figma */
  box-sizing: border-box;
}

/* Main Section Blocks: 120px gap (Figma itemSpacing: 120) */
.pace-story-block {
  margin-bottom: 120px;
}

.pace-story-block:last-child {
  margin-bottom: 0;
}

/* Section Title: Google Sans Flex Bold 26px, #330F00, left-aligned, 48px bottom spacing (Figma counterAxisAlignItems: MIN) */
.pace-section-title {
  font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.015em;
  color: #330F00;
  text-align: left;
  margin: 0 0 48px 0;
}

/* Step 1 Block: Exact Figma Frame 221:267 / Frame 1814107086 (1040px x 3316px) */
.pace-step1-block {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 120px auto;
  display: flex;
  flex-direction: column;
  gap: 104px; /* Figma Frame 1814107086 itemSpacing: 104 */
  box-sizing: border-box;
}

.pace-step1-block .pace-section-title {
  margin: 0;
  text-align: left;
  color: #330F00; /* " Designing in Figma" color */
}

/* "Step 1:" label — orange accent color (#F54600) matching Figma rgb(245,70,0) */
.pace-step-label {
  color: #F54600;
}

.pace-step1-block .pace-step-subsection {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 72px; /* Figma itemSpacing: 72 */
}

/* Gap between Creating Notes and Pomodoro: 144px (matching Pomodoro-to-Eisenhower 144px visual distance) */
.pace-step1-block .pace-notes-subsection {
  margin-bottom: 40px; /* 104px flex gap + 40px = 144px */
}

.pace-step1-block .pace-subsection-title {
  font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.015em;
  color: #330F00;
  text-align: left;
  margin: 0;
}

.pace-step1-block .pace-media-single-center {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Pomodoro main video: Frame 1814107133 has padding: [0, 0, 40, 0] */
.pace-step1-block .pace-pomo-main-video {
  padding: 0 0 40px 0;
  margin: 0 auto;
}

/* Pomodoro dual sub-videos: Frame 1814107134 has padding: [40, 0, 40, 0], itemSpacing: 248 */
.pace-step1-block .pace-timer-dual {
  padding: 40px 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 248px; /* Figma exact itemSpacing: 248 */
}

.pace-step1-block .pace-timer-dual .pace-dual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px; /* Figma Frame 1814107046/47 itemSpacing: 24 */
}

.pace-step1-block .pace-timer-dual .pace-media-caption {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #330F00;
  text-align: center;
  margin: 0;
}

/* Eisenhower Matrix Section (Frame 1814107139: 1040px x 945px, gap: 72px) */
.pace-step1-block .pace-eisenhower-section {
  display: flex;
  flex-direction: column;
  gap: 72px; /* Figma itemSpacing: 72 between text wrap and video */
}

.pace-eisenhower-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px; /* Figma Frame 1814107140 itemSpacing: 48 */
  width: 100%;
}

.pace-eisenhower-text-wrap .pace-subsection-title {
  font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 25px; /* Figma exact height: 25px */
  letter-spacing: 0.015em; /* Figma letterSpacing: 1.5% */
  color: #330F00;
  text-align: left;
  margin: 0;
}

.pace-eisenhower-content {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Figma Frame 1814107085 itemSpacing: 20 */
  width: 100%;
}

.pace-eisenhower-p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px; /* Figma line-height: 28px */
  letter-spacing: 0.01em; /* Figma letterSpacing: 1% */
  color: #330F00;
  margin: 0;
  padding: 0;
  text-align: left;
}

.pace-quadrants-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Figma Frame 1814107088 itemSpacing: 24 */
  width: 100%;
}

.pace-quadrants-heading {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 600; /* Inter SemiBold */
  line-height: 30px; /* Figma line-height: 30px */
  letter-spacing: 0.01em; /* Figma letterSpacing: 1% */
  color: #330F00;
  margin: 0;
  padding: 0;
  text-align: left;
}

.pace-quadrants-list {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Figma Frame 1814107093 itemSpacing: 12 */
  margin: 0;
  padding: 0;
  width: 100%;
}

.pace-quadrant-item {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px; /* Figma line-height: 28px */
  letter-spacing: 0.01em; /* Figma letterSpacing: 1% */
  color: #330F00;
  margin: 0;
  padding: 0 0 0 25px; /* Figma text start at x=25px */
  position: relative;
  text-align: left;
  box-sizing: border-box;
}

/* Figma UNORDERED list bullet: 5px round dot centered at x=12px, y=14px, #330F00 */
.pace-quadrant-item::before {
  content: '';
  position: absolute;
  left: 9.5px; /* Center at 12px (9.5px + 2.5px radius) */
  top: 11.5px; /* Center at 14px in 28px line-height (11.5px + 2.5px radius) */
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #330F00;
  box-sizing: border-box;
}

.pace-quadrant-bold {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600; /* Figma Inter Semi Bold 600 */
}

/* Subsections inside other Steps: 72px top spacing */
.pace-step-subsection {
  margin-top: 72px;
}

/* Subsection Title: Google Sans Flex Bold 20px, #330F00, left-aligned, 72px bottom spacing (Figma counterAxisAlignItems: MIN) */
.pace-subsection-title {
  font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.015em;
  color: #330F00;
  text-align: left;
  margin: 0 0 72px 0;
}

.pace-step-subsection:last-child .pace-subsection-title {
  margin-bottom: 48px;
}

.pace-step1-block .pace-step-subsection:last-child .pace-subsection-title {
  margin: 0;
}

/* Centered Token Subsections for Step 2 (Figma Frame 1814107144 / 1814107145 / 1814107146)
   - Layout: VERTICAL, align-items: center
   - Gap between title and media: 72px (Figma itemSpacing: 72)
   - Padding: 0 (Figma padding: 0)
   - Top Margin / Gap: 128px (Figma Frame 1814107149 itemSpacing: 128)
*/
.pace-tokens-subsection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  margin-top: 128px;
  padding: 0;
}

.pace-tokens-subsection .pace-token-title {
  font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.015em;
  color: #330F00;
  text-align: center;
  margin: 0;
}

.pace-tokens-subsection .pace-media-fullwidth {
  width: 100%;
  margin: 0;
}

.pace-tokens-subsection .pace-media-dual-grid {
  width: 100%;
  margin: 0;
}

.pace-tokens-subsection .pace-doc-image {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  display: block;
}

/* Workflow Block (Figma Frame 221:163 / Frame 1814107090 - 221:256)
   Exact Figma specs:
   - Container width: 1040px, height: 190px
   - Gap between items (paragraphSpacing): 8px
   - Line height: 25px
   - Font: Inter Regular / SemiBold 600, 16px
   - Letter spacing: 1% (0.01em / 0.16px)
   - Color: #330F00
*/
.pace-workflow-block {
  margin-bottom: 120px;
}

.pace-workflow-content {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Updated gap between points to 12px */
  width: 100%;
  max-width: 1040px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.pace-workflow-item {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 25px; /* Figma exact line-height: 25px */
  letter-spacing: 0.01em; /* Figma letterSpacing: 1% */
  color: #330F00;
  margin: 0;
  padding: 0;
  text-align: left;
}

.pace-workflow-item strong {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600; /* Figma Inter Semi Bold wght: 600 */
}

/* What I Created Block (Figma Context Wrapper - 221:243, height: 295px)
   Exact Figma specs:
   - Frame width: 1040px, total height: 295px
   - Gap between "What I created?" title and content: 48px
   - Paragraph 1 (Frame 1814107085): 16px Inter Regular, lineHeight: 28px, letterSpacing: 1%, color: #330F00
   - Bold keywords: Notion, Timer app, Eisenhower matrix app (Inter SemiBold 600)
   - Gap between Paragraph 1 and Problem Frame: 48px (Figma itemSpacing: 48)
   - "The problem is:" (node 221:250): 16px Inter SemiBold 600, lineHeight: 30px, color: #330F00
   - Gap between "The problem is:" and bullet: 24px (Figma itemSpacing: 24)
   - Bullet item (Frame 1814107090): 
     - bullet symbol: • color: #330F00
     - gap between bullet and text: 8px (Figma itemSpacing: 8)
     - text: 16px Inter, lineHeight: 28px, color: #330F00
     - "Switching between apps": Inter Medium (500)
     - remainder: Inter Regular (400)
   - Padding: 0
*/
.pace-created-block {
  margin-bottom: 120px;
}

.pace-created-content {
  display: flex;
  flex-direction: column;
  gap: 48px; /* Figma itemSpacing: 48 */
  width: 100%;
  max-width: 1040px;
  margin: 0;
  padding: 0;
}

.pace-created-p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px; /* Figma line-height: 28px */
  letter-spacing: 0.01em; /* Figma letterSpacing: 1% */
  color: #330F00;
  margin: 0;
  padding: 0;
}

.pace-created-p strong {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600; /* Figma Inter SemiBold 600 */
}

.pace-problem-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Figma itemSpacing: 24 */
  margin: 0;
  padding: 0;
}

.pace-problem-heading {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 600; /* Figma Inter SemiBold 600 */
  line-height: 30px; /* Figma line-height: 30px */
  letter-spacing: 0.01em;
  color: #330F00;
  margin: 0;
  padding: 0;
}

.pace-problem-item {
  display: flex;
  align-items: baseline;
  gap: 8px; /* Figma itemSpacing: 8 */
  margin: 0;
  padding: 0;
}

.pace-bullet-symbol {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: #330F00;
  flex-shrink: 0;
}

.pace-problem-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px; /* Figma line-height: 28px */
  letter-spacing: 0.01em;
  color: #330F00;
  margin: 0;
  padding: 0;
}

.pace-problem-text strong {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500; /* Figma Inter Medium 500 */
}

/* Step 2 Padded Block (Figma Frame 1814107149 - padding: 40px 0) */
.pace-step2-block {
  padding: 40px 0;
}

/* Steps 3, 4, 5, 6 Padded Blocks (Figma padding: 80px 0 0 0) */
.pace-step-padded-block {
  padding-top: 80px;
}

/* Sub-block Labels: Inter SemiBold 16px, line-height 28px, #330F00 */
.pace-label-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.01em;
  color: #330F00;
  margin: 0 0 16px 0;
}

/* Body Paragraphs: Inter Regular 16px, line-height 28px, #330F00, 20px paragraph gap */
.pace-story-p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.01em;
  color: #330F00;
  margin: 0 0 20px 0;
}

.pace-story-p:last-child {
  margin-bottom: 0;
}

.pace-text-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.pace-text-group .pace-story-p {
  margin-bottom: 0;
}

.pace-sub-block {
  margin-top: 24px;
}

.pace-step5-block .pace-text-group {
  margin-bottom: 0;
}

.pace-step5-block .pace-sub-block {
  margin-top: 0;
}

/* Step 6 Block (Figma Frame 1814107153 - padding: 0) */
.pace-step6-block {
  padding: 0;
}

.pace-step6-block .pace-text-group {
  margin-bottom: 0;
}

.pace-callouts-group {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pace-callouts-group .pace-story-p {
  margin-bottom: 0;
}

/* Footnote & Accents */
.pace-story-footnote {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.01em;
  color: #330F00;
  margin-top: 14px;
}

.pace-star-accent {
  color: #F54600;
  font-weight: 600;
  margin-right: 3px;
}

/* Clean Unbulleted Lists (Figma Frame 1814107093) */
.pace-quadrants-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.pace-clean-list {
  display: flex;
  flex-direction: column;
}

.pace-gap-8 {
  gap: 8px;
  margin-top: 0;
}

.pace-clean-item {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.01em;
  color: #330F00;
  margin: 0;
  padding: 0 0 0 25px; /* Text starts at x=25px matching Figma */
  position: relative;
  text-align: left;
  box-sizing: border-box;
}

/* Figma UNORDERED list bullet: 5px round dot centered at x=12px, y=14px, #330F00 */
.pace-clean-item::before {
  content: '';
  position: absolute;
  left: 9.5px; /* Center at 12px (9.5px + 2.5px radius) */
  top: 11.5px; /* Center at 14px in 28px line-height (11.5px + 2.5px radius) */
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #330F00;
  box-sizing: border-box;
}

/* Pace Brand Intro Block */
.pace-brand-intro-block {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.pace-story-brand-lockup {
  width: 129px;
  height: 46px;
}

.pace-story-logo {
  width: 129px;
  height: 46px;
  display: block;
}

/* Centered Phone Frames & Videos */
.pace-media-single-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
}

.pace-pomo-main-video {
  margin: 0 auto 40px auto; /* Figma Frame 1814107133 padding: [0, 0, 40, 0] */
}

.pace-phone-frame {
  width: 247px;
  height: 550px;
  border-radius: 20px; /* Figma cornerRadius: 20 */
  overflow: hidden;
  background-color: #FFFFFF;
  box-shadow: 0 4px 36px 1px rgba(0, 0, 0, 0.1); /* Figma dropShadow: offset (0, 4), blur 36, spread 1, rgba(0,0,0,0.1) */
  position: relative;
  display: block;
}

.pace-phone-frame video,
.pace-phone-frame img,
.pace-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  background-color: #FFFFFF;
}

.pace-phone-frame-sm {
  width: 225px;
  height: 500px;
  border-radius: 20px; /* Figma cornerRadius: 20 */
  box-shadow: 0 4px 36px 1px rgba(0, 0, 0, 0.1);
}

.pace-phone-frame-note {
  width: 248px;
  height: 550px;
  border-radius: 20px;
}

/* Dual Media Row (Timer & Usability Testing) */
.pace-media-dual-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 40px auto;
}

.pace-timer-dual {
  padding: 40px 0; /* Figma Frame 1814107134 padding: [40, 0, 40, 0] */
  gap: clamp(40px, 15vw, 248px); /* 248px itemSpacing from Figma */
}

.pace-testing-screens {
  padding-top: 48px; /* Figma Frame 1814107063 padding: [48, 0, 0, 0] */
  gap: clamp(40px, 8vw, 112px); /* 112px itemSpacing from Figma */
}

.pace-dual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pace-paper-frame {
  width: 417px;
  height: 550px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #FFFFFF;
  box-shadow: 0 10px 32px rgba(51, 15, 0, 0.08);
}

.pace-media-caption {
  display: block;
  text-align: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #330F00;
  margin-top: 14px;
}

/* ==========================================================================
   Block 10: Usability testing (Figma Context Wrapper - 226:775)
   ========================================================================== */
.pace-usability-block {
  margin-bottom: 120px;
}

.pace-usability-block .pace-section-title {
  margin: 0 0 48px 0;
  font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 33px;
  letter-spacing: 0.015em;
  color: #330F00;
  text-align: left;
}

.pace-usability-block .pace-text-group {
  margin: 0;
}

.pace-usability-block .pace-text-group .pace-story-p {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.01em;
  color: #330F00;
}

.pace-usability-block .pace-step-subsection {
  margin: 48px 0 0 0;
}

.pace-usability-block .pace-subsection-title {
  margin: 0 0 48px 0;
  font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: 0.015em;
  color: #330F00;
  text-align: left;
}

.pace-usability-block .pace-callouts-group {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pace-usability-block .pace-callouts-group .pace-story-p {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.01em;
  color: #330F00;
}

.pace-usability-block .pace-callouts-group strong {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  color: #330F00;
}

.pace-usability-block .pace-testing-screens {
  margin: 0;
  padding: 96px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 112px;
}

.pace-usability-block .pace-dual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.pace-usability-block .pace-testing-phone {
  width: 248px;
  height: 550px;
  border-radius: 20px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.14);
  display: block;
}

.pace-usability-block .pace-testing-paper {
  width: 417px;
  height: 550px;
  border-radius: 12px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.14);
  display: block;
}

.pace-usability-block .pace-media-caption {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0;
  color: #330F00;
  text-align: center;
}

/* Documentation Images & Grids */
.pace-media-fullwidth {
  width: 100%;
  margin: 32px auto 48px;
}

.pace-doc-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 24px rgba(51, 15, 0, 0.06);
}

.pace-media-dual-grid {
  display: grid;
  margin: 32px auto 48px;
  align-items: start;
}

.pace-colors-grid {
  grid-template-columns: 501fr 503fr;
  gap: 36px; /* 36px gap from Figma */
}

.pace-spacing-grid {
  grid-template-columns: 501fr 501fr;
  gap: 38px; /* 38px gap from Figma */
}

.pace-prd-grid {
  display: grid;
  grid-template-columns: 464fr 527fr;
  gap: 49px; /* 49px gap from Figma */
  margin: 120px 0 0 0; /* Figma Frame 1814107150 itemSpacing: 120 */
  align-items: center;
  width: 100%;
}

.pace-prd-grid .pace-doc-image {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  display: block;
}

.pace-captioned-image {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pace-handoff-media {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 120px auto 0 auto; /* Figma Frame 1814107151 itemSpacing: 120 */
  width: 100%;
}

.pace-handoff-image-wrap {
  max-width: 621px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center; /* Figma Frame 1814107152 counterAxisAlignItems: CENTER */
  gap: 24px; /* Figma Frame 1814107152 itemSpacing: 24 */
}

.pace-handoff-image-wrap .pace-doc-image {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  display: block;
}

.pace-handoff-image-wrap .pace-media-caption {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 25px; /* Figma lineHeight: 25px */
  letter-spacing: 0.01em; /* Figma letterSpacing: 1% */
  color: #330F00;
  text-align: center;
  margin: 0;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
  .pace-hero-container {
    padding: 80px 40px 40px 40px;
  }

  .pace-hero-title {
    font-size: 32px;
    line-height: 44px;
  }

  .pace-showcase-section {
    padding: 0 40px;
  }

  .pace-story-container {
    padding: 100px 32px 120px;
  }

  .pace-story-block {
    margin-bottom: 96px;
  }

  .pace-timer-dual,
  .pace-step1-block .pace-timer-dual {
    gap: 80px;
  }

  .pace-testing-screens {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .pace-hero-container {
    padding: 60px 24px 32px 24px;
    gap: 16px;
  }

  .pace-hero-title {
    font-size: 26px;
    line-height: 36px;
  }

  .desktop-br {
    display: none;
  }

  .pace-hero-subtitle {
    font-size: 15px;
    line-height: 23px;
  }

  .pace-showcase-section {
    padding: 0 24px;
  }

  .pace-story-container {
    padding: 80px 24px 100px;
  }

  .pace-story-block {
    margin-bottom: 80px;
  }

  .pace-section-title {
    font-size: 22px;
    margin-bottom: 36px;
  }

  .pace-step-subsection {
    margin-top: 56px;
  }

  .pace-subsection-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .pace-colors-grid,
  .pace-spacing-grid,
  .pace-prd-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pace-timer-dual,
  .pace-testing-screens {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .pace-paper-frame,
  .pace-testing-paper {
    width: 100%;
    max-width: 417px;
    height: auto;
    aspect-ratio: 417 / 550;
  }
}

@media (max-width: 480px) {
  .pace-hero-container {
    padding: 48px 16px 24px 16px;
  }

  .pace-hero-title {
    font-size: 22px;
    line-height: 32px;
  }

  .pace-hero-subtitle {
    font-size: 14px;
    line-height: 21px;
  }

  .pace-showcase-section {
    padding: 0 16px;
  }

  .pace-story-container {
    padding: 60px 16px 80px;
  }

  .pace-story-block {
    margin-bottom: 64px;
  }

  .pace-section-title {
    font-size: 20px;
    margin-bottom: 28px;
  }

  .pace-phone-frame {
    width: 220px;
    height: 490px;
  }

  .pace-phone-frame-sm {
    width: 200px;
    height: 445px;
  }

  .pace-story-p {
    font-size: 15px;
    line-height: 26px;
  }
}

