/*
Theme Name: Mailyard
Theme URI: https://mailyard.co
Template: plugpress-base
Author: PlugPress
Author URI: https://plugpress.co
Description: Mailyard marketing site — reliable email delivery for WordPress. Child of PlugPress Base; brand colour orange.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: mailyard
*/

/* ── Brand — transactional email · orange ────────────────────────────────────
   One block remaps the suite. Everything else (neutral UI, mesh icons, dark
   footer, mesh CTA) comes from the shared base design system unchanged. */
:root {
    --mailyard-brand:       #E66B1A;
    --mailyard-brand-hover: #CA5E17;
    --mailyard-brand-tint:  #FCEADE;
    --mailyard-brand-text:  #8E3F0B;

    --brand:       var(--mailyard-brand);
    --brand-hover: var(--mailyard-brand-hover);
    --brand-tint:  var(--mailyard-brand-tint);
    --brand-text:  var(--mailyard-brand-text);

    /* Mesh hues — the only place the orange appears big (icons, hero, CTA). */
    --mesh-1: #FFC89E;
    --mesh-2: #FCEADE;
    --mesh-3: #FFB07A;
}

/* ── Minimal hero + monochrome logo ─────────────────────────────────────────
   Hero title stays fully ink — no brand-colour accent word. The logo drops its
   filled brand squircle for a clean monochrome glyph. This concentrates the one
   expressive colour onto the primary button + mesh, where it lands hardest. */
.hero__title .accent {
    color: var(--color-text);
}

.brand__mark {
    background: none;
    color: var(--color-text);
    width: 24px;
    height: 24px;
    border-radius: 0;
}

.brand__mark svg {
    width: 24px;
    height: 24px;
}

/* ── Hero badge — keep the live "it works" pulse on the dot ──────────────────
   The badge itself comes from the base; we only animate the status dot. */
@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
}

.hero__badge::before {
    animation: badge-pulse 1.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hero__badge::before { animation: none; }
}

/* ── About page ─────────────────────────────────────────────────────────────
   Tokenised against the new type scale; layout unchanged. */
.about-page {
    padding: var(--space-7) 0 var(--space-8);
}

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

.about__header {
    margin-bottom: var(--space-6);
}

.about__eyebrow {
    font-size: var(--text-label);
    font-weight: var(--fw-med);
    color: var(--color-text-faint);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 0 var(--space-2);
}

.about__header h1 {
    font-size: var(--text-2xl);
    line-height: 1.1;
    letter-spacing: -.018em;
    margin-bottom: var(--space-3);
}

.about__accent {
    color: var(--brand);
    font-style: normal;
}

.about__bio {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: var(--leading-normal);
    margin: 0;
    max-width: 540px;
}

/* Founder photo */
.about__photo {
    margin: 0 0 var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about__photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Story body */
.about__body {
    margin-bottom: var(--space-6);
}

.about__body p {
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--color-text-muted);
    margin: 0 0 var(--space-3);
}

.about__body p strong {
    color: var(--color-text);
    font-weight: var(--fw-semi);
}

.about__body p a {
    color: var(--brand);
    text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent);
    text-underline-offset: 3px;
}

.about__body p a:hover {
    opacity: 1;
    text-decoration-color: var(--brand);
}

/* Product screenshot */
.about__screenshot {
    margin: 0 0 var(--space-7);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

.about__screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bottom CTA */
.about__cta {
    text-align: center;
    padding: var(--space-6) var(--space-5);
    background: var(--color-surface);
    border-radius: var(--radius-xl);
}

.about__cta h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-1);
}

.about__cta > p {
    color: var(--color-text-muted);
    margin: 0 0 var(--space-4);
}

.about__cta-note {
    font-size: var(--fs-xs);
    color: var(--color-text-faint);
    margin: var(--space-2) 0 0;
}
