/* ============================================================================
   RESET & BASE
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    background-color: #000000;
    color: #FFFFFF;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================================================
   GLOBAL REDUCED MOTION
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================================
   SECTION 0: ARRIVAL TIMESTAMP
   ============================================================================ */

.section-arrival {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Slightly reduce arrival height on desktop to improve first-page economy */
@media (min-width: 769px) {
    .section-arrival {
        height: min(100vh, 900px);
    }
}

.arrival-timestamp {
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10;
}

.arrival-timestamp.fixed {
    position: fixed;
    top: 24px;
    right: 24px;
    opacity: 0.2;
    transform: scale(0.8);
    text-align: right;
}

.arrival-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 8px;
}

.arrival-time {
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.arrival-date {
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
}

.arrival-entry {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666666;
    margin-top: 8px;
}

.arrival-timestamp.fixed .arrival-label,
.arrival-timestamp.fixed .arrival-time,
.arrival-timestamp.fixed .arrival-date {
    font-size: 12px;
    color: #444444;
}

.arrival-word {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.02em;
    opacity: 0;
    transition: opacity 0.3s;
    /* Tighter spacing for better vertical economy */
    margin-top: 40px;
}

.arrival-word.visible {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 80px;
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom, #FFFFFF, transparent);
    opacity: 0;
    transition: opacity 0.3s;
    animation: none;
}

.scroll-indicator.visible {
    height: 80px;
    opacity: 1;
    animation: growLine 0.8s ease forwards;
}

@keyframes growLine {
    from {
        height: 0;
    }
    to {
        height: 80px;
    }
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #FFFFFF;
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s ease-in-out infinite 4s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.5);
    }
}

.scroll-indicator.visible::after {
    opacity: 1;
}

/* ============================================================================
   SECTION 1: HERO (CINEMATIC BUT EFFICIENT - NOT FULL SCREEN)
   ============================================================================ */

.section-hero {
    /* Balanced weight: hero occupies ~48% of viewport for institutional authority */
    height: min(48vh, 460px);
    min-height: min(48vh, 460px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* Headline positioned in top half for inevitable, weighted feel */
    padding-top: clamp(80px, 10vh, 110px);
    padding-bottom: 0;
}

.hero-text {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 0.03em;
    text-align: center;
    margin: 0;
    line-height: 1.3;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: heroFadeIn 0.5s ease-out 0.3s forwards;
    /* Pull text upward for earlier visibility and heavier feel */
    margin-top: 0;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        letter-spacing: 0.02em;
    }
}

/* ============================================================================
   PRESSURE PUNCH (TIGHTENED - CONTINUATION, NOT NEW CHAPTER)
   ============================================================================ */

.section-pressure-punch {
    /* Reduced negative margin: allows hero to breathe while keeping pressure punch visible early */
    padding: 20px 24px 48px;
    margin-top: -55px;
    text-align: center;
}

.pressure-punch-text {
    max-width: 680px;
    margin: 0 auto;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    color: #BBBBBB;
}

.pressure-punch-text p {
    /* Tighter paragraph spacing for faster momentum */
    margin-bottom: 12px;
}

.pressure-punch-text p:last-child {
    margin-bottom: 0;
}

/* ============================================================================
   COMMON SECTION STYLES (LEDGER RHYTHM - NO 100vh)
   ============================================================================ */

.section {
    padding: 64px 24px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.section-number {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555555;
    margin-bottom: 24px;
}

.section-timestamp {
    font-size: 10px;
    font-family: 'Courier New', 'Monaco', monospace;
    color: #333333;
    letter-spacing: 0.08em;
    opacity: 0;
    transition: opacity 0.4s ease;
    margin-top: 24px;
}

.section-timestamp.visible {
    opacity: 1;
}

.section-headline {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.section-subtext {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.6;
    color: #888888;
    margin-bottom: 36px;
}

.section-body {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 24px;
}

.section-body-bottom {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 32px;
}


/* ============================================================================
   SECTION 2: THE PROBLEM
   ============================================================================ */

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.grid-item {
    display: flex;
    flex-direction: column;
}

.grid-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.grid-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #888888;
}

/* ============================================================================
   SECTION 3: THE SOLUTION
   ============================================================================ */

.bordered-statement {
    border-left: 2px solid #FFFFFF;
    padding-left: 32px;
    margin: 40px 0;
}

.bordered-statement p {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 16px;
}

.bordered-statement p:last-child {
    margin-bottom: 0;
}

/* ============================================================================
   SECTION 4: THE TRUTH
   ============================================================================ */

.comparison-grid {
    margin: 32px 0;
}

.comparison-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid #1a1a1a;
}

.comparison-row:last-child {
    border-bottom: 1px solid #1a1a1a;
}

.comparison-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555555;
}

.comparison-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

.large-statement {
    margin: 36px 0;
}

.large-statement p {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
}

.large-statement p:last-child {
    margin-bottom: 0;
}

/* ============================================================================
   SECTION 6: PRESSURE
   ============================================================================ */

.section-pressure {
    padding: 56px 24px;
}

.pressure-text {
    max-width: 680px;
    margin: 0 auto;
}

.pressure-text p {
    margin-bottom: 20px;
    color: #BBBBBB;
}

.pressure-text p:last-child {
    margin-bottom: 0;
}

.pressure-emphasis {
    color: #FFFFFF;
    font-style: italic;
}

.pressure-last {
    color: #FFFFFF;
    display: inline-block;
    margin-top: 8px;
}

/* ============================================================================
   SECTION 7: ENTRY PREVIEW
   ============================================================================ */

.section-preview {
    padding: 56px 24px;
}

.preview-entry {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #1a1a1a;
    padding: 28px;
    opacity: 0.85;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #1a1a1a;
}

.preview-timestamp {
    font-family: 'Courier New', 'Monaco', monospace;
    font-size: 13px;
    color: #888888;
    letter-spacing: 0.05em;
}

.preview-status {
    font-size: 9px;
    color: #555555;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.preview-text {
    font-size: 17px;
    color: #888888;
    line-height: 1.6;
    font-style: italic;
}

/* ============================================================================
   SECTION 9: FINAL (content-height, NOT 100vh)
   ============================================================================ */

.section-final {
    text-align: center;
    padding: 64px 24px 56px;
}

.final-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.final-headline {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 36px;
}

.request-button {
    background-color: #FFFFFF;
    color: #000000;
    border: none;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    margin-bottom: 20px;
}

.request-button:hover {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.request-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cta-subline {
    font-size: 12px;
    color: #666666;
    letter-spacing: 0.02em;
    margin-top: 20px;
    margin-bottom: 24px;
}

.opening-soon {
    font-size: 14px;
    color: #666666;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.request-logged {
    text-align: center;
}

.logged-text {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 14px;
}

.logged-time {
    font-size: 13px;
    color: #888888;
    margin-bottom: 40px;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    width: 100%;
    margin: 40px auto 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.request-form.visible {
    opacity: 1;
    transform: translateY(0);
}

.request-form input[type="email"] {
    background-color: transparent;
    border: 1px solid #1a1a1a;
    color: #FFFFFF;
    padding: 14px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.request-form input[type="email"]:focus {
    outline: none;
    border-color: #FFFFFF;
}

.request-form input[type="email"]:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.request-form input[type="email"]::placeholder {
    color: #444444;
}

.request-form .request-button {
    margin-bottom: 0;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.consent-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    cursor: pointer;
}

.consent-box {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: transparent;
    border-radius: 2px;
    position: relative;
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.consent-checkbox:hover .consent-box {
    border-color: rgba(255, 255, 255, 0.55);
}

.consent-checkbox input[type="checkbox"]:focus-visible + .consent-box {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.request-button:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

.consent-checkbox input[type="checkbox"]:checked + .consent-box {
    border-color: rgba(255, 255, 255, 0.65);
}

.consent-checkbox input[type="checkbox"]:checked + .consent-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid rgba(255, 255, 255, 1);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.consent-text {
    flex: 1;
}

.consent-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.consent-link:hover {
    color: rgba(255, 255, 255, 1);
}

.consent-error {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: -8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.consent-error.visible {
    opacity: 1;
}

/* ============================================================================
   SECTION 10: FOOTER
   ============================================================================ */

.footer {
    padding: 64px 24px 48px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    min-height: auto;
    position: relative;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.footer.record-view {
    opacity: 0.2;
    margin-top: 80px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-copyright {
    font-size: 12px;
    color: #555555;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

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

.footer-link {
    color: #666666;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    padding: 10px 14px;
    display: inline-block;
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-separator {
    color: #444444;
}

/* ============================================================================
   MOBILE RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .arrival-word {
        font-size: 48px;
    }

    .hero-text {
        font-size: 26px;
        padding: 0 20px;
    }

    .section-hero {
        /* Mobile: balanced weight with institutional authority */
        height: min(42vh, 380px);
        min-height: min(42vh, 380px);
        padding-top: clamp(65px, 9vh, 85px);
        padding-bottom: 0;
    }

    .section-pressure-punch {
        /* Mobile: reduced negative margin for breathing room */
        margin-top: -40px;
        padding: 16px 20px 40px;
    }

    .section {
        padding: 48px 20px;
    }

    .section-headline {
        font-size: clamp(28px, 7vw, 36px);
        margin-bottom: 16px;
    }

    .section-subtext {
        font-size: clamp(18px, 4vw, 20px);
        margin-bottom: 28px;
    }

    .section-body {
        font-size: clamp(15px, 4vw, 17px);
    }

    .section-number {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .three-column-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 28px;
    }

    .grid-item {
        padding-bottom: 28px;
        border-bottom: 1px solid #1a1a1a;
    }

    .grid-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .grid-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .grid-text {
        font-size: 15px;
    }

    .comparison-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 0;
    }

    .bordered-statement {
        padding-left: 12px;
        margin: 32px 0;
    }

    .bordered-statement p {
        font-size: clamp(18px, 4vw, 20px);
    }

    .large-statement p {
        font-size: clamp(20px, 5vw, 24px);
    }

    .pressure-punch-text {
        font-size: 17px;
        line-height: 1.5;
    }

    .section-pressure {
        padding: 40px 20px;
    }

    .pressure-text {
        font-size: 16px;
        line-height: 1.65;
    }

    .section-preview {
        padding: 40px 20px;
    }

    .preview-entry {
        padding: 22px;
    }

    .preview-timestamp {
        font-size: 16px;
    }

    .preview-text {
        font-size: 16px;
    }

    .section-final {
        padding: 48px 20px 40px;
    }

    .final-headline {
        font-size: clamp(28px, 7vw, 36px);
        margin-bottom: 28px;
    }

    .cta-subline {
        font-size: 11px;
        margin-top: 16px;
        margin-bottom: 20px;
    }

    .section-timestamp {
        font-size: 11px;
        margin-top: 20px;
    }

    .arrival-timestamp.fixed {
        font-size: 10px;
        top: 12px;
        right: 12px;
    }

    .footer {
        padding: 48px 20px 32px;
        min-height: auto;
    }

    .footer-copyright {
        font-size: 11px;
        margin-bottom: 20px;
    }

    .footer-links {
        gap: 20px;
        margin-top: 20px;
    }

    .footer-link {
        padding: 12px 16px;
        font-size: 11px;
    }

}

@media (max-width: 480px) {
    .arrival-timestamp.fixed {
        top: 16px;
        right: 16px;
    }

    .section {
        padding: 40px 18px;
    }

    .section-headline {
        font-size: 26px;
    }

    .final-headline {
        font-size: 26px;
    }

    .section-hero {
        /* Small screens: balanced weight while maintaining readability */
        height: min(38vh, 340px);
        min-height: min(38vh, 340px);
        padding-top: clamp(50px, 7vh, 70px);
        padding-bottom: 0;
    }

    .section-pressure-punch {
        /* Small screens: reduced negative margin, adjusted to avoid overlap */
        margin-top: -30px;
        padding: 14px 18px 36px;
    }
}

/* ============================================================================
   LIVE CONFIRMATION VIEW (minimal, functional, stateful)
   ============================================================================ */

.live-confirmation-container {
    text-align: center;
    padding: 40px 24px;
    max-width: 500px;
    margin: 0 auto;
}

/* Placeholder state (not yet recorded) */
.live-timestamp-placeholder {
    font-size: 32px;
    font-weight: 400;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.15em;
    color: #444444;
    margin-bottom: 12px;
}

.live-status-placeholder {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555555;
    margin-bottom: 24px;
}

.live-activity-label {
    font-size: 14px;
    font-weight: 300;
    color: #666666;
    font-style: italic;
}

/* Recorded state (minimal confirmation) */
.live-timestamp {
    font-size: 24px;
    font-weight: 400;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.live-date {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.08em;
    color: #888888;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.live-attributes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    text-align: left;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.live-attr {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 12px;
    border-bottom: 1px solid #1a1a1a;
}

.live-attr:last-child {
    border-bottom: none;
}

.live-attr-label {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555555;
}

.live-attr-value {
    font-size: 13px;
    font-weight: 400;
    color: #AAAAAA;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.05em;
}

.live-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 32px;
}

.live-action-button {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #2a2a2a;
    padding: 8px 16px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s;
    min-width: 140px;
}

.live-action-button:hover {
    border-color: #555555;
}

.live-action-button:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

/* ============================================================================
   IDENTITY TIMESTAMP SCREEN (ceremonial receipt - for export/share only)
   ============================================================================ */

.identity-timestamp-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
    max-width: 600px;
    margin: 0 auto;
}

/* 1. Identity Header (small, restrained, top) */
.identity-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0.4;
}

.identity-label {
    font-size: 9px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 4px;
}

.identity-number {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: #888888;
    font-family: 'Courier New', 'Monaco', monospace;
}

/* 2. TIMESTAMP AS HERO (largest, center, slightly above true center) */
.timestamp-hero {
    text-align: center;
    margin-bottom: 120px;
    margin-top: -40px; /* Slightly above true center */
}

.timestamp-time {
    font-size: clamp(56px, 10vw, 96px);
    font-weight: 400;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.25em;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 20px;
}

.timestamp-date {
    font-size: clamp(13px, 2vw, 16px);
    font-weight: 400;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.12em;
    color: #999999;
    text-transform: uppercase;
}

/* 3. Contextual Attributes (secondary, below timestamp) */
.timestamp-attributes {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 80px;
    width: 100%;
    max-width: 400px;
}

.timestamp-attribute {
    text-align: center;
}

.timestamp-attr-label {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555555;
    margin-bottom: 12px;
}

.timestamp-attr-value {
    font-size: 18px;
    font-weight: 400;
    color: #AAAAAA;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.06em;
}

/* 4. MARK — treated as a seal (visually separated) */
.mark-seal {
    width: 100%;
    max-width: 400px;
    margin-bottom: 80px;
}

.mark-seal-divider-top,
.mark-seal-divider-bottom {
    width: 100%;
    height: 1px;
    background-color: #1a1a1a;
    margin: 0 auto;
}

.mark-seal-divider-top {
    margin-bottom: 32px;
}

.mark-seal-divider-bottom {
    margin-top: 32px;
}

.mark-seal-content {
    text-align: center;
}

.mark-seal-label {
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #444444;
    margin-bottom: 16px;
}

.mark-seal-value {
    font-size: 32px;
    font-weight: 400;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    line-height: 1.2;
}

/* 5. Doctrine Footer (very bottom, small, reduced opacity) */
.doctrine-footer {
    font-size: 9px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #333333;
    text-align: center;
    opacity: 0.5;
    margin-top: auto;
    padding-top: 40px;
}

/* Legacy record styles (kept for compatibility, may be unused) */
.record-container {
    max-width: min(680px, 92vw);
    margin: 0 auto;
    padding: 56px 28px;
}

.record-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.record-identity {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 10px;
    color: #555555;
}

.record-significance {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0;
    margin-bottom: 14px;
    color: #555555;
}

.record-continuity {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 28px;
    color: #555555;
}

.record-continuity-line {
    font-size: 9px;
    font-weight: 400;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 14px;
    color: #444444;
}

.record-road-id {
    font-size: 9px;
    font-weight: 400;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 28px;
    color: #333333;
}

.record-divider {
    width: 100%;
    height: 1px;
    background-color: #1a1a1a;
    margin: 28px 0;
}

.record-meta {
    margin-bottom: 40px;
}

.record-field {
    margin-bottom: 18px;
}

.record-field:last-child {
    margin-bottom: 0;
}

.record-label {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #444444;
    margin-bottom: 5px;
}

.record-value {
    font-size: 14px;
    font-weight: 400;
    color: #777777;
    line-height: 1.4;
}

.record-value-mono {
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.05em;
}

.record-mark {
    text-align: center;
    margin: 48px 0;
    padding: 40px 0;
}

.record-mark-label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555555;
    margin-bottom: 16px;
}

.record-mark-value {
    font-size: 36px;
    font-weight: 400;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 14px;
}

.record-recordedline {
    font-size: 9px;
    font-weight: 400;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #444444;
    line-height: 1.4;
}

.record-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.record-action-button {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #2a2a2a;
    padding: 10px 18px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, opacity 0.2s;
    min-width: 120px;
}

.record-action-button:hover {
    border-color: #555555;
    opacity: 0.9;
}

.record-action-button:active {
    opacity: 0.7;
}

.record-action-button:focus {
    outline: 1px solid #555555;
    outline-offset: 2px;
}

.record-action-hint {
    font-size: 10px;
    color: #333333;
    letter-spacing: 0.05em;
    text-align: center;
    margin-top: 8px;
}

/* Staged reveal animations */
.record-step-1,
.record-step-2,
.record-step-3,
.record-step-4 {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 450ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.record-step-1.record-visible,
.record-step-2.record-visible,
.record-step-3.record-visible,
.record-step-4.record-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 769px) {
    .record-actions {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .record-action-hint {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .live-confirmation-container {
        padding: 32px 20px;
    }

    .live-timestamp-placeholder {
        font-size: 28px;
    }

    .live-timestamp {
        font-size: 20px;
    }

    .live-attributes {
        max-width: 100%;
    }

    .live-action-button {
        width: 100%;
        max-width: 200px;
    }

    .identity-timestamp-container {
        padding: 32px 20px;
        min-height: 100vh;
    }

    .identity-header {
        margin-bottom: 60px;
    }

    .timestamp-hero {
        margin-bottom: 60px;
        margin-top: -20px;
    }

    .timestamp-time {
        letter-spacing: 0.2em;
    }

    .timestamp-attributes {
        gap: 40px;
        margin-bottom: 60px;
    }

    .mark-seal {
        margin-bottom: 60px;
    }

    .mark-seal-divider-top {
        margin-bottom: 24px;
    }

    .mark-seal-divider-bottom {
        margin-top: 24px;
    }

    .doctrine-footer {
        padding-top: 32px;
    }

    .record-container {
        padding: 40px 22px;
    }

    .record-title {
        font-size: 18px;
    }

    .record-significance {
        font-size: 9px;
    }

    .record-field {
        margin-bottom: 22px;
    }

    .record-label {
        font-size: 9px;
    }

    .record-value {
        font-size: 14px;
    }

    .record-mark {
        margin: 32px 0;
        padding: 28px 0;
    }

    .record-mark-label {
        font-size: 9px;
        margin-bottom: 10px;
    }

    .record-mark-value {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .record-recordedline {
        font-size: 8px;
    }

    .record-actions {
        margin-top: 28px;
    }

    .record-action-button {
        width: 100%;
        max-width: 180px;
    }

    .consent-checkbox {
        font-size: 12px;
    }
}

/* ============================================================================
   PRIVACY PAGE
   ============================================================================ */

.privacy-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.privacy-header {
    padding: 64px 24px 40px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    border-bottom: 1px solid #1a1a1a;
}

.privacy-back {
    display: inline-block;
    color: #888888;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
    transition: color 0.3s;
}

.privacy-back:hover {
    color: #FFFFFF;
}

.privacy-title {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.privacy-content {
    flex: 1;
    padding: 64px 24px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.privacy-section {
    margin-bottom: 48px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-heading {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.privacy-text {
    font-size: 16px;
    line-height: 1.6;
    color: #888888;
    margin-bottom: 14px;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin-top: 14px;
}

.privacy-list li {
    font-size: 16px;
    line-height: 1.6;
    color: #888888;
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.privacy-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #555555;
}

.privacy-email {
    font-size: 16px;
    line-height: 1.6;
    color: #FFFFFF;
    margin-top: 14px;
}

@media (max-width: 768px) {
    .privacy-header {
        padding: 48px 20px 28px;
    }

    .privacy-title {
        font-size: 28px;
    }

    .privacy-content {
        padding: 48px 20px;
    }

    .privacy-section {
        margin-bottom: 40px;
    }

    .privacy-heading {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .privacy-text,
    .privacy-list li {
        font-size: 15px;
    }

    .privacy-email {
        font-size: 15px;
    }
}

/* ============================================================================
   SESSION STATUS INDICATOR
   ============================================================================ */

.session-status {
    position: fixed;
    bottom: 24px;
    left: 24px;
    font-family: 'Courier New', 'Monaco', monospace;
    font-size: 10px;
    color: #444444;
    letter-spacing: 0.08em;
    z-index: 1000;
    transition: color 0.3s;
}

.status-label {
    text-transform: uppercase;
}

.status-value {
    margin-left: 8px;
}

.status-value.recorded {
    color: #888888;
}

.status-separator {
    margin: 0 8px;
    color: #333333;
}

.status-time {
    font-family: 'Courier New', 'Monaco', monospace;
}

@media (max-width: 768px) {
    .session-status {
        bottom: 16px;
        left: 16px;
        font-size: 9px;
    }
}

/* ============================================================================
   ERROR STATE
   ============================================================================ */

.request-error {
    text-align: center;
    padding: 40px 24px;
}

.error-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #FF4444;
    margin-bottom: 8px;
}

.error-subtext {
    font-size: 12px;
    color: #888888;
    margin-bottom: 24px;
}

/* ============================================================================
   RECORD CONFIRMATION
   ============================================================================ */

.record-confirmation {
    text-align: center;
    margin: 24px 0;
    padding: 16px;
    border: 1px solid #1a1a1a;
}

.confirmation-icon {
    font-size: 20px;
    color: #666666;
    margin-bottom: 8px;
}

.confirmation-text {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: #555555;
    margin-bottom: 4px;
}

.confirmation-id {
    font-size: 9px;
    font-family: 'Courier New', monospace;
    color: #333333;
}

/* ============================================================================
   LOCKED TIMESTAMPS
   ============================================================================ */

.section-timestamp.locked {
    color: #666666;
    font-weight: 500;
}
