/* ============================================================
   Horacki Software — Design System
   Ported from claude.ai/design project
   "Horacki Software website redesign" (projectId
   0184c822-3bec-458a-9b39-4a0a0d4da249). Shared across all
   redesigned pages. Tokens from the project's _ds_bundle.css.
   ============================================================ */

:root {
    --hs-ink: #1B1613;
    --hs-crimson: #7A0E1A;
    --hs-copper: #D4A58C;
    --hs-cream: #FFF3E3;
    --hs-champagne: #E9DDC9;
    --hs-surface-1: #221C18;
    --hs-surface-2: #2C2521;

    --hs-bg: var(--hs-ink);
    --hs-text: var(--hs-cream);
    --hs-text-muted: var(--hs-champagne);
    --hs-accent: var(--hs-copper);
    --hs-accent-strong: var(--hs-crimson);
    --hs-border: rgba(212, 165, 140, .22);
    --hs-focus: rgba(212, 165, 140, .65);

    --hs-gradient-copper: linear-gradient(135deg, #E9DDC9 0%, #D4A58C 45%, #A9755A 100%);
    --hs-gradient-accent: linear-gradient(135deg, #7A0E1A 0%, #D4A58C 100%);
    --hs-glow: 0 0 20px rgba(212, 165, 140, .4);
    --hs-glow-strong: 0 0 36px rgba(212, 165, 140, .6);
    --hs-shadow-card: 0 8px 32px rgba(0, 0, 0, .55);

    --hs-radius-sm: 8px;
    --hs-radius-md: 14px;
    --hs-radius-lg: 20px;

    --hs-font-display: "Chakra Petch", system-ui, sans-serif;
    --hs-font-body: "Inter", system-ui, sans-serif;

    --hs-transition-fast: .2s ease;
    --hs-transition-medium: .4s ease;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--hs-bg);
    color: var(--hs-text);
    font-family: var(--hs-font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
}

a { color: var(--hs-copper); }
a:hover { color: var(--hs-champagne); }

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

a:focus-visible,
button:focus-visible,
.hs-card:focus-visible,
.hs-field:focus-visible {
    outline: 2px solid var(--hs-focus);
    outline-offset: 3px;
}

/* ---------- Layout helpers ---------- */
.hs-section-pad { padding-left: clamp(20px, 5vw, 64px); padding-right: clamp(20px, 5vw, 64px); }

.hs-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hs-cube-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 45%, #2a201a 0%, var(--hs-ink) 70%);
}
.hs-cube-panel img { filter: drop-shadow(0 0 60px rgba(212, 165, 140, .35)); }

/* ---------- Navbar ---------- */
.hs-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 64px;
    padding: 0 clamp(20px, 5vw, 64px);
    background: rgba(27, 22, 19, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hs-border);
}
.hs-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--hs-font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .04em;
    color: var(--hs-cream);
    text-decoration: none;
    white-space: nowrap;
}
.hs-brand:hover { color: var(--hs-cream); }
.hs-brand-mark {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212, 165, 140, .35));
}
.hs-navlinks {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    list-style: none;
    margin: 0;
    padding: 0;
}
.hs-navlinks a {
    font-family: var(--hs-font-display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hs-text-muted);
    text-decoration: none;
    transition: color var(--hs-transition-fast);
}
.hs-navlinks a:hover { color: var(--hs-copper); }
.hs-navlinks a.is-active { color: var(--hs-copper); }
.hs-navlinks a.is-active::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 4px;
    border-radius: 2px;
    background: var(--hs-gradient-copper);
}

/* ---------- Eyebrow / titles / group labels ---------- */
.hs-eyebrow {
    display: inline-block;
    font-family: var(--hs-font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--hs-copper);
}
.hs-title {
    margin: 0;
    font-family: var(--hs-font-display);
    font-weight: 700;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.1;
    letter-spacing: .01em;
    color: var(--hs-cream);
}
.hs-title--hero { font-size: clamp(36px, 6vw, 52px); line-height: 1.05; }
.hs-title em { font-style: normal; color: var(--hs-copper); }

.hs-group-label {
    font-family: var(--hs-font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hs-copper);
    margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    font-family: var(--hs-font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    border: 1px solid transparent;
    border-radius: var(--hs-radius-sm);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform var(--hs-transition-fast),
                box-shadow var(--hs-transition-fast),
                border-color var(--hs-transition-fast),
                color var(--hs-transition-fast);
}
.hs-btn--lg { height: 48px; padding: 0 28px; font-size: 15px; }
.hs-btn--primary { background: var(--hs-gradient-copper); color: var(--hs-ink); }
.hs-btn--primary:hover { transform: translateY(-1px); box-shadow: var(--hs-glow); color: var(--hs-ink); }
.hs-btn--secondary { background: transparent; border-color: var(--hs-border); color: var(--hs-cream); }
.hs-btn--secondary:hover { border-color: var(--hs-copper); color: var(--hs-copper); }

/* ---------- Card ---------- */
.hs-card {
    display: block;
    padding: 32px;
    border-radius: var(--hs-radius-lg);
    border: 1px solid var(--hs-border);
    text-decoration: none;
    color: inherit;
    transition: transform var(--hs-transition-fast),
                border-color var(--hs-transition-fast),
                box-shadow var(--hs-transition-fast);
}
.hs-card--glass {
    background: rgba(44, 37, 33, .5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--hs-shadow-card);
}
.hs-card--default { background: var(--hs-surface-1); }
.hs-card--elevated { background: var(--hs-surface-1); box-shadow: var(--hs-shadow-card); }
.hs-card--interactive:hover {
    transform: translateY(-4px);
    border-color: var(--hs-copper);
    box-shadow: var(--hs-shadow-card), var(--hs-glow);
}
.hs-card--interactive:hover .hs-card-arrow { transform: translateX(4px); }

.hs-card-row { display: flex; gap: 20px; align-items: flex-start; }
.hs-card--muted .hs-card-row { opacity: .75; }
.hs-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    flex-shrink: 0;
    object-fit: cover;
}
.hs-card-icon--sm { width: 56px; height: 56px; border-radius: 13px; }
.hs-card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hs-card-stack { display: flex; flex-direction: column; gap: 12px; }
.hs-card-title {
    margin: 0;
    font-family: var(--hs-font-display);
    font-weight: 600;
    font-size: 22px;
    color: var(--hs-cream);
}
.hs-card-title--sm { font-size: 20px; }
.hs-card-desc {
    margin: 0;
    color: var(--hs-text-muted);
    font-size: 14px;
    line-height: 1.6;
}
.hs-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.hs-card-arrow {
    font-size: 20px;
    color: var(--hs-copper);
    line-height: 1;
    transition: transform var(--hs-transition-fast);
}

/* ---------- Badge ---------- */
.hs-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--hs-font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}
.hs-badge--default { background: var(--hs-gradient-copper); color: var(--hs-ink); }
.hs-badge--subtle { background: rgba(212, 165, 140, .14); color: var(--hs-copper); }
.hs-badge--outline { border-color: var(--hs-border); color: var(--hs-copper); }

/* ---------- Feature item ---------- */
.hs-feature {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hs-feature-icon { width: 44px; height: 44px; color: var(--hs-copper); }
.hs-feature-icon svg { width: 100%; height: 100%; display: block; }
.hs-feature-title {
    margin: 0;
    font-family: var(--hs-font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--hs-cream);
}
.hs-feature-text { margin: 0; color: var(--hs-text-muted); font-size: 14px; line-height: 1.6; }

/* ---------- Stats ---------- */
.hs-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(40px, 8vw, 88px);
    text-align: center;
}
.hs-stat-num { font-family: var(--hs-font-display); font-size: clamp(36px, 5vw, 44px); color: var(--hs-cream); }
.hs-stat-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--hs-text-muted); }

/* ---------- Principles strip ---------- */
.hs-principles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--hs-border);
}
.hs-principle { padding: 36px 32px; border-right: 1px solid var(--hs-border); }
.hs-principle:last-child { border-right: none; }
.hs-principle-label {
    font-family: var(--hs-font-display);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hs-copper);
    margin-bottom: 10px;
}
.hs-principle-text { margin: 0; color: var(--hs-text-muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- Card grid ---------- */
.hs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hs-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Form fields ---------- */
.hs-field {
    width: 100%;
    background: var(--hs-surface-2);
    border: 1px solid var(--hs-border);
    border-radius: var(--hs-radius-sm);
    color: var(--hs-cream);
    font-family: var(--hs-font-body);
    font-size: 14px;
    padding: 12px 14px;
    outline: none;
    transition: border-color var(--hs-transition-fast), box-shadow var(--hs-transition-fast);
}
.hs-field::placeholder { color: rgba(233, 221, 201, .45); }
.hs-field:focus { border-color: var(--hs-copper); box-shadow: 0 0 0 3px rgba(212, 165, 140, .2); }
.hs-form-label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--hs-text-muted); }

/* ---------- Hero (generic, with optional background video) ---------- */
.hs-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(56px, 9vw, 88px);
    padding-bottom: clamp(40px, 6vw, 56px);
    text-align: center;
}
.hs-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
.hs-hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hs-hero-inner { position: relative; z-index: 2; }

/* ---------- Footer ---------- */
.hs-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 28px clamp(20px, 5vw, 64px);
    border-top: 1px solid var(--hs-border);
}
.hs-footer-copy { color: var(--hs-text-muted); font-size: 13px; }
.hs-footer-links { display: flex; gap: 24px; font-size: 13px; }
.hs-footer-links a { text-decoration: none; }
.hs-footer-tag {
    font-family: var(--hs-font-display);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hs-copper);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hs-principles { grid-template-columns: repeat(2, 1fr); }
    .hs-principle:nth-child(2) { border-right: none; }
    .hs-principle { border-top: 1px solid var(--hs-border); }
    .hs-principle:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 820px) {
    .hs-split { grid-template-columns: 1fr; }
    .hs-cube-panel { min-height: 320px; padding: 40px; }
    .hs-cube-panel img { width: 260px !important; }
}
@media (max-width: 720px) {
    .hs-grid, .hs-grid--3 { grid-template-columns: 1fr; }
    .hs-navlinks { gap: 16px; }
}
@media (max-width: 620px) {
    .hs-form-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
    .hs-principles { grid-template-columns: 1fr; }
    .hs-principle { border-right: none; }
}
@media (max-width: 520px) {
    .hs-brand span { display: none; }
    .hs-navlinks a { font-size: 11px; letter-spacing: .05em; }
    .hs-card { padding: 24px; }
    .hs-card-arrow { display: none; }
    .hs-footer { justify-content: center; text-align: center; }
    .hs-nav-scroll { overflow-x: auto; }
}

/* ============================================================
   App-detail pages (Reading Tracker, Clear Days, ReadyRecord,
   CareerScribe): hero, feature rows, mini-cards, steps, pricing.
   ============================================================ */

.hs-app-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 560px;
    border-bottom: 1px solid var(--hs-border);
}
.hs-app-hero-copy {
    padding: 80px 24px 80px clamp(20px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
}
.hs-app-hero-iconrow { display: flex; align-items: center; gap: 16px; }
.hs-app-icon { width: 64px; height: 64px; border-radius: 15px; }
.hs-app-hero-title { margin: 0; font-family: var(--hs-font-display); font-weight: 700; font-size: clamp(36px, 5.4vw, 52px); line-height: 1.08; color: var(--hs-cream); }
.hs-app-hero-kicker { margin: 0; font-family: var(--hs-font-display); font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--hs-copper); }
.hs-app-hero-copy p.lead { margin: 0; color: var(--hs-text-muted); font-size: 16px; line-height: 1.7; max-width: 480px; }
.hs-app-hero-note { margin: 0; color: var(--hs-text-muted); font-size: 13px; }

.hs-phone-stage {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    padding: 56px 40px 0;
    background: radial-gradient(circle at 50% 40%, #2a201a 0%, var(--hs-ink) 75%);
    overflow: hidden;
}
.hs-phone-peek { width: 240px; max-width: 42%; border-radius: 24px 24px 0 0; box-shadow: var(--hs-shadow-card); }
.hs-phone-peek--drop { margin-bottom: -48px; }

.hs-feature-row {
    padding: 0 clamp(20px, 5vw, 64px) 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.hs-feature-row--first { padding-top: 80px; }
.hs-feature-col { display: flex; flex-direction: column; gap: 16px; }
.hs-feature-h2 { margin: 0; font-family: var(--hs-font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 32px); color: var(--hs-cream); }
.hs-feature-p { margin: 0; color: var(--hs-text-muted); font-size: 15px; line-height: 1.7; }
.hs-feature-ul { margin: 0; padding-left: 20px; color: var(--hs-text-muted); font-size: 14px; line-height: 2; }
.hs-shot { width: 280px; max-width: 80%; justify-self: center; border-radius: 28px; box-shadow: var(--hs-shadow-card); }

.hs-band { padding: 72px clamp(20px, 5vw, 64px); background: var(--hs-surface-1); border-top: 1px solid var(--hs-border); }
.hs-section { padding: 72px clamp(20px, 5vw, 64px); }

.hs-minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.hs-minis--4 { grid-template-columns: repeat(4, 1fr); }
.hs-mini { padding: 22px; border: 1px solid var(--hs-border); border-radius: var(--hs-radius-md); }
.hs-mini-title { font-family: var(--hs-font-display); font-size: 15px; color: var(--hs-cream); margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hs-mini-text { margin: 0; color: var(--hs-text-muted); font-size: 13.5px; line-height: 1.6; }

.hs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 32px; }
.hs-step-num { font-family: var(--hs-font-display); font-size: 40px; color: var(--hs-copper); }
.hs-step-title { font-family: var(--hs-font-display); font-size: 17px; color: var(--hs-cream); margin: 8px 0 6px; }
.hs-step-text { margin: 0; color: var(--hs-text-muted); font-size: 14px; line-height: 1.6; }

.hs-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; max-width: 820px; margin-left: auto; margin-right: auto; }
.hs-price-name { font-family: var(--hs-font-display); font-size: 20px; color: var(--hs-cream); }
.hs-price-amt { font-family: var(--hs-font-display); font-size: 34px; color: var(--hs-cream); margin: 8px 0 16px; }
.hs-price-amt span { font-size: 14px; color: var(--hs-text-muted); }
.hs-price-list { margin: 0 0 20px; padding-left: 18px; color: var(--hs-text-muted); font-size: 13.5px; line-height: 2; }
.hs-price-head { display: flex; justify-content: space-between; align-items: center; }

.hs-hero-stats { display: flex; gap: clamp(28px, 6vw, 56px); margin: 8px 0; flex-wrap: wrap; justify-content: center; }

.hs-app-cta { padding: 80px clamp(20px, 5vw, 64px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hs-app-cta p { margin: 0; max-width: 520px; color: var(--hs-text-muted); font-size: 15px; line-height: 1.7; }

@media (max-width: 820px) {
    .hs-app-hero { grid-template-columns: 1fr; }
    .hs-feature-row { grid-template-columns: 1fr; gap: 32px; }
    .hs-price-grid { grid-template-columns: 1fr; }
    .hs-steps { grid-template-columns: 1fr; }
    .hs-minis, .hs-minis--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .hs-minis, .hs-minis--4 { grid-template-columns: 1fr; }
    .hs-phone-peek { max-width: 44%; }
}

/* ============================================================
   Legal / prose pages (privacy, terms, EULA)
   ============================================================ */
.hs-legal-head { text-align: center; padding: clamp(56px, 8vw, 80px) clamp(20px, 5vw, 64px) 0; }
.hs-legal-head h1 { margin: 12px 0 0; }
.hs-legal-sub { margin: 12px 0 0; font-family: var(--hs-font-display); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--hs-copper); }

.hs-legal { max-width: 860px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 64px) 80px; }
.hs-legal-card {
    background: var(--hs-surface-1);
    border: 1px solid var(--hs-border);
    border-radius: var(--hs-radius-lg);
    padding: clamp(28px, 4vw, 48px);
}
.hs-legal-updated {
    font-size: 13px;
    color: var(--hs-copper);
    font-style: italic;
    margin: 0 0 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hs-border);
}

.hs-prose h2 { font-family: var(--hs-font-display); font-weight: 600; font-size: 20px; color: var(--hs-cream); letter-spacing: .02em; margin: 36px 0 14px; }
.hs-prose h2:first-of-type { margin-top: 0; }
.hs-prose h3 { font-family: var(--hs-font-display); font-weight: 600; font-size: 16px; color: var(--hs-cream); margin: 24px 0 10px; }
.hs-prose p { color: var(--hs-text-muted); line-height: 1.8; font-size: 15px; margin: 0 0 16px; }
.hs-prose ul, .hs-prose ol { color: var(--hs-text-muted); line-height: 1.8; font-size: 15px; margin: 0 0 16px; padding-left: 24px; }
.hs-prose li { margin-bottom: 6px; }
.hs-prose strong { color: var(--hs-cream); }
.hs-prose a { color: var(--hs-copper); text-decoration: none; }
.hs-prose a:hover { color: var(--hs-champagne); text-decoration: underline; }
