/* Kryon site theme — refined modern-retro Warm paper, monospace, pixel-dither grain, beveled cards, pixel cursors. The visual identity stays; this layer adds a real marketing structure (sticky header, hero, pill bar, feature tabs, code showcase, FAQ). */ :root { /* surfaces */ --bg: #f3f1ea; /* warm off-white page */ --surface: #fdfcf8; /* panel */ --control: #eae6da; /* button base */ --control-hi: #ffffff; /* bevel highlight */ /* ink */ --ink-strong: #2a3b40; /* near-slate headings/body */ --ink-soft: #5d6f74; /* muted secondary text */ /* lines */ --line: rgba(42, 59, 64, 0.20); --line-strong: rgba(42, 59, 64, 0.30); /* accent */ --accent: #23657d; /* teal links/headings pop */ --accent-deep: #123d4f; /* teal hover */ --accent-ink: #ffffff; --accent-soft: rgba(47, 111, 134, 0.10); --hero-bg: #fffef9; /* cards */ --card-bg: #f7f4ec; --card-hover-bg: #fbf9f2; --card-active-bg: #efeadd; --font-main: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; --radius: 10px; --radius-sm: 6px; /* spacing scale */ --space-xs: 6px; --space-sm: 12px; --space-md: 20px; --space-lg: 32px; --space-xl: 52px; --maxw: 1080px; /* shared bevel shadow for raised cards */ --bevel: 0 1px 0 var(--control-hi), inset 1px 1px 0 var(--control-hi), 0 2px 10px rgba(0, 0, 0, 0.04); --bevel-hover: 0 1px 0 var(--control-hi), inset 1px 1px 0 var(--control-hi), 0 8px 22px rgba(0, 0, 0, 0.07); --panel-shadow: rgba(0, 0, 0, 0.10); } * { box-sizing: border-box; } html { scroll-behavior: smooth; scroll-padding-top: 72px; /* clear sticky header */ } html, body { margin: 0; padding: 0; } body { min-height: 100vh; width: 100%; position: relative; background-color: var(--bg); color: var(--ink-strong); font-family: var(--font-main); font-size: 15px; line-height: 1.6; cursor: url("cursors/arrow.png") 0 0, default; -webkit-font-smoothing: antialiased; } /* pixel dither texture — fine, low-opacity paper grain */ body::before { content: ""; position: fixed; inset: 0; z-index: 0; background-image: linear-gradient(45deg, rgba(42, 59, 64, 0.028) 25%, transparent 25%), linear-gradient(-45deg, rgba(42, 59, 64, 0.028) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(42, 59, 64, 0.028) 75%), linear-gradient(-45deg, transparent 75%, rgba(42, 59, 64, 0.028) 75%); background-position: 0 0, 0 16px, 16px -16px, -16px 0; background-size: 32px 32px; image-rendering: pixelated; opacity: 0.18; pointer-events: none; } img { display: block; max-width: 100%; height: auto; image-rendering: pixelated; } a { color: var(--accent); text-decoration: none; font-weight: 700; cursor: url("cursors/hand.png") 6 1, pointer; transition: color 0.12s ease; } a:hover { color: var(--accent-deep); } a:active { position: relative; top: 1px; left: 1px; } code, pre { font-family: var(--font-main); } code { background-color: var(--accent-soft); padding: 2px 6px; border-radius: 4px; font-size: 0.92em; } pre { margin: 16px 0; overflow-x: auto; background-color: var(--card-bg); color: var(--ink-strong); padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.06), 0 1px 0 0 var(--control-hi); cursor: url("cursors/ibeam.png") 15 16, text; } pre code { background: transparent; padding: 0; border-radius: 0; font-size: 13.5px; } h1, h2, h3, h4 { color: var(--ink-strong); letter-spacing: -0.01em; } p { max-width: 72ch; margin: 0 0 14px; } p:last-child { margin-bottom: 0; } /* ---- sticky header ---- */ .site-header { position: sticky; top: 0; z-index: 50; background-color: rgba(243, 241, 234, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); } .site-header-inner { max-width: var(--maxw); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; } .brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; color: var(--ink-strong); text-decoration: none; } .brand:hover { color: var(--accent); } .brand img { width: 22px; height: 22px; } .header-nav { display: flex; align-items: center; gap: 4px 18px; margin-left: auto; flex-wrap: wrap; } .header-nav a { font-size: 13px; font-weight: 700; color: var(--ink-soft); } .header-nav a:hover { color: var(--accent); } .header-nav .is-external { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); } .btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-main); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background-color: var(--control); color: var(--ink-strong); text-decoration: none; cursor: url("cursors/hand.png") 6 1, pointer; box-shadow: var(--bevel); transition: background-color 0.14s ease, transform 0.08s ease, box-shadow 0.14s ease; } .btn:hover { color: var(--ink-strong); background-color: var(--card-hover-bg); box-shadow: var(--bevel-hover); } .btn:active { transform: translate(1px, 1px); box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.12); } .btn-primary { background-color: #0d3f55; border-color: #062536; color: #ffffff; text-shadow: none; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.18), 0 3px 0 #062536, 0 10px 22px rgba(13, 63, 85, 0.24); } .btn-primary:hover { background-color: #062f42; color: #ffffff; } .header-nav a.btn-primary, .header-nav a.btn-primary:hover { color: #ffffff; } /* star count pill */ .star-pill { display: inline-flex; align-items: center; gap: 6px; } .star-pill .count { background-color: var(--accent-soft); color: var(--accent-deep); padding: 1px 7px; border-radius: 999px; font-size: 11px; } /* mobile menu toggle (hidden on desktop) */ .menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 8px; font-family: inherit; color: var(--ink-strong); cursor: url("cursors/hand.png") 6 1, pointer; } /* ---- layout shells ---- */ .wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; } main { position: relative; z-index: 1; background-color: rgba(253, 252, 248, 0.96); } section { max-width: var(--maxw); margin: 0 auto; padding: var(--space-xl) 20px; background-color: rgba(253, 252, 248, 0.98); } section + section { border-top: 1px solid var(--line); } .section-eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; } h2 { margin: 0 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 22px; line-height: 1.18; } .section-lead { margin: 0 0 var(--space-lg); color: var(--ink-soft); font-size: 15px; max-width: 64ch; } h3 { margin: 6px 0; color: var(--accent); font-size: 15px; } /* ---- hero ---- */ .hero { text-align: center; padding: var(--space-xl) 20px var(--space-lg); position: relative; z-index: 1; background: linear-gradient(180deg, rgba(255, 254, 249, 0.98), rgba(249, 246, 235, 0.96)), var(--hero-bg); border-bottom: 1px solid rgba(42, 59, 64, 0.10); } .hero-inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; } .hero-icon { margin: 0 auto var(--space-md); width: 84px; height: 84px; } .hero h1 { margin: 8px 0; color: var(--ink-strong); font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; } .hero h1 .accent { color: var(--accent); } .hero .hero-sub { margin: var(--space-md) auto 0; max-width: 60ch; color: var(--ink-soft); font-size: 16px; } .hero-cta { margin-top: var(--space-lg); display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; } /* eyebrow pill above the H1 */ .hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--accent-deep); background-color: var(--accent-soft); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; } .hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); } /* beveled preview panel under the hero */ .hero-panel { margin: var(--space-xl) auto 0; max-width: 880px; background-color: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: inset 1px 1px 0 0 var(--control-hi), 0 24px 60px var(--panel-shadow); overflow: hidden; } .hero-panel-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-bottom: 1px solid var(--line); background-color: var(--card-bg); } .hero-panel-bar .tl { width: 10px; height: 10px; border-radius: 50%; background: var(--control); border: 1px solid var(--line); } .hero-panel-bar .title { margin-left: 8px; font-size: 12px; color: var(--ink-soft); } .hero-panel-body { display: grid; grid-template-columns: 1fr 1fr; } .hero-panel-body .pane { padding: 14px 16px; font-size: 13px; text-align: left; } .hero-panel-body .pane + .pane { border-left: 1px solid var(--line); } .hero-panel-body .pane .pane-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); margin-bottom: 8px; } .hero-panel-body pre { margin: 0; border: none; box-shadow: none; background: transparent; text-align: left; } .hero-panel-body pre code { display: block; text-align: left; } /* ---- replaces bar ---- */ .replaces { text-align: center; } .replaces .label { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 14px; } .pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; } .pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 12.5px; color: var(--ink-soft); background-color: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--bevel); } .pill .x { color: var(--accent); font-weight: 700; } /* ---- feature tabs ---- */ .tabs { margin-top: var(--space-md); border: 1px solid var(--line); border-radius: var(--radius); background-color: var(--surface); overflow: hidden; box-shadow: var(--bevel); } .tablist { display: flex; gap: 0; border-bottom: 1px solid var(--line); background-color: var(--card-bg); overflow-x: auto; } .tablist button { flex: 1 1 auto; appearance: none; border: none; background: transparent; padding: 12px 14px; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--ink-soft); cursor: url("cursors/hand.png") 6 1, pointer; border-right: 1px solid var(--line); white-space: nowrap; transition: background-color 0.14s ease, color 0.14s ease; } .tablist button:last-child { border-right: none; } .tablist button:hover { color: var(--accent); background-color: var(--card-hover-bg); } .tablist button[aria-selected="true"] { color: var(--accent-deep); background-color: var(--surface); box-shadow: inset 0 -2px 0 var(--accent); } .tabpanel { padding: 18px 20px; display: none; } .tabpanel.is-active { display: block; } .tabpanel h3 { margin-top: 0; font-size: 16px; } .tabpanel p { color: var(--ink-soft); } .tabpanel pre { margin-top: 14px; } /* ---- why grid (philosophy as marketing) ---- */ .why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: var(--space-md); } .why-card { padding: 20px 22px; background-color: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--bevel); transition: background-color 0.14s ease, box-shadow 0.14s ease, transform 0.08s ease; } .why-card:hover { background-color: var(--card-hover-bg); box-shadow: var(--bevel-hover); } .why-card h3 { margin-top: 0; margin-bottom: 8px; } .why-card p { margin: 0; color: var(--ink-soft); } /* ---- code showcase (input -> output) ---- */ .showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: var(--space-md); } .showcase .col { background-color: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--bevel); overflow: hidden; } .showcase .col-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid var(--line); background-color: var(--surface); font-size: 12px; color: var(--ink-soft); } .showcase .col-head .badge { color: var(--accent); font-weight: 700; } .showcase pre { margin: 0; border: none; box-shadow: none; background: transparent; border-radius: 0; } /* ---- app showcase ---- */ .app-showcase { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 24px; align-items: stretch; margin-top: var(--space-md); padding: 24px; background: linear-gradient(135deg, rgba(253, 252, 248, 0.96), rgba(240, 247, 245, 0.96)), var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--bevel); } .app-showcase-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; } .app-kicker { display: block; margin-bottom: 8px; color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; } .app-showcase h3 { margin: 0 0 10px; font-size: clamp(24px, 4vw, 38px); line-height: 1.12; } .app-showcase p { max-width: 62ch; margin: 0; color: var(--ink-soft); } .app-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; } .app-showcase-preview { display: flex; align-items: center; justify-content: center; min-height: 320px; } .phone-shell { width: min(220px, 68vw); aspect-ratio: 9 / 16; padding: 12px; background: #203b42; border: 1px solid rgba(12, 40, 48, 0.65); border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 38px rgba(24, 55, 62, 0.22); } .phone-top { width: 72px; height: 5px; margin: 2px auto 10px; background: rgba(255, 255, 255, 0.28); border-radius: 8px; } .phone-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; height: calc(100% - 17px); padding: 22px 18px; background: linear-gradient(180deg, #f8fbf4 0%, #dcece7 100%); border-radius: 14px; overflow: hidden; } .breath-ring { display: grid; place-items: center; width: 116px; height: 116px; border: 10px solid #7fb8a8; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(32, 59, 66, 0.12); } .breath-ring span { width: 54px; height: 54px; background: #23657d; border-radius: 50%; } .breath-copy { display: flex; flex-direction: column; align-items: center; margin-top: 18px; color: #203b42; text-align: center; } .breath-copy strong { font-size: 17px; } .breath-copy span { color: #527178; font-size: 12px; } .session-list { display: grid; gap: 8px; width: 100%; margin-top: 24px; } .session-list span { display: block; height: 28px; background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(42, 59, 64, 0.14); border-radius: 6px; } /* ---- platform grid ---- */ .platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: var(--space-md); } .platform { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 14px; background-color: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--bevel); transition: background-color 0.14s ease, transform 0.08s ease, box-shadow 0.14s ease; } .platform:hover { background-color: var(--card-hover-bg); transform: translateY(-1px); box-shadow: var(--bevel-hover); } .platform img { margin-bottom: 10px; } .platform h3 { margin: 4px 0; font-size: 14px; } .platform p { margin: 0; font-size: 12px; color: var(--ink-soft); } /* ---- krait callout band ---- */ .callout { background-color: var(--accent-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; } .callout-inner { max-width: var(--maxw); margin: 0 auto; padding: var(--space-xl) 20px; } .callout h2 { border-bottom: none; padding-bottom: 0; } .callout p { margin: var(--space-sm) auto var(--space-md); color: var(--ink-soft); max-width: 56ch; } /* ---- FAQ ---- */ .faq { margin-top: var(--space-md); display: grid; gap: 10px; } details.faq-item { background-color: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--bevel); overflow: hidden; } details.faq-item[open] { background-color: var(--card-hover-bg); } details.faq-item summary { list-style: none; cursor: url("cursors/hand.png") 6 1, pointer; padding: 14px 18px; font-weight: 700; color: var(--ink-strong); display: flex; align-items: center; justify-content: space-between; gap: 12px; } details.faq-item summary::-webkit-details-marker { display: none; } details.faq-item summary .chev { color: var(--accent); transition: transform 0.18s ease; flex-shrink: 0; } details.faq-item[open] summary .chev { transform: rotate(90deg); } details.faq-item .faq-a { padding: 0 18px 16px; color: var(--ink-soft); } details.faq-item .faq-a p { margin: 0; } /* ---- docs link list ---- */ .link-list { list-style: none; margin: var(--space-md) 0 0; padding: 0; display: grid; gap: 10px; } .link-list li { padding: 14px 16px; background-color: rgba(47, 111, 134, 0.06); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-soft); } .link-list strong { color: var(--ink-strong); } /* ---- matrix/reference pages ---- */ .doc-hero { padding-top: var(--space-xl); padding-bottom: var(--space-lg); } .doc-hero h1 { max-width: 760px; margin: 0 0 12px; font-size: 34px; line-height: 1.12; } .matrix-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } .status { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 9px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; } .status.ok, .matrix-table td.ok { background-color: #dff0e5; color: #1f5636; } .status.part, .matrix-table td.part { background-color: #f7e7b8; color: #735313; } .status.no, .matrix-table td.no { background-color: #f5d2cc; color: #753126; } .status.na, .matrix-table td.na { background-color: #e5e3dc; color: #66645d; } .table-wrap { width: 100%; margin: 16px 0 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background-color: var(--surface); box-shadow: var(--bevel); } .matrix-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; line-height: 1.45; } .matrix-table th, .matrix-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: top; } .matrix-table th:last-child, .matrix-table td:last-child { border-right: 0; } .matrix-table tr:last-child td { border-bottom: 0; } .matrix-table th { position: sticky; top: 0; z-index: 1; background-color: #203b42; color: #ffffff; font-size: 12px; } .matrix-table tbody tr:nth-child(even) td:not(.ok):not(.part):not(.no):not(.na) { background-color: rgba(47, 111, 134, 0.04); } .decision-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: var(--space-md); } .decision-card { padding: 18px 20px; background-color: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--bevel); } .decision-card h3 { margin-top: 0; } .decision-card p { color: var(--ink-soft); } /* ---- footer ---- */ footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background-color: var(--surface); } .footer-inner { max-width: var(--maxw); margin: 0 auto; padding: var(--space-lg) 20px; display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: flex-start; justify-content: space-between; } .footer-brand { display: flex; align-items: center; gap: 8px; color: var(--ink-strong); font-weight: 700; } .footer-brand img { width: 20px; height: 20px; } .footer-cols { display: flex; gap: 40px; flex-wrap: wrap; } .footer-col h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); } .footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .footer-col a { font-weight: 400; font-size: 13px; color: var(--ink-soft); } .footer-col a:hover { color: var(--accent); } .footer-bottom { border-top: 1px solid var(--line); padding: 14px 20px; text-align: center; font-size: 12px; color: var(--ink-soft); } .footer-bottom p { margin: 4px auto; max-width: none; } /* ---- syntax tokens ---- */ .tok-key { color: var(--accent-deep); } .tok-type { color: #4a6b73; } .tok-fn { color: #8a4a55; } .tok-str { color: #8a5a1f; } .tok-num { color: #5a5577; } .tok-com { color: #8a9498; font-style: italic; } /* ---- api reference page ---- */ .api-reference h1, .api-reference h2, .api-reference h3, .api-reference h4 { margin-top: 28px; } .api-reference h1 { margin-top: 0; font-size: 22px; } .api-reference h2 { font-size: 18px; } .api-reference h3 { color: var(--accent); font-size: 15px; } .api-reference p, .api-reference li { max-width: 82ch; } /* ---- web ide ---- */ body.ide-page::before { opacity: 0.22; } .web-ide { min-height: calc(100vh - 54px); } .ide-shell { max-width: 1440px; min-height: calc(100vh - 54px); padding: 18px 20px 24px; } .ide-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; } .ide-toolbar h1 { margin: 0; font-size: 22px; line-height: 1.15; } .ide-actions { display: flex; gap: 10px; flex-wrap: wrap; } .ide-grid { display: grid; grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.15fr); grid-template-rows: minmax(360px, 1fr) minmax(220px, 0.48fr); gap: 12px; min-height: calc(100vh - 150px); } .ide-pane { min-width: 0; min-height: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background-color: rgba(253, 252, 248, 0.96); box-shadow: var(--bevel); overflow: hidden; } .source-pane { grid-row: 1 / span 2; } .artifact-pane { grid-column: 2; } .pane-title { height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--line); background-color: var(--card-bg); color: var(--ink-soft); font-size: 12px; font-weight: 700; } .pane-title span:first-child { color: var(--ink-strong); } .source-pane textarea { width: 100%; height: calc(100% - 36px); resize: none; display: block; border: 0; padding: 14px 16px; outline: 0; background-color: #fffef9; color: var(--ink-strong); font: 13px/1.55 var(--font-main); cursor: url("cursors/ibeam.png") 15 16, text; } .preview-pane canvas { display: block; width: 100%; height: calc(100% - 36px); background-color: #f3f1ea; image-rendering: auto; } .artifact-tabs { height: 36px; display: flex; align-items: center; gap: 4px; padding: 4px; border-bottom: 1px solid var(--line); background-color: var(--card-bg); } .artifact-tabs button { min-width: 46px; height: 28px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--ink-soft); font: 700 12px var(--font-main); cursor: url("cursors/hand.png") 6 1, pointer; } .artifact-tabs button.is-active { border-color: rgba(154, 88, 24, 0.34); background-color: rgba(244, 137, 61, 0.14); color: #9a4f17; } .artifact-output { height: calc(100% - 36px); margin: 0; border: 0; border-radius: 0; box-shadow: none; background-color: #fffef9; } .artifact-output code { color: var(--ink-strong); white-space: pre; } /* ---- responsive ---- */ @media (max-width: 860px) { .header-nav { display: none; } .header-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background-color: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 20px; } .header-nav.is-open a, .header-nav.is-open .btn { width: 100%; justify-content: flex-start; } .menu-toggle { display: inline-flex; } .hero h1 { font-size: 32px; } .hero-panel-body { grid-template-columns: 1fr; } .hero-panel-body .pane + .pane { border-left: none; border-top: 1px solid var(--line); } .showcase { grid-template-columns: 1fr; } .app-showcase { grid-template-columns: 1fr; padding: 18px; } .app-showcase-preview { min-height: 280px; } .ide-toolbar { align-items: stretch; flex-direction: column; } .ide-grid { display: flex; flex-direction: column; min-height: 0; } .source-pane, .preview-pane, .artifact-pane { min-height: 360px; } section { padding: var(--space-lg) 20px; } } @media (max-width: 560px) { body { font-size: 14px; } .hero h1 { font-size: 26px; } .hero .hero-sub { font-size: 14.5px; } h2 { font-size: 19px; } .hero-cta { flex-direction: column; align-items: stretch; } .hero-cta .btn { justify-content: center; } }