/* ═══════════════════════════════════════════════════════════════════════════
   PROCESS SENRYU – LANDING PAGE STYLES
   Mobile-first, accessible, minimal
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   CSS RESET & BASE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-family: "Palatino Linotype", serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
    font-weight: 500;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover,
a:focus {
    opacity: 0.7;
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 2.5rem 0;
}

.section-content {
    max-width: 700px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-title {
    font-family: "Garamond", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    font-size: 1.25rem;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-nav a {
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
}

.site-nav a:hover,
.site-nav a:focus {
    border-bottom-color: #1a1a1a;
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #1a1a1a;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #333333;
    border-color: #333333;
    opacity: 1;
}

.btn-secondary {
    background-color: #ffffff;
    color: #1a1a1a;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #f5f5f5;
    opacity: 1;
}

/* Disabled state for coming soon buttons */
.btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
    padding: 2rem 0 2.5rem;
    background-color: #fafafa;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-family: "Garamond", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    font-size: 1.75rem;
    line-height: 1.2;
    color: #444444;
    margin-bottom: 1.6rem;
    font-style: normal;
    font-weight: 600;
}

.hero-blurb {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333333;
}

.hero-launch {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-cta .btn {
    width: 100%;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover {
    width: 100%;
    max-width: 400px;
    height: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.about {
    background-color: #ffffff;
}

.about-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #333333;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
}

.about-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #1a1a1a;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREVIEW SECTION – CAROUSEL
   ═══════════════════════════════════════════════════════════════════════════ */

.preview {
    background-color: #fafafa;
}

.carousel {
    overflow: hidden;
    border-radius: 4px;
    background-color: #e8e8e8;
    position: relative;
}

.carousel-arrow:focus {
    outline: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    border: 1.5px solid rgba(40, 40, 40, 0.5);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.carousel-arrow:hover {
    border-color: rgba(40, 40, 40, 1);
}

.carousel-arrow::before {
    content: '';
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    border-top: 1.5px solid rgba(40, 40, 40, 0.5);
    border-right: 1.5px solid rgba(40, 40, 40, 0.5);
    transition: border-color 0.2s ease;
}

.carousel-arrow:hover::before {
    border-color: rgba(40, 40, 40, 1);
}

.carousel-arrow-prev {
    left: 0.75rem;
}

.carousel-arrow-prev::before {
    transform: rotate(-135deg) translate(-1px, 1px);
}

.carousel-arrow-next {
    right: 0.75rem;
}

.carousel-arrow-next::before {
    transform: rotate(45deg) translate(-1px, 1px);
}

.carousel-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    aspect-ratio: 4 / 3;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    padding: 1.25rem 0;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #cccccc;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #1a1a1a;
}

.carousel-dot:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUY SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.buy {
    background-color: #ffffff;
}

.buy-note {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.buy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.buy-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.buy-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.buy-card p {
    color: #666666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.buy-card .btn {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUTHOR SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.author {
    background-color: #fafafa;
    text-align: center;
}

.author .section-content {
    margin: 0 auto;
}

.author-bio {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #333333;
}

.author-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.author-link {
    font-size: 1rem;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 0.25rem;
}

.author-link:hover,
.author-link:focus {
    opacity: 0.7;
}

.publisher {
    color: #666666;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   EMAIL SIGNUP SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.signup {
    background-color: #1a1a1a;
    color: #ffffff;
}

.signup h2 {
    color: #ffffff;
}

.signup p {
    color: #cccccc;
}

.signup-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.signup-form {
    margin-top: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #333333;
    border-radius: 4px;
    background-color: #ffffff;
    color: #1a1a1a;
}

.form-group input:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    border-color: #666666;
}

.form-group .btn {
    width: 100%;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #cccccc;
    min-height: 1.5rem;
}

.form-message.success {
    color: #90ee90;
}

.form-message.error {
    color: #ff6b6b;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 2rem 0;
}

.footer-content {
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0.5rem;
}

.publisher-mark {
    font-size: 0.85rem;
    color: #999999;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE STYLES (TABLET AND UP)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (min-width: 600px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    section {
        padding: 5rem 0;
    }

    .hero-cta {
        flex-direction: row;
    }

    .hero-cta .btn {
        width: auto;
    }

    .buy-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .form-group {
        flex-direction: row;
    }

    .form-group input {
        flex: 1;
    }

    .form-group .btn {
        width: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE STYLES (DESKTOP)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (min-width: 900px) {
    .container {
        padding: 0 2rem;
    }

    section {
        padding: 2rem 0;
    }

    .hero {
        padding: 2rem 0 2rem;
    }

    .hero-content {
        flex-direction: row;
        gap: 4rem;
        align-items: center;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .book-cover {
        max-width: 450px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

@media print {
    .site-header,
    .site-footer,
    .signup {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    a {
        text-decoration: underline;
    }

    .btn {
        border: 1px solid #000;
    }
}
