/* ToolMakersHub Converters — landing page. Colours follow the ToolMakersHub brand (see claude/brand-guidelines.md). */
:root {
    --bg: #ffffff; --surface: #f4f5f9; --text: #1d1f2b; --muted: #636779; --border: #dcdfe8;
    --brand: #007a99; --brand-ink: #ffffff; --brand-soft: rgba(0, 180, 219, .10);
    --ok: #16a34a; --err: #d93025; --dark: #14151c;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
    :root { --bg: #14151c; --surface: #1d1f29; --text: #e8e9f0; --muted: #9a9db0; --border: #353846;
            --brand: #22c7e6; --brand-ink: #14151c; --brand-soft: rgba(34, 199, 230, .12); --ok: #4ade80; --err: #ff8a80; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.hub { background: linear-gradient(90deg, #00b4db, #00d4aa); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* top bar */
.top { display: flex; align-items: center; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; margin-right: auto; }
.brand .product { font-weight: 600; color: var(--muted); }
.top nav { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.top nav a { padding: 6px 10px; border-radius: 6px; }
.top nav a:hover { text-decoration: underline; }
.pill { display: inline-block; border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px !important; font-weight: 600; }
.pill:hover { border-color: var(--brand); color: var(--brand); text-decoration: none !important; }
.pill.big { padding: 11px 22px !important; font-size: 15px; }
.pill.solid { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.pill.solid:hover { color: var(--brand-ink); filter: brightness(1.08); }

main { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 64px 0 40px; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.035em; margin: 16px 0 16px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 560px; }
.notify label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.notify-row { display: flex; gap: 8px; max-width: 480px; }
.notify input[type="email"] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; font-size: 15px; }
.notify input:focus, .notify button:focus-visible, .pill:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.notify button { height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font: 600 15px 'Inter', system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.notify button:hover { filter: brightness(1.08); }
.notify button[disabled] { opacity: .6; cursor: wait; }
.note { font-size: 13px; color: var(--muted); margin: 8px 0 0; min-height: 20px; }
.note.ok { color: var(--ok); font-weight: 600; }
.note.err { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alt { font-size: 14px; color: var(--muted); margin: 22px 0 0; }
.alt a { color: var(--brand); font-weight: 600; }

/* app illustration */
.app { border-radius: 14px; overflow: hidden; background: #1d1f29; border: 1px solid #353846; box-shadow: 0 30px 70px rgba(20, 21, 28, .35); color: #e8e9f0; font-size: 13px; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #14151c; border-bottom: 1px solid #2b2e3b; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #353846; }
.app-bar span { margin-left: 8px; color: #9a9db0; font-weight: 600; font-size: 12px; }
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 330px; }
.app-side { list-style: none; margin: 0; padding: 12px 8px; border-right: 1px solid #2b2e3b; }
.app-side li { padding: 7px 10px; border-radius: 7px; color: #9a9db0; }
.app-side li.on { background: rgba(34, 199, 230, .14); color: #22c7e6; font-weight: 600; }
.app-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.drop { border: 1.5px dashed #3d4152; border-radius: 10px; padding: 18px; text-align: center; color: #9a9db0; }
.files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.files li { display: flex; align-items: center; gap: 10px; background: #262935; border-radius: 8px; padding: 8px 10px; }
.files b { font: 700 10px var(--mono); padding: 3px 5px; border-radius: 5px; color: #fff; }
.files b.doc { background: #2b6cd8; } .files b.xls { background: #1f9d55; } .files b.ppt { background: #d9612b; } .files b.pdf { background: #c43c3c; }
.files span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files em { font-style: normal; font-size: 12px; color: #9a9db0; }
.files em.done { color: #4ade80; font-weight: 600; }
.files em.bar { width: 70px; height: 6px; border-radius: 4px; background: #353846; overflow: hidden; }
.files em.bar s { display: block; height: 100%; background: linear-gradient(90deg, #00b4db, #00d4aa); }
.app-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: #9a9db0; font-size: 12px; }
.app-foot .go { background: #22c7e6; color: #14151c; font-weight: 700; padding: 7px 16px; border-radius: 999px; font-size: 13px; }

/* strip */
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 10px 0 20px; }
.why div { background: var(--surface); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.why strong { font-size: 16px; }
.why span { color: var(--muted); font-size: 14px; }

/* blocks */
.block { padding: 56px 0 8px; }
.block h2, .cta h2 { font-size: clamp(24px, 3.2vw, 32px); letter-spacing: -0.03em; margin: 0 0 6px; }
.sub { color: var(--muted); margin: 0 0 24px; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cards article { border: 1px solid var(--border); border-radius: 16px; padding: 20px; background: var(--bg); }
.cards .ic { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,180,219,.16), rgba(0,212,170,.16)); color: var(--brand); font: 700 13px var(--mono); }
.cards h3 { font-size: 16px; margin: 14px 0 6px; }
.cards p { margin: 0; color: var(--muted); font-size: 14px; }
.fine { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { background: var(--surface); font-size: 14px; }
tbody th { font-weight: 500; color: var(--muted); }
td.y { color: var(--ok); font-weight: 600; }
td.n { color: var(--muted); }
.center { text-align: center; margin-top: 22px; }
details { border-bottom: 1px solid var(--border); padding: 16px 4px; }
summary { cursor: pointer; font-weight: 600; font-size: 16px; }
details p { color: var(--muted); margin: 10px 0 0; }
details a { color: var(--brand); }
.cta { text-align: center; padding: 64px 0; }
.cta h2 { margin-bottom: 18px; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 18px 24px; background: var(--surface); color: var(--muted); font-size: 14px; }
footer div { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 40px; }
    .why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .top { padding: 12px 16px; }
    .top nav a:not(.pill) { display: none; }
    .brand .product { display: none; }
    main { padding: 0 16px; }
    .notify-row { flex-direction: column; }
    .notify input[type="email"] { flex: none; width: 100%; }
    .app-body { grid-template-columns: 1fr; }
    .app-side { display: none; }
    .why { grid-template-columns: 1fr; }
}
