/* goblin.st — midnight ledger / cheeky mascot Dark-first, follows device theme. Accent #FFD60A on ink #0E0E0C. Serif display (echoes the banner wordmark) + Geist UI + Geist Mono data. */ @font-face { font-family: "Geist"; src: url("assets/fonts/Geist-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: "Geist"; src: url("assets/fonts/Geist-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; } @font-face { font-family: "Geist"; src: url("assets/fonts/Geist-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; } @font-face { font-family: "Geist Mono"; src: url("assets/fonts/GeistMono-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: "Geist Mono"; src: url("assets/fonts/GeistMono-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; } :root { --accent: #FFD60A; --accent-deep: #E8B800; --ink: #0E0E0C; --bg: #0E0E0C; --bg-raise: #14140F; --surface: #191914; --surface-2: #21211A; --text: #F4F2E8; --dim: #A9A698; --mute: #6E6B5E; --line: rgba(244, 242, 232, 0.1); --shadow: rgba(0, 0, 0, 0.55); --phone-glow: rgba(255, 214, 10, 0.07); --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; } @media (prefers-color-scheme: light) { :root { --bg: #FAF8EF; --bg-raise: #F4F1E3; --surface: #FFFFFF; --surface-2: #F1EDDD; --text: #171511; --dim: #686556; --mute: #98947F; --line: rgba(23, 21, 17, 0.12); --shadow: rgba(60, 50, 10, 0.18); --phone-glow: rgba(255, 214, 10, 0.22); } } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; } ::selection { background: var(--accent); color: var(--ink); } a { color: inherit; } a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; } /* faint grain so the dark field isn't flat */ body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 40; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); } .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; } /* ---------- header ---------- */ header.site { display: flex; align-items: center; justify-content: space-between; padding: 26px 0 10px; } .brand { display: flex; align-items: center; gap: 13px; text-decoration: none; } .brand .mark { width: 40px; height: 40px; display: inline-block; background: currentColor; -webkit-mask: url("assets/goblin-mark-white.svg") center / contain no-repeat; mask: url("assets/goblin-mark-white.svg") center / contain no-repeat; } .brand .word { font-family: var(--serif); font-size: 27px; letter-spacing: 0.34em; font-weight: 600; text-transform: uppercase; text-indent: 0.1em; } nav.site { display: flex; gap: 26px; align-items: center; font-size: 15px; } nav.site a { text-decoration: none; color: var(--dim); transition: color .15s; } nav.site a:hover { color: var(--text); } nav.site a.gh { color: var(--text); border: 1px solid var(--line); padding: 8px 16px; border-radius: 99px; display: inline-flex; align-items: center; gap: 8px; } nav.site a.gh:hover { border-color: var(--accent); } nav.site svg { width: 17px; height: 17px; fill: currentColor; } nav.site a.docs .doc-short { display: none; } @media (max-width: 640px) { nav.site { gap: 10px; } nav.site a:not(.gh):not(.docs) { display: none; } nav.site a.docs { color: var(--text); border: 1px solid var(--line); padding: 8px 14px; border-radius: 99px; } nav.site a.docs:hover { border-color: var(--accent); } nav.site a.docs .doc-full { display: none; } nav.site a.docs .doc-short { display: inline; } nav.site a.gh .gh-label { display: none; } nav.site a.gh { padding: 8px 11px; } .brand .word { font-size: 22px; } } /* ---------- hero ---------- */ .hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; padding: 72px 0 96px; } @media (max-width: 920px) { .hero { grid-template-columns: 1fr; padding: 48px 0 64px; } } /* watermark currency glyph */ .hero::after { content: "ツ"; position: absolute; right: -110px; top: -150px; font-family: var(--serif); font-size: 560px; line-height: 1; color: var(--text); opacity: 0.026; transform: rotate(12deg); pointer-events: none; user-select: none; } .hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -0.01em; margin: 18px 0 22px; } .hero h1 .strike { position: relative; white-space: nowrap; } .hero h1 .strike::after { content: ""; position: absolute; left: -2%; right: -3%; bottom: 0.04em; height: 0.16em; background: var(--accent); z-index: -1; transform: skewY(-0.6deg); } .kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); display: inline-flex; align-items: center; gap: 10px; } .kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; } .hero p.lede { color: var(--dim); font-size: 19px; max-width: 30em; margin: 0 0 34px; } .hero p.lede strong { color: var(--text); font-weight: 600; } .hero p.lede .at { color: var(--accent-deep); font-family: var(--mono); font-weight: 600; } @media (prefers-color-scheme: dark) { .hero p.lede .at { color: var(--accent); } } .cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; } .btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 16.5px; text-decoration: none; padding: 15px 26px; border-radius: 14px; box-shadow: 0 10px 30px -10px var(--accent-deep); transition: transform .15s, box-shadow .15s; } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px var(--accent-deep); } .btn-primary svg { width: 18px; height: 18px; fill: currentColor; } .store-btns { display: flex; gap: 10px; } .store { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; min-width: 148px; color: var(--mute); cursor: not-allowed; user-select: none; position: relative; overflow: hidden; background: var(--bg-raise); } .store svg { width: 22px; height: 22px; fill: var(--mute); flex: none; } .store .lines { display: flex; flex-direction: column; line-height: 1.18; text-align: left; } .store .lines small { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; } .store .lines span { font-size: 15px; font-weight: 600; } .store .soon { position: absolute; top: 7px; right: -26px; background: var(--surface-2); color: var(--dim); font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; padding: 2px 28px; transform: rotate(33deg); } .hero .micro { margin-top: 18px; font-size: 13.5px; color: var(--mute); } .hero .micro a { color: var(--dim); } .hero .micro a:hover { color: var(--text); } /* ---------- phone ---------- */ .phone-wrap { position: relative; justify-self: center; } .phone-wrap::before { content: ""; position: absolute; inset: -60px -40px; background: radial-gradient(closest-side, var(--phone-glow), transparent 75%); pointer-events: none; } @media (max-width: 920px) { .phone-wrap { display: none; } } .phone { position: relative; width: 312px; border-radius: 52px; /* brushed-black chassis with a top rim highlight */ background: linear-gradient(155deg, #202024, #050506 58%); padding: 13px; box-shadow: 0 46px 92px -34px var(--shadow), 0 8px 20px -10px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px rgba(255, 255, 255, 0.07), inset 0 2px 3px rgba(255, 255, 255, 0.12), inset 0 -3px 5px rgba(0, 0, 0, 0.6); transform: rotate(2.4deg); } /* screen sized to the screenshot's 1080:2424 ratio so the whole frame fits with no crop, clipped to the inner radius inside the bezel */ .phone .screen { display: block; width: 286px; height: 642px; object-fit: cover; border-radius: 40px; background: #000; } /* ---------- ciphertext rail ---------- */ .rail-sec { padding: 30px 0 10px; } .rail-card { border: 1px solid var(--line); border-radius: 24px; background: var(--bg-raise); padding: 44px 40px 38px; position: relative; overflow: hidden; } .rail-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; } .rail-title h2 { margin: 0; } .rail-title .sub { color: var(--dim); font-size: 15px; } .rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .rail::before { content: ""; position: absolute; left: 6%; right: 6%; top: 26px; border-top: 2px dashed var(--line); } .packet { position: absolute; top: 11px; left: 12.5%; width: 30px; height: 30px; margin-left: -15px; animation: hop 7s cubic-bezier(.45,0,.25,1) infinite; filter: drop-shadow(0 4px 10px rgba(255, 214, 10, 0.45)); z-index: 2; } @keyframes hop { 0% { left: 12.5%; opacity: 0; } 6% { left: 12.5%; opacity: 1; } 30% { left: 37.5%; } 55% { left: 62.5%; } 80% { left: 87.5%; opacity: 1; } 92% { left: 87.5%; opacity: 0; } 100% { left: 87.5%; opacity: 0; } } @media (prefers-reduced-motion: reduce) { .packet { animation: none; left: 12.5%; } } .stop { text-align: center; position: relative; z-index: 1; } .stop .pin { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; } .stop .pin svg { width: 24px; height: 24px; stroke: var(--text); fill: none; stroke-width: 1.7; } .stop b { display: block; font-size: 15px; font-weight: 600; } .stop i { display: block; font-style: normal; font-size: 13px; color: var(--mute); margin-top: 3px; } @media (max-width: 760px) { .rail { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; } .rail::before, .packet { display: none; } } /* ---------- sections / features ---------- */ section { padding: 64px 0; } h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.005em; line-height: 1.15; margin: 0 0 10px; } .sec-head { max-width: 36em; margin-bottom: 44px; } .sec-head p { color: var(--dim); margin: 8px 0 0; } .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; } .feat { border: 1px solid var(--line); border-radius: 18px; background: var(--bg-raise); padding: 26px 24px 24px; position: relative; overflow: hidden; transition: transform .18s, border-color .18s; } .feat::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; background: var(--accent); opacity: 0; transition: opacity .18s; } .feat:hover { transform: translateY(-3px); border-color: var(--accent-deep); } .feat:hover::before { opacity: 1; } .feat .glyph { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; } .feat .glyph svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .feat h3 { font-size: 17.5px; font-weight: 600; margin: 0 0 6px; } .feat p { font-size: 14.5px; color: var(--dim); margin: 0; } .feat p code { font-family: var(--mono); font-size: 13px; color: var(--text); } /* ---------- downloads ---------- */ .dl-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: stretch; } @media (max-width: 860px) { .dl-grid { grid-template-columns: 1fr; } } .dl-card { border: 1px solid var(--line); border-radius: 24px; background: var(--bg-raise); padding: 30px; } .dl-card .build-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; background: var(--surface-2); border-radius: 99px; padding: 5px 13px; margin-bottom: 18px; color: var(--dim); } .dl-card .build-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #58B368; } .dl-rows { display: flex; flex-direction: column; } .dl-rows a { display: flex; align-items: center; gap: 14px; padding: 13px 6px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .12s; } .dl-rows a:last-child { border-bottom: 0; } .dl-rows a:hover { background: var(--surface); border-radius: 10px; } .dl-rows svg { width: 20px; height: 20px; stroke: var(--dim); fill: none; stroke-width: 1.6; flex: none; } .dl-rows .name { flex: 1; font-weight: 600; font-size: 15.5px; } .dl-rows .file { font-family: var(--mono); font-size: 12px; color: var(--mute); } .dl-rows .arrow { color: var(--accent-deep); font-weight: 700; } /* Mobile-first: Android is the featured, primary download. */ .dl-rows a.featured { border: 1px solid rgba(255, 214, 10, 0.4); border-radius: 12px; background: linear-gradient(90deg, rgba(255, 214, 10, 0.13), rgba(255, 214, 10, 0.02)); padding: 16px 14px; margin-bottom: 10px; } .dl-rows a.featured:hover { background: linear-gradient(90deg, rgba(255, 214, 10, 0.2), rgba(255, 214, 10, 0.05)); } .dl-rows a.featured svg { stroke: var(--accent-deep); width: 22px; height: 22px; } .dl-rows a.featured .name { font-size: 16.5px; } .dl-rows .badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-deep); padding: 3px 9px; border-radius: 999px; background: rgba(255, 214, 10, 0.12); border: 1px solid rgba(255, 214, 10, 0.4); } .dl-meta { margin-top: 16px; font-size: 13px; color: var(--mute); } .dl-meta a { color: var(--dim); } .dl-meta a:hover { color: var(--text); } .stores-card { display: flex; flex-direction: column; gap: 12px; justify-content: center; } .stores-card .store { min-height: 64px; } .stores-card p { font-size: 13.5px; color: var(--mute); margin: 6px 4px 0; } /* ---------- handle ---------- */ .handle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } @media (max-width: 860px) { .handle-grid { grid-template-columns: 1fr; gap: 28px; } } .handle-grid .big-at { font-family: var(--serif); font-size: clamp(40px, 5vw, 62px); line-height: 1.05; margin: 0 0 14px; } .handle-grid .big-at .at-name { color: var(--accent-deep); } @media (prefers-color-scheme: dark) { .handle-grid .big-at .at-name { color: var(--accent); } } .handle-grid p { color: var(--dim); max-width: 30em; } .code-card { border: 1px solid var(--line); border-radius: 18px; background: var(--ink); color: #EDEAD9; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; padding: 24px 26px; overflow-x: auto; box-shadow: 0 30px 60px -30px var(--shadow); } .code-card .c-dim { color: #6E6B5E; } .code-card .c-key { color: #FFD60A; } .code-card .c-str { color: #9CCC6B; } /* ---------- footer ---------- */ footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 52px 0 60px; font-size: 14.5px; } .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; } @media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } } .foot-brand .mark { width: 34px; height: 34px; display: inline-block; background: currentColor; -webkit-mask: url("assets/goblin-mark-white.svg") center / contain no-repeat; mask: url("assets/goblin-mark-white.svg") center / contain no-repeat; } .foot-brand p { color: var(--mute); max-width: 26em; margin: 12px 0 0; } .foot-grid h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin: 4px 0 14px; font-weight: 600; } .foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; } .foot-grid a { text-decoration: none; color: var(--dim); } .foot-grid a:hover { color: var(--text); } .foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 44px; color: var(--mute); font-size: 13px; } /* ---------- legal pages ---------- */ .legal { max-width: 720px; margin: 0 auto; padding: 30px 0 80px; } .legal h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 50px); margin: 26px 0 6px; } .legal .updated { font-family: var(--mono); font-size: 13px; color: var(--mute); margin-bottom: 38px; } .legal h2 { font-size: 23px; margin: 40px 0 10px; } .legal p, .legal li { color: var(--dim); font-size: 16px; } .legal li { margin-bottom: 8px; } .legal strong { color: var(--text); } .legal a { color: var(--text); } .legal .callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--bg-raise); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 24px 0; }